Mengkueri semua nama domain terakselerasi di akun Alibaba Cloud Anda dan status nama domain terakselerasi tersebut. Anda dapat memfilter nama domain berdasarkan nama atau status. Pencocokan kabur didukung.
Deskripsi operasi
-
Each account can call this operation up to 100 times per second.
-
You can specify up to 50 domain names in each request. Separate multiple domain names with commas (,).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeUserDomains |
get |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai valid: 1 hingga 500. Nilai default: 20. Nilai maksimum: 500. |
5 |
| PageNumber |
integer |
No |
Nomor halaman. Nilai valid: 1 hingga 100000. |
1 |
| DomainName |
string |
No |
Nama domain terakselerasi. Jika Anda tidak mengatur parameter ini, semua nama domain yang cocok dengan kondisi akan dikembalikan. |
example.com |
| DomainStatus |
string |
No |
Status nama domain. Nilai valid:
Jika Anda tidak mengatur parameter ini, nama domain dalam semua status akan dikembalikan. |
configure_failed |
| DomainSearchType |
string |
No |
Mode pencarian. Nilai valid:
Catatan
Jika Anda menentukan nama domain yang akan dikueri tetapi tidak mengatur parameter DomainSearchType, mode pencocokan persis akan digunakan. |
fuzzy_match |
| CdnType |
string |
No |
Tipe beban kerja yang diakselerasi oleh Alibaba Cloud CDN. Pisahkan beberapa tipe dengan koma (,). Nilai valid:
Jika Anda tidak mengatur parameter ini, semua tipe layanan akan dikueri. |
download,web,video |
| CheckDomainShow |
boolean |
No |
Apakah akan menampilkan nama domain yang sedang ditinjau, gagal tinjauan, atau gagal dikonfigurasi. Nilai valid:
|
false |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. Secara default, semua ID akan dikueri. |
abcd1234abcd1234 |
| ChangeStartTime |
string |
No |
Awal rentang pengatur waktu yang akan dikueri. Tentukan pengatur waktu dalam format yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. |
2019-10-10T12:14:55Z |
| ChangeEndTime |
string |
No |
Akhir rentang pengatur waktu yang akan dikueri. Tentukan pengatur waktu dalam format yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. Catatan
Pengatur waktu akhir harus lebih lambat daripada pengatur waktu mulai. |
2019-10-10T12:14:58Z |
| Coverage |
string |
No |
Wilayah akselerasi. Secara default, semua wilayah akselerasi akan dikueri. Nilai valid:
|
domestic |
| Source |
string |
No |
Informasi tentang server asal dalam format tertentu. |
example.source.com |
| Tag |
array<object> |
No |
Daftar tag. Daftar dapat berisi hingga 20 elemen. |
|
|
object |
No |
The details about the tags. |
||
| Key |
string |
No |
The key of a tag. By default, all tag keys are queried. |
key |
| Value |
string |
No |
The value of the tag. By default, all tag values are queried. |
value |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The description of returned data. |
||
| RequestId |
string |
The ID of the request. |
BDA62CE4-3477-439A-B52E-D2D7C829D7C1 |
| PageNumber |
integer |
The page number of the returned page. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
20 |
| TotalCount |
integer |
The total number of entries returned. |
2 |
| Domains |
object |
||
| PageData |
array<object> |
The list of the accelerated domain names returned. |
|
|
array<object> |
The information about the accelerated domain name. |
||
| SslProtocol |
string |
Indicates whether HTTPS is enabled. Valid values:
|
on |
| Sandbox |
string |
Indicates whether the accelerated domain name is in a sandbox. |
true |
| GmtModified |
string |
The time when the accelerated domain name was modified. |
2015-10-28T11:05:52Z |
| DomainName |
string |
The accelerated domain. |
example.com |
| DomainId |
integer |
The ID of the accelerated domain name. |
11223344 |
| GmtCreated |
string |
The time when the accelerated domain name was added. |
2015-10-28T09:32:51Z |
| Description |
string |
The information about Internet Content Provider (ICP) filing. |
filing description |
| Coverage |
string |
The acceleration region. Valid values:
|
domestic |
| ResourceGroupId |
string |
The ID of the resource group. |
abcd1234abcd1234 |
| Cname |
string |
The CNAME assigned to the accelerated domain name. |
example.com.w.alikunlun.net |
| DomainStatus |
string |
The status of the accelerated domain name. Valid values:
|
configure_failed |
| CdnType |
string |
The type of the workload accelerated by Alibaba Cloud CDN. Valid values:
|
download |
| Sources |
object |
||
| Source |
array<object> |
The information about the origin server. |
|
|
object |
The details about the origin server. |
||
| Type |
string |
The type of the origin server. |
oss |
| Weight |
string |
The weight of the origin server if multiple origin servers have been specified. |
15 |
| Priority |
string |
The priority. |
20 |
| Port |
integer |
The port of the origin server. |
80 |
| Content |
string |
The address of the origin server. |
***.oss-cn-hangzhou.aliyuncs.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "BDA62CE4-3477-439A-B52E-D2D7C829D7C1",
"PageNumber": 1,
"PageSize": 20,
"TotalCount": 2,
"Domains": {
"PageData": [
{
"SslProtocol": "on",
"Sandbox": "true",
"GmtModified": "2015-10-28T11:05:52Z",
"DomainName": "example.com",
"DomainId": 11223344,
"GmtCreated": "2015-10-28T09:32:51Z",
"Description": "filing description",
"Coverage": "domestic",
"ResourceGroupId": "abcd1234abcd1234",
"Cname": "example.com.w.alikunlun.net",
"DomainStatus": "configure_failed",
"CdnType": "download",
"Sources": {
"Source": [
{
"Type": "oss",
"Weight": "15",
"Priority": "20",
"Port": 80,
"Content": "***.oss-cn-hangzhou.aliyuncs.com"
}
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidPageNumber.ValueNotSupported | The specified value of PageNumber is not supported. | |
| 400 | InvalidPageSize.ValueNotSupported | The specified value of PageSize is invalid. | |
| 400 | InvalidDomainStatus.ValueNotSupported | The specified value of DomainStatus is invalid. | |
| 400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | The specified domain name is invalid. |
| 400 | InvalidDomainSearchType.ValueNotSupported | The specified value of DomainSearchType is invalid. | |
| 400 | InvalidChangeStartTime.Malformed | The specified ChangeStartTime is invalid. | |
| 400 | InvalidChangeEndTime.Malformed | The specified ChangeEndTime is invalid. | |
| 400 | InvalidCdnType.Malformed | The specified CdnType is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.