An enumerated data type (or, simply, an enumeration) is a data object that stores a specific set of pre-defined values or objects. Enumerated data types serve the same purpose as constants. For example, a VirtualMachinePowerState enumerated type comprises a set of three pre-defined string values that can be used to convey the runtime state of a virtual machine:
Enumerated type values can be passed to or returned by the operations of a managed object. Properties of managed objects or data objects may also be defined using enumerated types.
All enumerations are listed in the frame at the left of this page. Click a name to display the reference documentation for the enumeration. Reference documentation for enumerated types typically includes:
To quickly find any entry, start typing its name in the Quick Index.
Back to Home