Share via


ArmDnsResolverModelFactory.DnsResolverData Method

Definition

Initializes a new instance of DnsResolverData.

public static Azure.ResourceManager.DnsResolver.DnsResolverData DnsResolverData (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.DnsResolverState? dnsResolverState = default, Azure.ResourceManager.DnsResolver.Models.DnsResolverProvisioningState? provisioningState = default, Guid? resourceGuid = default);
static member DnsResolverData : 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.DnsResolverState> * Nullable<Azure.ResourceManager.DnsResolver.Models.DnsResolverProvisioningState> * Nullable<Guid> -> Azure.ResourceManager.DnsResolver.DnsResolverData
Public Shared Function DnsResolverData (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 dnsResolverState As Nullable(Of DnsResolverState) = Nothing, Optional provisioningState As Nullable(Of DnsResolverProvisioningState) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing) As DnsResolverData

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.

virtualNetworkId
ResourceIdentifier

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

dnsResolverState
Nullable<DnsResolverState>

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

provisioningState
Nullable<DnsResolverProvisioningState>

The current provisioning state of the DNS resolver. 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 resource.

Returns

A new DnsResolverData instance for mocking.

Applies to