Queries the billing details of burstable clean bandwidth.
Operation description
This operation lets you query the system logs of Anti-DDoS Pro. System logs currently include only the billing logs of burstable clean bandwidth.
If you have enabled burstable clean bandwidth, you can call this operation to query the billing details of burstable clean bandwidth.
QPS limits
The QPS limit for this operation is 10 per second per user. If the number of calls per second exceeds this limit, throttling is triggered. This may affect your business operations. Therefore, call this operation at an appropriate frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddoscoo:DescribeSystemLog |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EntityType |
integer |
No |
The type of system logs to query. The value is fixed at 20, which indicates the billing logs of burstable clean bandwidth. Note
You must set this parameter. Otherwise, the call fails. |
20 |
| EntityObject |
string |
No |
The IP address of the Anti-DDoS instance to query. Note
You can call DescribeInstanceDetails to query the IP addresses of Anti-DDoS instances. |
203.107.XX.XX |
| StartTime |
integer |
Yes |
The start time to query bills of burstable clean bandwidth that are generated after the specified time. This value is a timestamp in milliseconds. |
1609430400000 |
| EndTime |
integer |
Yes |
The end time to query bills of burstable clean bandwidth that are generated before the specified time. This value is a timestamp in milliseconds. |
1640966400000 |
| PageNumber |
integer |
Yes |
The page number of the returned page. |
1 |
| PageSize |
integer |
Yes |
The number of logs to return on each page. |
10 |
When you call this operation, in addition to the preceding operation-specific request parameters, you must also specify common request parameters. For more information, see Common parameters.
For the request format, see the "Examples" section of this topic.
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Total |
integer |
The total number of billing logs for burstable clean bandwidth that are queried. |
1 |
| RequestId |
string |
The ID of the request. |
8BC3A33A-F832-58DB-952F-7682A25AD14C |
| SystemLog |
array<object> |
The details of the billing logs for burstable clean bandwidth. |
|
|
object |
|||
| Status |
integer |
The status of the bill. Valid values:
|
1 |
| EntityType |
integer |
The type of the system log. The value is fixed at 20, which indicates the billing log of burstable clean bandwidth. |
20 |
| EntityObject |
string |
The IP address of the Anti-DDoS instance. |
203.107.XX.XX |
| GmtCreate |
integer |
The time when the bill was created. This value is a timestamp in milliseconds. |
1631793531000 |
| OpAction |
integer |
The operation type. The value is fixed at 100, which indicates that a billing record for burstable clean bandwidth is added. |
100 |
| GmtModified |
integer |
The time when the bill was last modified. This value is a timestamp in milliseconds. |
1635425407000 |
| OpAccount |
string |
The ID of the Alibaba Cloud account to which the bill belongs. |
171986973287**** |
| OpDesc |
string |
The details of the bill. This value is a string that is converted from a JSON struct. The JSON struct contains the following fields:
|
{"newEntity":{"billValue":"60","instanceId":"ddoscoo-cn-zz121ogz****","ip":"203.107.XX.XX","maxBw":"300","month":1627747200000,"overBandwidth":"120","peakTime":1629871200,"startTimestamp":1629871200}} |
Examples
Success response
JSON format
{
"Total": 1,
"RequestId": "8BC3A33A-F832-58DB-952F-7682A25AD14C",
"SystemLog": [
{
"Status": 1,
"EntityType": 20,
"EntityObject": "203.107.XX.XX",
"GmtCreate": 1631793531000,
"OpAction": 100,
"GmtModified": 1635425407000,
"OpAccount": "171986973287****",
"OpDesc": "{\"newEntity\":{\"billValue\":\"60\",\"instanceId\":\"ddoscoo-cn-zz121ogz****\",\"ip\":\"203.107.XX.XX\",\"maxBw\":\"300\",\"month\":1627747200000,\"overBandwidth\":\"120\",\"peakTime\":1629871200,\"startTimestamp\":1629871200}}"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.