Elixir-Scaleway v0.1.3 Scaleway.Volume View Source

Link to this section Summary

Functions

Create a new volume

Retrieves all volumes

Delete a volume

Retrieves informations about a volume by its id

Link to this section Functions

Link to this function create(data) View Source
create(map()) :: {:ok, HTTPoison.Response} | {:error, HTTPoison.Error}

Create a new volume

Link to this function create!(data) View Source
create!(map()) :: map()
Link to this function list() View Source
list() :: {:ok, HTTPoison.Response} | {:error, HTTPoison.Error}

Retrieves all volumes

Link to this function remove(id) View Source
remove(charlist()) :: {:ok, HTTPoison.Response} | {:error, HTTPoison.Error}

Delete a volume.

Link to this function show(id) View Source
show(charlist()) :: {:ok, HTTPoison.Response} | {:error, HTTPoison.Error}

Retrieves informations about a volume by its id