Class Fog::Rackspace::BlockStorage::Snapshot
In: lib/fog/rackspace/models/block_storage/snapshot.rb
Parent: Fog::Model

Methods

destroy   ready?   save  

Constants

AVAILABLE = 'available'
CREATING = 'creating'
DELETING = 'deleting'
ERROR = 'error'
ERROR_DELETING = 'error_deleting'

Public Instance methods

Destroys snapshot @return [Boolean] returns true if snapshot was deleted @raise [Fog::Rackspace::BlockStorage::NotFound] - HTTP 404 @raise [Fog::Rackspace::BlockStorage::BadRequest] - HTTP 400 @raise [Fog::Rackspace::BlockStorage::InternalServerError] - HTTP 500 @raise [Fog::Rackspace::BlockStorage::ServiceError] @see docs.rackspace.com/cbs/api/v1.0/cbs-devguide/content/DELETE_deleteSnapshot__v1__tenant_id__snapshots.html

Returns true if the snapshot is in a ready state @return [Boolean] returns true if snapshot is in a ready state

Creates the snapshot @param force [Boolean] Set to true to force service to create snapshot @raise [Fog::Rackspace::BlockStorage::IdentifierTaken] if the snapshot has been previously saved. @return [Boolean] returns true if snapshot is being created @raise [Fog::Rackspace::BlockStorage::NotFound] - HTTP 404 @raise [Fog::Rackspace::BlockStorage::BadRequest] - HTTP 400 @raise [Fog::Rackspace::BlockStorage::InternalServerError] - HTTP 500 @raise [Fog::Rackspace::BlockStorage::ServiceError] @note A snapshot object cannot be updated @note All writes to the volume should be flushed before creating the snapshot, either by un-mounting any file systems on the volume or by detaching the volume. @see docs.rackspace.com/cbs/api/v1.0/cbs-devguide/content/POST_createSnapshot__v1__tenant_id__snapshots.html

[Validate]