6.0

Table Of Contents
VMware, Inc. 25
Chapter 2 Writing vSphere SDK for Perl Scripts
Figure 2-1. Managed Object Browser
Types of Managed Objects and the Managed Object Hierarchy
AmanagedobjectistheprimarytypeofobjectinthevSphereobjectmodel.Amanagedobjectisadatatype
availableontheserverthatconsistsofpropertiesandoperations.Eachmanagedobjecthaspropertiesand
providesvariousservices(operationsormethods).Figure 22showstheExtensibleManagedObject
hierarchyasan
example.See“ManagedEntitiesintheInventory”onpage 26.
Figure 2-2. ExtensibleManagedObject Hierarchy
Managedobjectsdefinetheentitiesintheinventoryandalsocommonadministrativeandmanagement
servicessuchasmanagingperformance(PerformanceManager),findingentitiesthatexistintheinventory
(SearchIndex),disseminatingandcontrollinglicenses(LicenseManager),andconfiguringalarmsto
respond
tocertainevents(AlarmManager).SeethevSphereAPIReference.
Amanagedobjectreference(representedbyaManagedObjectReference)identifiesaspecificmanaged
objectontheserver,encapsulatesthestateandmethodsofthatserversideobject,andmakesthestateand
methodsavailabletoclientapplications.Clientsrunmethods(operations)on
theserverbypassingthe
appropriatemanagedobjectreferencetotheserveraspartofthemethodinvocation.