Interface StatisticsService.ListRequest

  • All Superinterfaces:
    Request<StatisticsService.ListRequest,​StatisticsService.ListResponse>
    Enclosing interface:
    StatisticsService

    public static interface StatisticsService.ListRequest
    extends Request<StatisticsService.ListRequest,​StatisticsService.ListResponse>
    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 ... ---- Just a single part of the statistics can be retrieved by specifying its id at the end of the URI. That means: [source] ---- GET /ovirt-engine/api/vms/123/statistics/456 ---- Outputs: [source,xml] ---- memory.installed Total memory configured gauge integer bytes 1073741824 ---- The order of the returned list of statistics isn't guaranteed.