Package com.morpheusdata.core.compute
Interface MorpheusComputeServerInterfaceService
-
public interface MorpheusComputeServerInterfaceService
This Context deals with interactions related toComputeServerInterface
objects. It can normally be accessed via theMorpheusComputeServerService
Examples:
morpheusContext.getComputeServer().getComputeServerInterface()
- Since:
- 0.10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.reactivex.Single<java.lang.Boolean>
create(java.util.List<ComputeServerInterface> computeServerInterfaces, ComputeServer computeServer)
Create new ComputeServerInterfaces in Morpheus and add them to theComputeServer
specifiedio.reactivex.Single<java.lang.Boolean>
remove(java.util.List<ComputeServerInterface> computeServerInterfaces, ComputeServer computeServer)
Remove persisted ComputeServerInterfaces from Morpheus and remove them theComputeServer
they are associated withio.reactivex.Single<java.lang.Boolean>
save(java.util.List<ComputeServerInterface> computeServerInterfaces)
Save updates to existing ComputeServerInterfaces
-
-
-
Method Detail
-
save
io.reactivex.Single<java.lang.Boolean> save(java.util.List<ComputeServerInterface> computeServerInterfaces)
Save updates to existing ComputeServerInterfaces- Parameters:
computeServerInterfaces
- updated ComputeServerInterfaces- Returns:
- success
-
create
io.reactivex.Single<java.lang.Boolean> create(java.util.List<ComputeServerInterface> computeServerInterfaces, ComputeServer computeServer)
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
io.reactivex.Single<java.lang.Boolean> remove(java.util.List<ComputeServerInterface> computeServerInterfaces, ComputeServer computeServer)
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
-
-