getServiceResource


SoftLayer_Resource_Metadata::getServiceResource

Obtain a specific service resource associated with the resource

Description

The getServiceResource method retrieves a specific service resource associated with the resource. Service resources are additional resources that may be used by this resource.

Parameters

Name Type Description
serviceName string Name of the service to be returned
index int Index of the service to be returned, default 0 (the first)

Required Headers

Optional Headers

  • None

Return Values

  • string
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Resource_Metadata/{SoftLayer_Resource_MetadataID}/getServiceResource'