getPrimaryIpAddress


SoftLayer_Virtual_Guest::getPrimaryIpAddress

Description

The guest’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_Virtual_Guest/{SoftLayer_Virtual_GuestID}/getPrimaryIpAddress'