Queries all accelerated domain names with specified features configured that belong to your Alibaba Cloud account based on the FuncId parameter.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeDcdnUserDomainsByFunc |
The operation that you want to perform. Set the value to DescribeDcdnUserDomainsByFunc. |
FuncId | Integer | Yes | 7 |
The ID of the feature. For more information about how to query feature IDs, see Feature settings for a domain name. For example, the ID of the origin host feature (set_req_host_header) is 18. |
FuncFilter | String | No | config |
Specifies whether the feature that is specified by the FuncId parameter is enabled.
|
DomainName | String | No | example.com |
The accelerated domain name. |
PageNumber | Integer | No | 1 |
The number of the page to return. Default value: 1. Valid values: 1 to 100000. |
PageSize | Integer | No | 20 |
The number of domain names to return on each page. Default value: 20. Valid values: 1 to 500. |
ResourceGroupId | String | No | rg-acfmyuji4b6r4** |
The ID of the resource group. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Domains | Array of PageData |
The array that consists of multiple PageData parameters. The details about each accelerated domain name are included in a separate PageData parameter. |
|
PageData | |||
Cname | String | example.com.w.alikunlun.net |
The CNAME assigned to the accelerated domain name. |
Description | String | audit failed |
The reason why the accelerated domain name failed the review. |
DomainName | String | example.com |
The accelerated domain name. |
DomainStatus | String | configure_failed |
The status of the accelerated domain name. Valid values:
|
GmtCreated | String | 2015-10-28T09:32:51Z |
The time when the accelerated domain name was added to Alibaba Cloud Dynamic Route for CDN (DCDN). |
GmtModified | String | 2015-10-28T11:05:50Z |
The time when the accelerated domain name was last modified. |
ResourceGroupId | String | rg-acfmyuji4b6r4** |
The ID of the resource group. |
Sandbox | String | normal |
Indicates whether the accelerated domain name was in a sandbox. |
Sources | Array of Source |
The information about the origin server. |
|
Source | |||
Content | String | image.developer.aliyundoc.com |
The address of the origin server. |
Port | Integer | 80 |
The port of the origin server. |
Priority | String | 20 |
The priority of the origin server. |
Type | String | oss |
The type of the origin server. |
Weight | String | 20 |
The weight of the origin server if multiple origin servers have been specified. |
SslProtocol | String | on |
The status of HTTPS. Valid values:
|
PageNumber | Long | 1 |
The page number of the returned page. |
PageSize | Long | 5 |
The number of domain names returned per page. |
RequestId | String | AA75AADB-5E25-4970-B480-EAA1F5658483 |
The ID of the request. |
TotalCount | Long | 16 |
The total number of domain names returned. |
Examples
Sample requests
http(s)://dcdn.aliyuncs.com/?Action=DescribeDcdnUserDomainsByFunc
&FuncId=7
&<Common request parameters>
Sample success responses
XML
format
<DescribeDcdnUserDomainsByFuncResponse>
<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>rg-xxxxx</ResourceGroupId>
</PageData>
<PageData>
<DomainStatus>configure_failed</DomainStatus>
<DomainName>example.org</DomainName>
<GmtModified>2015-10-28T11:05:50Z</GmtModified>
<GmtCreated>2015-10-28T09:31:59Z</GmtCreated>
<ResourceGroupId>rg-xxxxx</ResourceGroupId>
</PageData>
<PageData>
<Cname>example.net.w.alikunlun.net</Cname>
<DomainStatus>online</DomainStatus>
<DomainName>example.net</DomainName>
<GmtModified>2015-10-27T06:26:34Z</GmtModified>
<GmtCreated>2015-10-23T09:30:00Z</GmtCreated>
<ResourceGroupId>rg-xxxxx</ResourceGroupId>
</PageData>
<PageData>
<Cname>example.edu.w.kunlunAr.com</Cname>
<DomainStatus>online</DomainStatus>
<DomainName>example.edu</DomainName>
<GmtModified>2015-10-23T09:23:29Z</GmtModified>
<GmtCreated>2015-10-23T09:23:20Z</GmtCreated>
<ResourceGroupId>rg-xxxxx</ResourceGroupId>
</PageData>
<PageData>
<Cname>aliyundoc.com.w.alikunlun.com</Cname>
<DomainStatus>online</DomainStatus>
<DomainName>aliyundoc.com</DomainName>
<GmtModified>2015-10-23T09:02:11Z</GmtModified>
<GmtCreated>2015-10-23T09:01:57Z</GmtCreated>
<ResourceGroupId>rg-xxxxx</ResourceGroupId>
</PageData>
</Domains>
</DescribeDcdnUserDomainsByFuncResponse>
JSON
format
{
"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":"rg-xxxxx"
},
{
"DomainStatus": "configure_failed",
"DomainName": "example.org",
"GmtModified": "2015-10-28T11:05:50Z",
"GmtCreated": "2015-10-28T09:31:59Z",
"ResourceGroupId":"rg-xxxxx"
},
{
"Cname": "example.net.w.alikunlun.net",
"DomainStatus": "online",
"DomainName": "example.net",
"GmtModified": "2015-10-27T06:26:34Z",
"GmtCreated": "2015-10-23T09:30:00Z",
"ResourceGroupId":"rg-xxxxx"
},
{
"Cname": "example.edu.w.kunlunAr.com",
"DomainStatus": "online",
"DomainName": "example.edu",
"GmtModified": "2015-10-23T09:23:29Z",
"GmtCreated": "2015-10-23T09:23:20Z",
"ResourceGroupId":"rg-xxxxx"
},
{
"Cname": "aliyundoc.com.w.alikunlun.com",
"DomainStatus": "online",
"DomainName": "aliyundoc.com",
"GmtModified": "2015-10-23T09:02:11Z",
"GmtCreated": "2015-10-23T09:01:57Z",
"ResourceGroupId":"rg-xxxxx"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidPageNumber.ValueNotSupported | The specified value of PageNumber is not supported. | The error message returned because the value specified for the PageNumber parameter is invalid. Specify a valid value. |
400 | InvalidPageSize.ValueNotSupported | The specified value of PageSize is invalid. | The error message returned because the value specified for the PageSize parameter is invalid. Specify a valid value. |
400 | InvalidDomainStatus.ValueNotSupported | The specified value of DomainStatus is invalid. | The error message returned because the value specified for the DomainStatus parameter is invalid. Specify a valid value. |
400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | The error message returned because the domain name is in invalid format. |
400 | InvalidDomainSearchType.ValueNotSupported | The specified value of DomainSearchType is invalid. | The error message returned because the value specified for the DomainSearchType parameter is invalid. Specify a valid value. |
400 | InvalidChangeStartTime.Malformed | The specified ChangeStartTime is invalid. | The error message returned because the value specified for the ChangeStartTime parameter is invalid. |
400 | InvalidChangeEndTime.Malformed | The specified ChangeEndTime is invalid. | The error message returned because the value specified for the ChangeEndTime parameter is invalid. |
For a list of error codes, visit the API Error Center.