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 Summary

    Modifier and Type
    Method
    Description
    get(String tenantId)
    Retrieve tenant_usage for a specified tenant
    com.google.common.collect.FluentIterable<SimpleTenantUsage>
    Retrieve tenant usage for all tenants.
  • Method Details

    • 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