getObject


SoftLayer_Network_Subnet::getObject

Retrieve a SoftLayer_Network_Subnet record.

Description

Retrieves a subnet by its id value. Only subnets 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_Subnet/{SoftLayer_Network_SubnetID}/getObject'