阅读823 返回首页    go 人物


查询域名信息__域名操作接口_API 手册_CDN-阿里云

描述

获取指定加速域名配置的基本信息

请求参数

参数 类型 必要 描述
Action String 操作接口名,系统规定参数
DescribeCdnDomainDetail
DomainName String 需要接入CDN的域名

返回参数

名称 类型 描述
DomainName String 接入CDN进行加速的域名
Cname String 为加速域名生成的一个CNAME域名,需要在域名解析服务商处将加速域名CNAME解析到该域名
HttpsCname String 开启https的CNAME域名
Sources String 源站信息,域名或IP
DomainStatus String 加速域名运行状态
取值意义:online表示启用;offline表示停用;configuring表示配置中;configure_failed表示配置失败;checking表示正在审核;check_failed表示审核失败
CdnType String 加速域名的业务类型
取值含义:web表示图片及小文件加速;download表示大文件下载加速;video表示视音频点播加速;liveStream表示直播流媒体加速 ;httpsDelivery表示HTTPS安全加速
SourceType String 源站类型
取值含义:ipaddr表示IP源站;domain表示域名源站;oss表示指定OSS Bucket为源站
ServerCertificateStatus String 是否开启ssl证书 on表示开启;off表示关闭
ServerCertificate String 如果开启,此处为证书公钥
GmtCreated String 创建时间
GmtModified String 最近修改时间

特殊错误码

ErrorCode 错误码 Message 错误信息 HTTP 状态 语义
InvalidDomain.NotFound The domain provided does not belong to you. 404 域名不存在或不属于当前用户
IllegalOperation Illegal domain operate is not permitted. 403 没有权限执行当前操作
ServiceBusy The specified Domain is configuring, please retry later. 403 域名正在配置中, 请稍后再试

示例

请求示例:

https://cdn.aliyuncs.com?Action=DecribeDomainDetail&DomainName=test.com&<公共请求参数>

返回示例:

JSON格式

{
  "GetDomainDetailModel": {
    "CdnType": "web",
    "Cname": "bb.test.com.w.kunlunle.com",
    "DomainName": "bb.test.com",
    "DomainStatus": "online",
    "GmtCreated": "2015-06-25T03:30:50Z",
    "GmtModified": "2015-06-25T03:30:53Z",
    "HttpsCname": "bb-test-com.alikunlun.com",
    "SourceType": "domain",
    "Sources": {
      "Source": [
        "test.com"
      ]
    }
  },
  "RequestId": "18CF38AA-1275-451D-A12B-4EC0BF1C5E30"
}

XML格式

<DescribeDomainDetailResponse>
  <GetDomainDetailModel>
    <CdnType>web</CdnType>
    <Cname>bb.test.com.w.kunlunle.com</Cname>
    <DomainName>bb.test.com</DomainName>
    <DomainStatus>online</DomainStatus>
    <GmtCreated>2015-06-25T03:30:50Z</GmtCreated>
    <GmtModified>2015-06-25T03:30:53Z</GmtModified>
    <HttpsCname>bb-test-com.alikunlun.com</HttpsCname>
    <SourceType>domain</SourceType>
    <Sources>
      <Source>test.com</Source>
    </Sources>
  </GetDomainDetailModel>
  <RequestId>C6AAEE3B-5859-40B6-903A-884DC4C448AF</RequestId>
</DescribeDomainDetailResponse>

最后更新:2016-11-23 17:16:03

  上一篇:go 查询域名列表__域名操作接口_API 手册_CDN-阿里云
  下一篇:go 修改源站信息__域名操作接口_API 手册_CDN-阿里云