虚拟私有云 VPC-创建网络ACL规则:请求示例

时间:2023-11-01 16:25:15

请求示例

创建ACL规则,action为allow,IP协议为tcp,目的端口为80。

POST https://{Endpoint}/v2.0/fwaas/firewall_rules{    "firewall_rule": {        "action": "allow",         "enabled": true,         "destination_port": "80",         "protocol": "tcp",         "name": "ALLOW_HTTP"    }}
support.huaweicloud.com/api-vpc/vpc_firewall_0003.html