digitalocean v0.1.1 DigitalOcean.Volume
API methods for interacting with the Block Storage
module.
See the Block Storage Reference.
Summary
Functions
Create a new volume
Similar to create/4
but returns the response body only
Delete a Volume by its id
Delete a Volume by its name
and region
pair
Similar to delete/1
but returns the response body only
Similar to delete/2
but returns the response body only
List all Block Storage volumes
Get Volume information by its id
Get Volume information by its name
and region
pair
Similar to show/1
but returns the response body only
Similar to show/2
but returns the response body only
Functions
Create a new volume.
Example
iex> DigitalOcean.Volume.create("example", 10, "nyc1", "Block store for examples.")
Similar to create/4
but returns the response body only.
Similar to delete/1
but returns the response body only.
Similar to delete/2
but returns the response body only.
Similar to list/0
but returns the response body only.
Get Volume information by its id
.
Example
iex> DigitalOcean.Volume.show("7724db7c-e098-11e5-b522-000f53304e51")
Get Volume information by its name
and region
pair.
Example
iex> DigitalOcean.Volume.show("example", "nyc1")
Similar to show/1
but returns the response body only.
Similar to show/2
but returns the response body only.