Host Vsan Internal System Query Vsan Object Uuids By Filter

Host Vsan Internal System Query Vsan Object Uuids By Filter

Query VSAN object UUIDs by filtering conditions.

The API queries CMMDS by given filtering conditions (initially only for object version) and return object UUID in an array with limited elements count. If caller specified the inputs objects UUID, then only these objects will be checked for the filtering conditions, and return ones which satisfy the filtering condition. In this case, the 'limit' parameter will be ignored.

Required privileges: System.Read

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostVsanInternalSystem/{moId}/QueryVsanObjectUuidsByFilter
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
QueryVsanObjectUuidsByFilterRequestType of type(s) application/json
Required
{
    "uuids": [
        "string"
    ],
    "limit": 0,
    "version": 0
}
array of string
uuids
Optional

Objects UUID will be checked against the filtering conditions.

integer As int32 As int32
limit
Optional

To limit the size of the result set.

integer As int32 As int32
version
Optional

Filtering condition 1: object version.

Authentication
This operation uses the following authentication methods.
Responses
200

String array of object uuids which satisfy the filtering conditions.

Returns Array of string of type(s) application/json
[
    {}
]

500

VsanFault: for any unexpected failures.

Returns VsanFault of type(s) application/json
This response body class contains all of the following: VimFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}