Data Object - EventEx

Extends
Event
See also
KeyAnyValue, LocalizedMethodFault
Since
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.

Properties

Name Type Description
arguments*KeyAnyValue[]

The event arguments associated with the event
eventTypeIdxsd:string

The type of the event.
fault*LocalizedMethodFault

The fault that triggered the event, if any

Since vSphere API 4.1
message*xsd:string

An arbitrary message string, not localized.
objectId*xsd:string

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

The name of the object

Since vSphere API 4.1
objectType*xsd:string

the type of the object, if known to the VirtualCenter inventory
severity*xsd:string

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