ArmTrafficManagerModelFactory.TrafficManagerDnsConfig Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Azure SDK for .NET