models_v2.vmware_mount_volumes_new_target_config module

class models_v2.vmware_mount_volumes_new_target_config.VmwareMountVolumesNewTargetConfig(mount_target=None, bring_disks_online=None, use_existing_agent=None, target_vm_credentials=None)[source]

Bases: object

Implementation of the ‘VMware Mount Volumes New Target Config.’ model.

Specifies the configuration for mounting volumes to a new target.

Attributes:
mount_target (RecoverTarget): Specifies the target entity to recover

to.

bring_disks_online (bool): Specifies whether the volumes need to be

online within the target environment after attaching the disks. For linux VMs, this should always be set to true. For Windows, this is optional. If this is set to true, VMware tools must be installed on the VM. If this is set to false, useExistingAgent and targetCredentials are not needed.

use_existing_agent (bool): Specifies whether this will use an existing

agent on the target vm or will deploy a new agent. This is required if bringDisksOnline is set to true.

target_vm_credentials (TargetVmCredentials6): Specifies credentials to

access the target VM. This is required if bringDisksOnline is set to true and useExistingAgent set to false.

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.