Host Vsan Internal System Query Cmmds

Host Vsan Internal System Query Cmmds

Query CMMDS directly.

The list of given queries is executed and all results are returned in a flat list. No attempt is made to de-dupe results in the case of overlapping query results.

Required privileges: System.Read

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

string
release
Required

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


Request Body
QueryCmmdsRequestType of type(s) application/json
Required
"QueryCmmdsRequestType Object"
array of object
queries
Required

List of CMMDS query specs.

Authentication
This operation uses the following authentication methods.
Responses
200

JSON string with the results

Returns string of type(s) application/json
Operation doesn't return any data structure

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