Queries the download link to the traffic data that is captured when a DDoS attack event occurs.
Operation description
You can call the DescribeCap operation to query the download link to the traffic data that is captured when a DDoS attack event occurs. You can download the traffic data from the download link and use the data as evidence.
Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DdosRegionId | string | Yes | The region ID of the asset that is under DDoS attacks. The asset is assigned a public IP address. Note
You can call the DescribeRegions operation to query the most recent region list.
| cn-hangzhou |
InstanceType | string | Yes | The type of the asset that is under DDoS attacks. Valid values:
| ecs |
InstanceId | string | Yes | The ID of the asset that is under DDoS attacks. Note
You can call the DescribeInstance operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.
| i-bp10bclrt56fblts**** |
BegTime | long | Yes | The start time of the DDoS attack event. The value is a UNIX timestamp. Unit: milliseconds. Note
You can call the DescribeDdosEventList operation to query the start time of each DDoS attack event that occurred on an asset.
| 1637812279000 |
InternetIp | string | No | The public IP address of the asset that is under DDoS attacks. | 121.199.XX.XX |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "C728D7E9-9A39-52E0-966B-5C33118BDBB0",
"CapUrl": {
"Url": "http://beaver-pack****.oss-cn-hangzhou.aliyuncs.com/ddos-2021112511-121.89.XX.XX.cap?Expires=1637824408&OSSAccessKeyId=LTAIXu2lJhw3****&Signature=KKSzOMSUajtwcqfqxkU1nK69d4****"
}
}
Error codes
For a list of error codes, visit the Service error codes.