Interface SimpleTenantUsageApi


  • @Beta
    @Consumes("application/json")
    @Path("/os-simple-tenant-usage")
    public interface SimpleTenantUsageApi
    Provides access to the OpenStack Compute (Nova) Simple Tenant Usage extension API.
    • Method Detail

      • list

        @Named("tenantUsage:list")
        @GET
        com.google.common.collect.FluentIterable<SimpleTenantUsage> list()
        Retrieve tenant usage for all tenants.
        Returns:
        the set of TenantUsage reports
      • get

        @Named("tenantUsage:get")
        @GET
        @Path("/{id}")
        @Nullable
        SimpleTenantUsage get​(@PathParam("id")
                              String tenantId)
        Retrieve tenant_usage for a specified tenant
        Returns:
        the requested tenant usage