Managed Object - EventManager

Property of
ServiceContent
See also
Event, EventArgDesc, EventDescription, EventFilterSpec, EventHistoryCollector, ManagedEntity, TaskInfo
Since
null


Managed Object Description

Properties

Name Type Description
description PEventDescription


latestEvent* PEvent


maxCollector Pxsd:int


*May not be presentP Required privilege: System.View

Methods

Methods defined in this Managed Object
CreateCollectorForEvents, LogUserEvent, PostEvent, QueryEvents, RetrieveArgumentDescription

CreateCollectorForEvents

Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the EventManager used to make the method call.
filter PEventFilterSpec

Since null
P Required privilege: filter

Return Value

Type Description
ManagedObjectReference
to a EventHistoryCollector

Faults

Type Description
InvalidState
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



LogUserEvent

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the EventManager used to make the method call.
entity PManagedObjectReference
to a ManagedEntity

Since null
msg Pxsd:string

Since null
PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



PostEvent

Required Privileges
Global.LogEvent
Since
VI API 2.5

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the EventManager used to make the method call.
eventToPost PEvent

Since VI API 2.5
taskInfo* PTaskInfo

Since VI API 2.5
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
InvalidEvent
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



QueryEvents

Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the EventManager used to make the method call.
filter PEventFilterSpec

Since null
P Required privilege: filter

Return Value

Type Description
Event[]

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



RetrieveArgumentDescription

Required Privileges
System.View
Since
vSphere API 4.0

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the EventManager used to make the method call.
eventTypeId Pxsd:string

Since vSphere API 4.0
P Required privilege: eventTypeId

Return Value

Type Description
EventArgDesc[]

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None