public class NetQuotaServiceImpl extends BaseNetworkingServices implements NetQuotaService
| Constructor and Description |
|---|
NetQuotaServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
NetQuota |
get()
Fetches the network quotas for the current tenant
|
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
|
public 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 NetQuotaService