The Snapshot class inherits from Resource.
Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See Resource.new() and Resource.existing().
Parameters: |
|
---|
A ID representing this snapshot.
Name of the snapshot. Default is None.
The current status of this snapshot. Potential values are creating, available, deleting, error, and error_deleting.
Description of snapshot. Default is None.
The timestamp of this snapshot creation.
Metadata associated with this snapshot.
The ID of the volume this snapshot was taken of.
The size of the volume, in GBs.
Indicate whether to create snapshot, even if the volume is attached. Default is False. Type: bool
The SnapshotDetail class inherits from Snapshot.
Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See Resource.new() and Resource.existing().
Parameters: |
|
---|
The percentage of completeness the snapshot is currently at.
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.