Share via


ArmDnsResolverModelFactory.VirtualNetworkDnsForwardingRuleset Method

Definition

Initializes a new instance of VirtualNetworkDnsForwardingRuleset.

public static Azure.ResourceManager.DnsResolver.Models.VirtualNetworkDnsForwardingRuleset VirtualNetworkDnsForwardingRuleset (Azure.Core.ResourceIdentifier id = default, Azure.Core.ResourceIdentifier virtualNetworkLinkId = default);
static member VirtualNetworkDnsForwardingRuleset : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DnsResolver.Models.VirtualNetworkDnsForwardingRuleset
Public Shared Function VirtualNetworkDnsForwardingRuleset (Optional id As ResourceIdentifier = Nothing, Optional virtualNetworkLinkId As ResourceIdentifier = Nothing) As VirtualNetworkDnsForwardingRuleset

Parameters

id
ResourceIdentifier

DNS Forwarding Ruleset Resource ID.

virtualNetworkLinkId
ResourceIdentifier

The reference to the virtual network link.

Returns

A new VirtualNetworkDnsForwardingRuleset instance for mocking.

Applies to