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

## Enum Description

Deprecated. As of VI API 2.5 use RecommendationReasonCode.

List of defined migration reason codes:

Enum Constants

Name | Description
--- | ---
antiAffin | Fulfill anti-affinity rule.
fairnessCpuAvg | Balance average CPU utilization.
fairnessMemAvg | Balance average memory utilization.
hostMaint | Host entering maintenance mode.
jointAffin | Fulfill affinity rule.

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>