All Products
Search
Document Center

Cloud Firewall:DescribePostpayEnabledProtection

Last Updated:Nov 13, 2025

Queries the status of pay-as-you-go protection.

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

Lang

string

No

The language of the response message.

Valid values:

  • en :

    English

  • zh :

    Chinese

zh

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request.

95CA5E2B-E5FB-5838-BC50-6A2C763C****

IsEnabledProtection

boolean

Indicates whether the protection feature is enabled.

false

IsOpenButDisabled

boolean

Indicates whether the protection feature is activated but currently disabled.

false

DisabledDays

integer

The number of days that protection has been disabled.

6

DisabledType

string

The type of asset for which protection is disabled.

nat

Examples

Success response

JSON format

{
  "RequestId": "95CA5E2B-E5FB-5838-BC50-6A2C763C****",
  "IsEnabledProtection": false,
  "IsOpenButDisabled": false,
  "DisabledDays": 6,
  "DisabledType": "nat"
}

Error codes

HTTP status code

Error code

Error message

Description

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.
400 ErrorInstanceNotPostpay instance is not postpay You can call this operation only if your Cloud Firewall uses the pay-as-you-go billing method.
400 ErrorInstanceNotInDB no instance for process in db The instance does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.