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
vSphere SDK for Perl Programming Guide
68 VMware, Inc.
MOB(ManagedObjectBrowser)
AWeb‐basedapplicationhostedonallVMwareESX/ESXiandvCenterServersystems.TheMOBletsyou
exploretheobjectsonthesystemandobtaininformationabouteachobject’spropertiesandmethods.
V vSphereAPI
AsetofWebservices,hostedonESX/ESXiandvCenterServersystems,thatprovidesinterfacesto
vSpherecomponentssuchashosts,virtualmachines,anddatacentersandoperationsonthese
components.
view
Aclient‐sidePerlobjectthatthevSphereSDKforPerlhaspopulatedwiththestateofoneor
more
server‐sidemanagedobjects.Clientapplicationsandscriptsworkwithviewobjectsratherthanwiththe
managedentitiesthatexistontheserver.Tocreateaview,calltheappropriatevSphereSDKforPerl
subroutine(Vim::get_view,Vim::get_views,andsoon)withthemanagedobjectreferenceforthe
entity
ofinterest.
virtualappliance
Avirtualmachinethatisprepackagedwithanoperatingsystemandasetofapplications.
virtualization
Separationofaresource‐orservice‐requestfromtheunderlyingphysicaldeliveryofthatservice.
Virtualizationprovidesanabstractionlayerbetweencomputingresources,physicalstorage,networking
hardwareandtheapplicationsthatusethese
resources.Virtualizationcangreatlyenhancethecomputing
environment,optimizingtheuseofavailablephysicalcomponents.Forexample,virtualmemoryenables
computersoftwaretousemorememorythanisphysicallyinstalled,viathebackgroundswappingofdata
todiskstorage.V irtualizationtechniquescanbeappliedtoalllayersofanIT
infrastructuresuchas
networks,storage,laptoporserverhardw are,operatingsystems,andapplications.
vSphereWebServicesSDK
Thepackageofcomponents(WSDL,samplecode,andotherartifacts)requiredfordevelopingJava,C#,
orotherWeb‐services‐enabledclientapplicationsthatinvokeoperationsontheWeb‐services‐based
vSphere API.