Package com.morpheusdata.core
Interface MorpheusSecurityGroupService
- All Superinterfaces:
MorpheusDataQueryService<SecurityGroup>
,MorpheusDataService<SecurityGroup,
,SecurityGroupIdentityProjection> MorpheusIdentityService<SecurityGroupIdentityProjection>
public interface MorpheusSecurityGroupService
extends MorpheusDataService<SecurityGroup,SecurityGroupIdentityProjection>, MorpheusIdentityService<SecurityGroupIdentityProjection>
Context methods for syncing SecurityGroups in Morpheus
-
Method Summary
Modifier and TypeMethodDescriptiongetRule()
io.reactivex.rxjava3.core.Observable<SecurityGroup>
Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
removeSecurityGroups
(List<SecurityGroupIdentityProjection> securityGroups) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
save
(List<SecurityGroup> securityGroups) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadMethods inherited from interface com.morpheusdata.core.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, search
Methods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, create, remove, remove, save
Methods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
getLocation
MorpheusSecurityGroupLocationService getLocation() -
getRule
MorpheusSecurityGroupRuleService getRule() -
listByIds
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<SecurityGroup> listByIds(List<Long> ids) Deprecated.Fetch the SecurityGroups given a list of ids- Parameters:
ids
- list of ids- Returns:
- Observable list of SecurityGroups
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<SecurityGroup> securityGroups) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadSave updates to existing SecurityGroups- Specified by:
save
in interfaceMorpheusDataService<SecurityGroup,
SecurityGroupIdentityProjection> - Parameters:
securityGroups
- SecurityGroups to update- Returns:
- whether the save was successful
- See Also:
-
removeSecurityGroups
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> removeSecurityGroups(List<SecurityGroupIdentityProjection> securityGroups) Deprecated.Remove SecurityGroups from Morpheus- Parameters:
securityGroups
- SecurityGroup to remove- Returns:
- whether the removal was successful
-
MorpheusDataService.bulkRemove(java.util.List<I>)
instead