# Data Object - EventEx(vim.event.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
eventTypeId | xsd: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
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="EventEx"> <complexContent> <extension base="vsan:Event"> <sequence> <element name="eventTypeId" type="xsd:string"/> <element name="severity" type="xsd:string" minOccurs="0"/> <element name="message" type="xsd:string" minOccurs="0"/> <element name="arguments" type="vsan:KeyAnyValue" minOccurs="0" maxOccurs="unbounded"/> <element name="objectId" type="xsd:string" minOccurs="0"/> <element name="objectType" type="xsd:string" minOccurs="0"/> <element name="objectName" type="xsd:string" minOccurs="0"/> <element name="fault" type="vsan:LocalizedMethodFault" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>