@Beta
@Consumes(value="application/json")
@Path(value="/os-quota-sets")
public interface QuotaApi
| Modifier and Type | Method and Description |
|---|---|
Quota |
getByTenant(String tenantId) |
Quota |
getDefaultsForTenant(String tenantId) |
boolean |
updateQuotaOfTenant(Quota quota,
String tenantId)
Update the quotas for a given tenant
|
@Named(value="quota:get")
@GET
@Path(value="/{id}")
@Nullable
Quota getByTenant(@PathParam(value="id")
String tenantId)
@Named(value="quota:update")
@PUT
@Path(value="/{id}")
@Produces(value="application/json")
boolean updateQuotaOfTenant(Quota quota,
@PathParam(value="id")
String tenantId)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.