Queries the total number of domain names that are added to WAF, including domain names added through CNAME and hybrid cloud access.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeCnameCount |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID of the WAF instance. Note
You can call the DescribeInstance operation to query instance ID of the WAF instance. |
waf_v3prepaid_public_cn-*** |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
F35F45B0-5D6B-4238-BE02-A62D****E840 |
| CnameCount |
object |
The number of CNAME access entries. |
|
| Total |
integer |
The total number of results returned. |
1 |
| HybridCloudCname |
integer |
The number of domain names added through hybrid cloud access. |
1 |
| Cname |
integer |
The number of domain names added through public cloud CNAME access. |
1 |
Examples
Success response
JSON format
{
"RequestId": "F35F45B0-5D6B-4238-BE02-A62D****E840",
"CnameCount": {
"Total": 1,
"HybridCloudCname": 1,
"Cname": 1
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.