Mengambil konfigurasi log kustom untuk sebuah nama domain yang dipercepat.
Deskripsi operasi
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:DescribeDomainCustomLogConfig |
get |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
Nama domain. Anda hanya dapat menentukan satu nama domain. |
example.com |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| ConfigId |
string |
ID konfigurasi log. |
123 |
| Tag |
string |
Informasi tag mengenai konfigurasi log. |
book |
| RequestId |
string |
ID permintaan. |
94E3559F-7B6A-4A5E-AFFD-44E2A208A249 |
| Remark |
string |
Format konfigurasi log. |
$time_iso8601_$request_method_$ |
| Sample |
string |
Konfigurasi log contoh. |
[9/Jun/2015:01:58:09+0800]188.165.15.75-1542\"-\"\"GET http://www.aliyun.com/index.html\ |
Contoh
Respons sukses
JSONformat
{
"ConfigId": "123",
"Tag": "book",
"RequestId": "94E3559F-7B6A-4A5E-AFFD-44E2A208A249",
"Remark": "$time_iso8601_$request_method_$",
"Sample": "[9/Jun/2015:01:58:09+0800]188.165.15.75-1542\\\"-\\\"\\\"GET http://www.aliyun.com/index.html\\"
}
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 |
|---|---|---|---|
| 404 | Config.NotFound | The domain provided doesn't apply any custom log config, please refer to the standard log config. | The corresponding custom log format does not exist for this domain name. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.