ArmNetworkModelFactory.DnsSettings 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.
public static Azure.ResourceManager.Network.Models.DnsSettings DnsSettings(System.Collections.Generic.IEnumerable<string> servers = default, bool? enableProxy = default, bool? requireProxyForNetworkRules = default);
static member DnsSettings : seq<string> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Network.Models.DnsSettings
Public Shared Function DnsSettings (Optional servers As IEnumerable(Of String) = Nothing, Optional enableProxy As Nullable(Of Boolean) = Nothing, Optional requireProxyForNetworkRules As Nullable(Of Boolean) = Nothing) As DnsSettings
Parameters
- servers
- IEnumerable<String>
List of Custom DNS Servers.
FQDNs in Network Rules are supported when set to true.
Returns
A new DnsSettings instance for mocking.