models.virtual_disk_id module

class models.virtual_disk_id.VirtualDiskId(controller_bus_number=None, controller_type=None, disk_id=None, unit_number=None)[source]

Bases: object

Implementation of the ‘VirtualDiskId’ model.

This message defines the proto that can be used to identify the disks in different environments.

controller_bus_number (long|int): Controller’s bus-id controlling the

virtual disk in question.

controller_type (string): Controller’s type (SCSI, IDE etc). disk_id (string): Original disk id. This is sufficient to identify the

disk information, but in some scenarios, user’s may specify the controller option instead.

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


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.


object: An instance of this structure class.