Udostępnij za pośrednictwem


ArmTrafficManagerModelFactory.TrafficManagerDnsConfig Method

Definition

Initializes a new instance of TrafficManagerDnsConfig.

public static Azure.ResourceManager.TrafficManager.Models.TrafficManagerDnsConfig TrafficManagerDnsConfig (string relativeName = default, string fqdn = default, long? ttl = default);
static member TrafficManagerDnsConfig : string * string * Nullable<int64> -> Azure.ResourceManager.TrafficManager.Models.TrafficManagerDnsConfig
Public Shared Function TrafficManagerDnsConfig (Optional relativeName As String = Nothing, Optional fqdn As String = Nothing, Optional ttl As Nullable(Of Long) = Nothing) As TrafficManagerDnsConfig

Parameters

relativeName
String

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.

fqdn
String

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.

ttl
Nullable<Int64>

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.

Returns

A new TrafficManagerDnsConfig instance for mocking.

Applies to