Package com.morpheusdata.core
Interface MorpheusSecurityGroupRuleService
- All Superinterfaces:
MorpheusDataQueryService<SecurityGroupRule>
,MorpheusDataService<SecurityGroupRule,
,SecurityGroupRuleIdentityProjection> MorpheusIdentityService<SecurityGroupRuleIdentityProjection>
public interface MorpheusSecurityGroupRuleService
extends MorpheusDataService<SecurityGroupRule,SecurityGroupRuleIdentityProjection>, MorpheusIdentityService<SecurityGroupRuleIdentityProjection>
Context methods for syncing SecurityGroupRules in Morpheus
-
Method Summary
Modifier and TypeMethodDescriptiongetScope()
io.reactivex.rxjava3.core.Observable<SecurityGroupRule>
Deprecated.io.reactivex.rxjava3.core.Observable<SecurityGroupRuleIdentityProjection>
listSyncProjections
(Long securityGroupId) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
removeSecurityGroupRules
(List<SecurityGroupRuleIdentityProjection> securityGroupRules) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
save
(List<SecurityGroupRule> securityGroupRules) 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
MorpheusSecurityGroupRuleLocationService getLocation() -
getApplication
MorpheusSecurityGroupRuleApplicationService getApplication() -
getDestination
MorpheusSecurityGroupRuleDestinationService getDestination() -
getProfile
MorpheusSecurityGroupRuleProfileService getProfile() -
getScope
MorpheusSecurityGroupRuleScopeService getScope() -
getSource
MorpheusSecurityGroupRuleSourceService getSource() -
listSyncProjections
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<SecurityGroupRuleIdentityProjection> listSyncProjections(Long securityGroupId) Deprecated.Fetch the SecurityGroupRuleIdentityProjections for a SecurityGroup- Parameters:
securityGroupId
- id of the SecurityGroup- Returns:
- Observable list of SecurityGroupRuleIdentityProjections
-
listByIds
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<SecurityGroupRule> listByIds(List<Long> ids) Deprecated.Fetch the SecurityGroupRules for a list of ids- Parameters:
ids
- ids of the SecurityGroups- Returns:
- Observable list of SecurityGroupRules
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<SecurityGroupRule> securityGroupRules) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadSave updates to existing SecurityGroupRules- Specified by:
save
in interfaceMorpheusDataService<SecurityGroupRule,
SecurityGroupRuleIdentityProjection> - Parameters:
securityGroupRules
- SecurityGroupRules to update- Returns:
- whether the save was successful
- See Also:
-
removeSecurityGroupRules
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> removeSecurityGroupRules(List<SecurityGroupRuleIdentityProjection> securityGroupRules) Deprecated.Remove SecurityGroupRules from Morpheus- Parameters:
securityGroupRules
- SecurityGroupRules to remove- Returns:
- whether the removal was successful
-
MorpheusIdentityService.listIdentityProjections(com.morpheusdata.core.data.DataQuery)
instead.