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.
|
getApiVersionHeader
delete, deleteWithResponse, get, head, patch, post, put, request
getProvider, getServiceVersion, getXOpenstackRequestId, patchWithResponse, postWithResponse, toList, uri
public QuotaSet get(String tenantId)
QuotaSetService
get
in interface QuotaSetService
tenantId
- the UUID for the tenant for which you want to show quotaspublic QuotaSet get(String tenantId, String userId)
QuotaSetService
get
in interface QuotaSetService
tenantId
- the UUID for the tenant for which you want to show quotasuserId
- the UUID of the userpublic QuotaSet update(String tenantId, QuotaSetUpdateOptions options)
QuotaSetService
update
in interface QuotaSetService
tenantId
- the UUID for the tenant for which you want to update quotasoptions
- the options to updatepublic QuotaSet update(String tenantId, String userId, QuotaSetUpdateOptions options)
QuotaSetService
update
in interface QuotaSetService
tenantId
- 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)
QuotaSetService
delete
in interface QuotaSetService
tenantId
- the UUID for the tenant for which you want to delete quotaspublic ActionResponse delete(String tenantId, String userId)
QuotaSetService
delete
in interface QuotaSetService
tenantId
- the UUID for the tenant for which you want to delete quotasuserId
- the UUID of the userpublic QuotaSet getDefault(String tenantId)
QuotaSetService
getDefault
in interface QuotaSetService
tenantId
- the UUID for the tenant for which you want to show default quotasCopyright © 2017. All rights reserved.