Interface ClusterProvider.ServerPowerFacet

Enclosing interface:
ClusterProvider

public static interface ClusterProvider.ServerPowerFacet
  • Method Details

    • startServer

      ServiceResponse startServer(ComputeServer computeServer)
      Called when a server should be started. Returning a response of success will cause corresponding updates to usage records, result in the powerState of the computeServer to be set to 'on', and related instances set to 'running'
      Parameters:
      computeServer - server to start
      Returns:
      ServiceResponse
    • stopServer

      ServiceResponse stopServer(ComputeServer computeServer)
      Called when a server should be stopped. Returning a response of success will cause corresponding updates to usage records, result in the powerState of the computeServer to be set to 'off', and related instances set to 'stopped'
      Parameters:
      computeServer - server to stop
      Returns:
      ServiceResponse