Data Object - EventEx

See also
KeyAnyValue, LocalizedMethodFault
vSphere API 4.0

Data Object Description

EventEx is a dynamically typed Event class, whose type is indicated by its eventTypeId property.

A collection of eventTypeIds is registered by Extensions, which can now pass in optional type information for each eventTypeId which indicates the applicable argument names and types, among other properties.

EventEx allows event arguments of any type, though today, the system only supports "string" and "moid" (a string which can be interpreted as an object ID in the system) as argument types. In the future, the system may optionally strongly check the types of the arguments in the event against the declared type information, based on how the event type is declared.

EventEx also allows arbitrary "event object"s - the object which the event refers to. You can put in any object identifier as the objectId, but objectType should be filled in only if the object is actually present in the VC Server's ManagedEntity inventory.


Name Type Description

The event arguments associated with the event

The type of the event.

The fault that triggered the event, if any

Since vSphere API 4.1

An arbitrary message string, not localized.

The ID of the object (VM, Host, Folder..) which the event pertains to. Federated or local inventory path.

The name of the object

Since vSphere API 4.1

the type of the object, if known to the VirtualCenter inventory

The severity level of the message: null=>info.
See EventEventSeverity

Properties inherited from Event
chainId, changeTag, computeResource, createdTime, datacenter, ds, dvs, fullFormattedMessage, host, key, net, userName, vm
Properties inherited from DynamicData
dynamicProperty, dynamicType
*Need not be set
Show WSDL type definition