The Snapshot
class inherits from Resource
.
The base resource
_synchronized (bool) – This is not intended to be used directly. See
new()
and
existing()
.
connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow
Resource objects to be used without an active Connection, such as
in unit tests. Use of self._connection
in Resource code should
protect itself with a check for None.
The timestamp of this snapshot creation.
Description of snapshot. Default is None.
Indicate whether to create snapshot, even if the volume is attached.
Default is False
. Type: bool
The percentage of completeness the snapshot is currently at.
The project ID this snapshot is associated with.
The size of the volume, in GBs.
The current status of this snapshot. Potential values are creating, available, deleting, error, and error_deleting.
The ID of the volume this snapshot was taken of.
Force snapshot deletion.
Reset the status of the snapshot.
Update fields related to the status of a snapshot.
The SnapshotDetail
class inherits from
Snapshot
.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.