POST Vrops Testconnection
Test connection to VMware Aria Operations.
Show optional properties
{
"hostname": "string",
"username": "string",
"password": "string"
}
{
"acceptCert": true,
"hostname": "example-vrops-host-or-ip.eng.vmware.com",
"username": "exampleVRopsUsername",
"password": "exampleVRopsPassword",
"enableAlertsIntegration": true,
"enableLaunchInContext": false,
"enableMetricCalculation": true,
"target": "example-log-insight-vip-ip-address"
}
Accept or deny not trusted certificate. Will be set to false if not provided explicitly
The VMware Aria Operations hostname or IP address.
The VMware Aria Operations username.
The VMware Aria Operations password.
VMware Aria Operations for Logs hostname or IP address to be used by VMware Aria Operations for launch in context. If not provided explicitly the system will set the target field value to one of Operations for Logs server's virtual IP addresses/FQDNs. If there is no any virtual IP address found, then it will set to IP address/FQDN of Operations for Logs server's primary node.
Enable or disable alert integration feature. Will be set to true if not provided explicitly.
Enable or disable launch in context feature. Will be set to true if not provided explicitly.
Enable or disable metric calculation feature. Will be set to true if not provided explicitly.
Test successful.
The request failed because the request body either did not contain valid JSON, or did not match the required JSON format.
{
"errorMessage": "Invalid request body.",
"errorCode": "JSON_FORMAT_ERROR",
"errorDetails": {
"reason": "..."
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
Internal error while processing the client request
{
"errorMessage": "The operation failed due to an internal error."
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"hostname:"string","password:"string","username:"string"}' https://{api_host}/api/v2/vrops/testconnection