# Enum - RecommendationReasonCode(vim.cluster.Recommendation.ReasonCode)

Since
  VI API 2.5

## Enum Description

List of defined migration reason codes:

Enum Constants

Name | Description
--- | ---
antiAffin |
balanceDatastoreIOLoad | Since
balanceDatastoreIOPSReservation | Since
balanceDatastoreSpaceUsage | Since
balanceVsanUsage | Since
checkResource | Since
datastoreMaint | Since
datastoreSpaceOutage | Since
enterStandby |
fairnessCpuAvg |
fairnessMemAvg |
ftConstraints | Since
hostExitDegradation | Since
hostInDegradation | Since
hostMaint |
increaseCapacity |
iolbDisabledInternal | Since
jointAffin |
maxVmsConstraint | Since
networkBandwidthReservation | Since
powerOnVm |
powerSaving |
reservationCpu |
reservationMem |
storagePlacement | Since
unreservedCapacity | Since
virtualDiskAntiAffin | Since
virtualDiskJointAffin | Since
vmAntiAffinityPolicy | Since
vmHostAffinityPolicy | Since
vmHostAntiAffinityPolicy | Since
vmHostHardAffinity | Since
vmHostSoftAffinity | Since
xvmotionPlacement | Since

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vslm="urn:vslm" name="RecommendationReasonCode"> <restriction base="xsd:string"> <enumeration value="fairnessCpuAvg"/> <enumeration value="fairnessMemAvg"/> <enumeration value="jointAffin"/> <enumeration value="antiAffin"/> <enumeration value="hostMaint"/> <enumeration value="enterStandby"/> <enumeration value="reservationCpu"/> <enumeration value="reservationMem"/> <enumeration value="powerOnVm"/> <enumeration value="powerSaving"/> <enumeration value="increaseCapacity"/> <enumeration value="checkResource"/> <enumeration value="unreservedCapacity"/> <enumeration value="vmHostHardAffinity"/> <enumeration value="vmHostSoftAffinity"/> <enumeration value="balanceDatastoreSpaceUsage"/> <enumeration value="balanceDatastoreIOLoad"/> <enumeration value="balanceDatastoreIOPSReservation"/> <enumeration value="datastoreMaint"/> <enumeration value="virtualDiskJointAffin"/> <enumeration value="virtualDiskAntiAffin"/> <enumeration value="datastoreSpaceOutage"/> <enumeration value="storagePlacement"/> <enumeration value="iolbDisabledInternal"/> <enumeration value="xvmotionPlacement"/> <enumeration value="networkBandwidthReservation"/> <enumeration value="hostInDegradation"/> <enumeration value="hostExitDegradation"/> <enumeration value="maxVmsConstraint"/> <enumeration value="ftConstraints"/> <enumeration value="vmHostAffinityPolicy"/> <enumeration value="vmHostAntiAffinityPolicy"/> <enumeration value="vmAntiAffinityPolicy"/> <enumeration value="balanceVsanUsage"/> </restriction> </simpleType>