Interface MorpheusSynchronousComputeServerService

All Superinterfaces:
MorpheusSynchronousDataService<ComputeServer,ComputeServerIdentityProjection>, MorpheusSynchronousIdentityService<ComputeServerIdentityProjection>

  • Method Details

    • getComputeServerInterface

      Returns the ComputeServerInterfaceContext used for performing updates or queries on ComputeServerInterface related assets within Morpheus.
      Returns:
      An instance of the ComputeServerInterface Context
    • getComputeDevice

      Returns the ComputeDevice context used for performing sync operations on ComputeDevice related assets within Morpheus.
      Returns:
      An instance of the ComputeDevice context
    • getComputePort

      Returns the ComputePort context used for performing sync operations on ComputePort related assets within Morpheus.
      Returns:
      An instance of the ComputePort context
    • getAccess

      Returns the ComputePort context used for performing sync operations on ComputeServerAccess related assets within Morpheus.
      Returns:
      An instance of the ComputeServerAccess context
    • stopServer

      Boolean stopServer(Long computeServerId)
      Stop a ComputeServer. This is an async operation and the server may not be stopped immediately.
      Parameters:
      computeServerId - ComputeServer id to stop
      Returns:
      success if the request to stop the server was successful
    • startServer

      Boolean startServer(Long computeServerId)
      Start a ComputeServer. This is an async operation and the server may not be started immediately.
      Parameters:
      computeServerId - ComputeServer id to start
      Returns:
      success if the request to start the server was successful
    • restartServer

      Boolean restartServer(Long computeServerId)
      Restart a ComputeServer. This is an async operation and the server may not be restarted immediately.
      Parameters:
      computeServerId - ComputeServer id to restart
      Returns:
      success if the request to restart the server was successful
    • buildComputeServerInterface

      ComputeServerInterface buildComputeServerInterface(Account account, Instance instance, ComputeServer server, MorpheusComputeServerNetworkInterfaceConfig networkInterfaceConfig)
      Returns a ComputeNetworkInterface built from the provided parameters.
      Parameters:
      account - Account
      instance - Instance
      server - ComputeServer
      networkInterfaceConfig - MorpheusComputeServerNetworkInterfaceConfig
      Returns:
      A ComputeServerInterface instance