models_v2.logical_volume_info module¶
-
class
models_v2.logical_volume_info.
LogicalVolumeInfo
(volume_group_uuid=None, volume_group_name=None, logical_volume_uuid=None, logical_volume_name=None, device_tree=None)[source]¶ Bases:
object
Implementation of the ‘LogicalVolumeInfo’ model.
Specifies the logical volume info for LVM or LDM volume.
- Attributes:
volume_group_uuid (string): Specifies the volume group uuid. volume_group_name (string): Specifies the volume group name. logical_volume_uuid (string): Specifies the logical volume uuid. logical_volume_name (string): Specifies the logical volume name. device_tree (DeviceTree): Specifies the tree structure of the logical
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.