GET /lcm/api/v1/drift/report retrieves a configuration drift report that shows the changes in a product's current configuration compared to the product's configuration drift baseline.
Prerequisites
Satisfy the following conditions before performing any tasks for this use case.
- Use POST /lcm/api/v1/login to log in to vRealize Suite Lifecycle Manager.
- Verify that you have a valid authentication token that matches your login credentials. See Request an Authentication Token.
curl Command
The following example retrieves the configuration drift report for
vRealize Operations Manager.
curl -X GET "https://LCM-Hostname/lcm/api/v1/drift/report" \ -H "accept: application/json" \ -H "x-xenon-auth-token: $token" \ -d '{ "environment": "Sample Environment Name", "product": "vrops" }'
JSON Output
The following JSON output is returned with the configuration drift report when the product baseline is successfully retrieved.
200 Operation successful