class

OceanKit::Resource::Snapshot

Inherits OceanKit::Resource::Base / OceanKit::Client::Connection / Reference / Object

Snapshots are saved instances of a Droplet or a volume, which is reflected in the resource_type attribute. In order to avoid problems with compressing filesystems, each defines a min_disk_size attribute which is the minimum size of the Droplet or volume disk when creating a new resource from the saved snapshot.

Instance methods

all

To list all of the snapshots available on your account,

The response will be a JSON object with a key called snapshots. This will be set to an array of snapshot objects, each of which will contain the standard snapshot attributes

Source
delete(id)
Source
find(id)
Source
snapshots
Source