VMware Cloud Community
vernon_wells
Contributor
Contributor

Is there a primer to help someone get started with the new REST API's in 6.5?

I am looking for a few examples of how to do something really basic like a get-vm through the API like I use in Powercli all the time.

0 Kudos
2 Replies
LucD
Leadership
Leadership

There is the series by William, see Exploring new VCSA VAMI API w/PowerCLI: Part 1

This series is based on the Get-CisService cmdlet, which abstracts a bit of the raw REST API.

I did a module, named rCisTag, which uses the Invoke-RestMethod to make the calls.

And there are a number of other REST API implementations available in the wild, Google is your friend :smileygrin:


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos