Share via


NaptrRecord Class

Definition

A NAPTR record. For more information about the NAPTR record format, see RFC 3403: https://www.rfc-editor.org/rfc/rfc3403

[Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.NaptrRecordTypeConverter))]
public class NaptrRecord : Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.INaptrRecord
[<Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.NaptrRecordTypeConverter))>]
type NaptrRecord = class
    interface INaptrRecord
    interface IJsonSerializable
Public Class NaptrRecord
Implements INaptrRecord
Inheritance
NaptrRecord
Attributes
Implements

Constructors

NaptrRecord()

Creates an new NaptrRecord instance.

Properties

Flag

The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.

Order

The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.

Preference

The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.

Regexp

The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.

Replacement

The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.

Service

The services specific to DDDS applications. Enclose Services in quotation marks.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NaptrRecord.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NaptrRecord.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.INaptrRecord.

FromJsonString(String)

Creates a new instance of NaptrRecord, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NaptrRecord into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to