优化API命名

This commit is contained in:
GoEdgeLab
2021-05-25 17:49:05 +08:00
parent 97936b8b23
commit 5bc100d59e
15 changed files with 329 additions and 315 deletions

View File

@@ -123,7 +123,7 @@ message FindAllEnabledNodeClustersResponse {
// 创建集群
message CreateNodeClusterRequest {
string name = 1;
int64 grantId = 2;
int64 nodeGrantId = 2;
string installDir = 3;
int64 dnsDomainId = 4;
string dnsName = 5;
@@ -140,7 +140,7 @@ message CreateNodeClusterResponse {
message UpdateNodeClusterRequest {
int64 nodeClusterId = 1;
string name = 2;
int64 grantId = 3;
int64 nodeGrantId = 3;
string installDir = 4;
int64 httpCachePolicyId = 5;
int64 httpFirewallPolicyId = 6;
@@ -220,12 +220,12 @@ message ExecuteNodeClusterHealthCheckResponse {
// 计算使用某个认证的集群数量
message CountAllEnabledNodeClustersWithNodeGrantIdRequest {
int64 grantId = 1;
int64 nodeGrantId = 1;
}
// 查找使用某个认证的所有集群
message FindAllEnabledNodeClustersWithNodeGrantIdRequest {
int64 grantId = 1;
int64 nodeGrantId = 1;
}
message FindAllEnabledNodeClustersWithNodeGrantIdResponse {