class OceanKit::Resource::ImageAction

Overview

Image actions are commands that can be given to a DigitalOcean image. In general, these requests are made on the actions endpoint of a specific image.

Defined in:

ocean_kit/resources/image_action.cr

Instance Method Summary

Constructor methods inherited from class OceanKit::Resource::Base

new(headers : HTTP::Headers | Nil) new

Instance methods inherited from module OceanKit::Client::Connection

destroy(path, options = nil) destroy, get(path, options = nil) get, post(path, options) post, put(path, options) put, request(http_method, path, options) request

Instance Method Detail

def all(id) #

[View source]
def convert_to_snapshot(id) #

Convert an Image to a snapshot, for example, a backup to a snapshot.


[View source]
def image_actions #

[View source]
def transfer(id, region) #

To transfer an image to another region


[View source]