调用DescribeDcdnDomainDetail获取指定加速域名配置的基本信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeDcdnDomainDetail |
操作接口名,系统规定参数。取值:DescribeDcdnDomainDetail。 |
DomainName | String | 是 | example.com |
加速域名,仅支持单个域名查询。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
DomainDetail | Struct |
域名信息列表。 |
|
CertName | String | 证书名称 |
如果开启HTTPS,此处为证书名称。 |
Cname | String | bb.test.com.dcdn7mhp.com |
为加速域名生成的一个CNAME域名,您需要在域名解析服务商处为加速域名配置CNAME解析。 |
Description | String | 京ICP备1703xxxx号 |
域名备案信息。 |
DomainName | String | bb.test.com |
加速的域名。 |
DomainStatus | String | online |
加速域名运行状态。取值:
|
GmtCreated | String | 2017-11-27T06:51:26Z |
创建时间。 |
GmtModified | String | 2017-11-27T06:51:25Z |
最近修改时间。 |
ResourceGroupId | String | rg-acfmyuji4b6r4** |
资源组ID。 |
SSLProtocol | String | on |
是否开启SSL证书。取值:
|
SSLPub | String | xxx |
如果开启HTTPS,此处为证书公钥。 |
Scope | String | overseas |
加速区域。
|
Sources | Array of Source |
源站信息。 |
|
Source | |||
Content | String | oss.com |
回源地址。 |
Enabled | String | online |
状态。 |
Port | Integer | 80 |
端口,支持443和80。 |
Priority | String | 50 |
优先级。 |
Type | String | oss |
源站类型。取值:
|
Weight | String | 20 |
回源权重。 |
RequestId | String | 09ABE829-6CD3-4FE0-AFEE-556113E29727 |
请求ID。 |
示例
请求示例
http(s)://dcdn.aliyuncs.com/?Action=DescribeDcdnDomainDetail
&DomainName=example.com
&<公共请求参数>
正常返回示例
XML
格式
<DescribeDcdnDomainDetailResponse>
<RequestId>60EC4034-44D9-4BD6-A889-A32F2243AF76</RequestId>
<DomainDetail>
<Cname>sdk-doc.chinalivestream.top.w.kunluncan.com</Cname>
<Description>京ICP备17038515号-1</Description>
<ResourceGroupId>rg-acfmyf3fncyll**</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
格式
{
"RequestId": "60EC4034-44D9-4BD6-A889-A32F2243AF76",
"DomainDetail": {
"Cname": "sdk-doc.chinalivestream.top.w.kunluncan.com",
"Description": "京ICP备17038515号-1",
"ResourceGroupId": "rg-acfmyf3fncyll**",
"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"
}
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交