mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-28 07:50:25 +08:00
集群设置中增加服务设置
This commit is contained in:
@@ -134,6 +134,12 @@ service NodeClusterService {
|
||||
|
||||
// 修改集群的DDoS设置
|
||||
rpc updateNodeClusterDDoSProtection(UpdateNodeClusterDDoSProtectionRequest) returns (RPCSuccess);
|
||||
|
||||
// 获取集群的全局服务设置
|
||||
rpc findNodeClusterGlobalServerConfig(FindNodeClusterGlobalServerConfigRequest) returns (FindNodeClusterGlobalServerConfigResponse);
|
||||
|
||||
// 修改集群的全局服务设置
|
||||
rpc updateNodeClusterGlobalServerConfig(UpdateNodeClusterGlobalServerConfigRequest) returns (RPCSuccess);
|
||||
}
|
||||
|
||||
// 获取所有集群的信息
|
||||
@@ -500,4 +506,19 @@ message FindNodeClusterDDoSProtectionResponse {
|
||||
message UpdateNodeClusterDDoSProtectionRequest {
|
||||
int64 nodeClusterId = 1;
|
||||
bytes ddosProtectionJSON = 2;
|
||||
}
|
||||
|
||||
// 获取集群的全局服务设置
|
||||
message FindNodeClusterGlobalServerConfigRequest {
|
||||
int64 nodeClusterId = 1;
|
||||
}
|
||||
|
||||
message FindNodeClusterGlobalServerConfigResponse {
|
||||
bytes globalServerConfigJSON = 1;
|
||||
}
|
||||
|
||||
// 修改集群的全局服务设置
|
||||
message UpdateNodeClusterGlobalServerConfigRequest {
|
||||
int64 nodeClusterId = 1;
|
||||
bytes globalServerConfigJSON = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user