Package org.ovirt.engine.sdk4.services
Interface EventService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
EventServiceImpl
public interface EventService extends Service
A service to manage an event in the system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EventService.GetRequest
Get an event.static interface
EventService.GetResponse
Get an event.static interface
EventService.RemoveRequest
Removes an event from internal audit log.static interface
EventService.RemoveResponse
Removes an event from internal audit log.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventService.GetRequest
get()
Get an event.EventService.RemoveRequest
remove()
Removes an event from internal audit log.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
get
EventService.GetRequest get()
Get an event. An example of getting an event: [source] ---- GET /ovirt-engine/api/events/123 ---- [source,xml] ----Host example.com was added by admin@internal-authz. 42
135 -1 30 oVirt normal
-
remove
EventService.RemoveRequest remove()
Removes an event from internal audit log. An event can be removed by sending following request [source] ---- DELETE /ovirt-engine/api/events/123 ----
-
-