Class NetQosPolicyBLRuleServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.networking.internal.ext.NetQosPolicyBLRuleServiceImpl
-
- All Implemented Interfaces:
NetQosPolicyBLRuleService,RestService
public class NetQosPolicyBLRuleServiceImpl extends BaseNetworkingServices implements NetQosPolicyBLRuleService
Networking (Neutron) Qos Policy Bandwidth Limit Rule Extension API- Author:
- bboyHan
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description NetQosPolicyBLRuleServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetQosPolicyBandwidthLimitRulecreate(String policyId, NetQosPolicyBandwidthLimitRule bandwidthLimitRule)Create the current network qos policy bandwidth limit rule for the current tenant back to defaultsActionResponsedelete(String policyId, String ruleId)Delete the current network qos policy bandwidth limit rule for the current tenant back to defaultsNetQosPolicyBandwidthLimitRuleget(String policyId, String ruleId)Fetches the network qos policy bandwidth-limit-rule for the specified tenantList<? extends NetQosPolicyBandwidthLimitRule>list(String policyId)Lists qos policy bandwidth-limit-rules for tenantsNetQosPolicyBandwidthLimitRuleupdate(String policyId, NetQosPolicyBandwidthLimitRule bandwidthLimitRule)Updates the network qos policy bandwidth limit rule for the current tenant-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends NetQosPolicyBandwidthLimitRule> list(String policyId)
Description copied from interface:NetQosPolicyBLRuleServiceLists qos policy bandwidth-limit-rules for tenants- Specified by:
listin interfaceNetQosPolicyBLRuleService- Parameters:
policyId- policy id- Returns:
- the list of qos policy bandwidth limit rules
-
get
public NetQosPolicyBandwidthLimitRule get(String policyId, String ruleId)
Description copied from interface:NetQosPolicyBLRuleServiceFetches the network qos policy bandwidth-limit-rule for the specified tenant- Specified by:
getin interfaceNetQosPolicyBLRuleService- Parameters:
policyId- policy id- Returns:
- NetQosPolicyBandwidthLimitRule
-
update
public NetQosPolicyBandwidthLimitRule update(String policyId, NetQosPolicyBandwidthLimitRule bandwidthLimitRule)
Description copied from interface:NetQosPolicyBLRuleServiceUpdates the network qos policy bandwidth limit rule for the current tenant- Specified by:
updatein interfaceNetQosPolicyBLRuleService- Parameters:
policyId- policy idbandwidthLimitRule- the net qos policy bandwidth limit rule to update- Returns:
- NetQosPolicyBandwidthLimitRule
-
create
public NetQosPolicyBandwidthLimitRule create(String policyId, NetQosPolicyBandwidthLimitRule bandwidthLimitRule)
Description copied from interface:NetQosPolicyBLRuleServiceCreate the current network qos policy bandwidth limit rule for the current tenant back to defaults- Specified by:
createin interfaceNetQosPolicyBLRuleService- Parameters:
policyId- policy id- Returns:
- NetQosPolicyBandwidthLimitRule the response object
-
delete
public ActionResponse delete(String policyId, String ruleId)
Delete the current network qos policy bandwidth limit rule for the current tenant back to defaults- Specified by:
deletein interfaceNetQosPolicyBLRuleService- Parameters:
policyId- policy idruleId- the net qos policy bandwidth limit rule uuid- Returns:
- the action response
-
-