models.pure_volume module¶
-
class
models.pure_volume.
PureVolume
(created_time=None, parent_volume=None, serial_number=None, size_bytes=None, used_bytes=None)[source]¶ Bases:
object
Implementation of the ‘PureVolume’ model.
Specifies a Pure Volume in a Pure Storage Array.
- Attributes:
- created_time (string): Specifies the created time (e.g.,
“2015-07-21T17:59:41Z”) of the volume.
- parent_volume (string): Specifies the name of the source volume, if
this volume was copied or cloned from it.
serial_number (string): Specifies the serial number of the volume. size_bytes (long|int): Specifies the provisioned size in bytes of the
volume.
- used_bytes (long|int): Specifies the total space actually used by the
volume.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.