Fetching Environment Details from VMware Aria Suite Lifecycle using API


Fetching Environment Details from VMware Aria Suite Lifecycle using API

Rated NaN out of 5 stars.

Step:1 Get the login token from VMware Aria Suite Lifecycle

Below table describes the data we need

MethodPOST
URL{{lcmurl}}/lcm/authzn/api/login
AuthenticationBasic Auth ( admin@local & password )

When this API is executed , it generates a cookie which is stored under cookies section

Step:2 Execute VMware Aria Suite Lifecycle API’s

Fetch Environment Details using API

MethodGET
URL{{lcm}}/lcm/lcops/api/v2/environments
AuthenticationBasic Auth ( admin@local & password )
Content-Typeapplication/json

As seen above , we have all the details of globalenvironment. globalenvironment is nothing but VMware Identity Manager

Fetching VMware Aria Suite Lifecycle Version and System Informaiton

MethodGET
URL{{lcmurl}}/lcm/lcops/api/settings/systemsettings
AuthenticationBasic Auth ( admin@local & password )
Content-Typeapplication/json