Queries the used priority range of access control policies for a NAT firewall.
Operation description
This operation queries the used priority range of access control policies for outbound traffic in a NAT firewall.
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 |
| NatGatewayId |
string |
Yes |
The ID of the NAT Gateway. |
ngw-xxxxxx |
| Direction |
string |
Yes |
The traffic direction of the access control policy. Valid value:
|
out |
| IpVersion |
string |
No |
The IP version. Valid value:
|
4 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| End |
integer |
The lowest priority of the access control policy. |
28 |
| Start |
integer |
The highest priority of the access control policy. |
1 |
| RequestId |
string |
The ID of the request. |
BCDF3907-1011-5504-B015-CC7603C0E6B6 |
Examples
Success response
JSON format
{
"End": 28,
"Start": 1,
"RequestId": "BCDF3907-1011-5504-B015-CC7603C0E6B6"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorParametersAppId | The AppId parameter is incorrect. | The AppId parameter is invalid. |
| 400 | ErrorParametersNatGatewayId | Invalid parameters NatGatewayId. | The request parameter NatGatewayId is invalid or does not exist. |
| 400 | ErrorUUIDNew | The UUID is invalid. | The UUID is invalid. |
| 400 | ErrorParameterIpVersion | The IP version is invalid. | The IP version is invalid. |
| 400 | ErrorParametersDirection | The direction is invalid. | The direction is invalid. |
| 400 | ErrorParametersSource | The source is invalid. | The source is invalid. |
| 400 | ErrorDomainResolve | An error occurred while resolving the domain. | An error occurred while resolving the domain. |
| 400 | ErrorParametersDestination | The Destination parameter is invalid. | The Destination parameter is invalid. |
| 400 | ErrorParametersProto | The protocol is invalid. | The protocol is invalid. |
| 400 | ErrorParametersDestPort | The dst_port is invalid. | The dst_port is invalid. |
| 400 | ErrorParametersAction | The action is invalid. | The action is invalid. |
| 400 | ErrorParameters | Parameters error. | Parameter error. |
| 400 | ErrorParametersPageSizeOrNo | Either pageSize or pageNo is invalid. | Either pageSize or pageNo is invalid. |
| 400 | ErrorMarshalJSON | An error occurred while encoding JSON. | An error occurred while encoding JSON. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.