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
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}.
The vSphere release schema. The current specification covers vSphere 9.1.0.0 APIs.
{
"vcHosts": [
"string"
]
}
The names (e.g. FQDNs) of the remote vCenters to be queried. Only those names configured through VsanRemoteDatastoreSystem.VsanCreateDatastoreSource are valid to be used.
The Datastore Sources information queried.
[
{
"_typeName": "string",
"vcInfo": {
"_typeName": "string",
"linkType": "string",
"vcHost": "string"
}
}
]
This data type represents a Datastore Source configuration.
This structure may be used only with operations rendered under /vsan.
VsanFault: vSAN related faults.
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/sdk/vim25/{release}/vsan/VsanRemoteDatastoreSystem/{moId}/VsanQueryDatastoreSource