SoftLayer Network Firewall Update Request Rule::createObject

From SoftLayer Development Network Wiki

Jump to: navigation, search

createObject is a member of the SoftLayer_Network_Firewall_Update_Request_Rule service.

Contents

Overview

Create a new firewall update request. The SoftLayer_Network_Firewall_Update_Request object passed to this function must have at least one rule.

createObject returns a Boolean true on successful object creation or false if your firewall update request was unable to be created..

User Access

Users wishing to execute createObject service must have the Hardware Firewall permission assigned to their account.

Return Type

createObject returns the SoftLayer_Network_Firewall_Update_Request_Rule data type.

Headers

Required Headers

createObject requires the following headers:

Parameters

createObject takes the following parameters:

templateObject

The SoftLayer_Network_Firewall_Update_Request_Rule object that you wish to create.

Error Handling

createObject throws the following exceptions:

  • SoftLayer_Exception
Throw the exception "At least one valid rule is required to create a a firewall update request." if the firewall update request in the templateObject parameter doesn't have at least one rule record.

See Also

Personal tools