Package org.ovirt.engine.sdk4.services
Interface StatisticsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
StatisticsServiceImpl
public interface StatisticsService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StatisticsService.ListRequest
Retrieves a list of statistics.static interface
StatisticsService.ListResponse
Retrieves a list of statistics.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatisticsService.ListRequest
list()
Retrieves a list of statistics.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.StatisticService
statisticService(String id)
-
-
-
Method Detail
-
list
StatisticsService.ListRequest list()
Retrieves a list of statistics. For example, to retrieve the statistics for virtual machine `123` send a request like this: [source] ---- GET /ovirt-engine/api/vms/123/statistics ---- The result will be like this: [source,xml] ----memory.installed Total memory configured gauge integer bytes 1073741824 memory.installed Total memory configured gauge integer bytes 1073741824
-
statisticService
StatisticService statisticService(String id)
-
-