6.0

Table Of Contents
vSphere SDK for Perl Programming Guide
26 VMware, Inc.
Managed Object Hierarchy
TheServiceContentserversideobjectprovidesaccesstoallotherserversideobjects.Eachpropertyofthe
ServiceContentobjectisareferencetoaspecificmanagedobject.Youmustknowthosepropertynamesto
accesstheotherobjects.YoucanusetheMOB(see“UsetheManagedObjectBrowsertoExplore
ServerSide
Objects”onpage 24)orusetheAPIReferencedocumentation.
ThevSphereAPIReferenceGuidecontainsdefinitionsofallserversideobjectsandtheirpropertiesandmethods.
YoucanthereforeusethevSphereAPIReferenceGuidetoidentifythelistofparametersandoperationsthatyou
canusewith
specificvSphereSDKforPerlviewsthatyoucreateandmanipulateinyourcode.
To view documentation for server-side objects
1FindthevSphereAPIReferenceGuide,availablefromtheVMwareAPIsandSDKsDocumentationpage.
2ClickAllTypestoseealistofallmanagedobjecttypes.
3FindtheServiceContentobject.
ServiceContentprovidesaccessservices,such
asPerformanceManager,andtoinventoryobjects,
whichallowyoutoaccesstheentitiesinthevirtualdatacentersuchashosts(HostSystem)andvirtual
machines(VirtualMachine).ServiceContent propertiesalsoallowaccesstoothermanagedobjects,
forexample:
TherootFolderpropertyisaManagedObjectReferencetoaFoldermanagedobjecttype.
TheperfManagerpropertyisaManagedObjectReferencetoaspecificinstanceofa
PerformanceManagermanagedobjecttype,andsoon.
ThevSphereClientdisplaysthehierarchyofinventoryobjects.ThevSphereClientusestheinformationabout
theobjects(thepropertiesandtherelationshipsamongthem)forthedisplay.Forinformationaboutthe
vSphereClientandhowtoworkwithitsdisplay,seethedocumentsinthevSphereonlinelibrary
Managed Entities in the Inventory
Theinventoryconsistsofthemanagedentitiesontheserver.Amanagedentityisamanagedobjectthat
extendstheManagedEntitymanagedobjecttype.ManagedEntityisanabstractclassthatdefinesthebase
propertiesandoperationsforvSpheremanagedobjectssuchasdatacentersandhosts.SeeFigure 22foran
overview.
ThefollowingmanagedobjecttypesextendtheManagedEntitysuperclass:
DatacenterContainsothermanagedentities,includingfolders,virtualmachines,andhostsystems.A
vCenterServerinstancecansupportmultipledatacenters,butanESX/ESXihostsupportsonlyone
datacenter.
DatastoreRepresentslogicalstoragevolumesonwhichtostorevirtualmachinefilesandotherdata.
Distributed Virtual SwitchInterfacefortheVMwaredistributedvirtualswitch(DVS).
FolderContainsreferencestootherentities,forexample,otherfolders(Folder)orhosts(HostSystem).
HostSystemProvidesaccesstoavirtualizationhostplatform.
NetworkAbstractionforaphysicalorvirtualnetwork(VLAN).
VirtualMachineRepresentsasinglevirtualmachine.
ResourcePoolAllowsyoutocombineCPUandmemoryresourcesfrommultiplehostsandtoestablish
rulesfordividingthoseresourcesamongallvirtualmachinesassociatedwiththesehosts.
ClusterComputeResourceRepresentsaclusterofHostSystemobjects.Administratorscreateclusters
tocombinetheCPUandmemoryresourcesofhostsandtosetupVMwareHAorVMwareDRSforthose
clusters.SeetheResourceManagementGuide,whichispartofthevSpheredocumentationset.
ComputeResourceAbstractsahostsystem’sphysicalresourcesandallowsyoutoassociatethose
resourceswiththevirtualmachinesthatrunonthehost.
VirtualServiceContainerforoneormorevirtualmachinesanassociatedobjectpackageusingopen
virtualformat(OVF).