tencent cloud

Feedback

DescribeDDoSAttackSourceEvent

Last updated: 2022-11-28 16:50:42
This document is currently invalid. Please refer to the documentation page of the product.

1. API Description

Domain name for API request: teo.tencentcloudapi.com.

This API is used to query the list of DDoS attackers.

A maximum of 100 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeDDoSAttackSourceEvent.
Version Yes String Common Params. The value used for this API: 2022-09-01.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
StartTime Yes Timestamp ISO8601 The start time.
EndTime Yes Timestamp ISO8601 The end time.
ProtocolType No String The protocol type. Values:
  • tcp: TCP protocol;
  • udp: UDP protocol;
  • all: All protocol types.
  • This field will be set to the default value all if not specified.
    PolicyIds.N No Array of Integer The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
    ZoneIds.N No Array of String List of sites to be queried. All sites will be selected if this field is not specified.
    Limit No Integer Limit on paginated queries. Default value: 20. Maximum value: 1000.
    Offset No Integer The page offset. Default value: 0.
    Area No String Data storage region. Values:
  • overseas: Global (outside the Chinese mainland);
  • mainland: Chinese mainland.
  • If this field is not specified, the data storage region will be determined based on the user’s location.

    3. Output Parameters

    Parameter Name Type Description
    Data Array of DDoSAttackSourceEvent The list of DDoS attacker data.
    Note: This field may return null, indicating that no valid values can be obtained.
    TotalCount Integer Total number of query results.
    RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

    4. Example

    Example1 Querying the information of DDoS attackers

    Input Example

    POST / HTTP/1.1
    Host: teo.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeDDoSAttackSourceEvent
    <Common request parameters>
    
    {
        "Limit": 10,
        "Offset": 0,
        "ProtocolType": "tcp",
        "PolicyIds": [
            1245
        ],
        "ZoneIds": [
            "zone-21xfqlh4qjee"
        ],
        "StartTime": "2020-09-22T00:00:00+00:00",
        "EndTime": "2020-09-22T00:00:00+00:00",
        "Area": "overseas"
    }
    

    Output Example

    {
        "Response": {
            "RequestId": "5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707",
            "TotalCount": 1,
            "Data": [
                {
                    "AttackSourceIp": "3.3.3.3",
                    "AttackRegion": "GB",
                    "AttackFlow": 4000,
                    "AttackPacketNum": 160000
                }
            ]
        }
    }
    

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    InternalError.ProxyServer An unknown error occurred in the backend server.
    LimitExceeded The quota limit has been reached.
    ResourceNotFound The resource doesn’t exist.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support