O'Reilly logo

Mastering PowerCLI by Sajal Debnath

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required