Share via


ArmDnsResolverModelFactory.DnsResolverPolicyData Method

Definition

Initializes a new instance of DnsResolverPolicyData.

public static Azure.ResourceManager.DnsResolver.DnsResolverPolicyData DnsResolverPolicyData (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.ResourceManager.DnsResolver.Models.DnsResolverProvisioningState? provisioningState = default, Guid? resourceGuid = default);
static member DnsResolverPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.DnsResolver.Models.DnsResolverProvisioningState> * Nullable<Guid> -> Azure.ResourceManager.DnsResolver.DnsResolverPolicyData
Public Shared Function DnsResolverPolicyData (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 provisioningState As Nullable(Of DnsResolverProvisioningState) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing) As DnsResolverPolicyData

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.

provisioningState
Nullable<DnsResolverProvisioningState>

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

resourceGuid
Nullable<Guid>

The resourceGuid property of the DNS resolver policy resource.

Returns

A new DnsResolverPolicyData instance for mocking.

Applies to