addNsRecord


SoftLayer_Network_LoadBalancer_Global_Account::addNsRecord

Deprecated

[Deprecated] Add the required nameserver resource record for a global load balancer account.

Description

The global load balancer service has been deprecated and is no longer available.

If your globally load balanced domain is hosted on the SoftLayer nameservers this method will add the required NS resource record to your DNS zone file and remove any A records that match the host portion of a global load balancer account hostname.


Parameters

None

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • Throw the exception “Operation addNsRecord has been deprecated and will be removed in API version 3.2.” when attempting to invoke this function.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_LoadBalancer_Global_Account/{SoftLayer_Network_LoadBalancer_Global_AccountID}/addNsRecord'