1. Home
  2. Data Center
  3. Exploring new VCSA VAMI API w/PowerCLI

Exploring new VCSA VAMI API w/PowerCLI

0
0

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.

Categories:
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:

| LATEST FEATURED RESOURCES

White Papers

‘All You Need to Know About Microsoft Windows Nano Server’ Veeam White Paper

Now updated for Windows Server 2016 GA release! You probably heard about Windows Nano Server already … but what is it exactly, and how do you get started with it? What value will it bring to your environment? Nano Server is a headless, 64-bit only deployment option for Windows Server 2016. Microsoft created this component specifically with […]

Downloads

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

Architecting for today’s desktop environments – FSLogix On-Demand Webinar

October 19, 2017 Webinar with David Young, Solutions Architect and Product Champion, and Brandon Lee, Solutions Marketer. Video Recording of a live demo of FSLogix and an overview of the latest release of FSLogix Apps featuring Roaming XenApp Email Search and OneDrive App along with Skype for Business Global Address List and Device Based Licensing. […]

Latest Videos

Current State of EUC – E2EVC Video

Session from @E2EVC 2017 Orlando. For event information please visit www.e2evc.com/home. For slides, additional info etc please contact the presenter directly on Twitter. For best video and sound quality do visit the event! This video is from the fine folks at E2EVC Conference

Views All IT News on DABCC.com
Views All IT Videos on DABCC.com
Win a Tesla P100D

Visit Our Sponsors