You are not logged in.
AttachEip
This API is used to bind an EIP to a node in a DB instance.
Name | Type | IN | Mandatory | Description |
---|---|---|---|---|
x-auth-token | string | header | Yes | Specifies the user token obtained from the IAM service. |
node_id | string | path | Yes | Specifies the ID of the node to which the EIP is to be bound.
|
project_id | string | path | Yes | Specifies the project ID of a tenant in a region. |
Name | Type | Mandatory | Description |
---|---|---|---|
public_ip_id | string | Yes | Specifies the ID of the EIP |
public_ip | string | Yes | Specifies the EIP |
Success.
Name | Type | Description |
---|---|---|
job_id | string | Indicates the workflow ID. |
node_id | string | Indicates the node ID. |
node_name | string | Indicates the node name. |
public_ip_id | string | Indicates the ID of the EIP. |
public_ip | string | Indicates the EIP. |
Client or server error.
Name | Type | Description |
---|---|---|
error_code | string | Specifies the error returned when a task submission exception occurs. |
error_msg | string | Specifies the description of the error returned when a task submission exception occurs. |
"POST https://{endpoint}/v3/619d3e78f61b4be68bc5aa0b59edcf7b/nodes/52a4c096bb1f455d8d866956a959519eno02/bind-eip"
{
"public_ip": "10.145.51.128",
"public_ip_id": "45da4782-e0c8-4aa4-a290-b8740014f710"
}