createObject


SoftLayer_Dns_Domain_ResourceRecord_SrvType::createObject

Create an SRV record.

Description

createObject creates a new SRV 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 an SRV record updates the serial number of the domain the resource record is associated with.

Parameters

Name Type Description
templateObject SoftLayer_Dns_Domain_ResourceRecord_SrvType The SoftLayer_Dns_Domain_ResourceRecord_SrvType object that you wish to create.

Required Headers

Optional Headers

Return Values

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Dns_Domain_ResourceRecord_SrvType]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_ResourceRecord_SrvType/createObject'