Queries the total pay-as-you-go traffic, which includes traffic from all border firewalls.
Operation description
The statistics include all data for the current Cloud Firewall instance from the date of purchase.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response message. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalAssets |
integer |
The total number of assets protected by border firewalls. |
132 |
| RequestId |
string |
The ID of the request. |
826B6280-9704-5643-97B1-6B47AC3F027A |
| TotalTraffic |
integer |
The total traffic. For subscription instances, this is the total traffic for elastic protection. Unit: bytes. |
2320274874426 |
| TotalNatAssets |
integer |
The total number of assets protected by NAT firewalls. |
1 |
| TotalNatTraffic |
integer |
The total traffic on the NAT border. For subscription instances, this is the total traffic for elastic protection on the NAT border. Unit: bytes. |
560646279 |
| TotalVpcAssets |
integer |
The total number of assets protected by VPC firewalls. |
3 |
| TotalVpcTraffic |
integer |
The total traffic on the VPC border. For subscription instances, this is the total traffic for elastic protection on the VPC border. Unit: bytes. |
2320274874426 |
| TotalInternetAssets |
integer |
The total number of assets protected by Internet firewalls. |
128 |
| TotalInternetTraffic |
integer |
The total traffic on the Internet border. For subscription instances, this is the total traffic for elastic protection on the Internet border. Unit: bytes. |
2320274874426 |
| TotalBillTraffic |
integer |
For subscription instances, this is the total billable traffic for elastic protection, which is the amount of traffic after deductions. Unit: bytes. |
2320274874426 |
| TotalSdlFreeTraffic |
integer |
The total free traffic for data leakage detection. |
0 |
| TotalSdlBillTraffic |
integer |
The total billable 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.