We recommend using Azure Native.
azure.privatedns.ZoneVirtualNetworkLink
Enables you to manage Private DNS zone Virtual Network Links. These Links enable DNS resolution and registration inside Azure Virtual Networks using Azure Private DNS.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleZone = new azure.privatedns.Zone("example", {
    name: "mydomain.com",
    resourceGroupName: example.name,
});
const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
    name: "test-network",
    addressSpaces: ["10.0.0.0/16"],
    location: example.location,
    resourceGroupName: example.name,
});
const exampleZoneVirtualNetworkLink = new azure.privatedns.ZoneVirtualNetworkLink("example", {
    name: "test",
    resourceGroupName: example.name,
    privateDnsZoneName: exampleZone.name,
    virtualNetworkId: exampleVirtualNetwork.id,
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_zone = azure.privatedns.Zone("example",
    name="mydomain.com",
    resource_group_name=example.name)
example_virtual_network = azure.network.VirtualNetwork("example",
    name="test-network",
    address_spaces=["10.0.0.0/16"],
    location=example.location,
    resource_group_name=example.name)
example_zone_virtual_network_link = azure.privatedns.ZoneVirtualNetworkLink("example",
    name="test",
    resource_group_name=example.name,
    private_dns_zone_name=example_zone.name,
    virtual_network_id=example_virtual_network.id)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("mydomain.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("test-network"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = privatedns.NewZoneVirtualNetworkLink(ctx, "example", &privatedns.ZoneVirtualNetworkLinkArgs{
			Name:               pulumi.String("test"),
			ResourceGroupName:  example.Name,
			PrivateDnsZoneName: exampleZone.Name,
			VirtualNetworkId:   exampleVirtualNetwork.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var exampleZone = new Azure.PrivateDns.Zone("example", new()
    {
        Name = "mydomain.com",
        ResourceGroupName = example.Name,
    });
    var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
    {
        Name = "test-network",
        AddressSpaces = new[]
        {
            "10.0.0.0/16",
        },
        Location = example.Location,
        ResourceGroupName = example.Name,
    });
    var exampleZoneVirtualNetworkLink = new Azure.PrivateDns.ZoneVirtualNetworkLink("example", new()
    {
        Name = "test",
        ResourceGroupName = example.Name,
        PrivateDnsZoneName = exampleZone.Name,
        VirtualNetworkId = exampleVirtualNetwork.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.privatedns.Zone;
import com.pulumi.azure.privatedns.ZoneArgs;
import com.pulumi.azure.network.VirtualNetwork;
import com.pulumi.azure.network.VirtualNetworkArgs;
import com.pulumi.azure.privatedns.ZoneVirtualNetworkLink;
import com.pulumi.azure.privatedns.ZoneVirtualNetworkLinkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var exampleZone = new Zone("exampleZone", ZoneArgs.builder()
            .name("mydomain.com")
            .resourceGroupName(example.name())
            .build());
        var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
            .name("test-network")
            .addressSpaces("10.0.0.0/16")
            .location(example.location())
            .resourceGroupName(example.name())
            .build());
        var exampleZoneVirtualNetworkLink = new ZoneVirtualNetworkLink("exampleZoneVirtualNetworkLink", ZoneVirtualNetworkLinkArgs.builder()
            .name("test")
            .resourceGroupName(example.name())
            .privateDnsZoneName(exampleZone.name())
            .virtualNetworkId(exampleVirtualNetwork.id())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleZone:
    type: azure:privatedns:Zone
    name: example
    properties:
      name: mydomain.com
      resourceGroupName: ${example.name}
  exampleZoneVirtualNetworkLink:
    type: azure:privatedns:ZoneVirtualNetworkLink
    name: example
    properties:
      name: test
      resourceGroupName: ${example.name}
      privateDnsZoneName: ${exampleZone.name}
      virtualNetworkId: ${exampleVirtualNetwork.id}
  exampleVirtualNetwork:
    type: azure:network:VirtualNetwork
    name: example
    properties:
      name: test-network
      addressSpaces:
        - 10.0.0.0/16
      location: ${example.location}
      resourceGroupName: ${example.name}
API Providers
This resource uses the following Azure API Providers:
- Microsoft.Network- 2024-06-01
Create ZoneVirtualNetworkLink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZoneVirtualNetworkLink(name: string, args: ZoneVirtualNetworkLinkArgs, opts?: CustomResourceOptions);@overload
def ZoneVirtualNetworkLink(resource_name: str,
                           args: ZoneVirtualNetworkLinkArgs,
                           opts: Optional[ResourceOptions] = None)
@overload
def ZoneVirtualNetworkLink(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           private_dns_zone_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           virtual_network_id: Optional[str] = None,
                           name: Optional[str] = None,
                           registration_enabled: Optional[bool] = None,
                           resolution_policy: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None)func NewZoneVirtualNetworkLink(ctx *Context, name string, args ZoneVirtualNetworkLinkArgs, opts ...ResourceOption) (*ZoneVirtualNetworkLink, error)public ZoneVirtualNetworkLink(string name, ZoneVirtualNetworkLinkArgs args, CustomResourceOptions? opts = null)
public ZoneVirtualNetworkLink(String name, ZoneVirtualNetworkLinkArgs args)
public ZoneVirtualNetworkLink(String name, ZoneVirtualNetworkLinkArgs args, CustomResourceOptions options)
type: azure:privatedns:ZoneVirtualNetworkLink
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ZoneVirtualNetworkLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ZoneVirtualNetworkLinkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ZoneVirtualNetworkLinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZoneVirtualNetworkLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZoneVirtualNetworkLinkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var zoneVirtualNetworkLinkResource = new Azure.PrivateDns.ZoneVirtualNetworkLink("zoneVirtualNetworkLinkResource", new()
{
    PrivateDnsZoneName = "string",
    ResourceGroupName = "string",
    VirtualNetworkId = "string",
    Name = "string",
    RegistrationEnabled = false,
    ResolutionPolicy = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := privatedns.NewZoneVirtualNetworkLink(ctx, "zoneVirtualNetworkLinkResource", &privatedns.ZoneVirtualNetworkLinkArgs{
	PrivateDnsZoneName:  pulumi.String("string"),
	ResourceGroupName:   pulumi.String("string"),
	VirtualNetworkId:    pulumi.String("string"),
	Name:                pulumi.String("string"),
	RegistrationEnabled: pulumi.Bool(false),
	ResolutionPolicy:    pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var zoneVirtualNetworkLinkResource = new ZoneVirtualNetworkLink("zoneVirtualNetworkLinkResource", ZoneVirtualNetworkLinkArgs.builder()
    .privateDnsZoneName("string")
    .resourceGroupName("string")
    .virtualNetworkId("string")
    .name("string")
    .registrationEnabled(false)
    .resolutionPolicy("string")
    .tags(Map.of("string", "string"))
    .build());
zone_virtual_network_link_resource = azure.privatedns.ZoneVirtualNetworkLink("zoneVirtualNetworkLinkResource",
    private_dns_zone_name="string",
    resource_group_name="string",
    virtual_network_id="string",
    name="string",
    registration_enabled=False,
    resolution_policy="string",
    tags={
        "string": "string",
    })
const zoneVirtualNetworkLinkResource = new azure.privatedns.ZoneVirtualNetworkLink("zoneVirtualNetworkLinkResource", {
    privateDnsZoneName: "string",
    resourceGroupName: "string",
    virtualNetworkId: "string",
    name: "string",
    registrationEnabled: false,
    resolutionPolicy: "string",
    tags: {
        string: "string",
    },
});
type: azure:privatedns:ZoneVirtualNetworkLink
properties:
    name: string
    privateDnsZoneName: string
    registrationEnabled: false
    resolutionPolicy: string
    resourceGroupName: string
    tags:
        string: string
    virtualNetworkId: string
ZoneVirtualNetworkLink Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ZoneVirtualNetworkLink resource accepts the following input properties:
- PrivateDns stringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- ResourceGroup stringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- VirtualNetwork stringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- Name string
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- RegistrationEnabled bool
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- ResolutionPolicy string
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- PrivateDns stringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- ResourceGroup stringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- VirtualNetwork stringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- Name string
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- RegistrationEnabled bool
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- ResolutionPolicy string
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- map[string]string
- A mapping of tags to assign to the resource.
- privateDns StringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- resourceGroup StringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- virtualNetwork StringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- name String
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- registrationEnabled Boolean
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- resolutionPolicy String
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- Map<String,String>
- A mapping of tags to assign to the resource.
- privateDns stringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- resourceGroup stringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- virtualNetwork stringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- name string
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- registrationEnabled boolean
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- resolutionPolicy string
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- private_dns_ strzone_ name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- resource_group_ strname 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- virtual_network_ strid 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- name str
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- registration_enabled bool
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- resolution_policy str
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- privateDns StringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- resourceGroup StringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- virtualNetwork StringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- name String
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- registrationEnabled Boolean
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- resolutionPolicy String
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ZoneVirtualNetworkLink resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ZoneVirtualNetworkLink Resource
Get an existing ZoneVirtualNetworkLink resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ZoneVirtualNetworkLinkState, opts?: CustomResourceOptions): ZoneVirtualNetworkLink@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        private_dns_zone_name: Optional[str] = None,
        registration_enabled: Optional[bool] = None,
        resolution_policy: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        virtual_network_id: Optional[str] = None) -> ZoneVirtualNetworkLinkfunc GetZoneVirtualNetworkLink(ctx *Context, name string, id IDInput, state *ZoneVirtualNetworkLinkState, opts ...ResourceOption) (*ZoneVirtualNetworkLink, error)public static ZoneVirtualNetworkLink Get(string name, Input<string> id, ZoneVirtualNetworkLinkState? state, CustomResourceOptions? opts = null)public static ZoneVirtualNetworkLink get(String name, Output<String> id, ZoneVirtualNetworkLinkState state, CustomResourceOptions options)resources:  _:    type: azure:privatedns:ZoneVirtualNetworkLink    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Name string
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- PrivateDns stringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- RegistrationEnabled bool
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- ResolutionPolicy string
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- ResourceGroup stringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- VirtualNetwork stringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- Name string
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- PrivateDns stringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- RegistrationEnabled bool
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- ResolutionPolicy string
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- ResourceGroup stringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource.
- VirtualNetwork stringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- name String
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- privateDns StringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- registrationEnabled Boolean
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- resolutionPolicy String
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- resourceGroup StringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the resource.
- virtualNetwork StringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- name string
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- privateDns stringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- registrationEnabled boolean
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- resolutionPolicy string
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- resourceGroup stringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- virtualNetwork stringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- name str
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- private_dns_ strzone_ name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- registration_enabled bool
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- resolution_policy str
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- resource_group_ strname 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- virtual_network_ strid 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
- name String
- The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
- privateDns StringZone Name 
- The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
- registrationEnabled Boolean
- Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to false.
- resolutionPolicy String
- Specifies the resolution policy of the Private DNS Zone Virtual Network Link. Possible values are DefaultandNxDomainRedirect.
- resourceGroup StringName 
- Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the resource.
- virtualNetwork StringId 
- The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
Import
Private DNS Zone Virtual Network Links can be imported using the resource id, e.g.
$ pulumi import azure:privatedns/zoneVirtualNetworkLink:ZoneVirtualNetworkLink link1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1.com/virtualNetworkLinks/myVnetLink1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.
