openstack.block_storage.v2.snapshot

openstack.block_storage.v2.snapshot

The Snapshot Class

The Snapshot class inherits from Resource.

class openstack.block_storage.v2.snapshot.Snapshot(_synchronized=False, **attrs)

The base resource

Parameters:_synchronized (bool) – This is not intended to be used directly. See new() and existing().
id = None

A ID representing this snapshot.

name = None

Name of the snapshot. Default is None.

status = None

The current status of this snapshot. Potential values are creating, available, deleting, error, and error_deleting.

description = None

Description of snapshot. Default is None.

created_at = None

The timestamp of this snapshot creation.

metadata = None

Metadata associated with this snapshot.

volume_id = None

The ID of the volume this snapshot was taken of.

size = None

The size of the volume, in GBs.

is_forced = None

Indicate whether to create snapshot, even if the volume is attached. Default is False. Type: bool

The SnapshotDetail Class

The SnapshotDetail class inherits from Snapshot.

class openstack.block_storage.v2.snapshot.SnapshotDetail(_synchronized=False, **attrs)

The base resource

Parameters:_synchronized (bool) – This is not intended to be used directly. See new() and existing().
progress = None

The percentage of completeness the snapshot is currently at.

project_id = None

The project ID this snapshot is associated with.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.