ArmDnsResolverModelFactory.DnsForwardingRulePatch Method

Definition

public static Azure.ResourceManager.DnsResolver.Models.DnsForwardingRulePatch DnsForwardingRulePatch(System.Collections.Generic.IEnumerable<Azure.ResourceManager.DnsResolver.Models.TargetDnsServer> targetDnsServers = default, System.Collections.Generic.IDictionary<string,string> metadata = default, Azure.ResourceManager.DnsResolver.Models.DnsForwardingRuleState? dnsForwardingRuleState = default);
static member DnsForwardingRulePatch : seq<Azure.ResourceManager.DnsResolver.Models.TargetDnsServer> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.DnsResolver.Models.DnsForwardingRuleState> -> Azure.ResourceManager.DnsResolver.Models.DnsForwardingRulePatch
Public Shared Function DnsForwardingRulePatch (Optional targetDnsServers As IEnumerable(Of TargetDnsServer) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional dnsForwardingRuleState As Nullable(Of DnsForwardingRuleState) = Nothing) As DnsForwardingRulePatch

Parameters

targetDnsServers
IEnumerable<TargetDnsServer>

DNS servers to forward the DNS query to.

metadata
IDictionary<String,String>

Metadata attached to the forwarding rule.

dnsForwardingRuleState
Nullable<DnsForwardingRuleState>

The state of forwarding rule.

Returns

A new DnsForwardingRulePatch instance for mocking.

Applies to