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 ofNetworkLoadBalancerScriptprojections 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, searchMethods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, remove, saveMethods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listSyncProjections
io.reactivex.rxjava3.core.Observable<LoadBalancerScriptIdentityProjection> listSyncProjections(Long loadBalancerId) Get a list ofNetworkLoadBalancerScriptprojections 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 ofNetworkLoadBalancerScriptobjects 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:
savein interfaceMorpheusDataService<NetworkLoadBalancerScript,LoadBalancerScriptIdentityProjection> - Parameters:
scripts- updatedNetworkLoadBalancerScriptobjects- 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:
createin interfaceMorpheusDataService<NetworkLoadBalancerScript,LoadBalancerScriptIdentityProjection> - Parameters:
scripts- newNetworkLoadBalancerScriptobjects 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:
removein interfaceMorpheusDataService<NetworkLoadBalancerScript,LoadBalancerScriptIdentityProjection> - Parameters:
scripts-LoadBalancerScriptIdentityProjectionobjects 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