Package com.morpheusdata.core
Interface MorpheusSecurityGroupService
- All Superinterfaces:
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.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, count, create, create, find, get, list, listById, listOptions, remove, remove, save, search
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