|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| description P | EventDescription | Static descriptive strings used in events. |
| latestEvent* P | Event | The latest event that happened on the VirtualCenter server. |
| maxCollector P | xsd:int | For each client, the maximum number of event collectors that can exist simultaneously. |
Methods
| Methods defined in this Managed Object |
|---|
| CreateCollectorForEvents, LogUserEvent, QueryEvents |
Event collectors do not persist beyond the current client session.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the EventManager used to make the method call. |
| filter | EventFilterSpec | The event query filter. |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a EventHistoryCollector | The event collector based on the filter. |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if the filter is null or unknown. |
| InvalidState | Thrown if there are more than the maximum number of event collectors. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the EventManager used to make the method call. |
| entity P | ManagedObjectReference
to a ManagedEntity | The entity against which the event is logged. The entity must be the root folder, a DataCenter, a VirtualMachine, a HostSystem, or a ComputeResource. |
| msg | xsd:string | The message to be logged. |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if the entity is of a wrong type or the "msg" string is empty. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the EventManager used to make the method call. |
| filter | EventFilterSpec | The events qualified. |
Return Value
| Type | Description |
|---|---|
| Event[] | The events in the chain. |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |