models.virtual_disk_restore_response module

class models.virtual_disk_restore_response.VirtualDiskRestoreResponse(power_off_vm_before_recovery=None, power_on_vm_after_recovery=None, target_source=None, virtual_disk_mappings=None)[source]

Bases: object

Implementation of the ‘VirtualDiskRestoreResponse’ model.

Specifies the parameters to recover virtual disks of a vm with full Protection Source.

Attributes:
power_off_vm_before_recovery (bool): Specifies whether to power off

the VM before recovering virtual disks.

power_on_vm_after_recovery (bool): Specifies whether to power on the

VM after recovering virtual disks.

target_source (ProtectionSource): Specifies a generic structure that

represents a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.

virtual_disk_mappings (list of VirtualDiskMappingResponse): Specifies

the list of virtual disks mappings.

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.