Package org.ovirt.engine.sdk4.services
Interface EventSubscriptionService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
EventSubscriptionServiceImpl
public interface EventSubscriptionService extends Service
A service to manage a specific event-subscription in the system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EventSubscriptionService.GetRequest
Gets the information about the event-subscription.static interface
EventSubscriptionService.GetResponse
Gets the information about the event-subscription.static interface
EventSubscriptionService.RemoveRequest
Removes the event-subscription from the system.static interface
EventSubscriptionService.RemoveResponse
Removes the event-subscription from the system.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventSubscriptionService.GetRequest
get()
Gets the information about the event-subscription.EventSubscriptionService.RemoveRequest
remove()
Removes the event-subscription from the system.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
get
EventSubscriptionService.GetRequest get()
Gets the information about the event-subscription. For example to retrieve the information about the subscription of user '123' to the event 'vm_console_detected': .... GET /ovirt-engine/api/users/123/vm_console_detected .... [source,xml] ----vm_console_detected smtp [email protected]
-
remove
EventSubscriptionService.RemoveRequest remove()
Removes the event-subscription from the system. For example to remove user 123's subscription to `vm_console_detected` event: .... DELETE /ovirt-engine/api/users/123/vm_console_detected ....
-
-