models.virtual_disk_info module

class models.virtual_disk_info.VirtualDiskInfo(bus_number=None, controller_type=None, filename=None, logical_size_bytes=None, unit_number=None)[source]

Bases: object

Implementation of the ‘VirtualDiskInfo’ model.

Virtual Disk Information.

Attributes:
bus_number (long|int): Specifies the Id of the controller bus that

controls the disk.

controller_type (string): Specifies the controller type like SCSI, or

IDE etc.

filename (string): Specifies the host file name used as the virtual

disk.

logical_size_bytes (long|int): Virtual disk size. unit_number (long|int): Specifies the disk file name. This is the VMDK

name and not the flat file name.

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.