Binding an EIP
Function
This API is used to bind a specified EIP to an ADG instance.
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/instances/{instance_id}/bind-eip
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
instance_id |
Yes |
String |
Instance ID. |
|
project_id |
Yes |
String |
Project ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
eip_id |
No |
String |
EIP ID |
Response Parameters
Status code: 200
OK
Status code: 201
Created.
None
Example Requests
POST /v1/{project_id}/instances/{instance_id}/bind-eip
{
"eip_id" : "string"
}
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
201 |
Created. |
|
401 |
Unauthorized. |
|
403 |
Access denied. |
|
404 |
Not found. |
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