调用DescribeDcdnIpaDomainDetail获取指定加速域名配置的基本信息。

说明 单用户调用频率:30次/秒。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeDcdnIpaDomainDetail

系统规定参数。取值:DescribeDcdnIpaDomainDetail

DomainName String example.com

接入全站加速IPA进行加速的域名,仅支持单个查询。

返回数据

名称 类型 示例值 描述
DomainDetail Struct

域名详情。

CertName String yourCertName

如果开启HTTPS,此处为证书名称。

Cname String example.com

CNAME。

Description String audit failed

描述。

DomainName String example.com

接入全站加速IPA进行加速的域名。

DomainStatus String online

加速域名运行状态。取值:

  • online:启用。
  • offline:停用。
  • configuring:配置中。
  • configure_failed:配置失败。
  • checking:正在审核。
  • check_failed:审核失败。
GmtCreated String 2017-11-27T06:51:26Z

创建时间。

GmtModified String 2017-11-27T06:51:26Z

最近修改时间。

ResourceGroupId String rg-acfmyuji4b6xxxx

资源组ID。

SSLProtocol String on

是否开启SSL证书。取值:

  • on:开启。
  • off:关闭。
SSLPub String SSLPub

如果开启HTTPS,此处为证书公钥。

Scope String overseas

加速区域。取值:

  • domestic:仅中国内地。
  • overseas:全球(不包含中国内地)。
  • global:全球。
Sources Array of Source

源站信息。

Source
Content String xxx.oss-cn-hangzhou.aliyuncs.com

回源地址。

Enabled String online

状态。

Port Integer 80

自定义端口,范围:0~65535

Priority String 50

优先级。

Type String oss

源站类型。取值:

  • ipaddr:IP源站。
  • domain:域名源站。
  • oss:不支持OSS。
Weight String 10

回源权重。

RequestId String 09ABE829-6CD3-4FE0-AFEE-556113E29727

请求ID。

示例

请求示例

http(s)://dcdn.aliyuncs.com/?Action=DescribeDcdnIpaDomainDetail
&DomainName=example.com
&<公共请求参数>

正常返回示例

XML格式

<DescribeDcdnIpaDomainDetailResponse>
  <RequestId>09ABE829-6CD3-4FE0-AFEE-556113E29727</RequestId>
  <DomainDetail>
        <Cname>example.com.dcdn7mhp.com</Cname>
        <ResourceGroupId>rg-acfmyuji4b6xxxx</ResourceGroupId>
        <DomainStatus>online</DomainStatus>
        <DomainName>example.com</DomainName>
        <Sources>
              <Source>
                    <Enabled>online</Enabled>
                    <Port>80</Port>
                    <Type>oss</Type>
                    <Content>xxx.oss-cn-hangzhou.aliyuncs.com</Content>
                    <Priority>50</Priority>
                    <Weight>10</Weight>
              </Source>
        </Sources>
        <GmtModified>2017-11-27T06:51:26Z</GmtModified>
        <GmtCreated>2017-11-27T06:51:25Z</GmtCreated>
  </DomainDetail>
</DescribeDcdnIpaDomainDetailResponse>

JSON格式

{
  "RequestId": "09ABE829-6CD3-4FE0-AFEE-556113E29727",
  "DomainDetail": {
    "Cname": "example.com.dcdn7mhp.com",
    "ResourceGroupId": "rg-acfmyuji4b6xxxx",
    "DomainStatus": "online",
    "DomainName": "example.com",
    "Sources": {
      "Source": [
        {
          "Enabled": "online",
          "Port": 80,
          "Type": "oss",
          "Content": "xxx.oss-cn-hangzhou.aliyuncs.com",
          "Priority": "50",
          "Weight": "10"
        }
      ]
    },
    "GmtModified": "2017-11-27T06:51:26Z",
    "GmtCreated": "2017-11-27T06:51:25Z"
  }
}

错误码

访问错误中心查看更多错误码。