Vsan Vc Cluster Health System Vsan Vc Upload Hcl Db
Upload a DB file in JSON format.
The DB will replace any existing DB, even if the existing DB may appear newer. The API at host level is for internal use.
Required privileges: Global.Settings
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 VsanVcClusterHealthSystem/{moId}.
The vSphere release schema. The current specification covers vSphere 9.1.0.0 APIs.
{
"db": "string"
}
The new DB, in base64 encoded, gzipped JSON format
Always return True, or throw exception. False is never returned.
{
"_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 '{"db":"string"}' https://{api_host}/sdk/vim25/{release}/vsan/VsanVcClusterHealthSystem/{moId}/VsanVcUploadHclDb