getDomain


SoftLayer_Resource_Metadata::getDomain

A resource’s domain

Description

The getDomain method retrieves the hostname for the resource.

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_Resource_Metadata/{SoftLayer_Resource_MetadataID}/getDomain'