Chapter 19

The SDK

In this chapter, you will learn to:

  • Work with the vSphere SDK
  • Use the vSphere API Reference
    • Setting a Host in Maintenance Mode
    • Did the Alarm Fire the SNMP Trap?
    • Finding Metrics for Thin Provisioning
    • Can You Migrate This Guest?
  • Use Managed Objects
    • Managed Object Types
    • Data Objects and Their Methods
    • Using vSphere Managers
    • Managed Object References
  • Code Parameter Objects
  • Find the Method You Need
    • Changing the Boot Delay of a Virtual Machine
    • Finding the Patches Installed on an ESX Host
    • Finding the Host HWuptime
    • Changing the vCenter Logging Options
  • Understand Return Values and Faults
  • Put Some Tips and Tricks to Good Use
    • Waiting for an Asynchronous Task
    • Better Error Handling after Asynchronous Tasks
    • Finding Service Managers ...

Get VMware vSphere™ PowerCLI Reference: Automating vSphere Administration 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.