# Data Object - ClusterRecommendation(vim.cluster.Recommendation)

Property of
  ClusterComputeResource, ClusterEnterMaintenanceResult, ClusterPowerOnVmResult, PlacementResult, PodStorageDrsEntry, StoragePlacementResult
Extends
  DynamicData
See also
  ClusterAction, LocalizableMessage
Since
  VI API 2.5

## Data Object Description

Recommendation is the base class for any packaged group of actions that are intended to take the system from one state to another one.

Properties

Name | Type | Description
--- | --- | ---
action* | ClusterAction[] | List of actions that are executed as part of this recommendation
key | xsd:string | Key to identify the recommendation when calling applyRecommendation.
prerequisite* | xsd:string[] | This recommendation may depend on some other recommendations. The prerequisite recommendations are listed by their keys.
rating | xsd:int | A rating of the recommendation. Valid values range from 1 (lowest confidence) to 5 (highest confidence).
reason | xsd:string | A reason code explaining why this set of migrations is being suggested.
reasonText | xsd:string | Text that provides more information about the reason code for the suggested set of migrations.
target* | ManagedObjectReference | The target object of this recommendation.
time | xsd:dateTime | The time this recommendation was computed.
type | xsd:string | Type of the recommendation. This differentiates between various of recommendations aimed at achieving different goals.
warningDetails* | LocalizableMessage | Warning about potential adverse implications of applying a recommendation Since vSphere API 6.0
warningText* | xsd:string | Text that provides warnings about potential adverse implications of applying this recommendation Since vSphere API 6.0
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="ClusterRecommendation"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="key" type="xsd:string"/> <element name="type" type="xsd:string"/> <element name="time" type="xsd:dateTime"/> <element name="rating" type="xsd:int"/> <element name="reason" type="xsd:string"/> <element name="reasonText" type="xsd:string"/> <element name="warningText" type="xsd:string" minOccurs="0"/> <element name="warningDetails" type="pbm:LocalizableMessage" minOccurs="0"/> <element name="prerequisite" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="action" type="pbm:ClusterAction" minOccurs="0" maxOccurs="unbounded"/> <element name="target" type="pbm:ManagedObjectReference" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>