getObject


SoftLayer_Network_Firewall_Template::getObject

Retrieve a SoftLayer_Network_Firewall_Template record.

Description

getObject returns a SoftLayer_Network_Firewall_Template object. You can retrieve all available firewall templates. getAllObjects returns an array of all available SoftLayer_Network_Firewall_Template objects. You can use these templates to generate a [[SoftLayer Network Firewall Update Request]].

@SLDNDocumentation Service See Also SoftLayer_Network_Firewall_Update_Request


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.
  • Throw the error “Access Denied.” if the given initialization parameter id field is not the account id of the user making the API call.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Firewall_Template/{SoftLayer_Network_Firewall_TemplateID}/getObject'