createARecord


SoftLayer_Dns_Domain::createARecord

Create an A record on a domain.

Overview

Create an A 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_AType.

Parameters

Name Type Description
host string The resource record’s name
data string The resource record’s value
ttl integer The resource record’s time-to-live value.

Required Headers

  • authenticate
  • SoftLayer_Dns_DomainInitParameters

Optional Headers

  • SoftLayer_Dns_DomainObjectMask
  • SoftLayer_ObjectMask

Return Values

SoftLayer_Dns_Domain_ResourceRecord_AType


/reference/services/SoftLayer_Dns_Domain/createARecord/