models_v2.volume_info module

class models_v2.volume_info.VolumeInfo(name=None, is_supported=None, volume_type=None, filesystem_type=None, filesystem_uuid=None, volume_guid=None, volume_size_in_bytes=None, logical_volume_info=None)[source]

Bases: object

Implementation of the ‘VolumeInfo’ model.

Specifies info of logical volume (filesystem).

Attributes:

name (string): Specifies the volume name. is_supported (bool): Specifies if this volume is supported. volume_type (VolumeTypeEnum): Specifies the volume type. filesystem_type (string): Specifies the filesystem type. filesystem_uuid (string): Specifies the filesystem uuid. volume_guid (string): Specifies the volume guid. volume_size_in_bytes (long|int): Specifies volume size in bytes. logical_volume_info (LogicalVolumeInfo2): Specifies the logical volume

info. This fields is for ‘LVM’ and ‘LDM’ volume type only.

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.