智能边缘云 IEC-更新网络ACL规则:响应示例

时间:2025-02-12 14:52:52

响应示例

状态码: 200

OK

{  "firewall" : {    "id" : "c2c5234b-67ff-11ea-a41a-00e04c9bd2a3",    "status" : "INACTIVE",    "ingress_firewall_policy" : {      "id" : "dd1b46d8-bff8-41d5-b79d-b96c300371d7",      "firewall_rules" : [ {        "id" : "438b8821-69a9-11ea-bec0-00e04c9bd2a3",        "name" : "test",        "description" : "test",        "enabled" : true,        "action" : "allow",        "protocol" : "tcp",        "ip_version" : 4,        "destination_ip_address" : "0.0.0.0/12",        "destination_port" : "443",        "source_ip_address" : "0.0.0.0/24",        "source_port" : "35"      } ]    },    "egress_firewall_policy" : { }  }}
support.huaweicloud.com/api-iec/UpdateFirewallRule.html