18.08.2013 Views

vSphere SDK for Perl Programming Guide - Documentation - VMware

vSphere SDK for Perl Programming Guide - Documentation - VMware

vSphere SDK for Perl Programming Guide - Documentation - VMware

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 2-1. Managed Object Browser<br />

Types of Managed Objects and the Managed Object Hierarchy<br />

Chapter 2 Writing <strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> Scripts<br />

A managed object is the primary type of object in the <strong>vSphere</strong> object model. A managed object is a data type<br />

available on the server that consists of properties and operations. Each managed object has properties and<br />

provides various services (operations or methods). Figure 2‐2 shows the ExtensibleManagedObject<br />

hierarchy as an example. See “Managed Entities in the Inventory” on page 26.<br />

Figure 2-2. ExtensibleManagedObject Hierarchy<br />

Managed objects define the entities in the inventory and also common administrative and management<br />

services such as managing per<strong>for</strong>mance (Per<strong>for</strong>manceManager), finding entities that exist in the inventory<br />

(SearchIndex), disseminating and controlling licenses (LicenseManager), and configuring alarms to<br />

respond to certain events (AlarmManager). See the <strong>vSphere</strong> API Reference.<br />

A managed object reference (represented by a ManagedObjectReference) identifies a specific managed<br />

object on the server, encapsulates the state and methods of that server‐side object, and makes the state and<br />

methods available to client applications. Clients run methods (operations) on the server by passing the<br />

appropriate managed object reference to the server as part of the method invocation.<br />

<strong>VMware</strong>, Inc. 25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!