models_v2.disk_information module

class models_v2.disk_information.DiskInformation(unit_number=None, bus_number=None, controller_type=None)[source]

Bases: object

Implementation of the ‘Disk Information’ model.

Specifies information about a disk.

Attributes:
controller_type (ControllerTypeEnum): Specifies the disk controller

type.

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

name and not the flat file name.

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

controls the disk.

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.