DigitalOcean.Droplet.delete_with_associated_resources
You're seeing just the function
delete_with_associated_resources
, go back to DigitalOcean.Droplet module for more information.
Link to this function
delete_with_associated_resources(droplet_id, opts)
Specs
delete_with_associated_resources(DigitalOcean.id_t(), Keyword.t()) :: DigitalOcean.Operation.t()
Delete a droplet with a sub-set of associated resources.
Examples
iex> DigitalOcean.Droplet.delete_with_associated_resources(
...> 187000742,
...> snapshots: [
...> "61486916"
...> ],
...> volumes: [
...> "ba49449a-7435-11ea-b89e-0a58ac14480f"
...> ],
...> volume_snapshots: [
...> "edb0478d-7436-11ea-86e6-0a58ac144b91"
...> ]
...> )
...> { :ok, %DigitalOcean.Response{} }