All Products
Search
Document Center

CDN:DescribeDomainMax95BpsData

Last Updated:Jun 10, 2026

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

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

cdn:DescribeDomainMax95BpsData

none

*Domain

acs:cdn:*:{#accountId}:domain/{#DomainName}

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:

  • day: mengkueri data bandwidth persentil ke-95 per hari.

  • month: mengkueri data bandwidth persentil ke-95 per bulan.

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.