ArmDnsResolverModelFactory.DnsResolverData Method
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 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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- 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.
Returns
A new DnsResolverData instance for mocking.
Applies to
Azure SDK for .NET