Mengambil daftar nama domain berdasarkan ID konfigurasi log.
Deskripsi operasi
Catatan
Anda dapat memanggil operasi ini hingga 100 kali per detik per akun.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:ListDomainsByLogConfigId |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigId |
string |
Yes |
ID konfigurasi kustom. |
123 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
9732E117-8A37-49FD-A36F-ABBB87556CA7 |
| Domains |
object |
||
| Domain |
array |
Nama domain. |
|
|
string |
Nama domain. |
example.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "9732E117-8A37-49FD-A36F-ABBB87556CA7",
"Domains": {
"Domain": [
"example.com"
]
}
}
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 |
|---|---|---|---|
| 403 | InvalidConfigId | Illegal ConfigId | |
| 404 | Domains.NotFound | No domain used in this log config |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.