oceanex v0.2.4 Oceanex.Resource.FloatingIP
DigitalOcean FloatingIP
resource api calls.
Link to this section 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.
Link to this section Functions
Link to this function
action(floating_ip_addr, action_id)
Get a specific action record on a FloatingIP.
Link to this function
actions(floating_ip_addr, opts \\ %{})
Get all action records that have been executed on a FloatingIP.
Link to this function
all(opts \\ %{})
List all FloatingIP records.
Link to this function
assign(floating_ip_addr, opts)
Assign a FloatingIP to a Droplet.
Examples
Oceanex.Resource.FloatingIP.assign(floating_ip_addr, %{droplet_id: droplet_id})
Link to this function
create(opts)
Create a FloatingIP record.
Examples
Oceanex.Resource.FloatingIP.create(%{droplet_id: droplet_id})
Oceanex.Resource.FloatingIP.create(%{region: region})
Link to this function
destroy(floating_ip_addr)
Delete a specific FloatingIP record.
Link to this function
find(floating_ip_addr)
Get a specific FloatingIP record.
Link to this function
unassign(floating_ip_addr, opts \\ %{})
Unassign a FloatingIP from a Droplet.