SoftLayer Dns Domain::createTxtRecord
From SoftLayer Development Network Wiki
createTxtRecord is a member of the SoftLayer_Dns_Domain service.
Contents |
Overview
Create a TXT record on a SoftLayer domain. This is a shortcut method, meant to take the work out of creating a SoftLayer_Dns_Domain_ResourceRecord if you already have a domain record available. createARecord returns the newly created SoftLayer_Dns_Domain_ResourceRecord_TxtType.
User Access
Users wishing to execute createTxtRecord service must have the Manage DNS permission assigned to their account.
Return Type
createTxtRecord returns the SoftLayer_Dns_Domain_ResourceRecord data type.
Headers
Required Headers
createTxtRecord requires the following headers:
Parameters
createTxtRecord takes the following parameters:
host
The resource record's name
- Type: string
data
The resource record's value
- Type: string

