SoftLayer Dns Domain ResourceRecord::createObject

From SoftLayer Development Network Wiki

Jump to: navigation, search

createObject is a member of the SoftLayer_Dns_Domain_ResourceRecord service.

Contents

Overview

createObject creates a new domain resource record. The host property of the templateObject parameter is scrubbed to remove all non-alpha numeric characters except for "@", "_", ".", "*", and "-". The data property of the templateObject parameter is scrubbed to remove all non-alphanumeric characters for "." and "-". Creating a resource record updates the serial number of the domain the resource record is associated with.

createObject returns Boolean true on successful create or false if it was unable to create a resource record.

User Access

Users wishing to execute createObject service must have the Manage DNS permission assigned to their account.

Return Type

createObject returns the SoftLayer_Dns_Domain_ResourceRecord data type.

Headers

Required Headers

createObject requires the following headers:

Parameters

createObject takes the following parameters:

templateObject

The SoftLayer_Dns_Domain_ResourceRecord object that you wish to create.

Associated Methods

Personal tools