Interface MorpheusLoadBalancerScriptService
- All Superinterfaces:
MorpheusDataQueryService<NetworkLoadBalancerScript>
,MorpheusDataService<NetworkLoadBalancerScript,
,LoadBalancerScriptIdentityProjection> MorpheusIdentityService<LoadBalancerScriptIdentityProjection>
public interface MorpheusLoadBalancerScriptService
extends MorpheusDataService<NetworkLoadBalancerScript,LoadBalancerScriptIdentityProjection>, MorpheusIdentityService<LoadBalancerScriptIdentityProjection>
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
create
(List<NetworkLoadBalancerScript> scripts) Deprecated.io.reactivex.rxjava3.core.Observable<NetworkLoadBalancerScript>
listById
(Collection<Long> ids) Deprecated.io.reactivex.rxjava3.core.Observable<LoadBalancerScriptIdentityProjection>
listSyncProjections
(Long loadBalancerId) Get a list ofNetworkLoadBalancerScript
projections based on NetworkLoadBalancer idio.reactivex.rxjava3.core.Observable<NetworkLoadBalancerPolicy>
queryScripts
(Map args) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
remove
(List<LoadBalancerScriptIdentityProjection> scripts) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
save
(List<NetworkLoadBalancerScript> scripts) 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, remove, save
Methods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listSyncProjections
io.reactivex.rxjava3.core.Observable<LoadBalancerScriptIdentityProjection> listSyncProjections(Long loadBalancerId) Get a list ofNetworkLoadBalancerScript
projections based on NetworkLoadBalancer id- Parameters:
loadBalancerId
- the id of the load balancer- Returns:
- Observable stream of sync projection
-
listById
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<NetworkLoadBalancerScript> listById(Collection<Long> ids) Deprecated.Get a list ofNetworkLoadBalancerScript
objects from a list of projection ids- Parameters:
ids
- ids of load balancer scripts- Returns:
- Observable stream of NetworkLoadBalancerNode objects
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<NetworkLoadBalancerScript> scripts) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadSave updates to existing profiles- Specified by:
save
in interfaceMorpheusDataService<NetworkLoadBalancerScript,
LoadBalancerScriptIdentityProjection> - Parameters:
scripts
- updatedNetworkLoadBalancerScript
objects- Returns:
- success
- See Also:
-
create
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> create(List<NetworkLoadBalancerScript> scripts) Deprecated.Create new load balancer scripts in Morpheus- Specified by:
create
in interfaceMorpheusDataService<NetworkLoadBalancerScript,
LoadBalancerScriptIdentityProjection> - Parameters:
scripts
- newNetworkLoadBalancerScript
objects to persist- Returns:
- success
- See Also:
-
remove
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> remove(List<LoadBalancerScriptIdentityProjection> scripts) Deprecated.Remove persisted profiles from Morpheus- Specified by:
remove
in interfaceMorpheusDataService<NetworkLoadBalancerScript,
LoadBalancerScriptIdentityProjection> - Parameters:
scripts
-LoadBalancerScriptIdentityProjection
objects to delete from database- Returns:
- success
- See Also:
-
queryScripts
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<NetworkLoadBalancerPolicy> queryScripts(Map args) Deprecated.Use this method to query the database for load balancer scripts- Parameters:
args
- a map of properties used to query the scripts- Returns:
- Observable stream of
NetworkLoadBalancerScript
-
MorpheusDataService.bulkCreate(java.util.List<M>)
instead