1. Packages
  2. Azure Classic
  3. API Docs
  4. privatedns
  5. Zone

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.privatedns.Zone

Explore with Pulumi AI

Enables you to manage Private DNS zones within Azure DNS. These zones are hosted on Azure’s name servers.

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,
});
Copy
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)
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"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
		}
		_, err = privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("mydomain.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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,
    });

});
Copy
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 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());

    }
}
Copy
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}
Copy

Create Zone Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Zone(name: string, args: ZoneArgs, opts?: CustomResourceOptions);
@overload
def Zone(resource_name: str,
         args: ZoneArgs,
         opts: Optional[ResourceOptions] = None)

@overload
def Zone(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         resource_group_name: Optional[str] = None,
         name: Optional[str] = None,
         soa_record: Optional[ZoneSoaRecordArgs] = None,
         tags: Optional[Mapping[str, str]] = None)
func NewZone(ctx *Context, name string, args ZoneArgs, opts ...ResourceOption) (*Zone, error)
public Zone(string name, ZoneArgs args, CustomResourceOptions? opts = null)
public Zone(String name, ZoneArgs args)
public Zone(String name, ZoneArgs args, CustomResourceOptions options)
type: azure:privatedns:Zone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ZoneArgs
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 azureZoneResource = new Azure.PrivateDns.Zone("azureZoneResource", new()
{
    ResourceGroupName = "string",
    Name = "string",
    SoaRecord = new Azure.PrivateDns.Inputs.ZoneSoaRecordArgs
    {
        Email = "string",
        ExpireTime = 0,
        Fqdn = "string",
        HostName = "string",
        MinimumTtl = 0,
        RefreshTime = 0,
        RetryTime = 0,
        SerialNumber = 0,
        Tags = 
        {
            { "string", "string" },
        },
        Ttl = 0,
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := privatedns.NewZone(ctx, "azureZoneResource", &privatedns.ZoneArgs{
	ResourceGroupName: pulumi.String("string"),
	Name:              pulumi.String("string"),
	SoaRecord: &privatedns.ZoneSoaRecordArgs{
		Email:        pulumi.String("string"),
		ExpireTime:   pulumi.Int(0),
		Fqdn:         pulumi.String("string"),
		HostName:     pulumi.String("string"),
		MinimumTtl:   pulumi.Int(0),
		RefreshTime:  pulumi.Int(0),
		RetryTime:    pulumi.Int(0),
		SerialNumber: pulumi.Int(0),
		Tags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Ttl: pulumi.Int(0),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var azureZoneResource = new com.pulumi.azure.privatedns.Zone("azureZoneResource", com.pulumi.azure.privatedns.ZoneArgs.builder()
    .resourceGroupName("string")
    .name("string")
    .soaRecord(ZoneSoaRecordArgs.builder()
        .email("string")
        .expireTime(0)
        .fqdn("string")
        .hostName("string")
        .minimumTtl(0)
        .refreshTime(0)
        .retryTime(0)
        .serialNumber(0)
        .tags(Map.of("string", "string"))
        .ttl(0)
        .build())
    .tags(Map.of("string", "string"))
    .build());
Copy
azure_zone_resource = azure.privatedns.Zone("azureZoneResource",
    resource_group_name="string",
    name="string",
    soa_record={
        "email": "string",
        "expire_time": 0,
        "fqdn": "string",
        "host_name": "string",
        "minimum_ttl": 0,
        "refresh_time": 0,
        "retry_time": 0,
        "serial_number": 0,
        "tags": {
            "string": "string",
        },
        "ttl": 0,
    },
    tags={
        "string": "string",
    })
Copy
const azureZoneResource = new azure.privatedns.Zone("azureZoneResource", {
    resourceGroupName: "string",
    name: "string",
    soaRecord: {
        email: "string",
        expireTime: 0,
        fqdn: "string",
        hostName: "string",
        minimumTtl: 0,
        refreshTime: 0,
        retryTime: 0,
        serialNumber: 0,
        tags: {
            string: "string",
        },
        ttl: 0,
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure:privatedns:Zone
properties:
    name: string
    resourceGroupName: string
    soaRecord:
        email: string
        expireTime: 0
        fqdn: string
        hostName: string
        minimumTtl: 0
        refreshTime: 0
        retryTime: 0
        serialNumber: 0
        tags:
            string: string
        ttl: 0
    tags:
        string: string
Copy

Zone 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 Zone resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

SoaRecord Changes to this property will trigger replacement. ZoneSoaRecord
An soa_record block as defined below. Changing this forces a new resource to be created.
Tags Dictionary<string, string>
A mapping of tags to assign to the resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

SoaRecord Changes to this property will trigger replacement. ZoneSoaRecordArgs
An soa_record block as defined below. Changing this forces a new resource to be created.
Tags map[string]string
A mapping of tags to assign to the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

soaRecord Changes to this property will trigger replacement. ZoneSoaRecord
An soa_record block as defined below. Changing this forces a new resource to be created.
tags Map<String,String>
A mapping of tags to assign to the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. string

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

soaRecord Changes to this property will trigger replacement. ZoneSoaRecord
An soa_record block as defined below. Changing this forces a new resource to be created.
tags {[key: string]: string}
A mapping of tags to assign to the resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. str

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

soa_record Changes to this property will trigger replacement. ZoneSoaRecordArgs
An soa_record block as defined below. Changing this forces a new resource to be created.
tags Mapping[str, str]
A mapping of tags to assign to the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

soaRecord Changes to this property will trigger replacement. Property Map
An soa_record block as defined below. Changing this forces a new resource to be created.
tags Map<String>
A mapping of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the Zone resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
MaxNumberOfRecordSets int
The maximum number of record sets that can be created in this Private DNS zone.
MaxNumberOfVirtualNetworkLinks int
The maximum number of virtual networks that can be linked to this Private DNS zone.
MaxNumberOfVirtualNetworkLinksWithRegistration int
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
NumberOfRecordSets int
The current number of record sets in this Private DNS zone.
Id string
The provider-assigned unique ID for this managed resource.
MaxNumberOfRecordSets int
The maximum number of record sets that can be created in this Private DNS zone.
MaxNumberOfVirtualNetworkLinks int
The maximum number of virtual networks that can be linked to this Private DNS zone.
MaxNumberOfVirtualNetworkLinksWithRegistration int
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
NumberOfRecordSets int
The current number of record sets in this Private DNS zone.
id String
The provider-assigned unique ID for this managed resource.
maxNumberOfRecordSets Integer
The maximum number of record sets that can be created in this Private DNS zone.
maxNumberOfVirtualNetworkLinks Integer
The maximum number of virtual networks that can be linked to this Private DNS zone.
maxNumberOfVirtualNetworkLinksWithRegistration Integer
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
numberOfRecordSets Integer
The current number of record sets in this Private DNS zone.
id string
The provider-assigned unique ID for this managed resource.
maxNumberOfRecordSets number
The maximum number of record sets that can be created in this Private DNS zone.
maxNumberOfVirtualNetworkLinks number
The maximum number of virtual networks that can be linked to this Private DNS zone.
maxNumberOfVirtualNetworkLinksWithRegistration number
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
numberOfRecordSets number
The current number of record sets in this Private DNS zone.
id str
The provider-assigned unique ID for this managed resource.
max_number_of_record_sets int
The maximum number of record sets that can be created in this Private DNS zone.
max_number_of_virtual_network_links int
The maximum number of virtual networks that can be linked to this Private DNS zone.
max_number_of_virtual_network_links_with_registration int
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
number_of_record_sets int
The current number of record sets in this Private DNS zone.
id String
The provider-assigned unique ID for this managed resource.
maxNumberOfRecordSets Number
The maximum number of record sets that can be created in this Private DNS zone.
maxNumberOfVirtualNetworkLinks Number
The maximum number of virtual networks that can be linked to this Private DNS zone.
maxNumberOfVirtualNetworkLinksWithRegistration Number
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
numberOfRecordSets Number
The current number of record sets in this Private DNS zone.

Look up Existing Zone Resource

Get an existing Zone 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?: ZoneState, opts?: CustomResourceOptions): Zone
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        max_number_of_record_sets: Optional[int] = None,
        max_number_of_virtual_network_links: Optional[int] = None,
        max_number_of_virtual_network_links_with_registration: Optional[int] = None,
        name: Optional[str] = None,
        number_of_record_sets: Optional[int] = None,
        resource_group_name: Optional[str] = None,
        soa_record: Optional[ZoneSoaRecordArgs] = None,
        tags: Optional[Mapping[str, str]] = None) -> Zone
func GetZone(ctx *Context, name string, id IDInput, state *ZoneState, opts ...ResourceOption) (*Zone, error)
public static Zone Get(string name, Input<string> id, ZoneState? state, CustomResourceOptions? opts = null)
public static Zone get(String name, Output<String> id, ZoneState state, CustomResourceOptions options)
resources:  _:    type: azure:privatedns:Zone    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
MaxNumberOfRecordSets int
The maximum number of record sets that can be created in this Private DNS zone.
MaxNumberOfVirtualNetworkLinks int
The maximum number of virtual networks that can be linked to this Private DNS zone.
MaxNumberOfVirtualNetworkLinksWithRegistration int
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
Name Changes to this property will trigger replacement. string

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

NumberOfRecordSets int
The current number of record sets in this Private DNS zone.
ResourceGroupName Changes to this property will trigger replacement. string
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
SoaRecord Changes to this property will trigger replacement. ZoneSoaRecord
An soa_record block as defined below. Changing this forces a new resource to be created.
Tags Dictionary<string, string>
A mapping of tags to assign to the resource.
MaxNumberOfRecordSets int
The maximum number of record sets that can be created in this Private DNS zone.
MaxNumberOfVirtualNetworkLinks int
The maximum number of virtual networks that can be linked to this Private DNS zone.
MaxNumberOfVirtualNetworkLinksWithRegistration int
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
Name Changes to this property will trigger replacement. string

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

NumberOfRecordSets int
The current number of record sets in this Private DNS zone.
ResourceGroupName Changes to this property will trigger replacement. string
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
SoaRecord Changes to this property will trigger replacement. ZoneSoaRecordArgs
An soa_record block as defined below. Changing this forces a new resource to be created.
Tags map[string]string
A mapping of tags to assign to the resource.
maxNumberOfRecordSets Integer
The maximum number of record sets that can be created in this Private DNS zone.
maxNumberOfVirtualNetworkLinks Integer
The maximum number of virtual networks that can be linked to this Private DNS zone.
maxNumberOfVirtualNetworkLinksWithRegistration Integer
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
name Changes to this property will trigger replacement. String

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

numberOfRecordSets Integer
The current number of record sets in this Private DNS zone.
resourceGroupName Changes to this property will trigger replacement. String
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
soaRecord Changes to this property will trigger replacement. ZoneSoaRecord
An soa_record block as defined below. Changing this forces a new resource to be created.
tags Map<String,String>
A mapping of tags to assign to the resource.
maxNumberOfRecordSets number
The maximum number of record sets that can be created in this Private DNS zone.
maxNumberOfVirtualNetworkLinks number
The maximum number of virtual networks that can be linked to this Private DNS zone.
maxNumberOfVirtualNetworkLinksWithRegistration number
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
name Changes to this property will trigger replacement. string

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

numberOfRecordSets number
The current number of record sets in this Private DNS zone.
resourceGroupName Changes to this property will trigger replacement. string
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
soaRecord Changes to this property will trigger replacement. ZoneSoaRecord
An soa_record block as defined below. Changing this forces a new resource to be created.
tags {[key: string]: string}
A mapping of tags to assign to the resource.
max_number_of_record_sets int
The maximum number of record sets that can be created in this Private DNS zone.
max_number_of_virtual_network_links int
The maximum number of virtual networks that can be linked to this Private DNS zone.
max_number_of_virtual_network_links_with_registration int
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
name Changes to this property will trigger replacement. str

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

number_of_record_sets int
The current number of record sets in this Private DNS zone.
resource_group_name Changes to this property will trigger replacement. str
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
soa_record Changes to this property will trigger replacement. ZoneSoaRecordArgs
An soa_record block as defined below. Changing this forces a new resource to be created.
tags Mapping[str, str]
A mapping of tags to assign to the resource.
maxNumberOfRecordSets Number
The maximum number of record sets that can be created in this Private DNS zone.
maxNumberOfVirtualNetworkLinks Number
The maximum number of virtual networks that can be linked to this Private DNS zone.
maxNumberOfVirtualNetworkLinksWithRegistration Number
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
name Changes to this property will trigger replacement. String

The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.

NOTE: If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the Private DNS Zone name schema in the product documentation in order for the two resources to be connected successfully.

numberOfRecordSets Number
The current number of record sets in this Private DNS zone.
resourceGroupName Changes to this property will trigger replacement. String
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
soaRecord Changes to this property will trigger replacement. Property Map
An soa_record block as defined below. Changing this forces a new resource to be created.
tags Map<String>
A mapping of tags to assign to the resource.

Supporting Types

ZoneSoaRecord
, ZoneSoaRecordArgs

Email This property is required. string
The email contact for the SOA record.
ExpireTime int
The expire time for the SOA record. Defaults to 2419200.
Fqdn string
The fully qualified domain name of the Record Set.
HostName string
The domain name of the authoritative name server for the SOA record.
MinimumTtl int
The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to 10.
RefreshTime int
The refresh time for the SOA record. Defaults to 3600.
RetryTime int
The retry time for the SOA record. Defaults to 300.
SerialNumber int
The serial number for the SOA record.
Tags Dictionary<string, string>
A mapping of tags to assign to the Record Set.
Ttl int
The Time To Live of the SOA Record in seconds. Defaults to 3600.
Email This property is required. string
The email contact for the SOA record.
ExpireTime int
The expire time for the SOA record. Defaults to 2419200.
Fqdn string
The fully qualified domain name of the Record Set.
HostName string
The domain name of the authoritative name server for the SOA record.
MinimumTtl int
The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to 10.
RefreshTime int
The refresh time for the SOA record. Defaults to 3600.
RetryTime int
The retry time for the SOA record. Defaults to 300.
SerialNumber int
The serial number for the SOA record.
Tags map[string]string
A mapping of tags to assign to the Record Set.
Ttl int
The Time To Live of the SOA Record in seconds. Defaults to 3600.
email This property is required. String
The email contact for the SOA record.
expireTime Integer
The expire time for the SOA record. Defaults to 2419200.
fqdn String
The fully qualified domain name of the Record Set.
hostName String
The domain name of the authoritative name server for the SOA record.
minimumTtl Integer
The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to 10.
refreshTime Integer
The refresh time for the SOA record. Defaults to 3600.
retryTime Integer
The retry time for the SOA record. Defaults to 300.
serialNumber Integer
The serial number for the SOA record.
tags Map<String,String>
A mapping of tags to assign to the Record Set.
ttl Integer
The Time To Live of the SOA Record in seconds. Defaults to 3600.
email This property is required. string
The email contact for the SOA record.
expireTime number
The expire time for the SOA record. Defaults to 2419200.
fqdn string
The fully qualified domain name of the Record Set.
hostName string
The domain name of the authoritative name server for the SOA record.
minimumTtl number
The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to 10.
refreshTime number
The refresh time for the SOA record. Defaults to 3600.
retryTime number
The retry time for the SOA record. Defaults to 300.
serialNumber number
The serial number for the SOA record.
tags {[key: string]: string}
A mapping of tags to assign to the Record Set.
ttl number
The Time To Live of the SOA Record in seconds. Defaults to 3600.
email This property is required. str
The email contact for the SOA record.
expire_time int
The expire time for the SOA record. Defaults to 2419200.
fqdn str
The fully qualified domain name of the Record Set.
host_name str
The domain name of the authoritative name server for the SOA record.
minimum_ttl int
The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to 10.
refresh_time int
The refresh time for the SOA record. Defaults to 3600.
retry_time int
The retry time for the SOA record. Defaults to 300.
serial_number int
The serial number for the SOA record.
tags Mapping[str, str]
A mapping of tags to assign to the Record Set.
ttl int
The Time To Live of the SOA Record in seconds. Defaults to 3600.
email This property is required. String
The email contact for the SOA record.
expireTime Number
The expire time for the SOA record. Defaults to 2419200.
fqdn String
The fully qualified domain name of the Record Set.
hostName String
The domain name of the authoritative name server for the SOA record.
minimumTtl Number
The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to 10.
refreshTime Number
The refresh time for the SOA record. Defaults to 3600.
retryTime Number
The retry time for the SOA record. Defaults to 300.
serialNumber Number
The serial number for the SOA record.
tags Map<String>
A mapping of tags to assign to the Record Set.
ttl Number
The Time To Live of the SOA Record in seconds. Defaults to 3600.

Import

Private DNS Zones can be imported using the resource id, e.g.

$ pulumi import azure:privatedns/zone:Zone zone1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1
Copy

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 azurerm Terraform Provider.