Elixir-Scaleway v0.1.3 Scaleway.Snapshot View Source

Link to this section Summary

Functions

Create a snapshot

List all snapshots

Remove a snapshot by its id

Retrieve a snapshot by its id

Update a snapshot 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 snapshot.

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}

List all snapshots.

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

Remove a snapshot by its id.

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

Retrieve a snapshot by its id.

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

Update a snapshot by its id.

Link to this function update!(id, data) View Source
update!(charlist(), map()) :: map()