Queries the total number of domain names added to WAF, including those in canonical name (CNAME) mode and hybrid cloud mode.
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 |
The ID of the WAF instance. Note
Call the DescribeInstance operation to query the ID of the WAF instance. |
waf_v3prepaid_public_cn-*** |
| RegionId |
string |
No |
The region where the WAF instance resides. 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 records that are added. |
|
| Total |
integer |
The total number of domain names. |
1 |
| HybridCloudCname |
integer |
The number of domain names that are added in hybrid cloud mode. |
1 |
| Cname |
integer |
The number of domain names that are added in CNAME mode. |
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.