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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SimpleTenantUsage
get(String tenantId)
Retrieve tenant_usage for a specified tenantcom.google.common.collect.FluentIterable<SimpleTenantUsage>
list()
Retrieve tenant usage for all tenants.
-
-
-
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
-
-