getServerPowerState


SoftLayer_Hardware_Router::getServerPowerState

Retrieves a server’s power state.

Overview

The “‘getPowerState”’ method retrieves the power state for the selected server. The server’s power status is retrieved from its remote management card. This method returns “on”, for a server that has been powered on, or “off” for servers powered off.

Parameters

Name Type Description

Required Headers

  • authenticate
  • SoftLayer_Hardware_RouterInitParameters

Optional Headers

Return Values

string