You can call this operation to query the configurations of a domain name. You can query the configurations of multiple features at the same time.
Operation description
The endpoint for this operation is available only in the China (Shanghai) region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainConfigs |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name for ApsaraVideo VOD. You can query only one domain name. |
www.example.com |
| FunctionNames |
string |
Yes |
The name of the feature. You can query the configurations of multiple features at a time. Separate multiple feature names with commas (,). For more information about the features that can be configured for accelerated domain names for ApsaraVideo VOD and the names of the features, see Functions for domain name configurations. |
filetype_based_ttl_set,set_req_host_header |
Response parameters
|
Parameter |
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. |
|
|
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. |
file_type |
| ArgValue |
string |
The value of the parameter, which is the value of the configuration item for functionName. |
txt |
Examples
Success response
JSON format
{
"RequestId": "F8AA0364-0FDB-4AD5-****-D69FAB8924ED",
"DomainConfigs": {
"DomainConfig": [
{
"Status": "success",
"ConfigId": "5003576",
"FunctionName": "set_req_host_header",
"FunctionArgs": {
"FunctionArg": [
{
"ArgName": "file_type",
"ArgValue": "txt"
}
]
}
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid%s.ValueNotSupported | FunctionName [%s] is not supported. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.