Event Manager Create Collector For Events
Creates an event history collector, which is a specialized history collector that provides Event objects.
Event collectors do not persist beyond the current client session.
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case EventManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"CreateCollectorForEventsRequestType Object"
The event query filter.
The event collector based on the filter.
"MoRefEventHistoryCollector Object"
InvalidArgument: if the filter is null or if any of its fields is invalid, such as an invalid reference to a managed object, alarm, or scheduled task, or an invalid event type or event chain id, etc.
InvalidState: if there are more than the maximum number of event collectors.
"InvalidState Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/EventManager/{moId}/CreateCollectorForEvents