getPrimaryIpAddress


SoftLayer_Hardware::getPrimaryIpAddress

Description

The hardware’s primary public IP address.

Parameters

None

Required Headers

Optional Headers

Return Values

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