GET /lcm/api/v1/drift/lcmtemplate retrieves the configuration drift baseline for a product.

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 vRealize Operations Manager configuration drift baseline.
curl -X GET "https://LCM-Hostname/lcm/api/v1/drift/lcmtemplate" \
        -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 when the product baseline is successfully retrieved.
200 	Operation successful