forked from docs/doc-exports
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
6.9 KiB
6.9 KiB
Querying the Defense Status of a Specified EIP
Functions
This API allows you to query the defense status of a specified EIP.
URI
Request
Request parameters
None
Response
- Parameter description
Parameter
Mandatory
Type
Description
status
Yes
String
Defense status, the possible value of which is one of the following:- normal: indicates that the defense status is normal.
- configuring: indicates that defense is being configured.
- notConfig: indicates that defense is not configured.
- packetcleaning: indicates that traffic cleaning is underway.
- packetdropping: indicates that traffic is discarded.
Example
- Example request
GET /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/1df977c2-fdc6-4483-bc1c-ba46829f57b8/status
- Example response
{"status": "normal"}
Status Code
See Status Code.
Parent topic: Anti-DDoS APIs