调用DescribeDcdnIpaUserDomains查询用户名下所有的IPA层应用加速域名。
支持域名模糊匹配过滤和域名状态过滤,域名状态包括:
- 运行中(表示域名服务状态正常)。
- 已停止。
- 配置中。
- 配置失败。
- 审核中。
- 审核失败。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 位置 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|---|
Action | Query | String | 是 | DescribeDcdnIpaUserDomains |
系统规定参数。取值:DescribeDcdnIpaUserDomains。 |
PageSize | Query | Integer | 否 | 20 |
分页大小,默认20,取值:1~50。 |
PageNumber | Query | Integer | 否 | 20 |
取得第几页,取值范围为:1~100000。 |
DomainName | Query | String | 否 | example.com |
域名模糊匹配过滤。 |
DomainStatus | Query | String | 否 | online |
域名状态过滤。 |
DomainSearchType | Query | String | 否 | fuzzy_match |
域名查询类型。
|
CheckDomainShow | Query | Boolean | 否 | false |
检查domain是否展出。 |
ResourceGroupId | Query | String | 否 | ResourceGroupId |
资源组ID。 |
FuncId | Query | String | 否 | 98 |
功能ID。例如:98表示图片鉴黄功能。 |
FuncFilter | Query | String | 否 | config |
过滤,支持config和unconfig。config是开通了funcid的,unconfig是没有开通funcid的。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Domains | Array of PageData |
由PageData组成的数组格式,返回加速域名的状态信息。 |
|
PageData | |||
Cname | String | example4.com.w.alikunlun.com |
加速域名对应的CNAME域名。 |
Description | String | audit failed |
审核失败原因。 |
DomainName | String | example.com |
加速域名名称。 |
DomainStatus | String | online |
加速域名状态,取值:
|
GmtCreated | String | 2015-10-23T09:23:29Z |
加速域名创建时间。 |
GmtModified | String | 2015-10-23T09:23:29Z |
加速域名修改时间。 |
ResourceGroupId | String | abcd1234abcd1234 |
资源组ID。 |
SSLProtocol | String | on |
https开关,on已开启;off未开启。 |
Sandbox | String | normal |
沙箱。 |
Sources | Array of Source |
源站信息。 |
|
Source | |||
Content | String | oss-xxx-client.com |
源站地址。 |
Port | Integer | 80 |
源站端口。 |
Priority | String | 20 |
优先级。 |
Type | String | oss |
源站类型。 |
Weight | String | 20 |
回源权重。 |
PageNumber | Long | 5 |
返回数据的页码。 |
PageSize | Long | 5 |
整页大小。 |
RequestId | String | AA75AADB-5E25-4970-B480-EAA1F5658483 |
请求ID。 |
TotalCount | Long | 10 |
总条数。 |
示例
请求示例
https://dcdn.aliyuncs.com/?Action=DescribeDcdnIpaUserDomains
&PageNumber=1
&PageSize=5
&DomainSearchType=fuzzy_match
&<公共请求参数>
正常返回示例
XML
格式
<DescribeDcdnIpaUserDomainsResponse>
<PageNumber>1</PageNumber>
<TotalCount>16</TotalCount>
<PageSize>5</PageSize>
<RequestId>AA75AADB-5E25-4970-B480-EAA1F5658483</RequestId>
<Domains>
<PageData>
<DomainStatus>configure_failed</DomainStatus>
<DomainName>example.com</DomainName>
<GmtModified>2015-10-28T11:05:52Z</GmtModified>
<GmtCreated>2015-10-28T09:32:51Z</GmtCreated>
<Description>audit failed</Description>
<ResourceGroupId>abcd1234abcd1234</ResourceGroupId>
<Sources>
<Source>
<Content>oss-xxx-client.com</Content>
<Port>80</Port>
<Priority>20</Priority>
<Type>oss</Type>
<Weight>20</Weight>
</Source>
</Sources>
</PageData>
<PageData>
<DomainStatus>configure_failed</DomainStatus>
<DomainName>example1.com</DomainName>
<GmtModified>2015-10-28T11:05:50Z</GmtModified>
<GmtCreated>2015-10-28T09:31:59Z</GmtCreated>
<ResourceGroupId>abcd1234abcd1234</ResourceGroupId>
<Sources>
<Source>
<Content>oss-yyy-client.com</Content>
<Port>80</Port>
<Priority>20</Priority>
<Type>oss</Type>
<Weight>20</Weight>
</Source>
</Sources>
</PageData>
<PageData>
<Cname>example2.com.w.alikunlun.net</Cname>
<DomainStatus>online</DomainStatus>
<DomainName>example2.com</DomainName>
<GmtModified>2015-10-27T06:26:34Z</GmtModified>
<GmtCreated>2015-10-23T09:30:00Z</GmtCreated>
<ResourceGroupId>abcd1234abcd1234</ResourceGroupId>
<Sources>
<Source>
<Content>oss-yyy-client.com</Content>
<Port>80</Port>
<Priority>20</Priority>
<Type>oss</Type>
<Weight>20</Weight>
</Source>
</Sources>
</PageData>
<PageData>
<Cname>example3.com.w.kunlunAr.com</Cname>
<DomainStatus>online</DomainStatus>
<DomainName>example3.com</DomainName>
<GmtModified>2015-10-23T09:23:29Z</GmtModified>
<GmtCreated>2015-10-23T09:23:20Z</GmtCreated>
<ResourceGroupId>abcd1234abcd1234</ResourceGroupId>
<Sources>
<Source>
<Content>oss-zzz-client.com</Content>
<Port>80</Port>
<Priority>20</Priority>
<Type>oss</Type>
<Weight>20</Weight>
</Source>
</Sources>
</PageData>
<PageData>
<Cname>example4.com.w.alikunlun.com</Cname>
<DomainStatus>online</DomainStatus>
<DomainName>example4.com</DomainName>
<GmtModified>2015-10-23T09:02:11Z</GmtModified>
<GmtCreated>2015-10-23T09:01:57Z</GmtCreated>
<ResourceGroupId>abcd1234abcd1234</ResourceGroupId>
<Sources>
<Source>
<Content>oss-aaa-client.com</Content>
<Port>80</Port>
<Priority>20</Priority>
<Type>oss</Type>
<Weight>20</Weight>
</Source>
</Sources>
</PageData>
</Domains>
</DescribeDcdnIpaUserDomainsResponse>
JSON
格式
{
"PageNumber": 1,
"TotalCount": 16,
"PageSize": 5,
"RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
"Domains": {
"PageData": [
{
"DomainStatus": "configure_failed",
"DomainName": "example.com",
"GmtModified": "2015-10-28T11:05:52Z",
"GmtCreated": "2015-10-28T09:32:51Z",
"Description": "audit failed",
"ResourceGroupId":"abcd1234abcd1234",
"Sources": {
"Source": [
{
"Content": "oss-xxx-client.com",
"Port": 80,
"Priority": "20",
"Type": "oss",
"Weight": "20"
}
]
}
},
{
"DomainStatus": "configure_failed",
"DomainName": "example1.com",
"GmtModified": "2015-10-28T11:05:50Z",
"GmtCreated": "2015-10-28T09:31:59Z",
"ResourceGroupId":"abcd1234abcd1234",
"Sources": {
"Source": [
{
"Content": "oss-yyy-client.com",
"Port": 80,
"Priority": "20",
"Type": "oss",
"Weight": "20"
}
]
}
},
{
"Cname": "example2.com.w.alikunlun.net",
"DomainStatus": "online",
"DomainName": "example2.com",
"GmtModified": "2015-10-27T06:26:34Z",
"GmtCreated": "2015-10-23T09:30:00Z",
"ResourceGroupId":"abcd1234abcd1234",
"Sources": {
"Source": [
{
"Content": "oss-yyy-client.com",
"Port": 80,
"Priority": "20",
"Type": "oss",
"Weight": "20"
}
]
}
},
{
"Cname": "example3.com.w.kunlunAr.com",
"DomainStatus": "online",
"DomainName": "example3.com",
"GmtModified": "2015-10-23T09:23:29Z",
"GmtCreated": "2015-10-23T09:23:20Z",
"ResourceGroupId":"abcd1234abcd1234",
"Sources": {
"Source": [
{
"Content": "oss-zzz-client.com",
"Port": 80,
"Priority": "20",
"Type": "oss",
"Weight": "20"
}
]
}
},
{
"Cname": "example4.com.w.alikunlun.com",
"DomainStatus": "online",
"DomainName": "example4.com",
"GmtModified": "2015-10-23T09:02:11Z",
"GmtCreated": "2015-10-23T09:01:57Z",
"ResourceGroupId":"abcd1234abcd1234",
"Sources": {
"Source": [
{
"Content": "oss-aaa-client.com",
"Port": 80,
"Priority": "20",
"Type": "oss",
"Weight": "20"
}
]
}
}
]
}
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidPageNumber.ValueNotSupported | The specified value of PageNumber is not supported. | 页码参数错误,请重新填写。 |
400 | InvalidPageSize.ValueNotSupported | The specified value of PageSize is invalid. | PageSize参数错误,请重新填写。 |
400 | InvalidDomainStatus.ValueNotSupported | The specified value of DomainStatus is invalid. | DomainStatus值错误,请重新填写。 |
400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | 域名格式错误。 |
400 | InvalidDomainSearchType.ValueNotSupported | The specified value of DomainSearchType is invalid. | DomainSearchType值错误,请重新填写。 |
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交