Chapter 14. Using REST API to manage NSX and vRealize Automation

Not all of the VMware products have native support in PowerCLI. Luckily, most VMware products have a representational state transfer (REST) API. PowerShell has the Invoke-RestMethod cmdlet that makes it the easy-to-use REST APIs. In this chapter, we will focus on using REST APIs from PowerCLI. We will use examples from VMware NSX and VMware vRealize Automation to show you the power of the REST APIs.

Just like VMware vSphere is VMware's product for compute virtualization, VMware NSX is VMware's product for network virtualization. It offers distributed switching and routing, distributed firewalling, load balancing, Network Address Translation (NAT), Virtual Private Network (VPN), and ...

Get Learning PowerCLI - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.