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
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, head, patch, post, 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 List<? extends SecurityGroup> list()
list in interface SecurityGroupServiceCopyright © 2016. All Rights Reserved.