public class SecurityGroupRuleServiceImpl extends BaseNetworkingServices implements SecurityGroupRuleService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
SecurityGroupRuleServiceImpl() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupRule |
create(SecurityGroupRule rule)
Creates a security group rule.
|
void |
delete(String ruleId)
Delete security group rule by id.
|
SecurityGroupRule |
get(String id)
Gets the Security Group rule by id
|
List<? extends SecurityGroupRule> |
list()
List security group rules accessible by current Tenant.
|
List<? extends SecurityGroupRule> |
list(Map<String,String> filteringParams)
List security group rules accessible by current Tenant.
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public SecurityGroupRule get(String id)
get
in interface SecurityGroupRuleService
id
- the idpublic void delete(String ruleId)
delete
in interface SecurityGroupRuleService
ruleId
- the idpublic SecurityGroupRule create(SecurityGroupRule rule)
create
in interface SecurityGroupRuleService
rule
- the rulepublic List<? extends SecurityGroupRule> list(Map<String,String> filteringParams)
list
in interface SecurityGroupRuleService
filteringParams
- map (name, value) of filtering parameterspublic List<? extends SecurityGroupRule> list()
list
in interface SecurityGroupRuleService
Copyright © 2017. All rights reserved.