getServerPowerState


SoftLayer_Hardware_SecurityModule750::getServerPowerState

Retrieves server’s power state

Description

Retrieves the power state for the server. The server’s power status is retrieved from its remote management card. This will return ‘on’ or ‘off’.

Parameters

None

Required Headers

Optional Headers

  • None

Return Values

  • string
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule750/{SoftLayer_Hardware_SecurityModule750ID}/getServerPowerState'