NetworkInterfaceDnsSettings Constructors

Definition

Overloads

NetworkInterfaceDnsSettings()

Initializes a new instance of the NetworkInterfaceDnsSettings class.

NetworkInterfaceDnsSettings(IList<String>, IList<String>, String, String, String)

Initializes a new instance of the NetworkInterfaceDnsSettings class.

NetworkInterfaceDnsSettings()

Initializes a new instance of the NetworkInterfaceDnsSettings class.

public NetworkInterfaceDnsSettings ();
Public Sub New ()

Applies to

NetworkInterfaceDnsSettings(IList<String>, IList<String>, String, String, String)

Initializes a new instance of the NetworkInterfaceDnsSettings class.

public NetworkInterfaceDnsSettings (System.Collections.Generic.IList<string> dnsServers = null, System.Collections.Generic.IList<string> appliedDnsServers = null, string internalDnsNameLabel = null, string internalFqdn = null, string internalDomainNameSuffix = null);
new Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceDnsSettings : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * string * string -> Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceDnsSettings
Public Sub New (Optional dnsServers As IList(Of String) = null, Optional appliedDnsServers As IList(Of String) = null, Optional internalDnsNameLabel As String = null, Optional internalFqdn As String = null, Optional internalDomainNameSuffix As String = null)

Parameters

dnsServers
System.Collections.Generic.IList<System.String>

List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.

appliedDnsServers
System.Collections.Generic.IList<System.String>

If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.

internalDnsNameLabel
System.String

Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.

internalFqdn
System.String

Fully qualified DNS name supporting internal communications between VMs in the same virtual network.

internalDomainNameSuffix
System.String

Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.

Applies to