floating_ip_attach

Attach floating IP to an instance or other resource.

post/v1/floating-ips/{floating_ip}/attach

Path Parameters

floating_ip

Name or ID of the floating IP

Query Parameters

Name or ID of the project

Request Body

Parameters for attaching a floating IP address to another resource

Object
kind

The type of parent's resource

instance

The type of resource that a floating IP is attached to

parent

Name or ID of the resource that this IP address should be attached to

Responses

202

successfully enqueued operation

Object
description

Human-readable free-form text about a resource

id

Unique, immutable, system-controlled identifier for each resource

The ID of the instance that this Floating IP is attached to, if it is presently in use.

ip

The IP address held by this resource.

ip_pool_id

The ID of the IP pool this resource belongs to.

name

Unique, mutable, user-controlled identifier for each resource

Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and '-', and may not end with a '-'. Names cannot be a UUID, but they may contain a UUID. They can be at most 63 characters long.

project_id

The project this resource exists within.

time_created

Timestamp when this resource was created

time_modified

Timestamp when this resource was last modified

4XX

Error

Object
message
request_id
5XX

Error

Object
message
request_id