public class NetQuotaServiceImpl extends BaseNetworkingServices implements NetQuotaService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
NetQuotaServiceImpl() |
| 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
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends NetQuota> get()
NetQuotaServiceget in interface NetQuotaServicepublic NetQuota get(String tenantId)
NetQuotaServiceget in interface NetQuotaServicetenantId - the tenant identifierpublic NetQuota updateForTenant(String tenantId, NetQuota netQuota)
NetQuotaServiceupdateForTenant in interface NetQuotaServicetenantId - the tenant identifiernetQuota - the net quota to updateNetQuotaBuilderpublic NetQuota update(NetQuota netQuota)
NetQuotaServiceupdate in interface NetQuotaServicenetQuota - the net quota to updateNetQuotaBuilderpublic ActionResponse reset()
NetQuotaServicereset in interface NetQuotaServicepublic ActionResponse reset(String tenantId)
NetQuotaServicereset in interface NetQuotaServiceCopyright © 2017. All rights reserved.