vRA Services Registered List as XML or By Command Line

Mindwatering Incorporated

Author: Tripp W Black

Created: 09/24/2020 at 03:11 PM

 

Category:
VMWare
vRA

To view the services status (e.g. REGISTERED list) as XML:
https://vrahost.mydomain.com/component-registry/services/status/current?limit=200

To view the services list in a terminal:
$ curl --insecure -f -s -H "Content-Type: application/json" "https:/$HOSTNAME/component-registry/services/status/current?limit=200" | sed "s/}/\n/g" | grep -E -o ".serviceName.*serviceInitializationStatus.[^,]*" | sed "s/\"serviceTypeId.*,//g" | sed -e "s/\"//g" -e "s/:/=/g" -e "s/,/, /" | sed -e "s/serviceName\|serviceInitializationStatus\|=\|,\|null//g" | column -t | sort | cat -n




previous page