Using the Cloud Client as an interactive shell provides a easy-to-use utility for performing many common VMware Cloud Management Platform Functions
Launching Cloud Client
Use the following procedure to launch Cloud Client on Windows.
Use the following procedure to launch Cloud Client on Linux or MacOSX.
You may also add CloudClient bin directory to PATH and then run cloudclient.bat or cloudclient.sh directly without the need to change the directories to the directory where you extracted the CloudClient files.
The Cloud Client interface appears.
Automatic login can also be achieved with having a CloudClient.properties file in place, in order to generate this open the shell and run:
login autologinfile
# CloudClient.Properties File used to automatically login to CloudClient and it should be located in the same directory as bin and lib folders.
# Passwords can be provided or simply encrypted to a file, use command:
# login keyfile --file mypass.txt --password mypassword
#vra_server : vRealize Automation Virtual Appliance
vra_server=
#vra_tenant : Tenant Name, defaults to vsphere.local
vra_tenant=
#vra_username : SSO username in the form user@domain.com
vra_username=
#vra_password : SSO password
vra_password=
#vra_keyfile : Encrypted file location of SSO password
vra_keyfile=
# Some Administrator level API calls required Windows Authentication to communicate to the vCAC Infrastructure Service Components
#vra_iaas_server : Infrastructure Server (Windows Authentication), defaults to finding the name dynamically from vCAC
vra_iaas_server=
#vra_iaas_username : Windows username in the form domain\user
vra_iaas_username=
#vra_iaas_username : Windows password
vra_iaas_password=
#vra_iaas_username : Encrypted file location of Windows password
vra_iaas_keyfile=
CloudClient commands can be executed from the CloudClientLauncher class and the results can be queried, use the --format JSON parameter to parse JSON responses
The below images shows how to login and return all vCAC Catalog Items in JSON format
CloudClient has some common parameters for all commands
Table Format
CSV Format
JSON Format
Copyright 2016 VMware, Inc. All rights reserved.