@Deprecated public class ComputeSecurityGroupServiceImpl extends BaseComputeServices implements ComputeSecurityGroupService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
ComputeSecurityGroupServiceImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
SecGroupExtension |
create(String name,
String description)
Deprecated.
Creates a new Security Group
|
SecGroupExtension.Rule |
createRule(SecGroupExtension.Rule rule)
Deprecated.
Creates a new Security Group Rule
|
ActionResponse |
delete(String securityGroupId)
Deprecated.
Deletes the specified Security Group
|
ActionResponse |
deleteRule(String ruleId)
Deprecated.
Deletes a Security Group Rule
|
SecGroupExtension |
get(String securityGroupId)
Deprecated.
Gets the specified Security Group
|
List<? extends SecGroupExtension> |
list()
Deprecated.
List all the Security Groups
|
List<? extends SecGroupExtension> |
listServerGroups(String serverId)
Deprecated.
Lists the Security Groups for the specified server
|
SecGroupExtension |
update(String securityGroupId,
String name,
String description)
Deprecated.
Updates the Name and Description for a Security Group
|
invokeAction, invokeActionWithResponsedelete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic ComputeSecurityGroupServiceImpl()
public List<? extends SecGroupExtension> list()
list in interface ComputeSecurityGroupServicepublic List<? extends SecGroupExtension> listServerGroups(String serverId)
listServerGroups in interface ComputeSecurityGroupServiceserverId - the server identifierpublic SecGroupExtension get(String securityGroupId)
get in interface ComputeSecurityGroupServicesecurityGroupId - the security group identifierpublic ActionResponse delete(String securityGroupId)
delete in interface ComputeSecurityGroupServicesecurityGroupId - the security group identifierpublic SecGroupExtension create(String name, String description)
create in interface ComputeSecurityGroupServicename - the name of the security groupdescription - the description of the security grouppublic SecGroupExtension update(String securityGroupId, String name, String description)
update in interface ComputeSecurityGroupServicesecurityGroupId - the security group identifiername - the name of the security groupdescription - the description of the security grouppublic SecGroupExtension.Rule createRule(SecGroupExtension.Rule rule)
createRule in interface ComputeSecurityGroupServicerule - the rule to createpublic ActionResponse deleteRule(String ruleId)
deleteRule in interface ComputeSecurityGroupServiceruleId - the rule identifierCopyright © 2020. All rights reserved.