Queries the basic configuration information of a specified ApsaraVideo VOD domain name.
Operation description
Currently, the service endpoint supports only China (Shanghai).
DomainName must be an ApsaraVideo VOD accelerated domain name added to the current account. You can call DescribeVodUserDomains to query the accelerated domain names under the current account. When you add a new domain name for the first time, you must complete DNS or file verification based on the domain ownership verification documentation, and then call AddVodDomain to add the domain name. After the domain name is added, you can call this operation to query the domain name configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The name of the ApsaraVideo VOD accelerated domain name. |
example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
09ABE829-6CD3-4FE0-556113E2**** |
| DomainDetail |
object |
The basic configuration information of the domain name. |
|
| GmtCreated |
string |
The creation time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC). |
2017-11-27T06:51:26Z |
| Weight |
string |
The back-to-origin weight. |
1 |
| SSLPub |
string |
The public key of the HTTPS certificate if HTTPS secure acceleration is enabled. This parameter is not returned if HTTPS secure acceleration is disabled. |
yourSSLPub |
| Description |
string |
The description of the ApsaraVideo VOD accelerated domain name. |
testDescription |
| SSLProtocol |
string |
Specifies whether the SSL certificate is enabled. Valid values:
|
on |
| CertName |
string |
The name of the HTTPS certificate if HTTPS secure acceleration is enabled. This parameter is not returned if HTTPS secure acceleration is disabled. |
testCertName |
| Scope |
string |
The accelerated region. Valid values:
|
domestic |
| Cname |
string |
The CNAME domain name generated for the accelerated domain name. You must add a CNAME record at your DNS provider to resolve the accelerated domain name to this CNAME domain name. For more information, see Configure CNAME. |
example.com.w.alikunlun.net |
| DomainStatus |
string |
The running status of the accelerated domain name. Valid values:
|
online |
| GmtModified |
string |
The last modification time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC). |
2017-11-27T06:55:26Z |
| DomainName |
string |
The ApsaraVideo VOD accelerated domain name. |
example.com |
| Sources |
object |
||
| Source |
array<object> |
The origin server information. |
|
|
object |
The detailed information of the origin server. |
||
| Type |
string |
The origin server type. Valid values:
|
oss |
| Priority |
string |
The priority. |
50 |
| Port |
integer |
The port. Port 443 and 80 are supported. |
80 |
| Content |
string |
The back-to-origin address. |
****.oss-cn-hangzhou.aliyuncs.com |
| Enabled |
string |
The origin server status. Valid values:
|
online |
| Weight |
string |
The back-to-origin weight. |
1 |
Examples
Success response
JSON format
{
"RequestId": "09ABE829-6CD3-4FE0-556113E2****",
"DomainDetail": {
"GmtCreated": "2017-11-27T06:51:26Z",
"Weight": "1",
"SSLPub": "yourSSLPub",
"Description": "testDescription",
"SSLProtocol": "on",
"CertName": "testCertName",
"Scope": "domestic",
"Cname": "example.com.w.alikunlun.net",
"DomainStatus": "online",
"GmtModified": "2017-11-27T06:55:26Z",
"DomainName": "example.com",
"Sources": {
"Source": [
{
"Type": "oss",
"Priority": "50",
"Port": 80,
"Content": "****.oss-cn-hangzhou.aliyuncs.com",
"Enabled": "online",
"Weight": "1"
}
]
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDomain.NotFound | The domain provided does not belong to you. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.