class OceanKit::Resource::Volume


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

Defined in:


Instance Method Summary

Class 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 #

List all of the Block Storage volumes available on account

[View source]
def create(options) #

Create a new volume

[View source]
def create_snapshot(volume_id, name) #

[View source]
def delete(volume_id) #

[View source]
def find(volume_id) #

[View source]
def snapshots(volume_id) #

[View source]
def volumes #

[View source]