models.vmware_disk_exclusion_proto module¶
-
class
models.vmware_disk_exclusion_proto.
VmwareDiskExclusionProto
(controller_bus_number=None, controller_type=None, unit_number=None)[source]¶ Bases:
object
Implementation of the ‘VMwareDiskExclusionProto’ model.
This message contains basic info of the disk to be excluded from backup. The info contained here: 1. should be enough to identify the disk during the backup job. 2. is a subset of the message fetched to be displayed to the end user. Example: entities/vmware.proto. Note: Currently this is only implemented for VMware type source.
- Attributes:
- controller_bus_number (long|int): Controller’s bus-id controlling the
virtual disk in question.
controller_type (string): Controller’s type (SCSI, IDE etc). unit_number (long|int): Disk unit number to identify the virtual disk
within a controller.
-
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.