attachToVolume


SoftLayer_Network_Storage_Group::attachToVolume

Attach a SoftLayer_Network_Storage volume to this group

Description

Use this method to attach a SoftLayer_Network_Storage volume to this group. This will automatically enable access to this volume for any SoftLayer_Network_Storage_Allowed_Host objects currently attached to this group.

Parameters

Name Type Description
volume SoftLayer_Network_Storage

Required Headers

Optional Headers

  • None

Return Values

  • boolean
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Network_Storage]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage_Group/{SoftLayer_Network_Storage_GroupID}/attachToVolume'