NetworkInterfaceDnsSettings Constructors
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.
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 = default, System.Collections.Generic.IList<string> appliedDnsServers = default, string internalDnsNameLabel = default, string internalFqdn = default, string internalDomainNameSuffix = default);
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) = Nothing, Optional appliedDnsServers As IList(Of String) = Nothing, Optional internalDnsNameLabel As String = Nothing, Optional internalFqdn As String = Nothing, Optional internalDomainNameSuffix As String = Nothing)
Parameters
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.
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
- String
Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
- internalFqdn
- String
Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
- internalDomainNameSuffix
- 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
Azure SDK for .NET