Interface MorpheusLoadBalancerInstanceService
- All Superinterfaces:
MorpheusDataService<NetworkLoadBalancerInstance,
,LoadBalancerInstanceIdentityProjection> MorpheusIdentityService<LoadBalancerInstanceIdentityProjection>
public interface MorpheusLoadBalancerInstanceService
extends MorpheusDataService<NetworkLoadBalancerInstance,LoadBalancerInstanceIdentityProjection>, MorpheusIdentityService<LoadBalancerInstanceIdentityProjection>
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
create
(List<NetworkLoadBalancerInstance> instances) Deprecated.io.reactivex.rxjava3.core.Observable<NetworkLoadBalancerInstance>
listById
(Collection<Long> ids) Deprecated.io.reactivex.rxjava3.core.Observable<LoadBalancerInstanceIdentityProjection>
listSyncProjections
(Long loadBalancerId) Get a list ofNetworkLoadBalancerInstance
projections based on NetworkLoadBalancer idio.reactivex.rxjava3.core.Single<Boolean>
remove
(List<LoadBalancerInstanceIdentityProjection> instances) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
save
(List<NetworkLoadBalancerInstance> instances) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadMethods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, count, create, find, get, list, listById, listOptions, remove, save, search
Methods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listSyncProjections
io.reactivex.rxjava3.core.Observable<LoadBalancerInstanceIdentityProjection> listSyncProjections(Long loadBalancerId) Get a list ofNetworkLoadBalancerInstance
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<NetworkLoadBalancerInstance> listById(Collection<Long> ids) Deprecated.Get a list ofNetworkLoadBalancerInstance
objects from a list of projection ids- Parameters:
ids
- instance ids- Returns:
- Observable stream of load balancer virtual servers
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<NetworkLoadBalancerInstance> instances) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadSave updates to existing load balancer instance- Specified by:
save
in interfaceMorpheusDataService<NetworkLoadBalancerInstance,
LoadBalancerInstanceIdentityProjection> - Parameters:
instances
- updated instance- Returns:
- success
- See Also:
-
create
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> create(List<NetworkLoadBalancerInstance> instances) Deprecated.Create new load balancer instances (virtual servers) in Morpheus- Specified by:
create
in interfaceMorpheusDataService<NetworkLoadBalancerInstance,
LoadBalancerInstanceIdentityProjection> - Parameters:
instances
- new load balancer instances to persist- Returns:
- success
- See Also:
-
remove
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> remove(List<LoadBalancerInstanceIdentityProjection> instances) Deprecated.Remove persisted instances from Morpheus- Specified by:
remove
in interfaceMorpheusDataService<NetworkLoadBalancerInstance,
LoadBalancerInstanceIdentityProjection> - Parameters:
instances
- Images to delete- Returns:
- success
- See Also:
-
MorpheusDataService.bulkCreate(java.util.List<M>)
instead