Share via


DnsForwardingRuleData(String, IEnumerable<TargetDnsServer>) Constructor

Definition

Initializes a new instance of DnsForwardingRuleData.

public DnsForwardingRuleData (string domainName, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DnsResolver.Models.TargetDnsServer> targetDnsServers);
new Azure.ResourceManager.DnsResolver.DnsForwardingRuleData : string * seq<Azure.ResourceManager.DnsResolver.Models.TargetDnsServer> -> Azure.ResourceManager.DnsResolver.DnsForwardingRuleData
Public Sub New (domainName As String, targetDnsServers As IEnumerable(Of TargetDnsServer))

Parameters

domainName
String

The domain name for the forwarding rule.

targetDnsServers
IEnumerable<TargetDnsServer>

DNS servers to forward the DNS query to.

Exceptions

domainName or targetDnsServers is null.

Applies to