Share via


DnsResolverPolicyVirtualNetworkLinkData Constructor

Definition

Initializes a new instance of DnsResolverPolicyVirtualNetworkLinkData.

public DnsResolverPolicyVirtualNetworkLinkData (Azure.Core.AzureLocation location, Azure.ResourceManager.Resources.Models.WritableSubResource virtualNetwork);
new Azure.ResourceManager.DnsResolver.DnsResolverPolicyVirtualNetworkLinkData : Azure.Core.AzureLocation * Azure.ResourceManager.Resources.Models.WritableSubResource -> Azure.ResourceManager.DnsResolver.DnsResolverPolicyVirtualNetworkLinkData
Public Sub New (location As AzureLocation, virtualNetwork As WritableSubResource)

Parameters

location
AzureLocation

The location.

virtualNetwork
WritableSubResource

The reference to the virtual network. This cannot be changed after creation.

Exceptions

virtualNetwork is null.

Applies to