Package org.ovirt.engine.sdk4.services
Interface VmSessionsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
VmSessionsServiceImpl
public interface VmSessionsService extends Service
Provides information about virtual machine user sessions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VmSessionsService.ListRequest
Lists all user sessions for this virtual machine.static interface
VmSessionsService.ListResponse
Lists all user sessions for this virtual machine.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmSessionsService.ListRequest
list()
Lists all user sessions for this virtual machine.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.VmSessionService
sessionService(String id)
Reference to the service that manages a specific session.
-
-
-
Method Detail
-
list
VmSessionsService.ListRequest list()
Lists all user sessions for this virtual machine. For example, to retrieve the session information for virtual machine `123` send a request like this: [source] ---- GET /ovirt-engine/api/vms/123/sessions ---- The response body will contain something like this: [source,xml] ----true 192.168.122.1
-
sessionService
VmSessionService sessionService(String id)
Reference to the service that manages a specific session.
-
-