DnsForwardingRuleData(String, IEnumerable<TargetDnsServer>) Constructor
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.
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.