Mengkueri nama domain terakselerasi yang memiliki fitur tertentu yang dikonfigurasi serta status nama domain tersebut.
Deskripsi operasi
The maximum number of times that each user can call this operation per second is 100.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnUserDomainsByFunc |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FuncId |
integer |
Yes |
ID fitur. Contohnya, ID fitur host asal (set_req_host_header) adalah 18. |
7 |
| PageNumber |
integer |
No |
Nomor halaman yang akan ditampilkan. Nilai default: 1. Nilai valid: 1 hingga 100000. |
10 |
| PageSize |
integer |
No |
Jumlah Nama domain yang akan ditampilkan di setiap halaman. Nilai default: 20. Nilai valid: 1 hingga 50. |
20 |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-xxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
AA75AADB-5E25-4970-B480-EAA1F5658483 |
| PageNumber |
integer |
The page number of the returned page. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
5 |
| TotalCount |
integer |
The total number of entries returned. |
16 |
| Domains |
object |
||
| PageData |
array<object> |
The configurations of the accelerated domain name. |
|
|
array<object> |
|||
| GmtCreated |
string |
The time when the accelerated domain name was added to Alibaba Cloud CDN. |
2015-10-28T11:05:52Z |
| SslProtocol |
string |
Indicates whether HTTPS is enabled. Valid values:
|
on |
| Description |
string |
The description of the status. |
audit failed |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-xxxxx |
| DomainStatus |
string |
The status of the accelerated domain name. Valid values:
|
configure_failed |
| Cname |
string |
The CNAME assigned to the accelerated domain name. |
example.com.w.alikunlun.com |
| GmtModified |
string |
The last time when the accelerated domain was modified. |
2015-10-29T10:15:31Z |
| CdnType |
string |
The type of workload accelerated by Alibaba Cloud CDN. Valid values:
|
web |
| DomainName |
string |
The accelerated domain name. |
example.com |
| Sources |
object |
||
| Source |
array<object> |
The information about the origin server. |
|
|
object |
|||
| Type |
string |
The type of the origin server. |
ipaddr |
| Weight |
string |
The weight of the origin server if multiple origin servers have been specified. |
10 |
| Priority |
string |
The priority of the configuration item. |
20 |
| Port |
integer |
The port of the origin server. |
80 |
| Content |
string |
The address of the origin server. |
1.1.1.1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
"PageNumber": 1,
"PageSize": 5,
"TotalCount": 16,
"Domains": {
"PageData": [
{
"GmtCreated": "2015-10-28T11:05:52Z",
"SslProtocol": "on",
"Description": "audit failed",
"ResourceGroupId": "rg-xxxxx",
"DomainStatus": "configure_failed",
"Cname": "example.com.w.alikunlun.com",
"GmtModified": "2015-10-29T10:15:31Z",
"CdnType": "web",
"DomainName": "example.com",
"Sources": {
"Source": [
{
"Type": "ipaddr",
"Weight": "10",
"Priority": "20",
"Port": 80,
"Content": "1.1.1.1"
}
]
}
}
]
}
}
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.