public class QuotaSetServiceImpl extends BaseShareServices implements QuotaSetService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
QuotaSetServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ActionResponse |
delete(String tenantId)
Deletes quotas for a tenant.
|
ActionResponse |
delete(String tenantId,
String userId)
Deletes quotas for a user in a tenant.
|
QuotaSet |
get(String tenantId)
Shows quotas for a tenant.
|
QuotaSet |
get(String tenantId,
String userId)
Shows quotas for a user in a tenant.
|
QuotaSet |
getDefault(String tenantId)
Shows default quotas for a tenant.
|
QuotaSet |
update(String tenantId,
QuotaSetUpdateOptions options)
Updates quotas for a tenant.
|
QuotaSet |
update(String tenantId,
String userId,
QuotaSetUpdateOptions options)
Updates quotas for a user in a tenant.
|
getApiVersionHeaderdelete, deleteWithResponse, get, head, patch, post, put, requestgetProvider, getServiceVersion, getXOpenstackRequestId, patchWithResponse, postWithResponse, toList, uripublic QuotaSet get(String tenantId)
QuotaSetServiceget in interface QuotaSetServicetenantId - the UUID for the tenant for which you want to show quotaspublic QuotaSet get(String tenantId, String userId)
QuotaSetServiceget in interface QuotaSetServicetenantId - the UUID for the tenant for which you want to show quotasuserId - the UUID of the userpublic QuotaSet update(String tenantId, QuotaSetUpdateOptions options)
QuotaSetServiceupdate in interface QuotaSetServicetenantId - the UUID for the tenant for which you want to update quotasoptions - the options to updatepublic QuotaSet update(String tenantId, String userId, QuotaSetUpdateOptions options)
QuotaSetServiceupdate in interface QuotaSetServicetenantId - the UUID for the tenant for which you want to update quotasuserId - the UUID of the useroptions - the options to updatepublic ActionResponse delete(String tenantId)
QuotaSetServicedelete in interface QuotaSetServicetenantId - the UUID for the tenant for which you want to delete quotaspublic ActionResponse delete(String tenantId, String userId)
QuotaSetServicedelete in interface QuotaSetServicetenantId - the UUID for the tenant for which you want to delete quotasuserId - the UUID of the userpublic QuotaSet getDefault(String tenantId)
QuotaSetServicegetDefault in interface QuotaSetServicetenantId - the UUID for the tenant for which you want to show default quotasCopyright © 2017. All rights reserved.