Package com.morpheusdata.core.compute
Interface MorpheusComputeServerInterfaceService
- All Superinterfaces:
MorpheusDataQueryService<ComputeServerInterface>
,MorpheusDataService<ComputeServerInterface,
ComputeServerInterface>
public interface MorpheusComputeServerInterfaceService
extends MorpheusDataService<ComputeServerInterface,ComputeServerInterface>
This Context deals with interactions related to
ComputeServerInterface
objects. It can normally
be accessed via the MorpheusComputeServerService
Examples:
morpheusContext.getComputeServer().getComputeServerInterface()
- Since:
- 0.10.0
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
create
(List<ComputeServerInterface> computeServerInterfaces, ComputeServer computeServer) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
remove
(List<ComputeServerInterface> computeServerInterfaces, ComputeServer computeServer) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
save
(List<ComputeServerInterface> computeServerInterfaces) 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
-
Method Details
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<ComputeServerInterface> computeServerInterfaces) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadSave updates to existing ComputeServerInterfaces- Specified by:
save
in interfaceMorpheusDataService<ComputeServerInterface,
ComputeServerInterface> - Parameters:
computeServerInterfaces
- updated ComputeServerInterfaces- Returns:
- success
- See Also:
-
create
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> create(List<ComputeServerInterface> computeServerInterfaces, ComputeServer computeServer) Deprecated.Create new ComputeServerInterfaces in Morpheus and add them to theComputeServer
specified- Parameters:
computeServerInterfaces
- new ComputeServerInterfaces to persistcomputeServer
- the ComputeServer instance to add the interface to- Returns:
- success
-
remove
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> remove(List<ComputeServerInterface> computeServerInterfaces, ComputeServer computeServer) Deprecated.Remove persisted ComputeServerInterfaces from Morpheus and remove them theComputeServer
they are associated with- Parameters:
computeServerInterfaces
- ComputeServerInterfaces to deletecomputeServer
- the ComputeServer instance to remove the interface from- Returns:
- success
-
MorpheusDataService.bulkCreate(java.util.List<M>)
instead