Description
Adds SRV records.
Parameters
Name | Description |
---|---|
absoluteName |
Location: query Type: string The FQDN of the SRV record. If you are adding a record in a zone that is linked to a incremental naming policy, you must add a single hash sign (#) at the appropriate location in the FQDN. Depending on the policy order value, the location of the single hash sign varies. |
linkedRecordName |
Location: query Type: string The FQDN of the host record to which this SRV record is linked. |
port |
Location: query Type: integer (int32) The TCP/UDP port on which the service is available.Note: Starting in Address Manager API v9.2.0, this parameter is now required.
|
priority |
Location: query Type: integer (int32) Specifies which SRV record to use when multiple matching SRV records are present. The record with the lowest value takes precedence.Note: Starting in Address Manager API v9.2.0, this parameter is now required.
|
properties |
Location: query Type: string Adds object properties, including comments and user-defined fields. |
ttl |
Location: query Type: integer (int64) The time-to-live (TTL) value for the record. To ignore the TTL, set the value to -1.Note: Starting in Address Manager API v9.2.0, this parameter is now required.
|
viewId |
Location: query Type: integer (int64) The object ID for the parent view where you wish to add the SRV record.Note: Starting in Address Manager API v9.2.0, this parameter is now required.
|
weight |
Location: query Type: integer (int32) If two matching SRV records within a zone have equal priority, the weight value is checked. If the weight value for one object is higher than the other, the record with the highest weight has its resource records returned first.Note: Starting in Address Manager API v9.2.0, this parameter is now required.
|
Responses
Code | Description |
---|---|
201 |
Type: number Returns the object ID for the new SRV record. |