This operation queries the details of DDoS attack events for an asset with a public IP address.
Operation description
This operation performs a paged query to retrieve the details of DDoS attack events for a specific asset with a public IP address. The details include the start time, end time, and status of each event.
QPS limits
The queries per second (QPS) limit for this operation is 10 for each user. API calls are throttled if you exceed the limit. This can affect your business. We recommend that you call this operation a reasonable number of times.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddos:DescribeDdosEventList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DdosRegionId |
string |
Yes |
The region ID of the asset that is assigned a public IP address. Note
Call DescribeRegions to query all region IDs. |
cn-hangzhou |
| InstanceType |
string |
Yes |
The instance type of the asset that is assigned a public IP address. Valid values:
|
ecs |
| InstanceId |
string |
Yes |
The ID of the instance for the asset that is assigned a public IP address. Note
Call DescribeInstance to query the IDs of the ECS, SLB, and EIP instances that belong to your Alibaba Cloud account. |
i-bp10bclrt56fblts**** |
| CurrentPage |
integer |
No |
The number of the page to return for a paged query. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of attack events to return on each page for a paged query. Default value: 10. |
10 |
| InternetIp |
string |
No |
The IP address of the asset that is assigned a public IP address. |
121.199.XX.XX |
| QueryDays |
integer |
No |
The number of days to query backwards from the current time. Default value: 7. |
7 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Total |
integer |
The total number of DDoS attack events found. |
1 |
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues. |
BC0907F8-A9F3-5E11-977B-D59CD98C64ED |
| DdosEventList |
object |
||
| DdosEvent |
array<object> |
A list of DDoS attack events. |
|
|
object |
A list of DDoS attack events. |
||
| DdosType |
string |
The type of the DDoS attack event. Valid values:
|
blackhole |
| EndTime |
integer |
The end time of the event. This is a UNIX timestamp. Unit: milliseconds. |
1637817679000 |
| StartTime |
integer |
The start time of the event. This is a UNIX timestamp. Unit: milliseconds. |
1637812279000 |
| DelayTime |
integer |
The time of the last attack. This is a UNIX timestamp. Unit: milliseconds. Note
This parameter is returned only for some blackhole filtering events where the asset that is assigned a public IP address was attacked multiple times. |
1637817679000 |
| DdosStatus |
string |
The status of the event. Valid values:
|
normal |
| UnBlackholeTime |
integer |
The time when blackhole filtering was deactivated. This is a UNIX timestamp. Unit: milliseconds. Note
This parameter is returned only when DdosType is blackhole, which indicates a blackhole filtering event. |
1637814079000 |
Examples
Success response
JSON format
{
"Total": 1,
"RequestId": "BC0907F8-A9F3-5E11-977B-D59CD98C64ED",
"DdosEventList": {
"DdosEvent": [
{
"DdosType": "blackhole",
"EndTime": 1637817679000,
"StartTime": 1637812279000,
"DelayTime": 1637817679000,
"DdosStatus": "normal",
"UnBlackholeTime": 1637814079000
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.