Chapter 10. Using REST APIs

In the previous chapter, we discussed how to manage vSphere APIs using PowerCLI. In this chapter, we are going to cover another interesting and helpful topic, REST APIs. In the first part of this chapter, we are going to discuss REST APIs in brief and see how we can manage them using PowerShell. In the next part, we are going to discuss how to manage the vRealize Automation Center by utilizing REST APIs through PowerShell.

We are going to cover the following topics in this chapter:

  • Introducing REST APIs
  • Introduction to JSON
  • The Invoke-RestMethod cmdlet
  • vRealize Automation REST APIs
  • Authenticating and getting a vRealize Automation token
  • Managing tenants
  • Manage machines
  • Managing approvals
  • Managing provisioned resources
  • Managing ...

Get Mastering PowerCLI 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.