Package org.openstack4j.api.compute
Interface ComputeSecurityGroupService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
ComputeSecurityGroupServiceImpl
@Deprecated public interface ComputeSecurityGroupService extends RestService
Deprecated.These APIs are proxy calls to the Network service. Nova has deprecated all the proxy APIs and users should use the native APIs instead. These will fail with a 404 starting from microversion 2.36Provides operations against the Security Group extension in OpenStackExtension Mapping: (os-security-groups)
- Author:
- Jeremy Unruh
- See Also:
SecurityGroupService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SecGroupExtensioncreate(String name, String description)Deprecated.Creates a new Security GroupSecGroupExtension.RulecreateRule(SecGroupExtension.Rule rule)Deprecated.Creates a new Security Group RuleActionResponsedelete(String securityGroupId)Deprecated.Deletes the specified Security GroupActionResponsedeleteRule(String ruleId)Deprecated.Deletes a Security Group RuleSecGroupExtensionget(String securityGroupId)Deprecated.Gets the specified Security GroupList<? extends SecGroupExtension>list()Deprecated.List all the Security GroupsList<? extends SecGroupExtension>listServerGroups(String serverId)Deprecated.Lists the Security Groups for the specified serverSecGroupExtensionupdate(String securityGroupId, String name, String description)Deprecated.Updates the Name and Description for a Security Group
-
-
-
Method Detail
-
list
List<? extends SecGroupExtension> list()
Deprecated.List all the Security Groups- Returns:
- the list of security groups
-
listServerGroups
List<? extends SecGroupExtension> listServerGroups(String serverId)
Deprecated.Lists the Security Groups for the specified server- Parameters:
serverId- the server identifier- Returns:
- the list of security groups
-
get
SecGroupExtension get(String securityGroupId)
Deprecated.Gets the specified Security Group- Parameters:
securityGroupId- the security group identifier- Returns:
- the security group or Null if not found
-
create
SecGroupExtension create(String name, String description)
Deprecated.Creates a new Security Group- Parameters:
name- the name of the security groupdescription- the description of the security group- Returns:
- the newly created security group
-
update
SecGroupExtension update(String securityGroupId, String name, String description)
Deprecated.Updates the Name and Description for a Security Group- Parameters:
securityGroupId- the security group identifiername- the name of the security groupdescription- the description of the security group- Returns:
- the newly created security group
-
delete
ActionResponse delete(String securityGroupId)
Deprecated.Deletes the specified Security Group- Parameters:
securityGroupId- the security group identifier- Returns:
- the action response
-
createRule
SecGroupExtension.Rule createRule(SecGroupExtension.Rule rule)
Deprecated.Creates a new Security Group Rule- Parameters:
rule- the rule to create- Returns:
- the newly created rule
-
deleteRule
ActionResponse deleteRule(String ruleId)
Deprecated.Deletes a Security Group Rule- Parameters:
ruleId- the rule identifier- Returns:
- the action response
-
-