All Products
Search
Document Center

ApsaraVideo VOD:DescribeVodDomainConfigs

Last Updated:Aug 06, 2025

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that support authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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: The configuration is successful.

  • testing: The configuration is being tested.

  • failed: The configuration failed.

  • configuring: The feature is being configured.

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.