The interaction model between the SDK and the vSphere API on the host directly affects how each script is structured, and is the basis for troubleshooting.
vSphere SDK for Perl subroutines interact with the host and perform variations of the following basic tasks.
Most routines retrieve a vSphere API object and make it available as a Perl object, called a view object, that you can then manipulate with your script.
The vSphere SDK for Perl has the following components.
A vSphere SDK for Perl installation also includes the following libraries.
■
|
Web Services for Management Perl Library and Examples – The WS-Management Perl Library allows you to write scripts that retrieve CIM data from the ESXi host using CIMOM, a service that provides standard CIM management functions over a WBEM (Web-Based Enterprise Management). See Web Services for Management Perl Library. |
■
|
Credential Store Library and Examples – Allows vSphere SDK for Perl applications to manage the vSphere credential store. The credential store allows vSphere SDK for Perl scripts to authenticate themselves to ESX/ESXi or vCenter Server systems. See Credential Store Perl Library. |
■
|
vCLI Commands - Set of host management commands and a set of DCLI commands for managing vCenter services. |