Queries the number of assets that are under DDoS attacks in a specific region. The assets are assigned public IP addresses.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddos:DescribeDdosCount |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DdosRegionId |
string |
Yes |
The region ID of the asset to query. Note
You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| InstanceType |
string |
Yes |
The type of the asset to query. Valid values:
|
ecs |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
7D66C762-324E-51CE-B461-2007996087B2 |
| DdosCount |
object |
The number of assets that are under DDoS attacks. |
|
| BlackholeCount |
integer |
The number of assets for which blackhole filtering is triggered. |
0 |
| InstacenCount |
integer |
The total number of assets. |
0 |
| DefenseCount |
integer |
The number of assets for which traffic scrubbing is triggered. |
4 |
Examples
Success response
JSON format
{
"RequestId": "7D66C762-324E-51CE-B461-2007996087B2",
"DdosCount": {
"BlackholeCount": 0,
"InstacenCount": 0,
"DefenseCount": 4
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.