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.36
    Provides operations against the Security Group extension in OpenStack

    Extension Mapping: (os-security-groups)

    Author:
    Jeremy Unruh
    See Also:
    SecurityGroupService
    • 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 group
        description - 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 identifier
        name - the name of the security group
        description - 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
      • deleteRule

        ActionResponse deleteRule​(String ruleId)
        Deprecated.
        Deletes a Security Group Rule
        Parameters:
        ruleId - the rule identifier
        Returns:
        the action response