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, uri
public List<? extends NetQuota> get()
NetQuotaService
get
in interface NetQuotaService
public NetQuota get(String tenantId)
NetQuotaService
get
in interface NetQuotaService
tenantId
- the tenant identifierpublic NetQuota updateForTenant(String tenantId, NetQuota netQuota)
NetQuotaService
updateForTenant
in interface NetQuotaService
tenantId
- the tenant identifiernetQuota
- the net quota to updateNetQuotaBuilder
public NetQuota update(NetQuota netQuota)
NetQuotaService
update
in interface NetQuotaService
netQuota
- the net quota to updateNetQuotaBuilder
public ActionResponse reset()
NetQuotaService
reset
in interface NetQuotaService
public ActionResponse reset(String tenantId)
NetQuotaService
reset
in interface NetQuotaService
Copyright © 2017. All rights reserved.