Checks whether the current WAF instance is under a Distributed Denial of Service (DDoS) attack.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeDDoSStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. |
waf_v3prepaid_public_cn-*** |
| RegionId |
string |
No |
The region ID of WAF instance. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
D7861F61-5B61-46CE-A47C-*** |
| DDoSStatus |
array<object> |
The current DDoS status. |
|
|
object |
The current DDoS status. |
||
| Status |
string |
The DDoS status: doing: Under DDoS attack. |
doing |
| EventType |
string |
The name of the event type. Valid values:
|
blackhole |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-***",
"DDoSStatus": [
{
"Status": "doing",
"EventType": "blackhole"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.