curl -X POST "https://LCM-HostName/lcm/api/v1/remediation" -H "accept: application/json" -H "x-xenon-auth-token: $token"
The body of the JSON input specifies the product configuration
that you want to restore such as,
vRealize
Automation,
vRealize
Operations Manager,
vRealize Log Insight, or
vRealize
Business for Cloud. For a remediation to occur, the
isRemediationEnabled
parameter value must be set to
true as in the following input example to
remediate a change in the DNS server for
vRealize
Automation version 7.3.
{
"updateTime": "2018-06-28T11:09:28.632Z[Etc/UTC]",
"productType": "vra-7.3.0",
"productNames": [
"764b17cc6f57875569146ef4e5a2"
],
"nodes": [
{
"type": "vRealize Automation",
"nodeIdField": "APPLICATION",
"driftedProducts": [],
"categories": [
{
"categoryType": "Tenant",
"categoryId": "xxyyzz",
"isRetry": false,
"isRemediationEnabled": true,
"isGroupRemediation": true,
"driftedProducts": [],
"property": [
{
...
"name": "DNS",
"isRemediationEnabled": true,
"isRetry": false,
"values": [
{
"productName": "TEMPLATE",
"value": "10.141.66.213,10.118.183.252"
},
{
"productName": "764b17cc6f57875569146ef4e5a2",
"value": "10.118.183.252"
}
],
"remediationCandidate": "TEMPLATE",
},
...
]
}
]
}
]
}