You can list the details of an environment and its nodes in a vRealize Suite environment managed by vRealize Suite Lifecycle Manager.

Use the list to verify that vRealize Suite Lifecycle Manager deployed the environment correctly and to plan for a future expansion of your environment.

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.

Procedure

  1. List all products and nodes in your environment.
    curl -X GET "https://LCM-HostName/lcm/api/v1/view/environment" -H "accept: application/json" -H "x-xenon-auth-token: $token"
  2. Examine the response.

    The output of the request includes:

    • id = Environment ID

    • name = Environment Name

  3. Using the Environment ID, get all the environment details.
    curl -X GET "https://LCM-Hostname/lcm/api/v1/view/environment?environmentId=<Environment-ID>" \
            -H "accept: application/json" \
            -H "x-xenon-auth-token: $token"
  4. Examine the response.

    The output of the request includes:

    • name = Environment Name

    • products = List of products and component details present in the environment