Storage Resource Manager Apply Storage Drs Recommendation Task
Applies a recommendation from the recommendation list that is generated by SDRS initial placement invoked by RecommendDatastore method.
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:
- CreateVm CreateVM_Task
- AddDisk ReconfigVM_Task
- RelocateVm RelocateVM_Task
- CloneVm CloneVM_Task
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case StorageResourceManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"key": [
"string"
]
}
The key fields of the Recommendations that are applied.
OK
{
"_typeName": "string",
"type": "string",
"value": "string"
}