Mengkueri konfigurasi Nama domain. Anda dapat mengkueri beberapa konfigurasi fitur dalam satu permintaan.
Deskripsi operasi
Saat ini, alamat layanan hanya mendukung China (Shanghai).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainConfigs |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
Nama domain yang dipercepat untuk ApsaraVideo VOD. Hanya satu Nama domain yang dapat dikueri sekaligus. |
www.example.com. |
| FunctionNames |
string |
Yes |
Nama fitur. Anda dapat mengkueri beberapa konfigurasi fitur dalam satu permintaan. Pisahkan beberapa nama fitur dengan koma (,). Untuk fitur yang didukung oleh Nama domain yang dipercepat untuk ApsaraVideo VOD dan namanya, lihat Fungsi fitur untuk konfigurasi Nama domain. |
filetype_based_ttl_set,set_req_host_header. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| RequestId |
string |
ID permintaan. |
F8AA0364-0FDB-4AD5-****-D69FAB8924ED. |
| DomainConfigs |
object |
||
| DomainConfig |
array<object> |
Konfigurasi Nama domain. |
|
|
array<object> |
Detail konfigurasi Nama domain. |
||
| Status |
string |
The status of the domain name configuration. Valid values:
|
success |
| ConfigId |
string |
The ID of the configuration. |
5003576 |
| FunctionName |
string |
The name of the feature. |
set_req_host_header |
| FunctionArgs |
object |
||
| FunctionArg |
array<object> |
The details of the feature configuration. |
|
|
object |
The details of the feature configuration. |
||
| ArgName |
string |
The name of the parameter, which is a configuration item of functionName. |
domain_name |
| ArgValue |
string |
The value of the parameter, which is the value of the configuration item for functionName. |
example.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F8AA0364-0FDB-4AD5-****-D69FAB8924ED",
"DomainConfigs": {
"DomainConfig": [
{
"Status": "success",
"ConfigId": "5003576",
"FunctionName": "set_req_host_header",
"FunctionArgs": {
"FunctionArg": [
{
"ArgName": "domain_name",
"ArgValue": "example.com"
}
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid%s.ValueNotSupported | FunctionName [%s] is not supported. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.