Floating IPs

floating_ips

Methods

Assign Floating IP To Instance Or Loadbalancer ->
post/v1/floatingips/{project_id}/{region_id}/{pk}/assign

Assign floating IP to instance or loadbalancer

Create Floating IP -> { tasks }
post/v1/floatingips/{project_id}/{region_id}

Create floating IP

Delete Floating IP -> { tasks }
delete/v1/floatingips/{project_id}/{region_id}/{pk}

Delete floating IP

Get Available Floating IPs -> { count, results }
get/v1/availablefloatingips/{project_id}/{region_id}

Get available floating IPs

List Floating IPs -> OffsetPage<{ id, created_at, creator_task_id, 16 more... }>
get/v1/floatingips/{project_id}/{region_id}

List floating IPs

Get Floating IP ->
get/v1/floatingips/{project_id}/{region_id}/{pk}

Get floating IP

Unassign Floating IP From The Instance ->
post/v1/floatingips/{project_id}/{region_id}/{pk}/unassign

Unassign floating IP from the instance

Domain types

FloatingIP = { created_at, project_id, region, 14 more... }
Floating IPs

Metadata

floating_ips.metadata

Methods

Create Or Update Floating IP Metadata ->
post/v1/floatingips/{project_id}/{region_id}/{pk}/metadata

Create or update one or more metadata items for a floating IP. If an item does not exist, it gets created. If an item already exists, it's value is overwritten

List Floating IP Metadata -> { count, results }
get/v1/floatingips/{project_id}/{region_id}/{pk}/metadata

Lists all metadata for a floating IP

Replace Floating IP Metadata ->
put/v1/floatingips/{project_id}/{region_id}/{pk}/metadata

All existing metadata is deleted and replaced with the metadata from the request.

Floating IPs

Metadata Item

floating_ips.metadata_item

Methods

Delete Floating IP Metadata Item By Key ->
delete/v1/floatingips/{project_id}/{region_id}/{pk}/metadata_item

Delete Floating IP metadata item by key

Get Floating IP Metadata Item By Key -> { key, read_only, value }
get/v1/floatingips/{project_id}/{region_id}/{pk}/metadata_item

Get Floating IP metadata item by key

Parameters
project_id: number
region_id: number
pk: string
key: string
Optional

Meta key

Response fields
key: string
(maxLength: 255)

Tag key. The maximum size for a key is 255 bytes.

read_only: boolean

Whether the tag key is read-only, being managed by the system

value: string
(maxLength: 1024)

Tag value. The maximum size for a value is 1024 bytes.

Request example
200Example