models.recover_virtual_disk_params module

class models.recover_virtual_disk_params.RecoverVirtualDiskParams(power_off_vm_before_recovery=None, power_on_vm_after_recovery=None, target_entity=None, virtual_disk_mappings=None)[source]

Bases: object

Implementation of the ‘RecoverVirtualDiskParams’ model.

TODO: type model description here.

power_off_vm_before_recovery (bool): Whether to power-off the VM

before recovering virtual disks.

power_on_vm_after_recovery (bool): Whether to power-on the VM after

recovering virtual disks.

target_entity (EntityProto): Specifies the attributes and the latest

statistics about an entity.

virtual_disk_mappings (list of

RecoverVirtualDiskParamsVirtualDiskMapping): TODO: type description here.

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.