# Enum - VirtualMachineConfigSpecEncryptedVMotionModes(vim.vm.ConfigSpec.EncryptedVMotionModes)

Since
  vSphere API 6.5

## Enum Description

The set of valid encrypted vMotion modes for a VM. If the VM is encrypted, its encrypted vMotion mode will be required.

Enum Constants

Name | Description
--- | ---
disabled | Do not use encrypted vMotion, even if available.
opportunistic | Use encrypted vMotion if source and destination hosts support it, fall back to unencrypted vMotion otherwise. This is the default option.
required | Allow only encrypted vMotion. If the source or destination host does not support vMotion encryption, do not allow the vMotion to occur.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualMachineConfigSpecEncryptedVMotionModes"> <restriction base="xsd:string"> <enumeration value="disabled"/> <enumeration value="opportunistic"/> <enumeration value="required"/> </restriction> </simpleType>