All Products
Search
Document Center

Cloud Firewall:DescribePostpayTrafficTotal

Last Updated:Dec 29, 2025

Queries the total pay-as-you-go traffic for all border firewalls.

Operation description

The statistics are for the current Cloud Firewall instance and include all data from the date of purchase.

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. Valid values:

  • zh (default): Chinese

  • en: English

zh

Response elements

Element

Type

Description

Example

object

TotalAssets

integer

The total number of assets that are protected by border firewalls.

132

RequestId

string

The ID of the request.

826B6280-9704-5643-97B1-6B47AC3F027A

TotalTraffic

integer

The total traffic. For the subscription edition, this is the total elastic traffic. Unit: bytes.

2320274874426

TotalNatAssets

integer

The total number of assets that are protected by NAT border firewalls.

1

TotalNatTraffic

integer

The total traffic of the NAT border. For the subscription edition, this is the total elastic traffic of the NAT border. Unit: bytes.

560646279

TotalVpcAssets

integer

The total number of assets that are protected by VPC border firewalls.

3

TotalVpcTraffic

integer

The total traffic of the VPC border. For the subscription edition, this is the total elastic traffic of the VPC border. Unit: bytes.

2320274874426

TotalInternetAssets

integer

The total number of assets that are protected by Internet Border firewalls.

128

TotalInternetTraffic

integer

The total traffic of the Internet Border. For the subscription edition, this is the total elastic traffic of the Internet Border. Unit: bytes.

2320274874426

TotalBillTraffic

integer

For the subscription edition, this is the total billed elastic traffic after deductions are applied. Unit: bytes.

2320274874426

TotalSdlFreeTraffic

integer

The total free traffic for data leakage detection.

0

TotalSdlBillTraffic

integer

The total billed traffic for data leakage detection.

0

Examples

Success response

JSON format

{
  "TotalAssets": 132,
  "RequestId": "826B6280-9704-5643-97B1-6B47AC3F027A",
  "TotalTraffic": 2320274874426,
  "TotalNatAssets": 1,
  "TotalNatTraffic": 560646279,
  "TotalVpcAssets": 3,
  "TotalVpcTraffic": 2320274874426,
  "TotalInternetAssets": 128,
  "TotalInternetTraffic": 2320274874426,
  "TotalBillTraffic": 2320274874426,
  "TotalSdlFreeTraffic": 0,
  "TotalSdlBillTraffic": 0
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorAliUid Aliuid invalid. The aliuid is invalid.
400 ErrorNotPostpayUser not Postpay User. Non-pay-as-you-go Users.
400 ErrorDBSelectError internal error. An error occurred while querying the database.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.