createObject


SoftLayer_Network_Gateway_Vlan::createObject

Attach a VLAN to a gateway

Description

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

Parameters

Name Type Description
templateObject SoftLayer_Network_Gateway_Vlan The SoftLayer_Network_Gateway_Vlan object 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/createObject'