Vsan Remote Datastore System Vsan Precheck Datastore Source
Run prechecks for a Datastore Source.
This can be used before creating, updating, destroying a Datastore Source or other places needing to verify a Datastore Source.
Required privileges: Host.Config.Storage
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.
Show optional properties
{
"datastoreSource": {}
}
{
"datastoreSource": {
"_typeName": "string",
"vcInfo": {
"_typeName": "string",
"linkType": "string",
"vcHost": "string"
}
},
"operation": "string"
}
The information of the Datastore Source to be prechecked.
The hint of the operation which the precheck is performed against, see PrecheckDatastoreSourceOperationEnum.
Pre-check results of the specified Datastore Source.
{
"_typeName": "string",
"result": [
{
"_typeName": "string",
"type": "string",
"description": {
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
},
"status": "string",
"reason": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
],
"ignoreMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
]
}
VsanSslVerifyCertFault: SSL verification fault for remote vCenter such as certificate not verified.
VsanFault: Other 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 '{"datastoreSource":"{}"}' https://{api_host}/sdk/vim25/{release}/vsan/VsanRemoteDatastoreSystem/{moId}/VsanPrecheckDatastoreSource