Vsan Remote Datastore System Vsan Query Datastore Source

Vsan Remote Datastore System Vsan Query Datastore Source

Query Datastore Source information for specified remote vCenters.

If no vCenter is specified, all Datastore Sources configured are returned.

Required privileges: System.Read

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

string
release
Required

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


Request Body
VsanQueryDatastoreSourceRequestType of type(s) application/json
Required
"VsanQueryDatastoreSourceRequestType Object"
array of string
vcHosts
Optional

The names (e.g. FQDNs) of the remote vCenters to be queried. Only those names configured through VsanRemoteDatastoreSystem.VsanCreateDatastoreSource are valid to be used.

Authentication
This operation uses the following authentication methods.
Responses
200

The Datastore Sources information queried.

[
    "VsanHciMeshDatastoreSource Object"
]

500

VsanFault: vSAN related faults.

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

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