All Products
Search
Document Center

Cloud Firewall:DescribeNatFirewallQuota

Last Updated:Oct 16, 2025

Retrieves the quotas for a NAT firewall.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

SourceIp

string

No

The source IP address of the request.

113.132.26.XXX

Lang

string

No

The language of the response.

Valid values:

  • en :

    English

  • zh :

    Chinese

zh

Response elements

Element

Type

Description

Example

object

The response schema.

RequestId

string

The request ID.

F98BAA59-5863-5B61-8FD4-C5E96813****

UsedCount

integer

The number of used quotas.

10

TotalCount

integer

The total number of quotas.

6

ExceptionCount

integer

The number of nodes that are in an abnormal state.

1

UnprotectedCount

integer

The number of unprotected assets.

20

Examples

Success response

JSON format

{
  "RequestId": "F98BAA59-5863-5B61-8FD4-C5E96813****",
  "UsedCount": 10,
  "TotalCount": 6,
  "ExceptionCount": 1,
  "UnprotectedCount": 20
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorAliUid Aliuid invalid. The aliuid is invalid.
400 ErrorUserNotFound User not found The user does not exist.
400 ErrorDBSelectError A database select error occurred. The error message returned because an internal error has occurred in querying the database.
400 IdempotentParameterMismatch The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. This request uses the same client token as the previous request, but not the same. Do not reuse client tokens in different requests unless the request is the same.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.