createObject


SoftLayer_Network_Gateway::createObject

Create a new server gateway

Description

Create and return a new gateway. This object can be created with any number of members or VLANs, but they all must be in the same pod. By creating a gateway with members and/or VLANs attached, it is the equivalent of individually calling their createObject methods except this will start a single asynchronous process to setup the gateway. The status of this process can be checked using the status field.

Parameters

Name Type Description
templateObject SoftLayer_Network_Gateway The SoftLayer_Network_Gateway 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]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Gateway/createObject'