Queries the bandwidths of a website.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddoscoo:DescribeDomainBps |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Region |
string |
Yes |
The region in which your service is deployed. Valid values:
|
cn |
| Domain |
string |
No |
The domain name of the website. Note
A forwarding rule must be configured for the domain name. You can call the DescribeDomains operation to query all domain names. |
www.example.com |
| StartTime |
integer |
Yes |
The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds. Note
This UNIX timestamp must indicate a point in time that is accurate to the minute. |
1719211800 |
| EndTime |
integer |
Yes |
The end of the time range to query. This value is a UNIX timestamp. Unit: seconds. Note
This UNIX timestamp must indicate a point in time that is accurate to the minute. |
1722339300 |
| Interval |
integer |
Yes |
The interval for returning data. Unit: seconds. Valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is less than 3 days, valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is from 3 to 30 days, valid values are 3600 and 86400. If the time span between StartTime and EndTime is 31 days or longer, the valid value is 86400. If you leave this parameter empty or specify an invalid value, the default value is used. |
600 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E |
| DomainBps |
array<object> |
The bandwidths. |
|
|
object |
The bandwidth values. |
||
| Index |
integer |
The index number of the returned data. |
1 |
| InBps |
integer |
The inbound bandwidth. Unit: bit/s. |
0 |
| OutBps |
integer |
The outbound bandwidth. Unit: bit/s. |
0 |
Examples
Success response
JSON format
{
"RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E",
"DomainBps": [
{
"Index": 1,
"InBps": 0,
"OutBps": 0
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.