public class BlockQuotaSetServiceImpl extends BaseBlockStorageServices implements BlockQuotaSetService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
BlockQuotaSetServiceImpl() |
| 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.
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic BlockQuotaSet getDefaults(String tenantId)
getDefaults in interface BlockQuotaSetServicetenantId - the tenant identifierpublic BlockQuotaSet get(String tenantId)
get in interface BlockQuotaSetServicetenantId - the tenant identifierpublic BlockQuotaSet updateForTenant(String tenantId, BlockQuotaSet quota)
updateForTenant in interface BlockQuotaSetServicetenantId - the tenant identifierquota - the quota-set to updatepublic ActionResponse delete(String tenantId)
delete in interface BlockQuotaSetServicetenantId - the tenant identifierpublic BlockQuotaSetUsage usageForTenant(String tenantId)
usageForTenant in interface BlockQuotaSetServicetenantId - the tenant identifierpublic BlockQuotaSetUsage usageForUser(String tenantId, String userId)
BlockQuotaSetServiceusageForUser in interface BlockQuotaSetServicetenantId - the tenant identifieruserId - the user identifierCopyright © 2017. All rights reserved.