VMware Cloud Community
alexander_d
Enthusiast
Enthusiast

vRA appliance API and cli

Hi!

Is there any API or CLI reference guide available to vRA 7.3 VAMI?

All a found is: https://VAMI-FQDN:5480/config REST api commands.

And some cli commands in /usr/lib/vcac/tools/vami/commands

But that's not enought for me Smiley Happy

I'd like to retrieve the following information from the appliance:

- internal PSQL database status (conection status, which node hosts master and replica, what is the status and sync state)

- in the cluster tab there is an info about last connected state to the cluster components. I can get the components list and it's states from REST API, but not the data about last connection

- SSO conectivity can be taken from system health test , but i wonder how to query it directly.

Also I'll be really appreciated for any CLI guide (or blogpost) for performing health checks.

Reply
0 Kudos
2 Replies
lukez1985
Contributor
Contributor

you can get some of that info by hitting: https://vRA-FQDN:5480/config/nodes/list?json=true&components=true

that will give you a json output of servers and components including which vRA node is primary

Reply
0 Kudos
lukez1985
Contributor
Contributor

Is this answer correct enough for you? If so would you mind marking it as correct?

Reply
0 Kudos