# Data Object - Event(vim.event.Event)

Property of
  DasConfigFault, EventHistoryCollector, EventManager, ManagedEntity, SnapshotRevertIssue
Parameter to
  PostEvent
Returned by
  QueryEvents, ReadNextEvents, ReadPreviousEvents, ValidateMigration
Extended by
  AlarmEvent, AuthorizationEvent, ClusterEvent, CustomFieldEvent, DatacenterEvent, DatastoreEvent, DVPortgroupEvent, DvsEvent, EventEx, GeneralEvent, HealthStatusChangedEvent, HostEvent, HostInventoryUnreadableEvent, LicenseEvent, LicenseExpiredEvent, LockerMisconfiguredEvent, LockerReconfiguredEvent, NetworkRollbackEvent, ProfileEvent, ResourcePoolEvent, ScheduledTaskEvent, SessionEvent, TaskEvent, TemplateUpgradeEvent, UpgradeEvent, VmEvent
Extends
  DynamicData
See also
  ComputeResourceEventArgument, DatacenterEventArgument, DatastoreEventArgument, DvsEventArgument, HostEventArgument, NetworkEventArgument, VmEventArgument
Since
  2.0

## Data Object Description

This event is the base data object type from which all events inherit. All event objects are data structures that describe events. While event data objects are data structures that describe events, event data type documentation may describe what the event records, rather than the data structure, itself.

Properties

Name | Type | Description
--- | --- | ---
chainId | xsd:int | The parent or group ID.
changeTag* | xsd:string | The user entered tag to identify the operations and their side effects Since vSphere API 4.0
computeResource* | ComputeResourceEventArgument | The ComputeResource object of the event.
createdTime | xsd:dateTime | The time the event was created.
datacenter* | DatacenterEventArgument | The Datacenter object of the event.
ds* | DatastoreEventArgument | The Datastore object of the event. Since vSphere API 4.0
dvs* | DvsEventArgument | The DistributedVirtualSwitch object of the event. Since vSphere API 4.0
fullFormattedMessage* | xsd:string | A formatted text message describing the event. The message may be localized.
host* | HostEventArgument | The Host object of the event.
key | xsd:int | The event ID.
net* | NetworkEventArgument | The Network object of the event. Since vSphere API 4.0
userName | xsd:string | The user who caused the event.
vm* | VmEventArgument | The VirtualMachine object of the event.
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="Event"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="key" type="xsd:int"/> <element name="chainId" type="xsd:int"/> <element name="createdTime" type="xsd:dateTime"/> <element name="userName" type="xsd:string"/> <element name="datacenter" type="vsan:DatacenterEventArgument" minOccurs="0"/> <element name="computeResource" type="vsan:ComputeResourceEventArgument" minOccurs="0"/> <element name="host" type="vsan:HostEventArgument" minOccurs="0"/> <element name="vm" type="vsan:VmEventArgument" minOccurs="0"/> <element name="ds" type="vsan:DatastoreEventArgument" minOccurs="0"/> <element name="net" type="vsan:NetworkEventArgument" minOccurs="0"/> <element name="dvs" type="vsan:DvsEventArgument" minOccurs="0"/> <element name="fullFormattedMessage" type="xsd:string" minOccurs="0"/> <element name="changeTag" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>