调用DescribeCdnDomainDetail获取指定加速域名配置的基本信息。
说明 单用户调用频率为30次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeCdnDomainDetail |
系统规定参数。取值:DescribeCdnDomainDetail。 |
DomainName | String | 是 | example.com |
加速域名信息,仅支持单个查询。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
GetDomainDetailModel | Struct |
域名详情。 |
|
CdnType | String | web |
加速域名的业务类型。取值:
|
Cname | String | example.com.w.kunlunle.com |
为加速域名生成的一个CNAME域名,需要在域名解析服务商处将加速域名CNAME解析到该域名。 |
Description | String | 直播域名 |
备注。 |
DomainName | String | example.com |
加速的域名。 |
DomainStatus | String | online |
加速域名运行状态。取值:
|
GmtCreated | String | 2015-06-25T03:30:50Z |
创建时间。 |
GmtModified | String | 2017-06-25T03:30:50Z |
最近修改时间。 |
HttpsCname | String | example.com.w.kunlunle.com |
开启HTTPS的CNAME域名。 |
ResourceGroupId | String | abcd1234abcd1234 |
资源组ID。 |
Scope | String | domestic |
加速区域。 |
ServerCertificateStatus | String | on |
是否开启SSL证书。取值:
|
SourceModels | Array of SourceModel |
源站信息。 |
|
SourceModel | |||
Content | String | test.com |
回源地址。 |
Enabled | String | online |
状态。 |
Port | Integer | 80 |
端口,支持443和80。 |
Priority | String | 20 |
优先级。 |
Type | String | domain |
源站类型。取值:
|
Weight | String | 10 |
回源权重。 |
RequestId | String | 18CF38AA-1275-451D-A12B-4EC0BF1C5E30 |
请求ID。 |
示例
请求示例
http(s)://cdn.aliyuncs.com/?Action=DescribeCdnDomainDetail
&DomainName=example.com
&<公共请求参数>
正常返回示例
XML
格式
<DescribeCdnDomainDetailResponse>
<GetDomainDetailModel>
<CdnType>web</CdnType>
<Cname>example.com.w.kunlunle.com</Cname>
<DomainName>example.com</DomainName>
<DomainStatus>online</DomainStatus>
<GmtCreated>2015-06-25T03:30:50Z</GmtCreated>
<GmtModified>2015-06-25T03:30:53Z</GmtModified>
<HttpsCname>example.com.w.kunlunle.com</HttpsCname>
<SourceType>domain</SourceType>
<ResourceGroupId>abcd1234abcd1234</ResourceGroupId>
<SourceModels>
<SourceModel>
<Enabled>online</Enabled>
<Port>80</Port>
<Type>domain</Type>
<Content>example.com</Content>
<Priority>20</Priority>
<Weight>10</Weight>
</SourceModel>
</SourceModels>
</GetDomainDetailModel>
<RequestId>18CF38AA-1275-451D-A12B-4EC0BF1C5E30</RequestId>
</DescribeCdnDomainDetailResponse>
JSON
格式
{
"GetDomainDetailModel": {
"CdnType": "web",
"Cname": "example.com.w.kunlunle.com",
"DomainName": "example.com",
"DomainStatus": "online",
"GmtCreated": "2015-06-25T03:30:50Z",
"GmtModified": "2015-06-25T03:30:53Z",
"HttpsCname":"example.com.w.kunlunle.com",
"SourceType":"domain",
"ResourceGroupId":"abcd1234abcd1234",
"SourceModels": {
"SourceModel": [
{
"Enabled": "online",
"Port": 80,
"Type": "domain",
"Content": "example.com",
"Priority": "20",
"Weight": "10"
}
]
}
},
"RequestId": "18CF38AA-1275-451D-A12B-4EC0BF1C5E30"
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交