public class SecurityGroupServiceImpl extends BaseNetworkingServices implements SecurityGroupService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
SecurityGroupServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
SecurityGroup |
create(SecurityGroup securityGroup)
Creates a SecurityGroup.
|
ActionResponse |
delete(String groupId)
Deletes SecurityGroup by id.
|
SecurityGroup |
get(String id)
Gets the Security Group by id.
|
List<? extends SecurityGroup> |
list()
Get list of security groups accessible by the current tenant
|
List<? extends SecurityGroup> |
list(Map<String,String> filteringParams)
Get list of security groups accessible by the current tenant
|
SecurityGroup |
update(String securityGroupId,
SecurityGroupUpdate securityGroupUpdate)
Updates a SecurityGroup associated by the specified
securityGroupId |
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic SecurityGroup get(String id)
get in interface SecurityGroupServiceid - the idpublic ActionResponse delete(String groupId)
delete in interface SecurityGroupServicegroupId - SecurityGroup idpublic SecurityGroup create(SecurityGroup securityGroup)
create in interface SecurityGroupServicesecurityGroup - the security grouppublic SecurityGroup update(String securityGroupId, SecurityGroupUpdate securityGroupUpdate)
securityGroupIdupdate in interface SecurityGroupServicesecurityGroupId - the security group identifiersecurityGroupUpdate - the security group options to update (see Builders.securityGroupUpdate()public List<? extends SecurityGroup> list()
list in interface SecurityGroupServicepublic List<? extends SecurityGroup> list(Map<String,String> filteringParams)
list in interface SecurityGroupServicefilteringParams - map (name, value) of filtering parametersCopyright © 2017. All rights reserved.