Validate Connection
If there is no explicit and valid vcInstanceId in the connection spec, no vCenter Server validation will be done. Only the infra node will be validated.
The connection specification to be validated.
Show optional properties
{
"credentials": {
"admin_user": "string",
"admin_password": "string"
},
"connection_spec": {
"psc_uri": "https://psc01.acme.com:443"
}
}
{
"credentials": {
"admin_user": "string",
"admin_password": "string"
},
"connection_spec": {
"psc_uri": "https://psc01.acme.com:443",
"psc_thumbprint": "string"
}
}
Contains credentials information.
Contains connection information for a service.
The connection is validated successfully.
Bad request - the server cannot understand the request due to invalid syntax or invalid request body content
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"connection_spec:"object","credentials:"object"}' https://{api_host}/appliance/configuration-manager/actions/validate-connection