DDOS防护 AAD-更新Anti-DDoS服务:请求示例

时间:2024-04-09 10:10:13

请求示例

更新指定EIP的Anti-DDoS防护策略,清洗时访问限制分段ID设置为8,流量分段ID设置为1。

PUT https://{endpoint}/v1/{project_id}/antiddos/{floating_ip_id}

{
  "app_type_id" : 0,
  "cleaning_access_pos_id" : 8,
  "enable_L7" : false,
  "http_request_pos_id" : 1,
  "traffic_pos_id" : 1
}
support.huaweicloud.com/api-aad/UpdateDDos.html