Elixir-Scaleway v0.1.3 Scaleway.Server.Action View Source

Link to this section Summary

Functions

Execute an action on a server by its id

List all actions possible for a server by its id

Link to this section Functions

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

Execute an action on a server by its id.

Link to this function execute!(id, action) View Source
execute!(charlist(), charlist()) :: map()
Link to this function list(id) View Source
list(charlist()) :: {:ok, HTTPoison.Response} | {:error, HTTPoison.Error}

List all actions possible for a server by its id.