setVdrContent


SoftLayer_Network_Bandwidth_Version1_Allotment::setVdrContent

Update bandwidth pool.

Description

This will update the bandwidth pool to the servers provided. Servers currently in the bandwidth pool not provided on update will be removed. Servers provided on update not currently in the bandwidth pool will be added. If all servers are removed, this removes the bandwidth pool on completion.

Parameters

Name Type Description
hardware SoftLayer_Hardware[] A collection of servers that will be used to set the bandwidth pool.
bareMetalServers SoftLayer_Hardware[] A collection of bare metal servers that will be used to set the bandwidth pool.
virtualServerInstance SoftLayer_Virtual_Guest[] A collection of virtual server that will be used to set the bandwidth pool.
adc SoftLayer_Network_Application_Delivery_Controller[] A collection of application delivery controllers that will be used to set the bandwidth pool.
optionalAllotmentId int The bandwidth pool to move the servers to. Provided only for backwards compatibility.

Required Headers

Optional Headers

  • None

Return Values

  • boolean
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Hardware, SoftLayer_Hardware, SoftLayer_Virtual_Guest, SoftLayer_Network_Application_Delivery_Controller, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Bandwidth_Version1_Allotment/{SoftLayer_Network_Bandwidth_Version1_AllotmentID}/setVdrContent'