models.filesystem_volume module¶
-
class
models.filesystem_volume.
FilesystemVolume
(disks=None, display_name=None, filesystem_type=None, filesystem_uuid=None, is_supported=None, logical_volume=None, logical_volume_type=None, name=None, volume_guid=None)[source]¶ Bases:
object
Implementation of the ‘FilesystemVolume’ model.
Specifies information about a filesystem volume.
- Attributes:
- disks (list of Disk): Array of Disks and Partitions. Specifies
information about all the disks and partitions needed to mount this logical volume.
display_name (string): Specifies a description about the filesystem. filesystem_type (string): Specifies type of the filesystem on this
volume.
filesystem_uuid (string): Specifies the uuid of the filesystem. is_supported (bool): If true, this is a supported filesystem volume
type.
- logical_volume (LogicalVolume): Specify attributes for a kLMV (Linux)
or kLDM (Windows) filesystem. This field is set only for kLVM and kLDM volume types.
- logical_volume_type (LogicalVolumeTypeEnum): Specifies the type of
logical volume such as kSimpleVolume, kLVM or kLDM. ‘kSimpleVolume’ indicates a simple volume. Data can be used by just mounting the only one partition present on the disk. ‘kLVM’ indicates a logical volume on Linux managed by a Logical Volume Manager. In order to access the data, deviceTree must be created based on the specification in logicalVolume.deviceTree. ‘kLDM’ indicates a logical volume on Windows managed by Logical Disk Manager.
name (string): Specifies the name of the volume such as /C. volume_guid (string): VolumeGuid is the Volume guid. This is populated
for kPhysical environments.
-
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.