DigitalOcean.Volume.create_snapshot
You're seeing just the function
create_snapshot
, go back to DigitalOcean.Volume module for more information.
Link to this function
create_snapshot(volume_id, opts \\ [])
Specs
create_snapshot(String.t(), Keyword.t()) :: DigitalOcean.Operation.t()
Create a snapshot from a volume.
Examples
iex> DigitalOcean.Volume.create_snapshot(
...> "82a48a18-873f-11e6-96bf-000f53315a41",
...> name: "big-data-snapshot1475261774"
...> ) |> DigitalOcean.request()
{ :ok, %DigitalOcean.Response{} }