Queries domain names that use Web Application Firewall (WAF).
Operation description
You can call this operation up to 150 times per second per account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnWafDomain |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region where WAF is enabled. Valid values:
Note
ap-southeast-1 includes Hong Kong (China), Macao (China), Taiwan (China), and other countries and regions. |
cn-hangzhou |
| DomainName |
string |
No |
The domain name that you want to query. You can specify only one domain name in each request. You have three options to configure this parameter:
|
example.com |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The number of accelerated domain names. |
1 |
| RequestId |
string |
The ID of the request. |
CB1A380B-09F0-41BB-802B-72F8FD6DA2FE |
| OutPutDomains |
array<object> |
The information about the accelerated domain name. |
|
|
object |
|||
| AclStatus |
string |
The status of the access control list (ACL) feature. Valid values:
|
1 |
| Status |
string |
The WAF status of the domain name. Valid values:
|
1 |
| Domain |
string |
The accelerated domain name. |
example.com |
| CcStatus |
string |
The status of protection against HTTP flood attacks. Valid values:
|
1 |
| WafStatus |
string |
The status of WAF. Valid values:
|
1 |
Examples
Success response
JSON format
{
"TotalCount": 1,
"RequestId": "CB1A380B-09F0-41BB-802B-72F8FD6DA2FE",
"OutPutDomains": [
{
"AclStatus": "1",
"Status": "1",
"Domain": "example.com",
"CcStatus": "1",
"WafStatus": "1"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | InvalidParameter. | |
| 400 | InvalidParameterRegionId | Invalid Region ID. | |
| 400 | InvalidParameterDomain | Invalid Domain Name. | |
| 400 | DomainNotExist | Specified Domain Not Exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.