public interface BlockQuotaSetService extends RestService
| Modifier and Type | Method and Description |
|---|---|
ActionResponse |
delete(String tenantId)
Deletes quotas for a tenant so the quotas revert to default values
|
BlockQuotaSet |
get(String tenantId)
Gets quotas for a tenant
|
BlockQuotaSet |
getDefaults(String tenantId)
Gets default quotas for a tenant
|
BlockQuotaSet |
updateForTenant(String tenantId,
BlockQuotaSet quota)
Updates quotas for a tenant
|
BlockQuotaSetUsage |
usageForTenant(String tenantId)
Gets details for quotas for a specified tenant
|
BlockQuotaSetUsage |
usageForUser(String tenantId,
String userId)
Gets details for quotas for a specified tenant and user.
|
BlockQuotaSet getDefaults(String tenantId)
tenantId - the tenant identifierBlockQuotaSet get(String tenantId)
tenantId - the tenant identifierBlockQuotaSet updateForTenant(String tenantId, BlockQuotaSet quota)
tenantId - the tenant identifierquota - the quota-set to updateActionResponse delete(String tenantId)
tenantId - the tenant identifierBlockQuotaSetUsage usageForTenant(String tenantId)
tenantId - the tenant identifierBlockQuotaSetUsage usageForUser(String tenantId, String userId)
tenantId - the tenant identifieruserId - the user identifierCopyright © 2017. All rights reserved.