Queries the source region from which a volumetric attack is initiated.

Note This operation is suitable only for volumetric attacks.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDDosEventArea

The operation that you want to perform. Set the value to DescribeDDosEventArea.

EventType String Yes defense

The type of the attack event that you want to query. Valid values:

  • defense: attack events that trigger traffic scrubbing
  • blackhole: attack events that trigger blackhole filtering
StartTime Long Yes 1598948471

The UNIX timestamp when the query starts. Unit: seconds.

Note You can call the DescribeDDosAllEventList operation to query the beginning time of all attack events.
Ip String Yes 203.XX.XX.199

The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
RequestId String 11710C9F-BC5E-481A-BEC5-C6D8FBFCA827

The ID of the request.

Areas Array of EventArea

The information about the source region from which the volumetric attack was initiated.

InPkts Long 228

The number of request packets that were sent from the source region.

Area String 110000

The code of the region from which the attack is initiated. The region can be an administrative region in China, or a country or area. For example, 110000 indicates Beijing, China, and us indicates the United States.

Note For more information, see Location parameters.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeDDosEventArea
&EventType=defense
&StartTime=1598948471
&Ip=203.XX.XX.199
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeDDosEventAreaResponse>
    <RequestId>11710C9F-BC5E-481A-BEC5-C6D8FBFCA827</RequestId>
    <Areas>
        <InPkts>228</InPkts>
        <Area>110000</Area>
    </Areas>
</DescribeDDosEventAreaResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "11710C9F-BC5E-481A-BEC5-C6D8FBFCA827",
  "Areas" : [ {
    "InPkts" : 228,
    "Area" : "110000"
  } ]
}

Error codes

For a list of error codes, visit the API Error Center.