Share via


ArmDnsResolverModelFactory.DnsResolverPolicyVirtualNetworkLinkData Method

Definition

Initializes a new instance of DnsResolverPolicyVirtualNetworkLinkData.

public static Azure.ResourceManager.DnsResolver.DnsResolverPolicyVirtualNetworkLinkData DnsResolverPolicyVirtualNetworkLinkData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier virtualNetworkId = default, Azure.ResourceManager.DnsResolver.Models.DnsResolverProvisioningState? provisioningState = default);
static member DnsResolverPolicyVirtualNetworkLinkData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.DnsResolver.Models.DnsResolverProvisioningState> -> Azure.ResourceManager.DnsResolver.DnsResolverPolicyVirtualNetworkLinkData
Public Shared Function DnsResolverPolicyVirtualNetworkLinkData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional virtualNetworkId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of DnsResolverProvisioningState) = Nothing) As DnsResolverPolicyVirtualNetworkLinkData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

ETag of the DNS resolver policy virtual network link.

virtualNetworkId
ResourceIdentifier

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

provisioningState
Nullable<DnsResolverProvisioningState>

The current provisioning state of the DNS resolver policy virtual network link. This is a read-only property and any attempt to set this value will be ignored.

Returns

A new DnsResolverPolicyVirtualNetworkLinkData instance for mocking.

Applies to