getObject


SoftLayer_Network_Vlan::getObject

Retrieve a SoftLayer_Network_Vlan record.

Description

Retrieves a VLAN by its id value. Only VLANs assigned to your account are accessible.

Parameters

None

Required Headers

Optional Headers

Return Values

Error Handling

  • Throw the error “Unable to find object with id of {id}.” if the given initialization parameter has an invalid id field.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Vlan/{SoftLayer_Network_VlanID}/getObject'