Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Help Center/ Elastic IP/ API Reference/ API V3/ EIPs/ Querying the Number of Available EIPs

Querying the Number of Available EIPs

Updated on 2023-03-17 GMT+08:00

Function

This API is used to query the number of available EIP in an EIP pool.

URI

POST /v3/{project_id}/eip/resources/available

Table 1 Path parameter

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

type

No

String

EIP pool type.

limit

Yes

Integer

Number of available EIPs in an EIP pool.

Response Parameter

Status code: 200

Table 3 Response body parameter

Parameter

Type

Description

result

Integer

  • Returned result.

Example Request

{
  "limit" : 5,
  "type" : "5_bgp"
}

Example Response

Status code: 200

OK

{
  "result" : 5
}

Status Codes

See Status Codes.

Error Codes

See Error Codes.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback