class OceanKit::Resource::FloatingIps


Floating IP objects represent a publicly-accessible static IP addresses that can be mapped to one of your Droplets. They can be used to create highly available setups or other configurations requiring movable addresses.

Floating IP are bound to a specific region.

Defined in:


Instance Method Summary

Class methods inherited from class OceanKit::Resource::Base

new(headers : HTTP::Headers | Nil) new

Instance methods inherited from module OceanKit::Client::Connection

destroy(path, options = nil) destroy, get(path, options = nil) get, post(path, options) post, put(path, options) put, request(http_method, path, options) request

Instance Method Detail

def all #

List all of the Floating IPs available on your account

[View source]
def cretate(droplet_id) #

On creation, a Floating IP must be either assigned to a Droplet or reserved to a region

[View source]
def delete(floating_ip) #

Delete a Floating IP and remove it from your account No response body will be sent back Response code will be a 204, which means that the action was successful

[View source]
def find(floating_ip) #

Show information about a Floating IP

[View source]
def floating_ips #

[View source]