public interface NetQuotaService extends RestService
Modifier and Type | Method and Description |
---|---|
List<? extends NetQuota> |
get()
Lists quotas for tenants who have non-default quota values, and lists, updates, and resets quotas for a tenan
|
NetQuota |
get(String tenantId)
Fetches the network quotas for the specified tenant
|
ActionResponse |
reset()
Resets the current network quota for the current tenant back to defaults
|
ActionResponse |
reset(String tenantId)
Resets the current network quota for the current tenant back to defaults
|
NetQuota |
update(NetQuota netQuota)
Updates the network quotas for the current tenant
|
NetQuota |
updateForTenant(String tenantId,
NetQuota netQuota)
Updates the network quotas for the specified tenant
|
List<? extends NetQuota> get()
NetQuota get(String tenantId)
tenantId
- the tenant identifierNetQuota update(NetQuota netQuota)
netQuota
- the net quota to updateNetQuotaBuilder
NetQuota updateForTenant(String tenantId, NetQuota netQuota)
tenantId
- the tenant identifiernetQuota
- the net quota to updateNetQuotaBuilder
ActionResponse reset()
ActionResponse reset(String tenantId)
netQuota
- the net quota to updateCopyright © 2017. All rights reserved.