Queries accelerated domain names that have specified features configured and the status of the domain names.
Operation description
Note
The maximum number of times that each user can call this operation per second is 100.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
cdn:DescribeCdnUserDomainsByFunc | get | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
FuncId | integer | Yes | The ID of the feature. For example, the ID of the origin host feature (set_req_host_header) is 18. | 7 |
PageNumber | integer | No | The number of the page to return. Default value: 1. Valid values: 1 to 100000. | 10 |
PageSize | integer | No | The number of domain names to return on each page. Default value: 20. Valid values: 1 to 50. | 20 |
ResourceGroupId | string | No | The ID of the resource group. | rg-xxxxx |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
"PageNumber": 1,
"PageSize": 5,
"TotalCount": 16,
"Domains": {
"PageData": [
{
"GmtCreated": "2015-10-28T11:05:52Z",
"SslProtocol": "on",
"Description": "audit failed",
"ResourceGroupId": "rg-xxxxx",
"DomainStatus": "configure_failed",
"Cname": "example.com.w.alikunlun.com",
"GmtModified": "2015-10-29T10:15:31Z",
"CdnType": "web",
"DomainName": "example.com",
"Sources": {
"Source": [
{
"Type": "ipaddr",
"Weight": "10",
"Priority": "20",
"Port": 80,
"Content": "1.1.1.1"
}
]
}
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidPageNumber.ValueNotSupported | The specified value of PageNumber is not supported. | - |
400 | InvalidPageSize.ValueNotSupported | The specified value of PageSize is invalid. | - |
400 | InvalidDomainStatus.ValueNotSupported | The specified value of DomainStatus is invalid. | - |
400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | The specified domain name is invalid. |
400 | InvalidDomainSearchType.ValueNotSupported | The specified value of DomainSearchType is invalid. | - |
400 | InvalidChangeStartTime.Malformed | The specified ChangeStartTime is invalid. | - |
400 | InvalidChangeEndTime.Malformed | The specified ChangeEndTime is invalid. | - |
400 | InvalidCdnType.Malformed | The specified CdnType is invalid. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history