digitalocean v0.1.1 DigitalOcean.Volume.Action

API methods for interacting with the Block Storage Action module.

See the Block Storage Action Reference.

Summary

Functions

Attach a Volume to a Droplet by its id and region pair

Similar to attach_by_id/3 but returns the response body only

Attach a Volume to a Droplet by its name and region pair

Similar to attach_by_name/3 but returns the response body only

Detach a Volume from a Droplet by its id and region pair

Similar to detach_by_id/3 but returns the response body only

Detach a Volume from a Droplet by its name and region pair

Similar to detach_by_name/3 but returns the response body only

List all actions for a Volume

Similar to list/1 but returns the response body only

Resize a Volume storage

Similar to resize/3 but returns the response body only

Get info for a Volume action

Similar to show/2 but returns the response body only

Functions

attach_by_id(vol_id, vol_region, drop_id)

Attach a Volume to a Droplet by its id and region pair.

attach_by_id!(vol_id, vol_region, drop_id)

Similar to attach_by_id/3 but returns the response body only.

attach_by_name(vol_name, vol_region, drop_id)

Attach a Volume to a Droplet by its name and region pair.

attach_by_name!(vol_name, vol_region, drop_id)

Similar to attach_by_name/3 but returns the response body only.

detach_by_id(vol_id, vol_region, drop_id)

Detach a Volume from a Droplet by its id and region pair.

detach_by_id!(vol_id, vol_region, drop_id)

Similar to detach_by_id/3 but returns the response body only.

detach_by_name(vol_name, vol_region, drop_id)

Detach a Volume from a Droplet by its name and region pair.

detach_by_name!(vol_name, vol_region, drop_id)

Similar to detach_by_name/3 but returns the response body only.

list(vol_id)

List all actions for a Volume.

list!(vol_id)

Similar to list/1 but returns the response body only.

resize(vol_id, vol_region, size)

Resize a Volume storage.

resize!(vol_id, vol_region, size)

Similar to resize/3 but returns the response body only.

show(vol_id, act_id)

Get info for a Volume action.

show!(vol_id, act_id)

Similar to show/2 but returns the response body only.