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 TypeMethodDescriptionRetrieve tenant_usage for a specified tenantcom.google.common.collect.FluentIterable
<SimpleTenantUsage> list()
Retrieve tenant usage for all tenants.
-
Method Details
-
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
-