方法列表
设置是否启用分组
admin
user
RPC
updateHTTPFirewallRuleGroupIsOn (UpdateHTTPFirewallRuleGroupIsOnRequest) returns (RPCSuccess)
HTTP
POST /HTTPFirewallRuleGroupService/updateHTTPFirewallRuleGroupIsOn
输入对象:UpdateHTTPFirewallRuleGroupIsOnRequest:
{ int64 firewallRuleGroupId; // 是否启用 bool isOn; }
输出对象:RPCSuccess:
{ }
创建分组
admin
user
RPC
createHTTPFirewallRuleGroup (CreateHTTPFirewallRuleGroupRequest) returns (CreateHTTPFirewallRuleGroupResponse)
HTTP
POST /HTTPFirewallRuleGroupService/createHTTPFirewallRuleGroup
输入对象:CreateHTTPFirewallRuleGroupRequest:
{ // 是否启用 bool isOn; // 名称 string name; string code; // 描述(备注) string description; }
输出对象:CreateHTTPFirewallRuleGroupResponse:
修改分组
admin
user
RPC
updateHTTPFirewallRuleGroup (UpdateHTTPFirewallRuleGroupRequest) returns (RPCSuccess)
HTTP
POST /HTTPFirewallRuleGroupService/updateHTTPFirewallRuleGroup
输入对象:UpdateHTTPFirewallRuleGroupRequest:
{ int64 firewallRuleGroupId; // 是否启用 bool isOn; // 名称 string name; // 描述(备注) string description; string code; }
输出对象:RPCSuccess:
{ }
获取分组配置
admin
user
RPC
findEnabledHTTPFirewallRuleGroupConfig (FindEnabledHTTPFirewallRuleGroupConfigRequest) returns (FindEnabledHTTPFirewallRuleGroupConfigResponse)
HTTP
POST /HTTPFirewallRuleGroupService/findEnabledHTTPFirewallRuleGroupConfig
输入对象:FindEnabledHTTPFirewallRuleGroupConfigRequest:
输出对象:FindEnabledHTTPFirewallRuleGroupConfigResponse:
获取分组信息
admin
user
RPC
findEnabledHTTPFirewallRuleGroup (FindEnabledHTTPFirewallRuleGroupRequest) returns (FindEnabledHTTPFirewallRuleGroupResponse)
HTTP
POST /HTTPFirewallRuleGroupService/findEnabledHTTPFirewallRuleGroup
输入对象:FindEnabledHTTPFirewallRuleGroupRequest:
输出对象:FindEnabledHTTPFirewallRuleGroupResponse:
修改分组的规则集
admin
user
RPC
updateHTTPFirewallRuleGroupSets (UpdateHTTPFirewallRuleGroupSetsRequest) returns (RPCSuccess)
HTTP
POST /HTTPFirewallRuleGroupService/updateHTTPFirewallRuleGroupSets
输入对象:UpdateHTTPFirewallRuleGroupSetsRequest:
输出对象:RPCSuccess:
{ }
添加规则集
admin
user
RPC
addHTTPFirewallRuleGroupSet (AddHTTPFirewallRuleGroupSetRequest) returns (RPCSuccess)
HTTP
POST /HTTPFirewallRuleGroupService/addHTTPFirewallRuleGroupSet
输入对象:AddHTTPFirewallRuleGroupSetRequest:
输出对象:RPCSuccess:
{ }