Querying Configured Anti-DDoS Defense Policies
Functions
This API enables you to query configured Anti-DDoS defense policies. You can query the policy of a specified EIP.
URI
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
ip |
No |
String |
EIP of a user |
Response
Parameter |
Type |
Description |
---|---|---|
enable_L7 |
Boolean |
Whether to enable layer-7 protection.
|
traffic_pos_id |
Integer |
Position ID of traffic. The value ranges from 1 to 9, or 99. |
http_request_pos_id |
Integer |
Position ID of number of HTTP requests. The value ranges from 1 to 15. |
cleaning_access_pos_id |
Integer |
Position ID of access limit during cleaning. The value ranges from 1 to 8, or 99. |
app_type_id |
Integer |
Application type ID. Possible values:
|
Example
- Example request
GET /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/1df977c2-fdc6-4483-bc1c-ba46829f57b8
- Example response
{ "enable_L7": true, "traffic_pos_id": 1, "http_request_pos_id": 1, "cleaning_access_pos_id": 1, "app_type_id": 1 }
Status Code
See Status Code.
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