Domain name for API request: dayu.tencentcloudapi.com.
This API is used to get the DDoS attack proportion analysis.
A maximum of 10 requests can be initiated per second for this API.
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 parameter. The value used for this API: DescribeDDoSCount. |
Version | Yes | String | Common parameter. The value used for this API: 2018-07-09. |
Region | No | String | Common parameter. This parameter is not required for this API. |
Business | Yes | String | Anti-DDoS service type. bgpip : Anti-DDoS Advanced; bgp : Anti-DDoS Pro (single IP); bgp-multip : Anti-DDoS Pro (multi-IP), net : Anti-DDoS Ultimate |
Id | Yes | String | Anti-DDoS instance ID |
Ip | Yes | String | Resource IP |
StartTime | Yes | Timestamp | Statistics start time |
EndTime | Yes | Timestamp | Statistics end time |
MetricName | Yes | String | Metric. Valid values: [traffic (attack protocol traffic in KB), pkg (number of attack protocol packets), classnum (number of attack events)] |
Parameter Name | Type | Description |
---|---|---|
Business | String | Anti-DDoS service type. bgpip : Anti-DDoS Advanced; bgp : Anti-DDoS Pro (single IP); bgp-multip : Anti-DDoS Pro (multi-IP), net : Anti-DDoS Ultimate |
Id | String | Anti-DDoS instance ID |
Ip | String | Resource IP |
StartTime | Timestamp | Statistics start time |
EndTime | Timestamp | Statistics end time |
MetricName | String | Metric. Valid values: [traffic (attack protocol traffic in KB), pkg (number of attack protocol packets), classnum (number of attack events)] |
Data | Array of KeyValue | Key-Value array. Valid values of Key :If MetricName is traffic :If key is TcpKBSum , it indicates the traffic of TCP packets in KB.If key is UdpKBSum , it indicates the traffic of UDP packets in KB.If key is IcmpKBSum , it indicates the traffic of ICMP packets in KB.If key is OtherKBSum , it indicates the traffic of other packets in KB.If MetricName is pkg :If key is TcpPacketSum , it indicates the number of TCP packets.If key is UdpPacketSum , it indicates the number of UDP packets.If key is IcmpPacketSum , it indicates the number of ICMP packets.If key is OtherPacketSum , it indicates the number of other packets.If MetricName is classnum :The value of key indicates the attack event type. When the key is UNKNOWNFLOOD , it indicates unknown attack events. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://dayu.tencentcloudapi.com/?Action=DescribeDDoSCount
&Business=bgp
&Id=bgp-00000010
&Ip=3.3.3.3
&StartTime=2018-08-27 15:05:10
&EndTime=2018-08-27 16:05:10
&MetricName=pkg
&<Common request parameters>
{
"Response": {
"Business": "bgpip",
"Data": [],
"EndTime": "2019-03-07 14:50:00",
"Id": "bgpip-000000y0",
"Ip": "3.3.3.3",
"RequestId": "69b1692b-4b6e-47c0-a7d6-0ff0da286874",
"StartTime": "2019-03-07 00:00:00"
}
}
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?