All Products
Search
Document Center

DescribeDcdnDomainDetail

Last Updated: Mar 01, 2019

Description

You can call this operation to obtain information about the DCDN domain name configuration.

Request parameters

Name Type Required Description
Action String Yes The operation that you want to perform. Set the value to DescribeDcdnDomainDetail.
DomainName String Yes The DCDN domain name.

Response parameters

Name Type Description
DomainName String The DCDN domain name.
Cname String The CNAME for the DCDN domain name. The CNAME must be resolved to the DCDN domain name by a DNS provider.
DomainStatus String The status of the DCDN domain name. The status can be online, offline, configuring, configure_failed, checking, and check_failed.
  • online: The domain name is enabled.
  • offline: The domain name is disabled.
  • configuring: The domain name is being configured.
  • configure_failed: The domain name configuration has failed.
  • checking: The domain name is under review.
  • check_failed: The domain name has failed the review.
SSLProtocol String Indicates whether the SSL certificate is enabled. Value: on or off.
  • on: The SSL certificate is enabled.
  • off: The SSL certificate is disabled.
SSLPub String The public key of the certificate, which is returned if the SSL certificate is enabled.
CertName String The name of the certificate, which is returned if the SSL certificate is enabled.
GmtCreated String The time at which the domain name was created.
GmtModified String The time at which the domain name was last modified.
ResourceGroupId String The ID of the resource group.
Sources Source[] The descriptions of the domain name.

Source

Name Type Description
Content String The URL of the origin.
Type String The type of the origin. Value: ipaddr, domain, or oss.
  • ipaddr: The origin is configured using an IP address.
  • domain: The origin is configured using a domain name.
  • oss: The origin is configured using the Internet domain name of an Alibaba Cloud OSS bucket.
Port Integer The port number. Valid values: 443 and 80.
Enabled String The status of the origin.
Priority String The priority of the origin when multiple origins exist.

Examples

Sample requests

  1. http://dcdn.aliyuncs.com?Action=DescribeDcdnDomainDetail&DomainName=bb.test.com&<Common request parameters>

Sample responses

JSON format

  1. {
  2. "RequestId": "09ABE829-6CD3-4FE0-AFEE-556113E29727",
  3. "DomainDetail": {
  4. "Cname": "bb.test.com.dcdn7mhp.com",
  5. "ResourceGroupId": "rg-acfmyuji4b6r4ry",
  6. "DomainStatus": "online",
  7. "DomainName": "bb.test.com",
  8. "Sources": {
  9. "Source": [
  10. {
  11. "Enabled": "online",
  12. "Port": 80,
  13. "Type": "oss",
  14. "Content": "xxx.oss-cn-hangzhou.aliyuncs.com",
  15. "Priority": "50"
  16. }
  17. ]
  18. },
  19. "GmtModified": "2017-11-27T06:51:26Z",
  20. "GmtCreated": "2017-11-27T06:51:25Z"
  21. }
  22. }

Error codes

Error code Error message HTTP status code Description
InvalidDomain.NotFound The domain provided does not belong to you. 404 The error message returned when the domain name does not exist or does not belong to the current user.
ServiceBusy The specified Domain is configuring, please retry again later. 403 The error message returned when the domain name is being configured. Please try again later.