class

OceanKit::Resource::Image

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

Images in DigitalOcean may refer to one of a few different kinds of objects. An image may refer to a snapshot that has been taken of a Droplet instance. It may also mean an image representing an automatic backup of a Droplet. The third category that it can represent is a public Linux distribution or application image that is used as a base to create Droplets.

Instance methods

all

To list all of the images available on your account

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

Source
all_application

Retrieve only application images

Source
all_distribution

Retrieve only distribution images

Source
all_private

To retrieve only the private images

Source
delete(id)

Delete an image

Source
find(id)

Retrieve information about an image (public or private), The response will be a JSON object with a key called image. The value of this will be an image object containing the standard image attributes.

Source
images
Source
update(id, name)

Update an image

Source