public class PolicyRuleServiceImpl extends BaseNetworkingServices implements PolicyRuleService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
PolicyRuleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
PolicyRule |
create(PolicyRule policyRule)
Create a new policy rule
|
ActionResponse |
delete(String id)
Delete of the policy rule
|
PolicyRule |
get(String id)
Get the specified policy rule by ID
|
List<? extends PolicyRule> |
list()
List all policy rules
|
List<? extends PolicyRule> |
list(Map<String,String> filteringParams)
Returns list of policy rules filtered by parameters.
|
PolicyRule |
update(String policyRuleId,
PolicyRule policyRule)
Updates an existing policy rule
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends PolicyRule> list()
list in interface PolicyRuleServicepublic List<? extends PolicyRule> list(Map<String,String> filteringParams)
list in interface PolicyRuleServicefilteringParams - map (name, value) of filtering parameterspublic PolicyRule get(String id)
get in interface PolicyRuleServiceid - the policy rule idpublic ActionResponse delete(String id)
delete in interface PolicyRuleServiceid - the policy rule idpublic PolicyRule create(PolicyRule policyRule)
create in interface PolicyRuleServicepublic PolicyRule update(String policyRuleId, PolicyRule policyRule)
update in interface PolicyRuleServiceCopyright © 2017. All rights reserved.