Delen via


DnsSettings Constructors

Definition

Overloads

DnsSettings()

Initializes a new instance of the DnsSettings class.

DnsSettings(IList<String>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the DnsSettings class.

DnsSettings()

Initializes a new instance of the DnsSettings class.

public DnsSettings ();
Public Sub New ()

Applies to

DnsSettings(IList<String>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the DnsSettings class.

public DnsSettings (System.Collections.Generic.IList<string> servers = default, bool? enableProxy = default, bool? requireProxyForNetworkRules = default);
new Microsoft.Azure.Management.Network.Models.DnsSettings : System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Network.Models.DnsSettings
Public Sub New (Optional servers As IList(Of String) = Nothing, Optional enableProxy As Nullable(Of Boolean) = Nothing, Optional requireProxyForNetworkRules As Nullable(Of Boolean) = Nothing)

Parameters

servers
IList<String>

List of Custom DNS Servers.

enableProxy
Nullable<Boolean>

Enable DNS Proxy on Firewalls attached to the Firewall Policy.

requireProxyForNetworkRules
Nullable<Boolean>

FQDNs in Network Rules are supported when set to true.

Applies to