Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The vCloud Director portal gives you access to manage your Virtual Data Centre as well as its VMs, network configuration, firewall, vCloud Availability replication, and VDC Backups.

You can access vCloud from MyAccount or directly via the vCloud director Portal URL for your availability zone.

Accessing vCloud from MyAccount

  1. Log in to MyAccount:

  2. Click “My Services” in top menu

  3. Click the Service ID of your Virtual Data Centre subscription (or VDC Backup).

  4. View the username in the “Cloud Director” and/or click the clipboard icon to copy the username to your clipboard.

  5. Click the “Manage” button and choose “Login to vCloud Director”

  6. A new tab will open with the vCloud director portal for your availability Zone.

  7. Select a Data Centre or a menu option to see the information you require.

    • For VDC Backup or vCloud Availability choose these options from the “More” menu item in top menu.

Accessing vCloud Portal directly

If you want to access the vCloud portal directly

Preparation

  1. Obtain your vCloud username. You can get this from MyAccount as described above or by contacting Zettagrid support and authenticating yourself. It will normally by in the form “cloud123456”

  2. Obtain your vCloud organisation name. You can see your vCloud organisation ID in the URL when you click “Login to vCloud Director” as described above. This is usually “Org_” followed by your vcloud username - e.g. “Org_cloud1213456”.

Access vCloud Portal

the everything inside your virAPI is a powerful tool for getting information about your vCloud Org VDCs, networking, vApps, VMs and everything else. You can use it for automate all aspects of vCloud Director, such as VM deployment and usage reports.

Zettagrid API endpoint Url

vCloud Directory API Reference Guide: https://code.vmware.com/apis/1159/vmware-cloud-director

vCloud API can be accessed by most of the RESTful API tool such as Postman and scripting tool such as PowerShell and Python. Please be advised, Zettagrid doesn’t provide any technical support of vCloud Director API and the API tools.

Here is an example of how to access Zettagrid Perth Zone vCloud API by using PowerShell.

  • Download this zip file and unzip it to your local machine.

  • Follow the instruction below to use this vCloud API Powershell Module.

#Open a Powershell Window as Administrator. Import the vCloud API module as following
Import-Module <Path to vcloud.psm1 file>

#Run the following command to login to vCloud by using your Org administrator login details. You will see a `x-vcloud-authorization` token if login successfully.
New-vCloudLogin –Username "cloud123456@org_cloud123456" –Password "YOUR_vCLoud_Password" -url "https://mycloud.per.zettagrid.com/api"

#Example getting a list of VMs including resources allocation. 
$VMS = Get-vCloudRequest –EndPoint "query?type=vm"

#Export the output to a CSV file. 
$VMS.QueryResultRecords.VMRecord | ConvertTo-Csv | Out-File C:\Scripts\mj\vcloud.csv

  • No labels