Querying the Number of Available EIPs
Function
This API is used to query the number of available EIP in an EIP pool.
URI
POST /v3/{project_id}/eip/resources/available
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
Request 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
Parameter |
Type |
Description |
---|---|---|
result |
Integer |
|
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
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