Queries the basic information about a specified 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 Struct

The detailed information about the accelerated domain.

CertName String Certificate name

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

Cname String bb.test.com.dcdn7mhp.com

The canonical name (CNAME).

Description String Beijing ICP Filing No. 1703xxxx

The information about the Internet content provider (ICP) filing of the domain name.

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 has failed to be configured.
  • checking: The domain is under review.
  • check_failed: The domain has 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 Security Socket Layer (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 region where your acceleration service is deployed.

Sources Array

The origin information.

Source
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.

Type String oss

The type of the origin. Valid values:

  • ipaddr: The origin is configured by using an IP address.
  • domain: The origin is configured by using a domain name.
  • oss: The origin is configured by using the domain name of an Object Storage Service (OSS) bucket.
Weight String 20

The weight of the origin.

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>60EC4034-44D9-4BD6-A889-A32F2243AF76</RequestId>
  <DomainDetail>
        <Cname>sdk-doc.chinalivestream.top.w.kunluncan.com</Cname>
        <Description>Beijing ICP Filing No. 17038515-1</Description>
        <ResourceGroupId>rg-acfmyf3fncyll3i</ResourceGroupId>
        <DomainStatus>online</DomainStatus>
        <DomainName>example.top</DomainName>
        <Sources>
              <Source>
                    <Enabled>online</Enabled>
                    <Port>80</Port>
                    <Weight>10</Weight>
                    <Type>oss</Type>
                    <Content>oss.com</Content>
                    <Priority>20</Priority>
              </Source>
        </Sources>
        <GmtModified>2019-12-30T11:28Z</GmtModified>
        <GmtCreated>2018-06-21T13:46:23Z</GmtCreated>
        <Scope>domestic</Scope>
  </DomainDetail>
</DescribeDcdnDomainDetailResponse>

JSON format

{
	"RequestId": "60EC4034-44D9-4BD6-A889-A32F2243AF76",
	"DomainDetail": {
		"Cname": "sdk-doc.chinalivestream.top.w.kunluncan.com",
		"Description": "Beijing ICP Filing No. 17038515-1",
		"ResourceGroupId": "rg-acfmyf3fncyll3i",
		"DomainStatus": "online",
		"DomainName": "example.top",
		"Sources": {
			"Source": [
				{
					"Enabled": "online",
					"Port": 80,
					"Weight": "10",
					"Type": "oss",
					"Content": "oss.com",
					"Priority": "20"
				}
			]
		},
		"GmtModified": "2019-12-30T11:28Z",
		"GmtCreated": "2018-06-21T13:46:23Z",
		"Scope": "domestic"
	}
}

Error codes

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