Share via


TrafficManagerDnsConfig Class

Definition

Class containing DNS settings in a Traffic Manager profile.

public class TrafficManagerDnsConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.TrafficManager.Models.TrafficManagerDnsConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.TrafficManager.Models.TrafficManagerDnsConfig>
type TrafficManagerDnsConfig = class
    interface IJsonModel<TrafficManagerDnsConfig>
    interface IPersistableModel<TrafficManagerDnsConfig>
Public Class TrafficManagerDnsConfig
Implements IJsonModel(Of TrafficManagerDnsConfig), IPersistableModel(Of TrafficManagerDnsConfig)
Inheritance
TrafficManagerDnsConfig
Implements

Constructors

TrafficManagerDnsConfig()

Initializes a new instance of TrafficManagerDnsConfig.

Properties

Fqdn

The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.

RelativeName

The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.

Ttl

The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.

Explicit Interface Implementations

IJsonModel<TrafficManagerDnsConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<TrafficManagerDnsConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TrafficManagerDnsConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TrafficManagerDnsConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<TrafficManagerDnsConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to