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.getType()Returns the service used for performing updates or queries onComputeServerInterfaceTyperelated assets within Morpheus.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, searchMethods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, create, remove, remove, save
-
Method Details
-
getType
Returns the service used for performing updates or queries onComputeServerInterfaceTyperelated assets within Morpheus.- Returns:
- An instance of the ComputeServerInterfaceType Context
- Since:
- 1.2.6
-
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:
savein 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 theComputeServerspecified- 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 theComputeServerthey 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