Method | URI | Description |
---|---|---|
POST | /v2/{tenant_id}/servers/{server_id}/action | Adds a floating IP address to an instance. |
You can optionally associate a fixed IP address with the floating IP address.
Normal response codes: 200
This table shows the URI parameters for the add floating ip address request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
| UUID | The UUID for the server of interest to you. |
Example 3.33. Add floating IP address: JSON request
{ "addFloatingIp":{ "fixed_address":"166.78.185.201", "address":"172.24.4.225" } }