Vsan Object System Vsan Query Inaccessible Vm Swap Objects

Vsan Object System Vsan Query Inaccessible Vm Swap Objects

Query all inaccessible vmswap objects on a vSAN cluster.

It works on both cluster level and host level.

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/VsanObjectSystem/{moId}/VsanQueryInaccessibleVmSwapObjects
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 VsanObjectSystem/{moId}.

string
release
Required

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


Request Body
Required
"VsanQueryInaccessibleVmSwapObjectsRequestType Object"
cluster
Optional

vSAN cluster. Ignored if called against host.

Required privileges: System.Read

Authentication
This operation uses the following authentication methods.
Responses
200

list of inaccessible vmswap objects.

[
    {}
]
array of string
Optional

500

Failure

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

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