Interface MorpheusComputeServerInterfaceService


  • public interface MorpheusComputeServerInterfaceService
    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 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 the ComputeServer specified
        Parameters:
        computeServerInterfaces - new ComputeServerInterfaces to persist
        computeServer - 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 the ComputeServer they are associated with
        Parameters:
        computeServerInterfaces - ComputeServerInterfaces to delete
        computeServer - the ComputeServer instance to remove the interface from
        Returns:
        success