Package com.morpheusdata.core
Interface MorpheusSecurityGroupRuleScopeService
- All Superinterfaces:
MorpheusDataQueryService<SecurityGroupRuleScope>,MorpheusDataService<SecurityGroupRuleScope,SecurityGroupRuleScope>
public interface MorpheusSecurityGroupRuleScopeService
extends MorpheusDataService<SecurityGroupRuleScope,SecurityGroupRuleScope>
Context methods for syncing SecurityGroupRuleApplications in Morpheus
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Observable<SecurityGroupRuleScope>Fetch the SecurityGroupRuleScopes given a list of idsio.reactivex.rxjava3.core.Single<Boolean>remove(List<SecurityGroupRuleScope> securityGroupRuleScopes) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>save(List<SecurityGroupRuleScope> securityGroupRuleScopes) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)insteadMethods inherited from interface com.morpheusdata.core.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, searchMethods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, create, remove, save
-
Method Details
-
listByIds
Fetch the SecurityGroupRuleScopes given a list of ids- Parameters:
ids- list of ids- Returns:
- Observable list of SecurityGroupRuleScopes
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<SecurityGroupRuleScope> securityGroupRuleScopes) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)insteadSave updates to existing SecurityGroupRuleScopes- Specified by:
savein interfaceMorpheusDataService<SecurityGroupRuleScope,SecurityGroupRuleScope> - Parameters:
securityGroupRuleScopes- SecurityGroupRuleScopes to update- Returns:
- whether the save was successful
- See Also:
-
remove
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> remove(List<SecurityGroupRuleScope> securityGroupRuleScopes) Deprecated.Remove SecurityGroupRuleScopes from Morpheus- Specified by:
removein interfaceMorpheusDataService<SecurityGroupRuleScope,SecurityGroupRuleScope> - Parameters:
securityGroupRuleScopes- SecurityGroupRuleScopes to remove- Returns:
- whether the removal was successful
- See Also:
-
MorpheusDataService.bulkRemove(java.util.List<I>)instead