Interface MorpheusSecurityGroupRuleSourceService


  • public interface MorpheusSecurityGroupRuleSourceService
    Context methods for syncing SecurityGroupRuleApplications in Morpheus
    • Method Detail

      • listByIds

        io.reactivex.Observable<SecurityGroupRuleSource> listByIds​(java.util.List<java.lang.Long> ids)
        Fetch the SecurityGroupRuleSources given a list of ids
        Parameters:
        ids - list of ids
        Returns:
        Observable list of SecurityGroupRuleSources
      • save

        io.reactivex.Single<java.lang.Boolean> save​(java.util.List<SecurityGroupRuleSource> securityGroupRuleSources)
        Save updates to existing SecurityGroupRuleSources
        Parameters:
        securityGroupRuleSources - SecurityGroupRuleSources to update
        Returns:
        whether the save was successful
      • create

        io.reactivex.Single<SecurityGroupRuleSource> create​(SecurityGroupRuleSource securityGroupRuleSource)
        Create and return a new SecurityGroupRuleSource in Morpheus
        Parameters:
        securityGroupRuleSource - new SecurityGroupRuleSource to persist
        Returns:
        the SecurityGroupRuleSource
      • remove

        io.reactivex.Single<java.lang.Boolean> remove​(java.util.List<SecurityGroupRuleSource> securityGroupRuleSources)
        Remove SecurityGroupRuleSources from Morpheus
        Parameters:
        securityGroupRuleSources - SecurityGroupRuleSources to remove
        Returns:
        whether the removal was successful