class OceanKit::Resource::Volume

Overview

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:

ocean_kit/resources/volume.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 #

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]