Panggil operasi DescribeDcdnUserDomainsByFunc untuk mengkueri semua nama domain DCDN yang terkait dengan akun Anda dan memiliki fitur tertentu yang dikonfigurasi, yang ditentukan oleh FuncId.
Deskripsi operasi
Frekuensi pemanggilan untuk satu pengguna adalah 100 kali per detik.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnUserDomainsByFunc |
get |
Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FuncId |
integer |
Yes |
ID fitur. Untuk menemukan ID tersebut, cari fitur berdasarkan namanya dalam dokumen Parameter fitur untuk konfigurasi nama domain. Sebagai contoh, ID fitur konfigurasi back-to-origin HOST (set_req_host_header) adalah 18. |
7 |
| FuncFilter |
string |
No |
Menentukan apakah fitur yang ditentukan oleh FuncId diaktifkan.
|
config |
| DomainName |
string |
No |
Nama domain yang dipercepat. |
example.com |
| PageNumber |
integer |
No |
Nomor halaman yang akan dikembalikan. Nilai default adalah 1. Nilai yang valid: 1 hingga 100000. |
1 |
| PageSize |
integer |
No |
Jumlah nama domain yang dikembalikan pada setiap halaman. Nilai default adalah 20. Nilai yang valid: 1 hingga 500. |
20 |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-acfmyuji4b6r4** |
| MatchType |
string |
No |
Jenis kueri. Nilai default adalah exact_match. Nilai yang valid:
|
exact_match |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
AA75AADB-5E25-4970-B480-EAA1F5658483 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Jumlah nama domain yang dikembalikan pada halaman saat ini. |
5 |
| TotalCount |
integer |
Jumlah total nama domain. |
16 |
| Domains |
object |
||
| PageData |
array<object> |
Array objek PageData yang berisi informasi status nama domain yang dipercepat. |
|
|
array<object> |
|||
| GmtCreated |
string |
Waktu pembuatan nama domain yang dipercepat. |
2015-10-28T09:32:51Z |
| SslProtocol |
string |
Menunjukkan apakah HTTPS diaktifkan. Nilai yang valid:
|
on |
| Description |
string |
Alasan kegagalan peninjauan. |
audit failed |
| ResourceGroupId |
string |
ID kelompok sumber daya. |
rg-acfmyuji4b6r4** |
| Sandbox |
string |
Sandbox. |
normal |
| DomainStatus |
string |
Status nama domain yang dipercepat. Nilai yang valid:
|
configure_failed |
| Cname |
string |
CNAME yang ditetapkan untuk nama domain yang dipercepat. |
example.com.w.alikunlun.net |
| GmtModified |
string |
Waktu terakhir nama domain yang dipercepat dimodifikasi. |
2015-10-28T11:05:50Z |
| DomainName |
string |
Nama domain yang dipercepat. |
example.com |
| Sources |
object |
||
| Source |
array<object> |
Informasi tentang server origin. |
|
|
object |
|||
| Type |
string |
Jenis server origin. |
oss |
| Weight |
string |
Bobot server origin untuk routing back-to-origin. |
20 |
| Priority |
string |
Prioritas. |
20 |
| Port |
integer |
Port server origin. |
80 |
| Content |
string |
Alamat server origin. |
image.developer.aliyundoc.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
"PageNumber": 1,
"PageSize": 5,
"TotalCount": 16,
"Domains": {
"PageData": [
{
"GmtCreated": "2015-10-28T09:32:51Z",
"SslProtocol": "on",
"Description": "audit failed",
"ResourceGroupId": "rg-acfmyuji4b6r4**",
"Sandbox": "normal",
"DomainStatus": "configure_failed",
"Cname": "example.com.w.alikunlun.net",
"GmtModified": "2015-10-28T11:05:50Z",
"DomainName": "example.com",
"Sources": {
"Source": [
{
"Type": "oss",
"Weight": "20",
"Priority": "20",
"Port": 80,
"Content": "image.developer.aliyundoc.com"
}
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidPageNumber.ValueNotSupported | The specified value of PageNumber is not supported. | The PageNumber parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | InvalidPageSize.ValueNotSupported | The specified value of PageSize is invalid. | The PageSize parameter is set to an invalid. Specify a valid value and try again. |
| 400 | InvalidDomainStatus.ValueNotSupported | The specified value of DomainStatus is invalid. | The DomainStatus parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | The specified domain name is invalid. |
| 400 | InvalidDomainSearchType.ValueNotSupported | The specified value of DomainSearchType is invalid. | The DomainSearchType parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | InvalidChangeStartTime.Malformed | The specified ChangeStartTime is invalid. | The update start time is invalid. |
| 400 | InvalidChangeEndTime.Malformed | The specified ChangeEndTime is invalid. | The update end time is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.