6.0
Table Of Contents
- vSphere SDK for Perl Programming Guide
- Contents
- Getting Started with vSphere SDK for Perl
- Writing vSphere SDK for Perl Scripts
- Refining vSphere SDK for Perl Scripts
- Creating and Using Filters
- Filtering Views Selectively Using Properties
- Retrieving the ServiceInstance Object on a vSphere Host
- Saving and Using Sessions
- Using Multiple Sessions
- Learning About Object Structure Using Data::Dumper
- Specifying Untyped Arguments in Scheduled Tasks and Callbacks
- Using Advanced Subroutines
- vSphere SDK for Perl Subroutine Reference
- Web Services for Management Perl Library
- Credential Store Perl Library
VMware, Inc. 7
Thisbook,thevSphereSDKforPerlProgrammingGuide,providesinformationaboutwritingandrunning
VMware
®
vSphereSDKforPerlscriptsonESX/ESXiorvCenterServersystems.
BecauseSDKsubroutinesallowyoutomanagevSpherehostsusingvSphereAPIcalls,abriefdescriptionof
theserver‐sideobjectmodelisincluded.Thisguidefocusesonexplaininghowtoaccessandmodify
server‐sideobjectsusingthevSphere
SDKforPerlandondiscussingsomeprogrammingtechniques.
Revision History
Thisguideisrevisedwitheachreleaseoftheproductorwhennecessary.Arevisedversioncancontainminor
ormajorchanges.Table 1summarizesthesignificantchangesineachversionofthisguide.
Intended Audience
ThisbookisintendedforadministratorswithdifferentlevelsofPerlscriptingexperience:
About This Book
IMPORTANTThisbookdiscussestheSDKforPerlthatallowsyoutoaccessvSpherebyusingthevSphereWeb
ServicesSDK,whichisavailableforallsupportedversionsofvSphere.ThisbookdoesnotdiscussPerl
bindingstovAPI,whichisbeingreleasedwithvSphere6.0forthefirsttime.
Table 1. Revision History
Revision Description
12MAR2015 vSphereSDKforPerl6.0.AddingconnectionoptionsforSSOandthumbprintoptionto
credstore_admin.
19SEP2013 vSphereSDKforPerl5.5.Nochangestotheproduct.
10SEP2012 vSphereSDKforPerl5.1.Nochangestotheproduct.
15MAR2012 Thesection“GenericOperationswiththeStubOps.pmObject‐OrientedWrapper”hasbeenremoved.
in
thevSphere5.0Update1versionoftheproduct.Thefunctionalityisnolongersupported.Use
WSMan::GenericOpsinstead.
22AUG2011 Minorbugfixes.AddedinformationaboutWSManstubobjectsbeingdeprecated(useGenericObjects
instead).
13JUL2010 Updatedproductversionandcopyright.Nocontentchanges.
07MAY2009 UpdateforvSph ereSDKforPerl4.0.Renamedproducts.
Added
Appendix B,“CredentialStorePerlLibrary,”onpage 61.
25JUL2008 UpdateforVIPerlToolkit1.6.
Addedinformationonusingmultiplesessions.
AddedAppendix A,“WebServicesforManagementPerlLibrary,”onpage 51.
10JAN2008 UpdateforVIPerlToolkit1.5.Documentationbugfixesandsomeclarificationsandadditions.
05JAN2007 FirstversionofthedocumentationfortheVI
PerlToolkit1.0.