Add Alias Record - BlueCat Address Manager - 9.0.0

Address Manager API Guide

English (United States)
Product name
BlueCat Address Manager

Adds alias records.

This method attempts to link to an existing host record. If an existing host record cannot be located, the method attempts to link to an existing external host record. If neither can be located, the method fails. This method will add the record under a zone. In order to add records under templates, you must use Add Entity for Resource Records.
Output / Response

Returns the object ID for the new alias resource record.

API call:

long addAliasRecord ( long viewId, String absoluteName, String linkedRecordName, long ttl, String properties )
Parameter Description
viewId The object ID for the parent view to which this record is being added.
absoluteName The FQDN of the alias. If you are adding a record in a zone that is linked to a incremental Naming Policy, a single hash (#) sign must be added at the appropriate location in the FQDN. Depending on the policy order value, the location of the single hash (#) sign varies.
linkedRecordName The name of the record to which this alias will link.
ttl The time-to-live value for the record. To ignore the ttl, set this value to -1.
properties Adds object properties, including comments and user-defined fields.