Call DescribeDcdnUserDomains to query all DCDN domain names under your account. This operation supports filtering by fuzzy match and domain status.
Operation description
A single user can call this operation up to 80 times per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnUserDomains |
list |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 20. Valid values: 1 to 500. |
20 |
| PageNumber |
integer |
No |
The page number. Valid values: 1 to 100000. |
1 |
| DomainName |
string |
No |
The accelerated domain name. If you do not specify this parameter, all accelerated domain names under your account are returned. |
example.com |
| DomainStatus |
string |
No |
The status of the domain name. Valid values:
|
online |
| DomainSearchType |
string |
No |
The search method for the domain name. Valid values:
Note
If you specify a domain name but do not set this parameter, the system performs an exact match by default. |
fuzzy_match |
| CheckDomainShow |
boolean |
No |
Specifies whether to display domain names that are under review, failed the review, or failed to be configured. Valid values:
|
false |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfmv6jutt** |
| ChangeStartTime |
string |
No |
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2018-05-10T12:00:00Z |
| ChangeEndTime |
string |
No |
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Note
The end time must be later than the start time. |
2018-05-10T14:00:00Z |
| Coverage |
string |
No |
The acceleration region. Default value: all. Valid values:
|
domestic |
| Tag |
array<object> |
No |
The list of tags. |
|
|
object |
No |
The tag. |
||
| Key |
string |
No |
The key of tag N. Valid values of N: 1 to 20. You can call the TagDcdnResources operation to tag a domain name. |
1 |
| Value |
string |
No |
The value of tag N. Valid values of N: 1 to 20. |
1 |
| WebSiteType |
string |
No |
The business type. You can specify multiple types and separate them with commas (,). The default value is dynamic, which returns standard DCDN domain names. To query domain names for the computing service, set this parameter to computing_routine or computing_image. |
computing_routine |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
AA75AADB-5E25-4970-B480-EAA1F5658483 |
| PageNumber |
integer |
The page number of the returned page. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
12 |
| TotalCount |
integer |
The total number of entries returned. |
12 |
| Domains |
object |
||
| PageData |
array<object> |
An array of objects. Each object contains information about an accelerated domain name. |
|
|
object |
|||
| GmtCreated |
string |
The time when the accelerated domain name was created. |
2015-10-28T11:05:50Z |
| Description |
string |
The description of the domain name. |
audit failed |
| SSLProtocol |
string |
Indicates whether the HTTPS protocol is enabled. Valid values:
|
on |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-acfmv6jutt** |
| Sandbox |
string |
Indicates whether the domain name is in a sandbox environment. |
normal |
| DomainStatus |
string |
The status of the accelerated domain name. Valid values:
|
online |
| Cname |
string |
The canonical name (CNAME) assigned to the accelerated domain name. |
test.aliyun.com.w.alikunlun.com |
| GmtModified |
string |
The time when the accelerated domain name was last modified. |
2015-10-28T09:31:59Z |
| DomainName |
string |
The accelerated domain name. |
www.example.com |
| DomainId |
integer |
The ID of the accelerated domain name. |
11223344 |
| Sources |
object |
||
| Source |
array<object> |
The information about the origin server. |
|
|
object |
|||
| Type |
string |
The type of the origin server. |
oss |
| Weight |
string |
The weight of the origin server. This parameter is used for load balancing. |
20 |
| Priority |
string |
The priority of the origin server. |
20 |
| Port |
integer |
The port of the origin server. |
80 |
| Content |
string |
The address of the origin server. |
example.com |
| Scene |
string |
The acceleration scenario. Valid values:
|
apiscene |
| FunctionType |
string |
The type of the computing service. Valid values:
|
routine |
Examples
Success response
JSON format
{
"RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
"PageNumber": 1,
"PageSize": 12,
"TotalCount": 12,
"Domains": {
"PageData": [
{
"GmtCreated": "2015-10-28T11:05:50Z",
"Description": "audit failed",
"SSLProtocol": "on",
"ResourceGroupId": "rg-acfmv6jutt**",
"Sandbox": "normal",
"DomainStatus": "online",
"Cname": "test.aliyun.com.w.alikunlun.com",
"GmtModified": "2015-10-28T09:31:59Z",
"DomainName": "www.example.com",
"DomainId": 11223344,
"Sources": {
"Source": [
{
"Type": "oss",
"Weight": "20",
"Priority": "20",
"Port": 80,
"Content": "example.com"
}
]
},
"Scene": "apiscene",
"FunctionType": "routine"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidPageNumber.ValueNotSupported | The specified value of PageNumber is not supported. | The PageNumber parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | InvalidPageSize.ValueNotSupported | The specified value of PageSize is invalid. | The PageSize parameter is set to an invalid. Specify a valid value and try again. |
| 400 | InvalidDomainStatus.ValueNotSupported | The specified value of DomainStatus is invalid. | The DomainStatus parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | The specified domain name is invalid. |
| 400 | InvalidDomainSearchType.ValueNotSupported | The specified value of DomainSearchType is invalid. | The DomainSearchType parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | InvalidChangeStartTime.Malformed | The specified ChangeStartTime is invalid. | The update start time is invalid. |
| 400 | InvalidChangeEndTime.Malformed | The specified ChangeEndTime is invalid. | The update end time is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.