Querying the Number of New Connections and the Number of Concurrent Connections
Function
This API is used to query the number of new connections and the number of concurrent connections.
Calling Method
For details, see Calling APIs.
URI
GET /v2/aad/instances/{instance_id}/ddos-info/flow/connection-numbers
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| instance_id | Yes | String | Instance ID. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| start_time | Yes | String | Start time. |
| end_time | Yes | String | End time. |
| ip | Yes | String | AAD IP address |
| limit | No | Integer | Maximum records. |
| offset | No | Integer | Offset. |
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 |
|---|---|---|
| data | Array of ListConnectionNumberData objects | items |
| Parameter | Type | Description |
|---|---|---|
| name | String | Connection name. |
| list | Array of ListConnectionNumberDataList objects | items |
| Parameter | Type | Description |
|---|---|---|
| time | Integer | Timestamp (ms). |
| value | Integer | Number of connections |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_description | String | Error description. |
Example Requests
None
Example Responses
None
Status Codes
| Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Error response |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank 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