ArmPrivateDnsModelFactory.VirtualNetworkLinkData 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 VirtualNetworkLinkData.
public static Azure.ResourceManager.PrivateDns.VirtualNetworkLinkData VirtualNetworkLinkData (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, bool? registrationEnabled = default, Azure.ResourceManager.PrivateDns.Models.PrivateDnsResolutionPolicy? privateDnsResolutionPolicy = default, Azure.ResourceManager.PrivateDns.Models.VirtualNetworkLinkState? virtualNetworkLinkState = default, Azure.ResourceManager.PrivateDns.Models.PrivateDnsProvisioningState? privateDnsProvisioningState = default);
static member VirtualNetworkLinkData : 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<bool> * Nullable<Azure.ResourceManager.PrivateDns.Models.PrivateDnsResolutionPolicy> * Nullable<Azure.ResourceManager.PrivateDns.Models.VirtualNetworkLinkState> * Nullable<Azure.ResourceManager.PrivateDns.Models.PrivateDnsProvisioningState> -> Azure.ResourceManager.PrivateDns.VirtualNetworkLinkData
Public Shared Function VirtualNetworkLinkData (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 registrationEnabled As Nullable(Of Boolean) = Nothing, Optional privateDnsResolutionPolicy As Nullable(Of PrivateDnsResolutionPolicy) = Nothing, Optional virtualNetworkLinkState As Nullable(Of VirtualNetworkLinkState) = Nothing, Optional privateDnsProvisioningState As Nullable(Of PrivateDnsProvisioningState) = Nothing) As VirtualNetworkLinkData
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 of the virtual network.
Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?.
- privateDnsResolutionPolicy
- Nullable<PrivateDnsResolutionPolicy>
The resolution policy on the virtual network link. Only applicable for virtual network links to privatelink zones, and for A,AAAA,CNAME queries. When set to 'NxDomainRedirect', Azure DNS resolver falls back to public resolution if private dns query resolution results in non-existent domain response.
- virtualNetworkLinkState
- Nullable<VirtualNetworkLinkState>
The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.
- privateDnsProvisioningState
- Nullable<PrivateDnsProvisioningState>
The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
Returns
A new VirtualNetworkLinkData instance for mocking.
Applies to
Azure SDK for .NET