Storage Resource Manager Refresh Storage Drs Recommendations For Pod Task

Storage Resource Manager Refresh Storage Drs Recommendations For Pod Task

Invoke Storage DRS on a specific pod StoragePod and return a new list of recommendations.

Required privileges: System.View

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/StorageResourceManager/{moId}/RefreshStorageDrsRecommendationsForPod_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
"RefreshStorageDrsRecommendationsForPodRequestType Object"
object
pod
Required

Reference to an instance of the StoragePod managed object.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MoRefTask of type(s) application/json
"MoRefTask Object"

500

Failure

Returns InvalidArgument of type(s) application/json
"InvalidArgument Object"
string
invalidProperty
Optional

Optional name of the invalid property.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/StorageResourceManager/{moId}/RefreshStorageDrsRecommendationsForPod_Task