Mengkueri data bandwidth persentil ke-95 suatu nama domain.
Deskripsi operasi
You can use one of the following methods to query data:
-
If you specify the StartTime and EndTime parameters and the time range that is specified by these parameters is less than or equal to 24 hours, the 95th percentile bandwidth data on the day of the start time is returned. If the time range that is specified by these parameters is more than 24 hours, the 95th percentile bandwidth data in the month of the start time is returned.
-
If you specify the TimePoint and Cycle parameters, the 95th percentile bandwidth data of the cycle is returned.
-
If you specify the StartTime, EndTime, and Cycle parameters, the 95th percentile bandwidth data of the cycle is returned.
If you do not use one of the methods, the 95th percentile bandwidth data of the previous 24 hours is returned by default.
-
Maximum time range to query: 90 days
-
Minimum data granularity to query: 1 day
-
Historical data available: 90 days
-
Each account can call this operation up to 100 times per second.
-
The unit of the bandwidth data returned is bit/s.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeDomainMax95BpsData |
none |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
No |
Nama domain yang diakselerasi. Jika Anda tidak menentukan nama domain, data semua nama domain akan dikueri. Catatan
Anda tidak dapat menentukan beberapa nama domain dalam permintaan DescribeDomainMax95BpsData. |
example.com |
| StartTime |
string |
No |
Waktu mulai rentang pengatur waktu yang akan dikueri. Tentukan pengatur waktu dalam format standar ISO 8601 yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. |
2017-12-21T08:00:00Z |
| EndTime |
string |
No |
Waktu akhir rentang pengatur waktu yang akan dikueri. Tentukan pengatur waktu dalam format standar ISO 8601 yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. Catatan
Waktu akhir harus lebih lambat dari waktu mulai. |
2017-12-22T08:00:00Z |
| TimePoint |
string |
No |
Waktu mulai rentang pengatur waktu yang akan dikueri. Tentukan pengatur waktu dalam format standar ISO 8601 yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. |
2017-12-21T10:00:00Z |
| Cycle |
string |
No |
Siklus untuk mengkueri data bandwidth persentil ke-95. Nilai default: day. Nilai valid:
|
month |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F |
| DomainName |
string |
The accelerated domain name. |
example.com |
| EndTime |
string |
The end of the time range for which the data was queried. |
2015-12-11T21:00:00Z |
| StartTime |
string |
The beginning of the time range for which the data was queried. |
2015-12-10T20:00:00Z |
| DomesticMax95Bps |
string |
The 95th percentile bandwidth in the Chinese mainland. |
16777590.28 |
| OverseasMax95Bps |
string |
The 95th percentile bandwidth outside the Chinese mainland. |
0 |
| Max95Bps |
string |
The 95th percentile bandwidth. |
16777590.28 |
| DetailData |
object |
||
| Max95Detail |
array<object> |
Details of the 95th percentile bandwidth. |
|
|
object |
|||
| TimeStamp |
string |
The timestamp of the returned data. |
2015-12-11T21:00:00Z |
| Area |
string |
Region of the 95th percentile bandwidth. |
CN |
| Max95BpsPeakTime |
string |
Time of the 95th percentile bandwidth. |
2015-12-11T21:05:00Z |
| Max95Bps |
number |
The 95th percentile bandwidth. |
16777590.28 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F",
"DomainName": "example.com",
"EndTime": "2015-12-11T21:00:00Z",
"StartTime": "2015-12-10T20:00:00Z",
"DomesticMax95Bps": "16777590.28",
"OverseasMax95Bps": "0",
"Max95Bps": "16777590.28",
"DetailData": {
"Max95Detail": [
{
"TimeStamp": "2015-12-11T21:00:00Z",
"Area": "CN",
"Max95BpsPeakTime": "2015-12-11T21:05:00Z",
"Max95Bps": 16777590.28
}
]
}
}
Respons error
JSONformat
{"RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8","HostId":"cdn.aliyuncs.com","Code":"InternalError","Message":"The request processing has failed due to some unknown error."}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | The specified value of parameter StartTime is malformed. | |
| 400 | InvalidEndTime.Malformed | The specified value of parameter EndTime is malformed. | |
| 400 | InvalidStartTime.ValueNotSupported | The specified value of parameter StartTime is not supported. | |
| 400 | InvalidEndTime.Mismatch | Specified EndTime does not match the specified StartTime. | StartTime must be earlier than EndTime. |
| 400 | InvalidTimePoint.Malformed | Specified TimePoint is malformed. | The specified TimePoint parameter is invalid. |
| 400 | InvalidTimeSpan | The time span exceeds the limit. | The time span exceeds the limit. Configure a valid time span as described in API documentation. |
| 400 | InvalidTime.Malformed | Specified StartTime or EndTime is malformed. | The specified start or end time is invalid. |
| 404 | InvalidDomain.NotFound | The domain provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.