Interface GlobalUsageApi


  • public interface GlobalUsageApi
    Provides synchronous access to CloudStack usage features.

    See Also:
    • Method Detail

      • generateUsageRecords

        @Named("generateUsageRecords")
        @GET
        @Consumes("application/json")
        JobResult generateUsageRecords​(@QueryParam("startdate")
                                       Date start,
                                       @QueryParam("enddate")
                                       Date end,
                                       GenerateUsageRecordsOptions... options)
      • listUsageRecords

        @Named("listUsageRecords")
        @GET
        @Consumes("application/json")
        Set<UsageRecord> listUsageRecords​(@QueryParam("startdate")
                                          Date start,
                                          @QueryParam("enddate")
                                          Date end,
                                          ListUsageRecordsOptions... options)