addLocations


SoftLayer_Virtual_Guest_Block_Device_Template_Group::addLocations

SoftLayer_Virtual_Guest_Block_Device can be made available in all storage locations. This method will create transaction(s) to add available locations to an archive image template.

Description

This method will create transaction(s) to add available locations to an archive image template.

Parameters

Name Type Description
locations SoftLayer_Location[] to add to the image template.

Required Headers

Optional Headers

  • None

Return Values

  • boolean
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Location]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest_Block_Device_Template_Group/{SoftLayer_Virtual_Guest_Block_Device_Template_GroupID}/addLocations'