class OceanKit::Resource::VolumeAction

Defined in:

ocean_kit/resources/volume_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 attach(volume_id, droplet_id) #

Attach a Block Storage volume to a Droplet

Each volume may only be attached to a single Droplet. However, up to five volumes may be attached to a Droplet at a time


[View source]
def deattach(volume_id, droplet_id) #

Detach a Block Storage volume from a Droplet


[View source]
def resize(volume_id, size_gigabytes) #

Resize a Block Storage volume


[View source]
def volume_actions #

[View source]