You can list the details of a vRealize Suite product managed by vRealize Suite Lifecycle Manager.

Prerequisites

Satisfy the following conditions before performing the 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 information for all the products managed by vRealize Suite Lifecycle Manager.
    curl -X GET "https://LCM-HostName/lcm/api/v1/view/product" -H "accept: application/json" -H "x-xenon-auth-token: $token"
  2. Examine the response.

    The output of the request includes the following information:

    • name = product name

    • id = product ID

    • version = product version

    For example, the following response lists information about the vRealize Suite products vRealize Automation and vRealize Business for Cloud.

    [
       {
          "name": "vra",
           "id": "d7ca8663e452e27556df33e7c14eb",
           "version": "7.3.1"
       },
       ...
       {
          "name": "vrbc",
          "id": "d7ca8663e452e27556a3a36abe2a9",
          "version": "7.3.1"
        },
    ]

  3. Using the product ID for vRealize Automation, list the product details.
    curl -X GET "https://LCM-Hostname/lcm/api/v1/view/product?productId=<Product-ID>" \
             -H "accept: application/json" \
             -H "x-xenon-auth-token: $token"
  4. The response provides details about the products installed.

    For example, the following response lists details about vRealize Automation.

    {
       "properties": [
          {
             "name": "windowsPassword",
             "value": "s2enc~hMNeyQK75zHfj4ASa432PA=="
          },
          {
             "name": "windowsUsername",
             "value": "sqa.sampaths.admin"
          }
       ],
       "clusterVIP": [
          {
             "type": "vra",
             "hostname": "lcm-vrs-48-232.sqa.local",
             "ipAddress": ""
          },
          {
             "type": "iaas-web",
             "hostname": "lcm-vrs-48-233.sqa.local",
             "ipAddress": ""
          },
          {
             "type": "iaas-manager",
             "hostname": "lcm-vrs-48-178.sqa.local",
             "ipAddress": ""
          }
       ],
       "nodes": [
       {
          "name": "iaas-manager-passive",
          "id": "d7ca8663e452e27556df33e7c20da",
       ...
       "properties": [
          {
             "name": "cluster",
             "value": "LCM-Cluster"
          },
          {
             "name": "password",
             "value": "s2enc~yeJ77TXNsX9xtWK3RKRNcw=="
          },
          {
             "name": "esxHost",
             "value": ""
          },
          ...
          {
             "name": "demRole",
             "value": "DemWorker"
          }
       ]
    }