Queries the CNAME reuse information about websites.
Operation description
This operation is applicable only to Anti-DDoS Proxy (Outside Chinese Mainland).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddoscoo:DescribeCnameReuses |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group. |
default |
| Domains |
array |
Yes |
The domain names of the websites. You can specify the domain names of up to 200 websites. Note
A forwarding rule must be configured for the domain name. You can call DescribeDomains to query all domain names. |
www.aliyun.com |
|
string |
No |
The domain name of the website. |
www.aliyun.com |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc |
| CnameReuses |
array |
The CNAME reuse information. |
|
|
object |
|||
| Domain |
string |
The domain name of the website. |
www.aliyun.com |
| Cname |
string |
The reused canonical name value. |
4o6ep6q217k9****.aliyunddos0004.com |
| Enable |
integer |
Indicates whether CNAME reuse is enabled. Valid values:
|
1 |
Examples
Success response
JSON format
{
"RequestId": "0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc",
"CnameReuses": [
{
"Domain": "www.aliyun.com",
"Cname": "4o6ep6q217k9****.aliyunddos0004.com",
"Enable": 1
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.