Interface MorpheusSecurityGroupRuleScopeService


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

      • listByIds

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

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

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

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