Mengkueri data bandwidth selama routing kembali ke asal untuk satu atau beberapa nama domain yang dipercepat.
Deskripsi operasi
This operation is supported only in the China (Shanghai) region.
You can specify a maximum of 500 accelerated domain names.
If you specify neither
StartTimenorEndTime, the data of the last 24 hours is queried. You can specify bothStartTimeandEndTimeparameters to query data of a specified time range.
Time granularity
The time granularity varies with the time range specified by the StartTime and EndTime parameters. The following table describes the time period within which historical data is available and the data delay when you do not set Interval.
| Time granularity | Time range per query | Historical data available | Data delay |
| 5 minutes | Time range per query < 3 days | 93 days | 15 minutes |
| 1 hour | 3 days ≤ Time range per query < 31 days | 186 days | 3 to 4 hours |
| 1 day | 31 days ≤ Time span of a single query ≤ 366 days | 366 days | 4 hours in most cases, not more than 24 hours |
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainSrcBpsData |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
No |
Nama domain yang dipercepat.
|
example.com |
| StartTime |
string |
No |
Awal rentang pengatur waktu yang dikueri. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. |
2022-04-25T16:00:00Z |
| EndTime |
string |
No |
Akhir rentang pengatur waktu yang dikueri. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. Catatan
Waktu akhir harus lebih lambat dari waktu mulai. |
2022-04-26T15:59:59Z |
| Interval |
string |
No |
Granularitas waktu. Unit: detik. Nilai valid: 300, 3600, dan 86400. Jika parameter ini dikosongkan atau nilai yang tidak valid ditentukan, nilai default akan digunakan. Granularitas waktu yang didukung bervariasi berdasarkan pengatur waktu yang ditentukan oleh
|
300 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| EndTime |
string |
The end of the time range. |
2022-08-23T02:02:57Z |
| StartTime |
string |
The beginning of the time range. |
2022-07-12T16:00:00Z |
| RequestId |
string |
The ID of the request. |
25818875-5F78-4A13-BEF6-**** |
| DomainName |
string |
The accelerated domain name whose ICP filing status you want to update. |
sample.com |
| DataInterval |
string |
The time interval at which data is returned, which is the time granularity. Unit: seconds. |
300 |
| SrcBpsDataPerInterval |
object |
||
| DataModule |
array<object> |
The origin bandwidth data at each time interval. |
|
|
object |
|||
| Value |
string |
The total origin bandwidth data. Unit: bit/s. |
0 |
| TimeStamp |
string |
The timestamp of the data returned. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC. |
2022-08-23T02:02:57Z |
| HttpsValue |
string |
The bandwidth consumed for fetching resources from the origin over HTTPS. |
0 |
Contoh
Respons sukses
JSONformat
{
"EndTime": "2022-08-23T02:02:57Z",
"StartTime": "2022-07-12T16:00:00Z",
"RequestId": "25818875-5F78-4A13-BEF6-****",
"DomainName": "sample.com",
"DataInterval": "300",
"SrcBpsDataPerInterval": {
"DataModule": [
{
"Value": "0",
"TimeStamp": "2022-08-23T02:02:57Z\n",
"HttpsValue": "0"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | StartTime and EndTime can not be single. | |
| 400 | InvalidStartTime.Malformed | Specified StartTime is malformed. | The start time is in an invalid format. |
| 400 | InvalidEndTime.Malformed | Specified EndTime is malformed. | The end time is in an invalid format. |
| 400 | InvalidEndTime.Mismatch | Specified end time does not math the specified start time. | |
| 400 | InvalidStartTime.ValueNotSupported | The specified value of parameter StartTime is not supported. | |
| 400 | Abs.DomainName.Malformed | The size of DomainName is too big. | |
| 400 | InvalidInterval.Malformed | Specified Interval is malformed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.