# Enum - DrsRecommendationReasonCode(vim.cluster.DrsRecommendation.ReasonCode)

Since
  2.0

## Enum Description

Deprecated. As of VI API 2.5 use RecommendationReasonCode.

List of defined migration reason codes:

Enum Constants

Name | Description
--- | ---
antiAffin |
fairnessCpuAvg |
fairnessMemAvg |
hostMaint |
jointAffin |

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="DrsRecommendationReasonCode"> <restriction base="xsd:string"> <enumeration value="fairnessCpuAvg"/> <enumeration value="fairnessMemAvg"/> <enumeration value="jointAffin"/> <enumeration value="antiAffin"/> <enumeration value="hostMaint"/> </restriction> </simpleType>