1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. PrivateRecordSet
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.network.PrivateRecordSet

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone. Azure REST API version: 2020-06-01. Prior API version in Azure Native 1.x: 2020-06-01.

    Example Usage

    PUT Private DNS Zone A Record Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
        {
            ARecords = new[]
            {
                new AzureNative.Network.Inputs.ARecordArgs
                {
                    Ipv4Address = "1.2.3.4",
                },
            },
            Metadata = 
            {
                { "key1", "value1" },
            },
            PrivateZoneName = "privatezone1.com",
            RecordType = "A",
            RelativeRecordSetName = "recordA",
            ResourceGroupName = "resourceGroup1",
            Ttl = 3600,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
    			ARecords: network.ARecordArray{
    				&network.ARecordArgs{
    					Ipv4Address: pulumi.String("1.2.3.4"),
    				},
    			},
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			PrivateZoneName:       pulumi.String("privatezone1.com"),
    			RecordType:            pulumi.String("A"),
    			RelativeRecordSetName: pulumi.String("recordA"),
    			ResourceGroupName:     pulumi.String("resourceGroup1"),
    			Ttl:                   pulumi.Float64(3600),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.PrivateRecordSet;
    import com.pulumi.azurenative.network.PrivateRecordSetArgs;
    import com.pulumi.azurenative.network.inputs.ARecordArgs;
    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 privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()        
                .aRecords(ARecordArgs.builder()
                    .ipv4Address("1.2.3.4")
                    .build())
                .metadata(Map.of("key1", "value1"))
                .privateZoneName("privatezone1.com")
                .recordType("A")
                .relativeRecordSetName("recordA")
                .resourceGroupName("resourceGroup1")
                .ttl(3600)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
        a_records=[azure_native.network.ARecordArgs(
            ipv4_address="1.2.3.4",
        )],
        metadata={
            "key1": "value1",
        },
        private_zone_name="privatezone1.com",
        record_type="A",
        relative_record_set_name="recordA",
        resource_group_name="resourceGroup1",
        ttl=3600)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
        aRecords: [{
            ipv4Address: "1.2.3.4",
        }],
        metadata: {
            key1: "value1",
        },
        privateZoneName: "privatezone1.com",
        recordType: "A",
        relativeRecordSetName: "recordA",
        resourceGroupName: "resourceGroup1",
        ttl: 3600,
    });
    
    resources:
      privateRecordSet:
        type: azure-native:network:PrivateRecordSet
        properties:
          aRecords:
            - ipv4Address: 1.2.3.4
          metadata:
            key1: value1
          privateZoneName: privatezone1.com
          recordType: A
          relativeRecordSetName: recordA
          resourceGroupName: resourceGroup1
          ttl: 3600
    

    PUT Private DNS Zone AAAA Record Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
        {
            AaaaRecords = new[]
            {
                new AzureNative.Network.Inputs.AaaaRecordArgs
                {
                    Ipv6Address = "::1",
                },
            },
            Metadata = 
            {
                { "key1", "value1" },
            },
            PrivateZoneName = "privatezone1.com",
            RecordType = "AAAA",
            RelativeRecordSetName = "recordAAAA",
            ResourceGroupName = "resourceGroup1",
            Ttl = 3600,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
    			AaaaRecords: network.AaaaRecordArray{
    				&network.AaaaRecordArgs{
    					Ipv6Address: pulumi.String("::1"),
    				},
    			},
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			PrivateZoneName:       pulumi.String("privatezone1.com"),
    			RecordType:            pulumi.String("AAAA"),
    			RelativeRecordSetName: pulumi.String("recordAAAA"),
    			ResourceGroupName:     pulumi.String("resourceGroup1"),
    			Ttl:                   pulumi.Float64(3600),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.PrivateRecordSet;
    import com.pulumi.azurenative.network.PrivateRecordSetArgs;
    import com.pulumi.azurenative.network.inputs.AaaaRecordArgs;
    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 privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()        
                .aaaaRecords(AaaaRecordArgs.builder()
                    .ipv6Address("::1")
                    .build())
                .metadata(Map.of("key1", "value1"))
                .privateZoneName("privatezone1.com")
                .recordType("AAAA")
                .relativeRecordSetName("recordAAAA")
                .resourceGroupName("resourceGroup1")
                .ttl(3600)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
        aaaa_records=[azure_native.network.AaaaRecordArgs(
            ipv6_address="::1",
        )],
        metadata={
            "key1": "value1",
        },
        private_zone_name="privatezone1.com",
        record_type="AAAA",
        relative_record_set_name="recordAAAA",
        resource_group_name="resourceGroup1",
        ttl=3600)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
        aaaaRecords: [{
            ipv6Address: "::1",
        }],
        metadata: {
            key1: "value1",
        },
        privateZoneName: "privatezone1.com",
        recordType: "AAAA",
        relativeRecordSetName: "recordAAAA",
        resourceGroupName: "resourceGroup1",
        ttl: 3600,
    });
    
    resources:
      privateRecordSet:
        type: azure-native:network:PrivateRecordSet
        properties:
          aaaaRecords:
            - ipv6Address: ::1
          metadata:
            key1: value1
          privateZoneName: privatezone1.com
          recordType: AAAA
          relativeRecordSetName: recordAAAA
          resourceGroupName: resourceGroup1
          ttl: 3600
    

    PUT Private DNS Zone CNAME Record Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
        {
            CnameRecord = new AzureNative.Network.Inputs.CnameRecordArgs
            {
                Cname = "contoso.com",
            },
            Metadata = 
            {
                { "key1", "value1" },
            },
            PrivateZoneName = "privatezone1.com",
            RecordType = "CNAME",
            RelativeRecordSetName = "recordCNAME",
            ResourceGroupName = "resourceGroup1",
            Ttl = 3600,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
    			CnameRecord: &network.CnameRecordArgs{
    				Cname: pulumi.String("contoso.com"),
    			},
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			PrivateZoneName:       pulumi.String("privatezone1.com"),
    			RecordType:            pulumi.String("CNAME"),
    			RelativeRecordSetName: pulumi.String("recordCNAME"),
    			ResourceGroupName:     pulumi.String("resourceGroup1"),
    			Ttl:                   pulumi.Float64(3600),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.PrivateRecordSet;
    import com.pulumi.azurenative.network.PrivateRecordSetArgs;
    import com.pulumi.azurenative.network.inputs.CnameRecordArgs;
    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 privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()        
                .cnameRecord(CnameRecordArgs.builder()
                    .cname("contoso.com")
                    .build())
                .metadata(Map.of("key1", "value1"))
                .privateZoneName("privatezone1.com")
                .recordType("CNAME")
                .relativeRecordSetName("recordCNAME")
                .resourceGroupName("resourceGroup1")
                .ttl(3600)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
        cname_record=azure_native.network.CnameRecordArgs(
            cname="contoso.com",
        ),
        metadata={
            "key1": "value1",
        },
        private_zone_name="privatezone1.com",
        record_type="CNAME",
        relative_record_set_name="recordCNAME",
        resource_group_name="resourceGroup1",
        ttl=3600)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
        cnameRecord: {
            cname: "contoso.com",
        },
        metadata: {
            key1: "value1",
        },
        privateZoneName: "privatezone1.com",
        recordType: "CNAME",
        relativeRecordSetName: "recordCNAME",
        resourceGroupName: "resourceGroup1",
        ttl: 3600,
    });
    
    resources:
      privateRecordSet:
        type: azure-native:network:PrivateRecordSet
        properties:
          cnameRecord:
            cname: contoso.com
          metadata:
            key1: value1
          privateZoneName: privatezone1.com
          recordType: CNAME
          relativeRecordSetName: recordCNAME
          resourceGroupName: resourceGroup1
          ttl: 3600
    

    PUT Private DNS Zone MX Record Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            MxRecords = new[]
            {
                new AzureNative.Network.Inputs.MxRecordArgs
                {
                    Exchange = "mail.privatezone1.com",
                    Preference = 0,
                },
            },
            PrivateZoneName = "privatezone1.com",
            RecordType = "MX",
            RelativeRecordSetName = "recordMX",
            ResourceGroupName = "resourceGroup1",
            Ttl = 3600,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			MxRecords: network.MxRecordArray{
    				&network.MxRecordArgs{
    					Exchange:   pulumi.String("mail.privatezone1.com"),
    					Preference: pulumi.Int(0),
    				},
    			},
    			PrivateZoneName:       pulumi.String("privatezone1.com"),
    			RecordType:            pulumi.String("MX"),
    			RelativeRecordSetName: pulumi.String("recordMX"),
    			ResourceGroupName:     pulumi.String("resourceGroup1"),
    			Ttl:                   pulumi.Float64(3600),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.PrivateRecordSet;
    import com.pulumi.azurenative.network.PrivateRecordSetArgs;
    import com.pulumi.azurenative.network.inputs.MxRecordArgs;
    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 privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()        
                .metadata(Map.of("key1", "value1"))
                .mxRecords(MxRecordArgs.builder()
                    .exchange("mail.privatezone1.com")
                    .preference(0)
                    .build())
                .privateZoneName("privatezone1.com")
                .recordType("MX")
                .relativeRecordSetName("recordMX")
                .resourceGroupName("resourceGroup1")
                .ttl(3600)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
        metadata={
            "key1": "value1",
        },
        mx_records=[azure_native.network.MxRecordArgs(
            exchange="mail.privatezone1.com",
            preference=0,
        )],
        private_zone_name="privatezone1.com",
        record_type="MX",
        relative_record_set_name="recordMX",
        resource_group_name="resourceGroup1",
        ttl=3600)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
        metadata: {
            key1: "value1",
        },
        mxRecords: [{
            exchange: "mail.privatezone1.com",
            preference: 0,
        }],
        privateZoneName: "privatezone1.com",
        recordType: "MX",
        relativeRecordSetName: "recordMX",
        resourceGroupName: "resourceGroup1",
        ttl: 3600,
    });
    
    resources:
      privateRecordSet:
        type: azure-native:network:PrivateRecordSet
        properties:
          metadata:
            key1: value1
          mxRecords:
            - exchange: mail.privatezone1.com
              preference: 0
          privateZoneName: privatezone1.com
          recordType: MX
          relativeRecordSetName: recordMX
          resourceGroupName: resourceGroup1
          ttl: 3600
    

    PUT Private DNS Zone PTR Record Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            PrivateZoneName = "0.0.127.in-addr.arpa",
            PtrRecords = new[]
            {
                new AzureNative.Network.Inputs.PtrRecordArgs
                {
                    Ptrdname = "localhost",
                },
            },
            RecordType = "PTR",
            RelativeRecordSetName = "1",
            ResourceGroupName = "resourceGroup1",
            Ttl = 3600,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			PrivateZoneName: pulumi.String("0.0.127.in-addr.arpa"),
    			PtrRecords: network.PtrRecordArray{
    				&network.PtrRecordArgs{
    					Ptrdname: pulumi.String("localhost"),
    				},
    			},
    			RecordType:            pulumi.String("PTR"),
    			RelativeRecordSetName: pulumi.String("1"),
    			ResourceGroupName:     pulumi.String("resourceGroup1"),
    			Ttl:                   pulumi.Float64(3600),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.PrivateRecordSet;
    import com.pulumi.azurenative.network.PrivateRecordSetArgs;
    import com.pulumi.azurenative.network.inputs.PtrRecordArgs;
    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 privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()        
                .metadata(Map.of("key1", "value1"))
                .privateZoneName("0.0.127.in-addr.arpa")
                .ptrRecords(PtrRecordArgs.builder()
                    .ptrdname("localhost")
                    .build())
                .recordType("PTR")
                .relativeRecordSetName("1")
                .resourceGroupName("resourceGroup1")
                .ttl(3600)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
        metadata={
            "key1": "value1",
        },
        private_zone_name="0.0.127.in-addr.arpa",
        ptr_records=[azure_native.network.PtrRecordArgs(
            ptrdname="localhost",
        )],
        record_type="PTR",
        relative_record_set_name="1",
        resource_group_name="resourceGroup1",
        ttl=3600)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
        metadata: {
            key1: "value1",
        },
        privateZoneName: "0.0.127.in-addr.arpa",
        ptrRecords: [{
            ptrdname: "localhost",
        }],
        recordType: "PTR",
        relativeRecordSetName: "1",
        resourceGroupName: "resourceGroup1",
        ttl: 3600,
    });
    
    resources:
      privateRecordSet:
        type: azure-native:network:PrivateRecordSet
        properties:
          metadata:
            key1: value1
          privateZoneName: 0.0.127.in-addr.arpa
          ptrRecords:
            - ptrdname: localhost
          recordType: PTR
          relativeRecordSetName: '1'
          resourceGroupName: resourceGroup1
          ttl: 3600
    

    PUT Private DNS Zone SOA Record Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            PrivateZoneName = "privatezone1.com",
            RecordType = "SOA",
            RelativeRecordSetName = "@",
            ResourceGroupName = "resourceGroup1",
            SoaRecord = new AzureNative.Network.Inputs.SoaRecordArgs
            {
                Email = "azureprivatedns-hostmaster.microsoft.com",
                ExpireTime = 2419200,
                Host = "azureprivatedns.net",
                MinimumTtl = 300,
                RefreshTime = 3600,
                RetryTime = 300,
                SerialNumber = 1,
            },
            Ttl = 3600,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			PrivateZoneName:       pulumi.String("privatezone1.com"),
    			RecordType:            pulumi.String("SOA"),
    			RelativeRecordSetName: pulumi.String("@"),
    			ResourceGroupName:     pulumi.String("resourceGroup1"),
    			SoaRecord: &network.SoaRecordArgs{
    				Email:        pulumi.String("azureprivatedns-hostmaster.microsoft.com"),
    				ExpireTime:   pulumi.Float64(2419200),
    				Host:         pulumi.String("azureprivatedns.net"),
    				MinimumTtl:   pulumi.Float64(300),
    				RefreshTime:  pulumi.Float64(3600),
    				RetryTime:    pulumi.Float64(300),
    				SerialNumber: pulumi.Float64(1),
    			},
    			Ttl: pulumi.Float64(3600),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.PrivateRecordSet;
    import com.pulumi.azurenative.network.PrivateRecordSetArgs;
    import com.pulumi.azurenative.network.inputs.SoaRecordArgs;
    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 privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()        
                .metadata(Map.of("key1", "value1"))
                .privateZoneName("privatezone1.com")
                .recordType("SOA")
                .relativeRecordSetName("@")
                .resourceGroupName("resourceGroup1")
                .soaRecord(SoaRecordArgs.builder()
                    .email("azureprivatedns-hostmaster.microsoft.com")
                    .expireTime(2419200)
                    .host("azureprivatedns.net")
                    .minimumTtl(300)
                    .refreshTime(3600)
                    .retryTime(300)
                    .serialNumber(1)
                    .build())
                .ttl(3600)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
        metadata={
            "key1": "value1",
        },
        private_zone_name="privatezone1.com",
        record_type="SOA",
        relative_record_set_name="@",
        resource_group_name="resourceGroup1",
        soa_record=azure_native.network.SoaRecordArgs(
            email="azureprivatedns-hostmaster.microsoft.com",
            expire_time=2419200,
            host="azureprivatedns.net",
            minimum_ttl=300,
            refresh_time=3600,
            retry_time=300,
            serial_number=1,
        ),
        ttl=3600)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
        metadata: {
            key1: "value1",
        },
        privateZoneName: "privatezone1.com",
        recordType: "SOA",
        relativeRecordSetName: "@",
        resourceGroupName: "resourceGroup1",
        soaRecord: {
            email: "azureprivatedns-hostmaster.microsoft.com",
            expireTime: 2419200,
            host: "azureprivatedns.net",
            minimumTtl: 300,
            refreshTime: 3600,
            retryTime: 300,
            serialNumber: 1,
        },
        ttl: 3600,
    });
    
    resources:
      privateRecordSet:
        type: azure-native:network:PrivateRecordSet
        properties:
          metadata:
            key1: value1
          privateZoneName: privatezone1.com
          recordType: SOA
          relativeRecordSetName: '@'
          resourceGroupName: resourceGroup1
          soaRecord:
            email: azureprivatedns-hostmaster.microsoft.com
            expireTime: 2.4192e+06
            host: azureprivatedns.net
            minimumTtl: 300
            refreshTime: 3600
            retryTime: 300
            serialNumber: 1
          ttl: 3600
    

    PUT Private DNS Zone SRV Record Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            PrivateZoneName = "privatezone1.com",
            RecordType = "SRV",
            RelativeRecordSetName = "recordSRV",
            ResourceGroupName = "resourceGroup1",
            SrvRecords = new[]
            {
                new AzureNative.Network.Inputs.SrvRecordArgs
                {
                    Port = 80,
                    Priority = 0,
                    Target = "contoso.com",
                    Weight = 10,
                },
            },
            Ttl = 3600,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			PrivateZoneName:       pulumi.String("privatezone1.com"),
    			RecordType:            pulumi.String("SRV"),
    			RelativeRecordSetName: pulumi.String("recordSRV"),
    			ResourceGroupName:     pulumi.String("resourceGroup1"),
    			SrvRecords: network.SrvRecordArray{
    				&network.SrvRecordArgs{
    					Port:     pulumi.Int(80),
    					Priority: pulumi.Int(0),
    					Target:   pulumi.String("contoso.com"),
    					Weight:   pulumi.Int(10),
    				},
    			},
    			Ttl: pulumi.Float64(3600),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.PrivateRecordSet;
    import com.pulumi.azurenative.network.PrivateRecordSetArgs;
    import com.pulumi.azurenative.network.inputs.SrvRecordArgs;
    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 privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()        
                .metadata(Map.of("key1", "value1"))
                .privateZoneName("privatezone1.com")
                .recordType("SRV")
                .relativeRecordSetName("recordSRV")
                .resourceGroupName("resourceGroup1")
                .srvRecords(SrvRecordArgs.builder()
                    .port(80)
                    .priority(0)
                    .target("contoso.com")
                    .weight(10)
                    .build())
                .ttl(3600)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
        metadata={
            "key1": "value1",
        },
        private_zone_name="privatezone1.com",
        record_type="SRV",
        relative_record_set_name="recordSRV",
        resource_group_name="resourceGroup1",
        srv_records=[azure_native.network.SrvRecordArgs(
            port=80,
            priority=0,
            target="contoso.com",
            weight=10,
        )],
        ttl=3600)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
        metadata: {
            key1: "value1",
        },
        privateZoneName: "privatezone1.com",
        recordType: "SRV",
        relativeRecordSetName: "recordSRV",
        resourceGroupName: "resourceGroup1",
        srvRecords: [{
            port: 80,
            priority: 0,
            target: "contoso.com",
            weight: 10,
        }],
        ttl: 3600,
    });
    
    resources:
      privateRecordSet:
        type: azure-native:network:PrivateRecordSet
        properties:
          metadata:
            key1: value1
          privateZoneName: privatezone1.com
          recordType: SRV
          relativeRecordSetName: recordSRV
          resourceGroupName: resourceGroup1
          srvRecords:
            - port: 80
              priority: 0
              target: contoso.com
              weight: 10
          ttl: 3600
    

    PUT Private DNS Zone TXT Record Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            PrivateZoneName = "privatezone1.com",
            RecordType = "TXT",
            RelativeRecordSetName = "recordTXT",
            ResourceGroupName = "resourceGroup1",
            Ttl = 3600,
            TxtRecords = new[]
            {
                new AzureNative.Network.Inputs.TxtRecordArgs
                {
                    Value = new[]
                    {
                        "string1",
                        "string2",
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			PrivateZoneName:       pulumi.String("privatezone1.com"),
    			RecordType:            pulumi.String("TXT"),
    			RelativeRecordSetName: pulumi.String("recordTXT"),
    			ResourceGroupName:     pulumi.String("resourceGroup1"),
    			Ttl:                   pulumi.Float64(3600),
    			TxtRecords: network.TxtRecordArray{
    				&network.TxtRecordArgs{
    					Value: pulumi.StringArray{
    						pulumi.String("string1"),
    						pulumi.String("string2"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.PrivateRecordSet;
    import com.pulumi.azurenative.network.PrivateRecordSetArgs;
    import com.pulumi.azurenative.network.inputs.TxtRecordArgs;
    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 privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()        
                .metadata(Map.of("key1", "value1"))
                .privateZoneName("privatezone1.com")
                .recordType("TXT")
                .relativeRecordSetName("recordTXT")
                .resourceGroupName("resourceGroup1")
                .ttl(3600)
                .txtRecords(TxtRecordArgs.builder()
                    .value(                
                        "string1",
                        "string2")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
        metadata={
            "key1": "value1",
        },
        private_zone_name="privatezone1.com",
        record_type="TXT",
        relative_record_set_name="recordTXT",
        resource_group_name="resourceGroup1",
        ttl=3600,
        txt_records=[azure_native.network.TxtRecordArgs(
            value=[
                "string1",
                "string2",
            ],
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
        metadata: {
            key1: "value1",
        },
        privateZoneName: "privatezone1.com",
        recordType: "TXT",
        relativeRecordSetName: "recordTXT",
        resourceGroupName: "resourceGroup1",
        ttl: 3600,
        txtRecords: [{
            value: [
                "string1",
                "string2",
            ],
        }],
    });
    
    resources:
      privateRecordSet:
        type: azure-native:network:PrivateRecordSet
        properties:
          metadata:
            key1: value1
          privateZoneName: privatezone1.com
          recordType: TXT
          relativeRecordSetName: recordTXT
          resourceGroupName: resourceGroup1
          ttl: 3600
          txtRecords:
            - value:
                - string1
                - string2
    

    Create PrivateRecordSet Resource

    new PrivateRecordSet(name: string, args: PrivateRecordSetArgs, opts?: CustomResourceOptions);
    @overload
    def PrivateRecordSet(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         a_records: Optional[Sequence[ARecordArgs]] = None,
                         aaaa_records: Optional[Sequence[AaaaRecordArgs]] = None,
                         cname_record: Optional[CnameRecordArgs] = None,
                         metadata: Optional[Mapping[str, str]] = None,
                         mx_records: Optional[Sequence[MxRecordArgs]] = None,
                         private_zone_name: Optional[str] = None,
                         ptr_records: Optional[Sequence[PtrRecordArgs]] = None,
                         record_type: Optional[str] = None,
                         relative_record_set_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         soa_record: Optional[SoaRecordArgs] = None,
                         srv_records: Optional[Sequence[SrvRecordArgs]] = None,
                         ttl: Optional[float] = None,
                         txt_records: Optional[Sequence[TxtRecordArgs]] = None)
    @overload
    def PrivateRecordSet(resource_name: str,
                         args: PrivateRecordSetArgs,
                         opts: Optional[ResourceOptions] = None)
    func NewPrivateRecordSet(ctx *Context, name string, args PrivateRecordSetArgs, opts ...ResourceOption) (*PrivateRecordSet, error)
    public PrivateRecordSet(string name, PrivateRecordSetArgs args, CustomResourceOptions? opts = null)
    public PrivateRecordSet(String name, PrivateRecordSetArgs args)
    public PrivateRecordSet(String name, PrivateRecordSetArgs args, CustomResourceOptions options)
    
    type: azure-native:network:PrivateRecordSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args PrivateRecordSetArgs
    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 PrivateRecordSetArgs
    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 PrivateRecordSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrivateRecordSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrivateRecordSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PrivateRecordSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PrivateRecordSet resource accepts the following input properties:

    PrivateZoneName string
    The name of the Private DNS zone (without a terminating dot).
    RecordType string
    The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
    ResourceGroupName string
    The name of the resource group.
    ARecords List<Pulumi.AzureNative.Network.Inputs.ARecord>
    The list of A records in the record set.
    AaaaRecords List<Pulumi.AzureNative.Network.Inputs.AaaaRecord>
    The list of AAAA records in the record set.
    CnameRecord Pulumi.AzureNative.Network.Inputs.CnameRecord
    The CNAME record in the record set.
    Metadata Dictionary<string, string>
    The metadata attached to the record set.
    MxRecords List<Pulumi.AzureNative.Network.Inputs.MxRecord>
    The list of MX records in the record set.
    PtrRecords List<Pulumi.AzureNative.Network.Inputs.PtrRecord>
    The list of PTR records in the record set.
    RelativeRecordSetName string
    The name of the record set, relative to the name of the zone.
    SoaRecord Pulumi.AzureNative.Network.Inputs.SoaRecord
    The SOA record in the record set.
    SrvRecords List<Pulumi.AzureNative.Network.Inputs.SrvRecord>
    The list of SRV records in the record set.
    Ttl double
    The TTL (time-to-live) of the records in the record set.
    TxtRecords List<Pulumi.AzureNative.Network.Inputs.TxtRecord>
    The list of TXT records in the record set.
    PrivateZoneName string
    The name of the Private DNS zone (without a terminating dot).
    RecordType string
    The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
    ResourceGroupName string
    The name of the resource group.
    ARecords []ARecordArgs
    The list of A records in the record set.
    AaaaRecords []AaaaRecordArgs
    The list of AAAA records in the record set.
    CnameRecord CnameRecordArgs
    The CNAME record in the record set.
    Metadata map[string]string
    The metadata attached to the record set.
    MxRecords []MxRecordArgs
    The list of MX records in the record set.
    PtrRecords []PtrRecordArgs
    The list of PTR records in the record set.
    RelativeRecordSetName string
    The name of the record set, relative to the name of the zone.
    SoaRecord SoaRecordArgs
    The SOA record in the record set.
    SrvRecords []SrvRecordArgs
    The list of SRV records in the record set.
    Ttl float64
    The TTL (time-to-live) of the records in the record set.
    TxtRecords []TxtRecordArgs
    The list of TXT records in the record set.
    privateZoneName String
    The name of the Private DNS zone (without a terminating dot).
    recordType String
    The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
    resourceGroupName String
    The name of the resource group.
    aRecords List<ARecord>
    The list of A records in the record set.
    aaaaRecords List<AaaaRecord>
    The list of AAAA records in the record set.
    cnameRecord CnameRecord
    The CNAME record in the record set.
    metadata Map<String,String>
    The metadata attached to the record set.
    mxRecords List<MxRecord>
    The list of MX records in the record set.
    ptrRecords List<PtrRecord>
    The list of PTR records in the record set.
    relativeRecordSetName String
    The name of the record set, relative to the name of the zone.
    soaRecord SoaRecord
    The SOA record in the record set.
    srvRecords List<SrvRecord>
    The list of SRV records in the record set.
    ttl Double
    The TTL (time-to-live) of the records in the record set.
    txtRecords List<TxtRecord>
    The list of TXT records in the record set.
    privateZoneName string
    The name of the Private DNS zone (without a terminating dot).
    recordType string
    The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
    resourceGroupName string
    The name of the resource group.
    aRecords ARecord[]
    The list of A records in the record set.
    aaaaRecords AaaaRecord[]
    The list of AAAA records in the record set.
    cnameRecord CnameRecord
    The CNAME record in the record set.
    metadata {[key: string]: string}
    The metadata attached to the record set.
    mxRecords MxRecord[]
    The list of MX records in the record set.
    ptrRecords PtrRecord[]
    The list of PTR records in the record set.
    relativeRecordSetName string
    The name of the record set, relative to the name of the zone.
    soaRecord SoaRecord
    The SOA record in the record set.
    srvRecords SrvRecord[]
    The list of SRV records in the record set.
    ttl number
    The TTL (time-to-live) of the records in the record set.
    txtRecords TxtRecord[]
    The list of TXT records in the record set.
    private_zone_name str
    The name of the Private DNS zone (without a terminating dot).
    record_type str
    The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
    resource_group_name str
    The name of the resource group.
    a_records Sequence[ARecordArgs]
    The list of A records in the record set.
    aaaa_records Sequence[AaaaRecordArgs]
    The list of AAAA records in the record set.
    cname_record CnameRecordArgs
    The CNAME record in the record set.
    metadata Mapping[str, str]
    The metadata attached to the record set.
    mx_records Sequence[MxRecordArgs]
    The list of MX records in the record set.
    ptr_records Sequence[PtrRecordArgs]
    The list of PTR records in the record set.
    relative_record_set_name str
    The name of the record set, relative to the name of the zone.
    soa_record SoaRecordArgs
    The SOA record in the record set.
    srv_records Sequence[SrvRecordArgs]
    The list of SRV records in the record set.
    ttl float
    The TTL (time-to-live) of the records in the record set.
    txt_records Sequence[TxtRecordArgs]
    The list of TXT records in the record set.
    privateZoneName String
    The name of the Private DNS zone (without a terminating dot).
    recordType String
    The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
    resourceGroupName String
    The name of the resource group.
    aRecords List<Property Map>
    The list of A records in the record set.
    aaaaRecords List<Property Map>
    The list of AAAA records in the record set.
    cnameRecord Property Map
    The CNAME record in the record set.
    metadata Map<String>
    The metadata attached to the record set.
    mxRecords List<Property Map>
    The list of MX records in the record set.
    ptrRecords List<Property Map>
    The list of PTR records in the record set.
    relativeRecordSetName String
    The name of the record set, relative to the name of the zone.
    soaRecord Property Map
    The SOA record in the record set.
    srvRecords List<Property Map>
    The list of SRV records in the record set.
    ttl Number
    The TTL (time-to-live) of the records in the record set.
    txtRecords List<Property Map>
    The list of TXT records in the record set.

    Outputs

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

    Fqdn string
    Fully qualified domain name of the record set.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsAutoRegistered bool
    Is the record set auto-registered in the Private DNS zone through a virtual network link?
    Name string
    The name of the resource
    Type string
    The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
    Etag string
    The ETag of the record set.
    Fqdn string
    Fully qualified domain name of the record set.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsAutoRegistered bool
    Is the record set auto-registered in the Private DNS zone through a virtual network link?
    Name string
    The name of the resource
    Type string
    The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
    Etag string
    The ETag of the record set.
    fqdn String
    Fully qualified domain name of the record set.
    id String
    The provider-assigned unique ID for this managed resource.
    isAutoRegistered Boolean
    Is the record set auto-registered in the Private DNS zone through a virtual network link?
    name String
    The name of the resource
    type String
    The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
    etag String
    The ETag of the record set.
    fqdn string
    Fully qualified domain name of the record set.
    id string
    The provider-assigned unique ID for this managed resource.
    isAutoRegistered boolean
    Is the record set auto-registered in the Private DNS zone through a virtual network link?
    name string
    The name of the resource
    type string
    The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
    etag string
    The ETag of the record set.
    fqdn str
    Fully qualified domain name of the record set.
    id str
    The provider-assigned unique ID for this managed resource.
    is_auto_registered bool
    Is the record set auto-registered in the Private DNS zone through a virtual network link?
    name str
    The name of the resource
    type str
    The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
    etag str
    The ETag of the record set.
    fqdn String
    Fully qualified domain name of the record set.
    id String
    The provider-assigned unique ID for this managed resource.
    isAutoRegistered Boolean
    Is the record set auto-registered in the Private DNS zone through a virtual network link?
    name String
    The name of the resource
    type String
    The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
    etag String
    The ETag of the record set.

    Supporting Types

    ARecord, ARecordArgs

    Ipv4Address string
    The IPv4 address of this A record.
    Ipv4Address string
    The IPv4 address of this A record.
    ipv4Address String
    The IPv4 address of this A record.
    ipv4Address string
    The IPv4 address of this A record.
    ipv4_address str
    The IPv4 address of this A record.
    ipv4Address String
    The IPv4 address of this A record.

    ARecordResponse, ARecordResponseArgs

    Ipv4Address string
    The IPv4 address of this A record.
    Ipv4Address string
    The IPv4 address of this A record.
    ipv4Address String
    The IPv4 address of this A record.
    ipv4Address string
    The IPv4 address of this A record.
    ipv4_address str
    The IPv4 address of this A record.
    ipv4Address String
    The IPv4 address of this A record.

    AaaaRecord, AaaaRecordArgs

    Ipv6Address string
    The IPv6 address of this AAAA record.
    Ipv6Address string
    The IPv6 address of this AAAA record.
    ipv6Address String
    The IPv6 address of this AAAA record.
    ipv6Address string
    The IPv6 address of this AAAA record.
    ipv6_address str
    The IPv6 address of this AAAA record.
    ipv6Address String
    The IPv6 address of this AAAA record.

    AaaaRecordResponse, AaaaRecordResponseArgs

    Ipv6Address string
    The IPv6 address of this AAAA record.
    Ipv6Address string
    The IPv6 address of this AAAA record.
    ipv6Address String
    The IPv6 address of this AAAA record.
    ipv6Address string
    The IPv6 address of this AAAA record.
    ipv6_address str
    The IPv6 address of this AAAA record.
    ipv6Address String
    The IPv6 address of this AAAA record.

    CnameRecord, CnameRecordArgs

    Cname string
    The canonical name for this CNAME record.
    Cname string
    The canonical name for this CNAME record.
    cname String
    The canonical name for this CNAME record.
    cname string
    The canonical name for this CNAME record.
    cname str
    The canonical name for this CNAME record.
    cname String
    The canonical name for this CNAME record.

    CnameRecordResponse, CnameRecordResponseArgs

    Cname string
    The canonical name for this CNAME record.
    Cname string
    The canonical name for this CNAME record.
    cname String
    The canonical name for this CNAME record.
    cname string
    The canonical name for this CNAME record.
    cname str
    The canonical name for this CNAME record.
    cname String
    The canonical name for this CNAME record.

    MxRecord, MxRecordArgs

    Exchange string
    The domain name of the mail host for this MX record.
    Preference int
    The preference value for this MX record.
    Exchange string
    The domain name of the mail host for this MX record.
    Preference int
    The preference value for this MX record.
    exchange String
    The domain name of the mail host for this MX record.
    preference Integer
    The preference value for this MX record.
    exchange string
    The domain name of the mail host for this MX record.
    preference number
    The preference value for this MX record.
    exchange str
    The domain name of the mail host for this MX record.
    preference int
    The preference value for this MX record.
    exchange String
    The domain name of the mail host for this MX record.
    preference Number
    The preference value for this MX record.

    MxRecordResponse, MxRecordResponseArgs

    Exchange string
    The domain name of the mail host for this MX record.
    Preference int
    The preference value for this MX record.
    Exchange string
    The domain name of the mail host for this MX record.
    Preference int
    The preference value for this MX record.
    exchange String
    The domain name of the mail host for this MX record.
    preference Integer
    The preference value for this MX record.
    exchange string
    The domain name of the mail host for this MX record.
    preference number
    The preference value for this MX record.
    exchange str
    The domain name of the mail host for this MX record.
    preference int
    The preference value for this MX record.
    exchange String
    The domain name of the mail host for this MX record.
    preference Number
    The preference value for this MX record.

    PtrRecord, PtrRecordArgs

    Ptrdname string
    The PTR target domain name for this PTR record.
    Ptrdname string
    The PTR target domain name for this PTR record.
    ptrdname String
    The PTR target domain name for this PTR record.
    ptrdname string
    The PTR target domain name for this PTR record.
    ptrdname str
    The PTR target domain name for this PTR record.
    ptrdname String
    The PTR target domain name for this PTR record.

    PtrRecordResponse, PtrRecordResponseArgs

    Ptrdname string
    The PTR target domain name for this PTR record.
    Ptrdname string
    The PTR target domain name for this PTR record.
    ptrdname String
    The PTR target domain name for this PTR record.
    ptrdname string
    The PTR target domain name for this PTR record.
    ptrdname str
    The PTR target domain name for this PTR record.
    ptrdname String
    The PTR target domain name for this PTR record.

    SoaRecord, SoaRecordArgs

    Email string
    The email contact for this SOA record.
    ExpireTime double
    The expire time for this SOA record.
    Host string
    The domain name of the authoritative name server for this SOA record.
    MinimumTtl double
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    RefreshTime double
    The refresh value for this SOA record.
    RetryTime double
    The retry time for this SOA record.
    SerialNumber double
    The serial number for this SOA record.
    Email string
    The email contact for this SOA record.
    ExpireTime float64
    The expire time for this SOA record.
    Host string
    The domain name of the authoritative name server for this SOA record.
    MinimumTtl float64
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    RefreshTime float64
    The refresh value for this SOA record.
    RetryTime float64
    The retry time for this SOA record.
    SerialNumber float64
    The serial number for this SOA record.
    email String
    The email contact for this SOA record.
    expireTime Double
    The expire time for this SOA record.
    host String
    The domain name of the authoritative name server for this SOA record.
    minimumTtl Double
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    refreshTime Double
    The refresh value for this SOA record.
    retryTime Double
    The retry time for this SOA record.
    serialNumber Double
    The serial number for this SOA record.
    email string
    The email contact for this SOA record.
    expireTime number
    The expire time for this SOA record.
    host string
    The domain name of the authoritative name server for this SOA record.
    minimumTtl number
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    refreshTime number
    The refresh value for this SOA record.
    retryTime number
    The retry time for this SOA record.
    serialNumber number
    The serial number for this SOA record.
    email str
    The email contact for this SOA record.
    expire_time float
    The expire time for this SOA record.
    host str
    The domain name of the authoritative name server for this SOA record.
    minimum_ttl float
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    refresh_time float
    The refresh value for this SOA record.
    retry_time float
    The retry time for this SOA record.
    serial_number float
    The serial number for this SOA record.
    email String
    The email contact for this SOA record.
    expireTime Number
    The expire time for this SOA record.
    host String
    The domain name of the authoritative name server for this SOA record.
    minimumTtl Number
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    refreshTime Number
    The refresh value for this SOA record.
    retryTime Number
    The retry time for this SOA record.
    serialNumber Number
    The serial number for this SOA record.

    SoaRecordResponse, SoaRecordResponseArgs

    Email string
    The email contact for this SOA record.
    ExpireTime double
    The expire time for this SOA record.
    Host string
    The domain name of the authoritative name server for this SOA record.
    MinimumTtl double
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    RefreshTime double
    The refresh value for this SOA record.
    RetryTime double
    The retry time for this SOA record.
    SerialNumber double
    The serial number for this SOA record.
    Email string
    The email contact for this SOA record.
    ExpireTime float64
    The expire time for this SOA record.
    Host string
    The domain name of the authoritative name server for this SOA record.
    MinimumTtl float64
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    RefreshTime float64
    The refresh value for this SOA record.
    RetryTime float64
    The retry time for this SOA record.
    SerialNumber float64
    The serial number for this SOA record.
    email String
    The email contact for this SOA record.
    expireTime Double
    The expire time for this SOA record.
    host String
    The domain name of the authoritative name server for this SOA record.
    minimumTtl Double
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    refreshTime Double
    The refresh value for this SOA record.
    retryTime Double
    The retry time for this SOA record.
    serialNumber Double
    The serial number for this SOA record.
    email string
    The email contact for this SOA record.
    expireTime number
    The expire time for this SOA record.
    host string
    The domain name of the authoritative name server for this SOA record.
    minimumTtl number
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    refreshTime number
    The refresh value for this SOA record.
    retryTime number
    The retry time for this SOA record.
    serialNumber number
    The serial number for this SOA record.
    email str
    The email contact for this SOA record.
    expire_time float
    The expire time for this SOA record.
    host str
    The domain name of the authoritative name server for this SOA record.
    minimum_ttl float
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    refresh_time float
    The refresh value for this SOA record.
    retry_time float
    The retry time for this SOA record.
    serial_number float
    The serial number for this SOA record.
    email String
    The email contact for this SOA record.
    expireTime Number
    The expire time for this SOA record.
    host String
    The domain name of the authoritative name server for this SOA record.
    minimumTtl Number
    The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
    refreshTime Number
    The refresh value for this SOA record.
    retryTime Number
    The retry time for this SOA record.
    serialNumber Number
    The serial number for this SOA record.

    SrvRecord, SrvRecordArgs

    Port int
    The port value for this SRV record.
    Priority int
    The priority value for this SRV record.
    Target string
    The target domain name for this SRV record.
    Weight int
    The weight value for this SRV record.
    Port int
    The port value for this SRV record.
    Priority int
    The priority value for this SRV record.
    Target string
    The target domain name for this SRV record.
    Weight int
    The weight value for this SRV record.
    port Integer
    The port value for this SRV record.
    priority Integer
    The priority value for this SRV record.
    target String
    The target domain name for this SRV record.
    weight Integer
    The weight value for this SRV record.
    port number
    The port value for this SRV record.
    priority number
    The priority value for this SRV record.
    target string
    The target domain name for this SRV record.
    weight number
    The weight value for this SRV record.
    port int
    The port value for this SRV record.
    priority int
    The priority value for this SRV record.
    target str
    The target domain name for this SRV record.
    weight int
    The weight value for this SRV record.
    port Number
    The port value for this SRV record.
    priority Number
    The priority value for this SRV record.
    target String
    The target domain name for this SRV record.
    weight Number
    The weight value for this SRV record.

    SrvRecordResponse, SrvRecordResponseArgs

    Port int
    The port value for this SRV record.
    Priority int
    The priority value for this SRV record.
    Target string
    The target domain name for this SRV record.
    Weight int
    The weight value for this SRV record.
    Port int
    The port value for this SRV record.
    Priority int
    The priority value for this SRV record.
    Target string
    The target domain name for this SRV record.
    Weight int
    The weight value for this SRV record.
    port Integer
    The port value for this SRV record.
    priority Integer
    The priority value for this SRV record.
    target String
    The target domain name for this SRV record.
    weight Integer
    The weight value for this SRV record.
    port number
    The port value for this SRV record.
    priority number
    The priority value for this SRV record.
    target string
    The target domain name for this SRV record.
    weight number
    The weight value for this SRV record.
    port int
    The port value for this SRV record.
    priority int
    The priority value for this SRV record.
    target str
    The target domain name for this SRV record.
    weight int
    The weight value for this SRV record.
    port Number
    The port value for this SRV record.
    priority Number
    The priority value for this SRV record.
    target String
    The target domain name for this SRV record.
    weight Number
    The weight value for this SRV record.

    TxtRecord, TxtRecordArgs

    Value List<string>
    The text value of this TXT record.
    Value []string
    The text value of this TXT record.
    value List<String>
    The text value of this TXT record.
    value string[]
    The text value of this TXT record.
    value Sequence[str]
    The text value of this TXT record.
    value List<String>
    The text value of this TXT record.

    TxtRecordResponse, TxtRecordResponseArgs

    Value List<string>
    The text value of this TXT record.
    Value []string
    The text value of this TXT record.
    value List<String>
    The text value of this TXT record.
    value string[]
    The text value of this TXT record.
    value Sequence[str]
    The text value of this TXT record.
    value List<String>
    The text value of this TXT record.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:network:PrivateRecordSet recordtxt /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi