Storage Resource Manager Validate Storage Pod Config

Storage Resource Manager Validate Storage Pod Config

Validate the new storage DRS configuration for a pod StoragePod.

If validation fails, it will return with InvalidArgument fault.

Required privileges: System.View

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/StorageResourceManager/{moId}/ValidateStoragePodConfig
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 9.0.0.0 APIs.


Request Body
ValidateStoragePodConfigRequestType of type(s) application/json
Required
"ValidateStoragePodConfigRequestType Object"
pod
Required

The storage pod.

spec
Required

A set of storage Drs configuration changes to apply to the storage pod.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

This response body class contains all of the following: MethodFault
{
    "0": "M",
    "1": "e",
    "2": "t",
    "3": "h",
    "4": "o",
    "5": "d",
    "6": "F",
    "7": "a",
    "8": "u",
    "9": "l",
    "10": "t",
    "11": " ",
    "12": "O",
    "13": "b",
    "14": "j",
    "15": "e",
    "16": "c",
    "17": "t"
}

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