应用与数据集成平台 ROMA CONNECT-创建流控策略:请求示例

时间:2023-11-29 17:31:17

请求示例

创建一个流控策略,流控策略类型为基础流控,同时设置APP流量限制、API流量限制和源IP流量限制

{
  "api_call_limits" : 800,
  "app_call_limits" : 300,
  "enable_adaptive_control" : "FALSE",
  "ip_call_limits" : 600,
  "name" : "throttle_demo",
  "remark" : "Throttling Policy 1",
  "time_interval" : 1,
  "time_unit" : "SECOND",
  "type" : 1,
  "user_call_limits" : 0
}
support.huaweicloud.com/api-roma/CreateRequestThrottlingPolicyV2.html