getDatacenter


SoftLayer_Resource_Metadata::getDatacenter

The name for the datacenter which the resource is in

Description

The getDatacenter method retrieves the name of the datacenter in which the resource is located.

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}/getDatacenter'