SoftLayer Dns Domain::createCnameRecord
From SoftLayer Development Network Wiki
createCnameRecord is a member of the SoftLayer_Dns_Domain service.
Contents |
Overview
Create a CNAME 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. createCnameRecord returns the newly created SoftLayer_Dns_Domain_ResourceRecord_CnameType.
User Access
Users wishing to execute createCnameRecord service must have the Manage DNS permission assigned to their account.
Return Type
createCnameRecord returns the SoftLayer_Dns_Domain_ResourceRecord data type.
Headers
Required Headers
createCnameRecord requires the following headers:
Parameters
createCnameRecord takes the following parameters:
host
The resource record's name
- Type: string
data
The resource record's value
- Type: string

