Post Hosts Prechecks 1
Post host(s) prechecks
{
"hosts": [
{
"fqdn": "string",
"username": "string",
"password": "string",
"storageType": "One among: VSAN, VSAN_ESA, VSAN_REMOTE, VSAN_MAX, NFS, VMFS_FC, VVOL",
"vvolStorageProtocolType": "One among: ISCSI, NFS, FC",
"networkPoolId": "string",
"networkPoolName": "string",
"sshThumbprint": "string",
"sslThumbprint": "string"
}
]
}
list of hosts on which prechecks will be done
Ok
"HostsPrechecksResponse Object"
The ID for hosts prechecks
Overall execution status of hosts prechecks
Result status of the hosts prechecks after it has completed its execution
precheck done on each host
Bad Request
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
Internal Server Error
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: multipart/form-data' -d '{}' https://{api_host}/v1/hosts/prechecks