Queries the access control groups for NAT firewalls.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
F06DE24D-6EB9-5F55-B588-7BB946DF**** |
| NatFirewalls |
array<object> |
A list of NAT firewalls. |
|
|
object |
The NAT firewall. |
||
| NatGatewayId |
string |
The ID of the NAT Gateway. |
ngw-2zed6z6qkd7ogc**** |
| NatGatewayName |
string |
The name of the NAT Gateway. |
ngw-test |
| IsDefault |
boolean |
Indicates whether the NAT firewall is the default firewall. Valid values:
|
true |
| AclRuleCount |
integer |
The number of policies in the ACL group of the NAT border firewall. |
32 |
| RegionNo |
string |
The region ID. |
cn-beijing |
Examples
Success response
JSON format
{
"RequestId": "F06DE24D-6EB9-5F55-B588-7BB946DF****",
"NatFirewalls": [
{
"NatGatewayId": "ngw-2zed6z6qkd7ogc****",
"NatGatewayName": "ngw-test",
"IsDefault": true,
"AclRuleCount": 32,
"RegionNo": "cn-beijing"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | The aliuid is invalid. | The aliuid is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.