Accessing Property
Values
Each property is defined as a specific data
type and can be one of the following.
Property
| Example
|
---|---|
Simple data type, such as a
string, Boolean, numeric, or dateTime.
| The
ManagedEntity managed object has a
name property of type string.
|
Array of simple data types
or data objects.
| A
HostSystem managed object contains an array of
virtual machines that are hosted by the corresponding physical machine.
|
Enumeration (enum) of
predefined values. The values can be a collection of simple data types or data
objects.
| A virtual machine's power
state can be a
poweredOn ,
poweredOff , or
suspended string value.
|
Complex data type called
data object (part of the vSphere object model).
| AboutInfo ,
Action , and
ServiceContent are all data objects.
|