oceanex v0.1.0 Oceanex.Resource.FloatingIP

DigitalOcean FloatingIP resource api calls.

Summary

Functions

Get a specific action record on a FloatingIP

Get all action records that have been executed on a FloatingIP

List all FloatingIP records

Assign a FloatingIP to a Droplet

Create a FloatingIP record

Delete a specific FloatingIP record

Get a specific FloatingIP record

Unassign a FloatingIP from a Droplet

Functions

action(floating_ip_addr, action_id)

Get a specific action record on a FloatingIP.

actions(floating_ip_addr, opts \\ %{})

Get all action records that have been executed on a FloatingIP.

all(opts \\ %{})

List all FloatingIP records.

assign(floating_ip_addr, opts)

Assign a FloatingIP to a Droplet.

Examples

Oceanex.Resource.FloatingIP.assign(floating_ip_addr, %{droplet_id: droplet_id})
create(opts)

Create a FloatingIP record.

Examples

Oceanex.Resource.FloatingIP.create(%{region: region})
destroy(floating_ip_addr)

Delete a specific FloatingIP record.

find(floating_ip_addr)

Get a specific FloatingIP record.

unassign(floating_ip_addr, opts \\ %{})

Unassign a FloatingIP from a Droplet.