What is vRA Cloud Client?

So, you’re wondering what CloudClient is and what you can do with it?

CloudClient is the CLI interface to vRA that you always wanted but had to live through the clicky-clicky GUI experience before anyone told you about it.

The good news is, I’m telling you about it.

CloudClient is a Mac/Linux/Windows tool that you download from [https://code.vmware.com/web/dp/tool/cloudclient/4.4.0]. The latest version at the time of writing this post was 4.4.0. Installation is simple, download the zip file, unzip it and make sure the bin folder ends up in your path.

The pre-req for using it is a working Java JRE/SDK on your system.

Launch the cloudclient.bat (for windows) or cloudclient.sh for OSX / Linux, accept the licence and you’re in business and you’re in the interactive shell. The shell is great for exploring your vRA environment.

The first thing you need to do is login to your vRA environment. There are several ways to do this. The simplest and least secure is to pass the userid and password via the vra login command as shown below.

vra login userpass --user gocallag --tenant vsphere.local --server https://vra1.lab.local --password <password>

I highly recommend downloading the samples and documentation from the same place you downloaded the cloudclient zip file. The documentation is essential to understand what you need to do, but if you’re stuck you can hit tab and it will command complete for you.

One of the first things that you’ll want to do is to list what is in your catalog and submit a request. Well, it was the first thing I wanted to do.

vra catalog list

Select one items and kick it off.

You can watch the progress in the vRA web client, or from cloudclient itself.

and when it’s complete

looking in detail at the request

Voila!

More to come.