You can call this operation to query the basic information about an accelerated domain.

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 DescribeDcdnDomainDetail

The operation that you want to perform. Set the value to DescribeDcdnDomainDetail.

DomainName String Yes example.com

The name of the accelerated domain. You can specify only one domain name.

Response parameters

Parameter Type Example Description
DomainDetail

The detailed information about the accelerated domain.

CertName String The name of the certificate.

Indicates the name of the certificate if the HTTPS protocol is enabled.

Cname String bb.test.com.dcdn7mhp.com

The canonical name (CNAME) of the accelerated domain.

Description String audit failed

The reason that causes the review failure.

DomainName String bb.test.com

The name of the accelerated domain.

DomainStatus String online

The status of the accelerated domain.

  • online: The domain is enabled.
  • offline: The domain is disabled.
  • configuring: The domain is being configured.
  • configure_failed: The domain configuration failed.
  • checking: The domain is under review.
  • check_failed: The domain failed the review.
GmtCreated String 2017-11-27T06:51:26Z

The time when the accelerated domain was created.

GmtModified String 2017-11-27T06:51:25Z

The time when the accelerated domain was last modified.

ResourceGroupId String 123

The ID of the resource group.

SSLProtocol String on

Indicates whether the SSL certificate is enabled. Valid values:

  • on: enabled
  • off: disabled
SSLPub String xxx

Indicates the public key of the certificate if the HTTPS protocol is enabled.

Scope String overseas

The acceleration region.

Sources Array

The origin information.

Source

The origin information.

Content String oss.com

The origin address.

Enabled String online

The status of the origin.

Port Integer 80

The port number. Valid values: 443 and 80.

Priority String 50

The priority of the origin if multiple origins are specified.

Type String oss

The type of the origin. Valid values:

  • 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 Object Storage Service (OSS) bucket.
Weight String 20

The weight of the origin if multiple origins are specified

RequestId String 09ABE829-6CD3-4FE0-AFEE-556113E29727

The ID of the request.

Examples

Sample requests

http://www.example.com?Action=DescribeDcdnDomainDetail
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

<DescribeDcdnDomainDetailResponse>
	  <RequestId>09ABE829-6CD3-4FE0-AFEE-556113E29727</RequestId>
	  <DomainDetail>
		    <Cname>bb.test.com.dcdn7mhp.com</Cname>
		    <ResourceGroupId>rg-acfmyuji4b6r4ry</ResourceGroupId>
		    <DomainStatus>online</DomainStatus>
		    <DomainName>bb.test.com</DomainName>
		    <Sources>
			      <Source>
				        <Enabled>online</Enabled>
				        <Port>80</Port>
				        <Type>oss</Type>
				        <Content>xxx.oss-cn-hangzhou.aliyuncs.com</Content>
				        <Priority>50</Priority>
			      </Source>
		    </Sources>
		    <GmtModified>2017-11-27T06:51:26Z</GmtModified>
		    <GmtCreated>2017-11-27T06:51:25Z</GmtCreated>
	  </DomainDetail>
</DescribeDcdnDomainDetailResponse>

JSON format

{
	"RequestId":"09ABE829-6CD3-4FE0-AFEE-556113E29727",
	"DomainDetail":{
		"Cname":"bb.test.com.dcdn7mhp.com",
		"DomainStatus":"online",
		"ResourceGroupId":"rg-acfmyuji4b6r4ry",
		"DomainName":"bb.test.com",
		"Sources":{
			"Source":[
				{
					"Enabled":"online",
					"Port":80,
					"Type":"oss",
					"Content":"xxx.oss-cn-hangzhou.aliyuncs.com",
					"Priority":"50"
				}
			]
		},
		"GmtModified":"2017-11-27T06:51:26Z",
		"GmtCreated":"2017-11-27T06:51:25Z"
	}
}

Error codes

For a list of error codes, visit the API Error Center.