Storage Resource Manager Apply Storage Drs Recommendation To Pod Task

Storage Resource Manager Apply Storage Drs Recommendation To Pod Task

Applies a recommendation from the recommendation list that is generated by SDRS load balancing activity.

Each recommendation can be applied only once.

Requires Resource.ApplyRecommendation privilege on the storage pod. And requires Resource.ColdMigrate privilege on the virtual machine(s) that are relocated. Additionally requires Resource.HotMigrate privilege if the virtual machine is powered on (for Storage VMotion). Also requires Datastore.AllocateSpace on any datastore the virtual machine or its disks are relocated to.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/StorageResourceManager/{moId}/ApplyStorageDrsRecommendationToPod_Task
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
Required
{
    "pod": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "key": "string"
}
pod
Required

Reference to an instance of the StoragePod managed object.

string
key
Required

The key field of the Recommendation.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MoRefTask of type(s) application/json
This response body class contains all of the following: MoRefExtensibleManagedObject
{
    "_typeName": "string",
    "type": "string",
    "value": "string"
}