models.virtual_disk_mapping_response module

class models.virtual_disk_mapping_response.VirtualDiskMappingResponse(disk_to_overwrite=None, source_disk=None, target_location=None)[source]

Bases: object

Implementation of the ‘VirtualDiskMappingResponse’ model.

Specifies information about virtual disks where a user can specify mappings of source disk and destination disk to overwrite.

Attributes:
disk_to_overwrite (VirtualDiskIdInformation): Specifies information

about disk which user wants to overwrite. If specified, then powerOffVmBeforeRecovery must be true.

source_disk (VirtualDiskIdInformation): Specifies information about

the source disk.

target_location (ProtectionSource): Specifies the target location

information, for e.g. a datastore in VMware environment. If diskToOverwrite is specified, then the target location is automatically deduced.

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.