# Data Object - ApplyStorageRecommendationResult(vim.storageDrs.ApplyRecommendationResult)

Returned by
  ApplyStorageDrsRecommendation_Task, ApplyStorageDrsRecommendationToPod_Task
Extends
  DynamicData
See also
  VirtualMachine
Since
  vSphere API 5.0

## Data Object Description

Both RecommendDatastores and DatastoreEnterMaintenanceMode methods may invoke Storage DRS for recommendations on placing or evacuating virtual disks. All initial placement recommendations, and some enterMaintenanceMode recommendations need to be approved by the user. Recommendations that are approved will be applied using the ApplyStorageDrsRecommendation_Task method. This class encapsulates the result of applying a subset of the recommendations.

Properties

Name | Type | Description
--- | --- | ---
vm* | ManagedObjectReference to a VirtualMachine | The result applying the recommendation, if it was successful. This is the equivalent of the result key for the task launched when the recommendation was applied.
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="ApplyStorageRecommendationResult"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="vm" type="pbm:ManagedObjectReference" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>