All Products
Search
Document Center

Cloud Firewall:DescribeNatFirewallPolicyPriorUsed

Last Updated:Aug 28, 2024

Queries the priority range of access control policies that are created for a NAT firewall.

Operation description

You can use this operation to query the priority range of access control policies that are created for a NAT firewall.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-cloudfirewall:DescribeNatFirewallPolicyPriorUsedget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the request and the response. Valid values:

  • zh: Chinese (default)
  • en: English
zh
NatGatewayIdstringYes

The ID of the NAT gateway.

ngw-xxxxxx
DirectionstringYes

The direction of the traffic to which the access control policy applies.

Valid values:

  • out: outbound traffic
out
IpVersionstringNo

The IP version supported by the access control policy. Valid values:

  • 4: IPv4 (default)
4

Response parameters

ParameterTypeDescriptionExample
object
Endinteger

The lowest priority for the access control policy.

28
Startinteger

The highest priority for the access control policy.

1
RequestIdstring

The request ID.

BCDF3907-1011-5504-B015-CC7603C0E6B6

Examples

Sample success responses

JSONformat

{
  "End": 28,
  "Start": 1,
  "RequestId": "BCDF3907-1011-5504-B015-CC7603C0E6B6"
}

Error codes

HTTP status codeError codeError messageDescription
400ErrorParametersUidThe aliUid parameter is invalid.The aliUid parameter is invalid.
400ErrorDBSelectAn error occurred while querying database.An error occurred while querying database.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-03-13The Error code has changedView Change Details