The Snapshot
class inherits from Resource
.
openstack.block_storage.v2.snapshot.
Snapshot
(_synchronized=False, connection=None, **attrs)¶The base resource
Parameters: |
|
---|
id
¶A ID representing this snapshot.
name
¶Name of the snapshot. Default is None.
status
¶The current status of this snapshot. Potential values are creating, available, deleting, error, and error_deleting.
description
¶Description of snapshot. Default is None.
created_at
¶The timestamp of this snapshot creation.
metadata
¶Metadata associated with this snapshot.
volume_id
¶The ID of the volume this snapshot was taken of.
size
¶The size of the volume, in GBs.
is_forced
¶Indicate whether to create snapshot, even if the volume is attached.
Default is False
. Type: bool
The SnapshotDetail
class inherits from
Snapshot
.
openstack.block_storage.v2.snapshot.
SnapshotDetail
(_synchronized=False, connection=None, **attrs)¶The base resource
Parameters: |
|
---|
progress
¶The percentage of completeness the snapshot is currently at.
project_id
¶The project ID this snapshot is associated with.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.