Querying DDoS Attack Protection BPS/PPS Traffic
Function
This API is used to query DDoS attack protection BPS/PPS traffic.
Calling Method
For details, see Calling APIs.
URI
GET /v2/aad/instances/{instance_id}/ddos-info/flow
Parameter | Mandatory | Type | Description |
|---|---|---|---|
instance_id | Yes | String | Instance ID. |
Parameter | Mandatory | Type | Description |
|---|---|---|---|
ip | Yes | String | Advanced Anti-DDoS IP address |
type | Yes | String | Request type: pps or bps. |
start_time | Yes | String | Start time. |
end_time | Yes | String | End time. |
Request Parameters
Parameter | Mandatory | Type | Description |
|---|---|---|---|
X-Auth-Token | Yes | String | token |
Content-Type | Yes | String | Content-Type |
Response Parameters
Status code: 200
Parameter | Type | Description |
|---|---|---|
flow_bps | Array of FlowBps objects | This parameter is mandatory if type is set to bps. |
flow_pps | Array of FlowPps objects | This parameter is mandatory if type is set to pps. |
Parameter | Type | Description |
|---|---|---|
utime | Integer | Data time |
attack_bps | Integer | Attack traffic |
normal_bps | Integer | Normal traffic |
Parameter | Type | Description |
|---|---|---|
utime | Integer | Data time |
attack_pps | Integer | Attack packet rate. |
normal_pps | Integer | Normal packet rate. |
Status code: 400
Parameter | Type | Description |
|---|---|---|
error_code | String | Error code. |
error_description | String | Error description. |
Example Requests
https://{endpoint}/v2/aad/instances/instance_id/ddos-info/flow?ip=ip&type=pps&start_time=1727271941686&end_time=1727358311686 Example Responses
None
Status Codes
Status Code | Description |
|---|---|
200 | OK |
400 | Error response |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
