All Products
Search
Document Center

Cloud Firewall:DescribePostpayUserNatStatus

Last Updated:Oct 15, 2025

Queries the NAT border firewall status for a pay-as-you-go Cloud 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

InstanceId

string

No

The ID of the Cloud Firewall instance.

cfw_elasticity_public_cn-zsk39m******

Lang

string

No

The language of the response message. Valid values:

  • zh (default): Chinese

  • en: English

zh

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

6B780BD6-282C-51A9-A8E6-59F636******

Status

string

The status of the NAT border firewall. Valid values:

  • open: The feature is enabled.

  • init: The feature is being enabled.

  • closed: The feature is disabled.

open

UnprotectedDate

integer

The number of days that protection was disabled. This parameter is returned only when the NAT border firewall is enabled.

20

Examples

Success response

JSON format

{
  "RequestId": "6B780BD6-282C-51A9-A8E6-59F636******",
  "Status": "open",
  "UnprotectedDate": 20
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorAliUid Aliuid invalid. The aliuid is invalid.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.