POST Vrops
Configure VMware Aria Operations integration.
Show more details for VMware Aria Operations integration configuration and Launch In Context registration.
{
"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"
}
VMware Aria Operations integration successfully configured.
{
"hostname": "vROps-hostname",
"username": "vROps-Username",
"passwordSet": true,
"enableAlertsIntegration": false,
"enableLaunchInContext": true,
"enableMetricCalculation": true,
"target": "vip.or.master.ip",
"details": {
"info": "info",
"warning": "Connection test failed: Invalid username or password."
}
}
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.
VMware Aria Operations integration is already configured.
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 '[{}]' https://{api_host}/api/v2/vrops