Querying the Defense Status of a Specified EIP
Function
This API is used to query the defense status of a specified EIP.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/antiddos/{floating_ip_id}/status
| Parameter | Mandatory | Type | Description | 
|---|---|---|---|
| project_id | Yes | String | Project ID. | 
| floating_ip_id | Yes | String | ID corresponding to the EIP of a user. | 
| Parameter | Mandatory | Type | Description | 
|---|---|---|---|
| ip | No | String | EIP of a user. | 
Request Parameters
| Parameter | Mandatory | Type | Description | 
|---|---|---|---|
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. | 
| Content-Type | Yes | String | Content-Type request header. | 
Response Parameters
Status code: 200
Example Requests
None
Example Responses
Status code: 200
Request succeeded.
{
  "status" : "normal"
}
 Status Codes
| Status Code | Description | 
|---|---|
| 200 | Request succeeded. | 
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.
 
    