Querying the List of Defense Statuses of EIPs

Functions

This API enables you to query the defense statuses of all EIPs, regardless whether an EIP has been bound to an Elastic Cloud Server (ECS) or not.

URI

Request

Table 1 Parameter description

Parameter

Mandatory

Type

Description

status

No

String

Possible values:
  • 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.

If this parameter is not used, the defense statuses of all ECSs are displayed in the Neutron-queried order by default.

limit

No

Integer

Maximum number of returned results. The value ranges from 1 to 100.

offset

No

Integer

Offset. The value ranges from 0 to 2147483647.

ip

No

String

IP address. Both IPv4 and IPv6 addresses are supported. For example, if you enter ?ip=192.168, the defense status of EIPs corresponding to 192.168.111.1 and 10.192.168.8 is returned.

Response

Example

Status Code

See Status Code.