Mengkueri konfigurasi fitur dari sebuah Nama domain.
Deskripsi operasi
Supported endpoint: China (Shanghai) region only.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainConfigs |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
Nama domain akselerasi untuk ApsaraVideo VOD. Anda hanya dapat mengkueri satu Nama domain. |
www.example.com |
| FunctionNames |
string |
Yes |
Nama fitur. Anda dapat mengkueri konfigurasi beberapa fitur dalam satu pengatur waktu. Pisahkan beberapa nama fitur dengan tanda koma (,). Untuk fitur yang dapat dikonfigurasi untuk nama domain akselerasi ApsaraVideo VOD dan nama fiturnya, lihat Fungsi untuk konfigurasi nama domain. |
filetype_based_ttl_set,set_req_host_header |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
F8AA0364-0FDB-4AD5-****-D69FAB8924ED |
| DomainConfigs |
object |
||
| DomainConfig |
array<object> |
The configurations of the domain name. |
|
|
array<object> |
The details of the domain name configuration. |
||
| 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.