createObjects


SoftLayer_Network_Gateway_Vlan::createObjects

Attach a VLAN to a gateway

Description

Create multiple new VLAN attachments. If the bypassFlag is false, this will also create an asynchronous process to route the VLANs through the gateway.

Parameters

Name Type Description
templateObjects SoftLayer_Network_Gateway_Vlan[] An array of SoftLayer_Network_Gateway_Vlan objects that you wish to create.

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Network_Gateway_Vlan]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Gateway_Vlan/createObjects'