Queries the basic information about an accelerated domain name.
The maximum number of times that each user can call this operation per second is 30.
Debugging
OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeCdnDomainDetail |
The operation that you want to perform. Set the value to DescribeCdnDomainDetail. |
DomainName | String | Yes | www.yourdomain.com |
The accelerated domain name. You can specify only one domain name. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
GetDomainDetailModel | Struct |
The detailed information about the accelerated domain name. |
|
CdnType | String | web |
The workload type of the accelerated domain name. Valid values:
|
Cname | String | domain.w.alikunlun.net |
The CNAME assigned to the accelerated domain name. You must add the CNAME record to the system of your DNS provider to map the accelerated domain name to the CNAME. |
Description | String | Live streaming |
The remarks of the accelerated domain name. |
DomainName | String | yourdomain.com |
The accelerated domain name. |
DomainStatus | String | online |
The status of the accelerated domain name. |
GmtCreated | String | 2015-06-25T03:30:50Z |
The time when the accelerated domain was created. |
GmtModified | String | 2017-06-25T03:30:50Z |
The last time when the accelerated domain name was modified. |
HttpsCname | String | yourdomain.com.alikunlun.com |
The CNAME for which the HTTPS protocol is enabled. |
ResourceGroupId | String | abcd1234abcd1234 |
The ID of the resource group. |
Scope | String | domestic |
The region where your Content Delivery Network (CDN) service is deployed. |
ServerCertificateStatus | String | on |
Indicates whether the Secure Sockets Layer (SSL) certificate is enabled.
|
SourceModels | Array of SourceModel |
The information about the origin server. |
|
SourceModel | |||
Content | String | test.com |
The address of the origin server. |
Enabled | String | online |
The status of the origin server. |
Port | Integer | 80 |
The port over which back-to-origin requests are transmitted. Ports 443 and 80 are supported. |
Priority | String | 20 |
The priority of the origin server if multiple origin servers are specified. |
Type | String | domain |
The type of the origin server. Valid values:
|
Weight | String | 10 |
The weight of the origin server if multiple origin servers are specified. |
RequestId | String | 18CF38AA-1275-451D-A12B-4EC0BF1C5E30 |
The ID of the request. |
Examples
Sample requests
http://cdn.aliyuncs.com/?Action=DescribeCdnDomainDetail
&DomainName=www.yourdomain.com
&<Common request parameters>
Sample success responses
XML
format
<DescribeCdnDomainDetailResponse>
<GetDomainDetailModel>
<CdnType>web</CdnType>
<Cname>bb.test.com.w.kunlunle.com</Cname>
<DomainName>bb.test.com</DomainName>
<DomainStatus>online</DomainStatus>
<GmtCreated>2015-06-25T03:30:50Z</GmtCreated>
<GmtModified>2015-06-25T03:30:53Z</GmtModified>
<HttpsCname>bb-test-com.alikunlun.com</HttpsCname>
<SourceType>domain</SourceType>
<Region>huadong</Region>
<ResourceGroupId>abcd1234abcd1234</ResourceGroupId>
<SourceModels>
<SourceModel>
<Enabled>online</Enabled>
<Port>80</Port>
<Type>domain</Type>
<Content>test.com</Content>
<Priority>20</Priority>
</SourceModel>
</SourceModels>
<Sources>
<Source>test.com</Source>
</Sources>
</GetDomainDetailModel>
<RequestId>18CF38AA-1275-451D-A12B-4EC0BF1C5E30</RequestId>
</DescribeCdnDomainDetailResponse>
JSON
format
{ "GetDomainDetailModel": { "CdnType": "web", "Cname": "bb.test.com.w.kunlunle.com", "DomainName": "bb.test.com", "DomainStatus": "online", "GmtCreated": "2015-06-25T03:30:50Z", "GmtModified": "2015-06-25T03:30:53Z", "HttpsCname": "bb-test-com.alikunlun.com", "SourceType": "domain", "Region":"huadong", "ResourceGroupId":"abcd1234abcd1234", "SourceModels": { "SourceModel": [ { "Enabled": "online", "Port": 80, "Type": "domain", "Content": "test.com", "Priority": "20" } ] }, "Sources": { "Source": [ "test.com" ] } }, "RequestId": "18CF38AA-1275-451D-A12B-4EC0BF1C5E30" }
Error codes
For a list of error codes, visit the API Error Center.