Class LbPoolV2ServiceImpl

    • Constructor Detail

      • LbPoolV2ServiceImpl

        public LbPoolV2ServiceImpl()
    • Method Detail

      • list

        public List<? extends LbPoolV2> list()
        List all lb pools that the current tenant has access to
        Specified by:
        list in interface LbPoolV2Service
        Returns:
        list of all lb pools
      • list

        public List<? extends LbPoolV2> list​(Map<String,​String> filteringParams)
        Returns list of lb v2 pools filtered by parameters.
        Specified by:
        list in interface LbPoolV2Service
        Parameters:
        filteringParams - map (name, value) of filtering parameters
        Returns:
        List
      • get

        public LbPoolV2 get​(String lbPoolId)
        Get the specified lb pool by ID
        Specified by:
        get in interface LbPoolV2Service
        Parameters:
        lbPoolId - the lb v2 pool identifier
        Returns:
        the lbPoolV2 or null if not found
      • delete

        public ActionResponse delete​(String lbPoolId)
        Delete the specified lb Pool by ID
        Specified by:
        delete in interface LbPoolV2Service
        Parameters:
        lbPoolId - the lb pool identifier
        Returns:
        the action response
      • listMembers

        public List<? extends MemberV2> listMembers​(String lbPoolId)
        List all members that the current tenant has access to
        Specified by:
        listMembers in interface LbPoolV2Service
        Parameters:
        lbPoolId - the load balancer pool
        Returns:
        list of all Member
      • listMembers

        public List<? extends MemberV2> listMembers​(String lbPoolId,
                                                    Map<String,​String> filteringParams)
        Returns list of member filtered by parameters.
        Specified by:
        listMembers in interface LbPoolV2Service
        Parameters:
        lbPoolId - the load balancer pool
        filteringParams - map (name, value) of filtering parameters
      • getMember

        public MemberV2 getMember​(String lbPoolId,
                                  String memberId)
        Get the specified member by ID
        Specified by:
        getMember in interface LbPoolV2Service
        Parameters:
        lbPoolId - the load balancer pool
        memberId - the member identifier
        Returns:
        the member or null if not found
      • deleteMember

        public ActionResponse deleteMember​(String lbPoolId,
                                           String memberId)
        Delete the specified member by ID
        Specified by:
        deleteMember in interface LbPoolV2Service
        Parameters:
        lbPoolId - the load balancer pool
        memberId - the member identifier
        Returns:
        the action response