云防火墙 CFW-修改eip自动防护开关:请求示例

时间:2025-01-03 10:45:20

请求示例

切换项目id为408972e72dcd4c1a9b033e955802a36b的EIP自动保护状态,防火墙id为e743cfaf-8164-4807-aa13-d893d83313cf,目标防护对象id为1b90f031-0c7b-4f25-95e2-b6d9940d269e,将开关状态切换为0

https://{Endpoint}/v1/408972e72dcd4c1a9b033e955802a36b/eip/auto-protect-status/switch

{
  "object_id" : "1b90f031-0c7b-4f25-95e2-b6d9940d269e",
  "fw_instance_id" : "e743cfaf-8164-4807-aa13-d893d83313cf",
  "status" : 0
}
support.huaweicloud.com/api-cfw/SwitchAutoProtectStatus.html