Search
Plugins > vCenter Server 6.0.2 > VcStorageResourceManager > applyStorageDrsRecommendation_Task

Method applyStorageDrsRecommendation_Task(String[] key)

Applies a recommendation from the recommendation list. Each recommendation can be applied only once. In the case of CreateVm and CloneVm a VirtualMachine is returned. Other workflows don't have a return value.

Requires Resource.ApplyRecommendation privilege on the storage pod. Additionally, depending on the workflow where this API is called from, it may require the privileges of invoking one of following APIs:

Returns

VcTask

Arguments

Name Type Description
key String[] The key fields of the Recommendations that are applied. <p>