mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-17 07:30:25 +08:00
增加UAM(5秒盾)集群设置
This commit is contained in:
@@ -123,6 +123,12 @@ service NodeClusterService {
|
||||
// 设置集群WebP策略
|
||||
rpc updateNodeClusterWebPPolicy(UpdateNodeClusterWebPPolicyRequest) returns (RPCSuccess);
|
||||
|
||||
// 读取集群的UAM策略
|
||||
rpc findEnabledNodeClusterUAMPolicy(FindEnabledNodeClusterUAMPolicyRequest) returns (FindEnabledNodeClusterUAMPolicyResponse);
|
||||
|
||||
// 设置集群的UAM策略
|
||||
rpc updateNodeClusterUAMPolicy(UpdateNodeClusterUAMPolicyRequest) returns (RPCSuccess);
|
||||
|
||||
// 获取集群的DDoS设置
|
||||
rpc findNodeClusterDDoSProtection(FindNodeClusterDDoSProtectionRequest) returns (FindNodeClusterDDoSProtectionResponse);
|
||||
|
||||
@@ -435,6 +441,7 @@ message FindEnabledNodeClusterConfigInfoResponse {
|
||||
bool isTOAEnabled = 5;
|
||||
bool hasMetricItems = 6;
|
||||
bool webpIsOn = 7;
|
||||
bool uamIsOn = 10;
|
||||
bool hasSystemServices = 8;
|
||||
bool hasDDoSProtection = 9;
|
||||
}
|
||||
@@ -460,6 +467,21 @@ message UpdateNodeClusterWebPPolicyRequest {
|
||||
bytes webpPolicyJSON = 2;
|
||||
}
|
||||
|
||||
// 读取集群的UAM策略
|
||||
message FindEnabledNodeClusterUAMPolicyRequest {
|
||||
int64 nodeClusterId = 1;
|
||||
}
|
||||
|
||||
message FindEnabledNodeClusterUAMPolicyResponse {
|
||||
bytes uamPolicyJSON = 1;
|
||||
}
|
||||
|
||||
// 设置集群的UAM策略
|
||||
message UpdateNodeClusterUAMPolicyRequest {
|
||||
int64 nodeClusterId = 1;
|
||||
bytes uamPolicyJSON = 2;
|
||||
}
|
||||
|
||||
// 获取集群的DDoS设置
|
||||
message FindNodeClusterDDoSProtectionRequest {
|
||||
int64 nodeClusterId = 1;
|
||||
|
||||
Reference in New Issue
Block a user