Home Data Center Exploring new VCSA VAMI API w/PowerCLI

Exploring new VCSA VAMI API w/PowerCLI

Exploring new VCSA VAMI API w/PowerCLI

A very good series from William Lam about exploring the new VCSA VAMI API with PowerCLI.

One of the most most exciting developments in vSphere 6.5 with respect to Automation is the introduction of several new REST APIs included in the vCenter Server Appliance (VCSA). In addition to covering some of the existing capabilities like vSphere Content Library and Tagging, customers will now have access to a new basic Virtual Machine management API that has been greatly simplified compared to the traditional vSphere SOAP API and access to the VCSA’s Virtual Appliance Management Interface API, also known to most as the VAMI.

A short version of William’s series, here is Part 1:Before getting started, I wanted to mention some of the resources and tips/ricks that I have been using to get started with the new REST APIs:

Once connected, you can retrieve a list of API service endpoints by simply running the following:

You can also filter the results which includes the use of a wildcard character, which is quite nice. The example below will only show API service endpoints for everything under “com.vmware.appliance”:

For a given API endpoint, you can then retrieve the operations that are supported by piping the result to the Get-Method cmdlet (gm for short). Below is an example showing the methods for appliance/system/version which is just the get() method:

Part 2:In Part 2 of this series, its about how to monitor the health of your vCenter Server Appliance (VCSA) by retrieving some of the health metrics that are exposed by the Virtual Appliance Management Interface (VAMI).

Read the entire article here, Exploring new VCSA VAMI API w/PowerCLI

via the fine folks at opvizor.

opvizor opvizor is SaaS company that specializes in solutions for virtualization and cloud computing. These solutions help businesses automate and manage their virtual IT infrastructures within heterogeneous data processing centers, as well as solutions for the prevention of errors and failures. opvizor’s offices are located in Vienna, Austria and Houston, TX, USA. Dennis Zimmer is founder and CEO of the opvizor group.

Featured Resources:

Related Articles:


White Papers

    Application Lifecycle Management with Stratusphere UX – White Paper

    Enterprises today are faced with many challenges, and among those at the top of the list is the struggle surrounding the design, deployment, management and operations that support desktop applications. The demand for applications is increasing at an exponential rate, and organizations are being forced to consider platforms beyond physical, virtual and cloud-based environments. Users […]


      Download Commvault VM Backup and Recovery: end-to-end VM backup, recovery and cloud management

      Commvault’s ability to provide end-to-end VM backup, recovery and cloud management creates a significantly better way to build, protect and optimize VMs throughout their lifecycle. Our best-in-class software for VM backup, recovery and cloud management delivers a number of significant benefits, including: VM recovery with live recovery options; backup to and in the cloud; custom-fit […]

      On-Demand Webinars

        What’s Going on in EUC Printing – A Technical Deep Dive!

        The IGEL Community and ThinPrint invite you to watch the following technical deep dive webinar. The agenda is to technically bring you up to speed on what’s going on in the EUC Printing space today along with a deep dive into new methods, technologies, printing scenarios and a discussion on why printing still matters. You […]

        Latest Videos

          Views All IT News on DABCC.com
          Views All IT Videos on DABCC.com
          Win big $$, visit ITBaller.com for more info!

          Visit Our Sponsors