DnsResolverData(AzureLocation, WritableSubResource) 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 DnsResolverData.
public DnsResolverData (Azure.Core.AzureLocation location, Azure.ResourceManager.Resources.Models.WritableSubResource virtualNetwork);
new Azure.ResourceManager.DnsResolver.DnsResolverData : Azure.Core.AzureLocation * Azure.ResourceManager.Resources.Models.WritableSubResource -> Azure.ResourceManager.DnsResolver.DnsResolverData
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.