调用DescribeDcdnDomainDetail获取指定加速域名配置的基本信息。
接口说明
单用户调用频率:30 次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
dcdn:DescribeDcdnDomainDetail |
get |
*Domain
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DomainName |
string |
是 |
加速域名,仅支持单个域名查询。 |
example.com |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
09ABE829-6CD3-4FE0-AFEE-556113E29727 |
| DomainDetail |
object |
域名信息列表。 |
|
| GmtCreated |
string |
创建时间。 |
2017-11-27T06:51:26Z |
| SSLPub |
string |
如果开启 HTTPS,此处为证书公钥。 |
xxx |
| Description |
string |
域名备案信息。 |
京ICP备1703xxxx号 |
| SSLProtocol |
string |
是否开启 SSL 证书。取值:
|
on |
| ResourceGroupId |
string |
资源组 ID。 |
rg-acfmyuji4b6r4** |
| Scope |
string |
加速区域。
|
overseas |
| Cname |
string |
为加速域名生成的一个 CNAME 域名,您需要在域名解析服务商处为加速域名配置 CNAME 解析。 |
example.aliyundoc.com |
| DomainStatus |
string |
加速域名运行状态。取值:
|
online |
| GmtModified |
string |
最近修改时间。 |
2017-11-27T06:51:25Z |
| DomainName |
string |
加速的域名。 |
example.com |
| Sources |
object |
||
| Source |
array<object> |
源站信息。 |
|
|
object |
|||
| Type |
string |
源站类型。取值:
|
oss |
| Weight |
string |
回源权重。 |
20 |
| Enabled |
string |
状态。 |
online |
| Priority |
string |
优先级。 |
50 |
| Port |
integer |
端口,支持 443 和 80。 |
80 |
| Content |
string |
回源地址。 |
example.org |
| Scene |
string |
加速场景。支持:
|
apiscene |
| FunctionType |
string |
计算服务类型。取值:
|
routine |
示例
正常返回示例
JSON格式
{
"RequestId": "09ABE829-6CD3-4FE0-AFEE-556113E29727",
"DomainDetail": {
"GmtCreated": "2017-11-27T06:51:26Z",
"SSLPub": "xxx",
"Description": "京ICP备1703xxxx号",
"SSLProtocol": "on",
"ResourceGroupId": "rg-acfmyuji4b6r4**",
"Scope": "overseas",
"Cname": "example.aliyundoc.com",
"DomainStatus": "online",
"GmtModified": "2017-11-27T06:51:25Z",
"DomainName": "example.com",
"Sources": {
"Source": [
{
"Type": "oss",
"Weight": "20",
"Enabled": "online",
"Priority": "50",
"Port": 80,
"Content": "example.org"
}
]
},
"Scene": "apiscene",
"FunctionType": "routine"
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。