You can list all the vRealize Suite products 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
- 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"
- 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 multiple versions of the
vRealize Suite products
vRealize Automation,
vRealize Log Insight, and
vRealize Business for Cloud.
[
{
"name": "vra",
"id": "d7ca8663e452e27556df33e7c14eb",
"version": "7.3.1"
},
{
"name": "vrli",
"id": "d7ca8663e452e27556991e197f92a",
"version": "4.5.0"
},
{
"name": "vra",
"id": "d7ca8663e452e27556a3a36abe2a7",
"version": "7.4.0"
},
{
"name": "vrli",
"id": "d7ca8663e452e27556992923fd611",
"version": "4.5.1"
}
...
{
"name": "vrbc",
"id": "d7ca8663e452e27556a3a36abe2a9",
"version": "7.3.1"
},
]