1. Packages
  2. Azure Native
  3. API Docs
  4. dns
  5. RecordSet
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.dns.RecordSet

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Describes a DNS record set (a collection of DNS records with the same name and type).

    Uses Azure REST API version 2023-07-01-preview.

    Other available API versions: 2015-05-04-preview, 2016-04-01, 2017-09-01, 2017-10-01, 2018-03-01-preview, 2018-05-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dns [ApiVersion]. See the version guide for details.

    Example Usage

    Create A recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            ARecords = new[]
            {
                new AzureNative.Dns.Inputs.ARecordArgs
                {
                    Ipv4Address = "127.0.0.1",
                },
            },
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "A",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			ARecords: dns.ARecordArray{
    				&dns.ARecordArgs{
    					Ipv4Address: pulumi.String("127.0.0.1"),
    				},
    			},
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("A"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			ZoneName:              pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .aRecords(ARecordArgs.builder()
                    .ipv4Address("127.0.0.1")
                    .build())
                .metadata(Map.of("key1", "value1"))
                .recordType("A")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        aRecords: [{
            ipv4Address: "127.0.0.1",
        }],
        metadata: {
            key1: "value1",
        },
        recordType: "A",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        a_records=[{
            "ipv4_address": "127.0.0.1",
        }],
        metadata={
            "key1": "value1",
        },
        record_type="A",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          aRecords:
            - ipv4Address: 127.0.0.1
          metadata:
            key1: value1
          recordType: A
          relativeRecordSetName: record1
          resourceGroupName: rg1
          ttl: 3600
          zoneName: zone1
    

    Create A recordset with alias target resource

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "A",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            TargetResource = new AzureNative.Dns.Inputs.SubResourceArgs
            {
                Id = "/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2",
            },
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("A"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			TargetResource: &dns.SubResourceArgs{
    				Id: pulumi.String("/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2"),
    			},
    			Ttl:      pulumi.Float64(3600),
    			ZoneName: pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.inputs.SubResourceArgs;
    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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .recordType("A")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .targetResource(SubResourceArgs.builder()
                    .id("/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2")
                    .build())
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        recordType: "A",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        targetResource: {
            id: "/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2",
        },
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        record_type="A",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        target_resource={
            "id": "/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2",
        },
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          recordType: A
          relativeRecordSetName: record1
          resourceGroupName: rg1
          targetResource:
            id: /subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2
          ttl: 3600
          zoneName: zone1
    

    Create A recordset with traffic management profile

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "A",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            TrafficManagementProfile = new AzureNative.Dns.Inputs.SubResourceArgs
            {
                Id = "/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2",
            },
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("A"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			TrafficManagementProfile: &dns.SubResourceArgs{
    				Id: pulumi.String("/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2"),
    			},
    			Ttl:      pulumi.Float64(3600),
    			ZoneName: pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.inputs.SubResourceArgs;
    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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .recordType("A")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .trafficManagementProfile(SubResourceArgs.builder()
                    .id("/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2")
                    .build())
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        recordType: "A",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        trafficManagementProfile: {
            id: "/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2",
        },
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        record_type="A",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        traffic_management_profile={
            "id": "/subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2",
        },
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          recordType: A
          relativeRecordSetName: record1
          resourceGroupName: rg1
          trafficManagementProfile:
            id: /subscriptions/726f8cd6-6459-4db4-8e6d-2cd2716904e2/resourceGroups/test/providers/Microsoft.Network/trafficManagerProfiles/testpp2
          ttl: 3600
          zoneName: zone1
    

    Create AAAA recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            AaaaRecords = new[]
            {
                new AzureNative.Dns.Inputs.AaaaRecordArgs
                {
                    Ipv6Address = "::1",
                },
            },
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "AAAA",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			AaaaRecords: dns.AaaaRecordArray{
    				&dns.AaaaRecordArgs{
    					Ipv6Address: pulumi.String("::1"),
    				},
    			},
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("AAAA"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			ZoneName:              pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .aaaaRecords(AaaaRecordArgs.builder()
                    .ipv6Address("::1")
                    .build())
                .metadata(Map.of("key1", "value1"))
                .recordType("AAAA")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        aaaaRecords: [{
            ipv6Address: "::1",
        }],
        metadata: {
            key1: "value1",
        },
        recordType: "AAAA",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        aaaa_records=[{
            "ipv6_address": "::1",
        }],
        metadata={
            "key1": "value1",
        },
        record_type="AAAA",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          aaaaRecords:
            - ipv6Address: ::1
          metadata:
            key1: value1
          recordType: AAAA
          relativeRecordSetName: record1
          resourceGroupName: rg1
          ttl: 3600
          zoneName: zone1
    

    Create CAA recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            CaaRecords = new[]
            {
                new AzureNative.Dns.Inputs.CaaRecordArgs
                {
                    Flags = 0,
                    Tag = "issue",
                    Value = "ca.contoso.com",
                },
            },
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "CAA",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			CaaRecords: dns.CaaRecordArray{
    				&dns.CaaRecordArgs{
    					Flags: pulumi.Int(0),
    					Tag:   pulumi.String("issue"),
    					Value: pulumi.String("ca.contoso.com"),
    				},
    			},
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("CAA"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			ZoneName:              pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.inputs.CaaRecordArgs;
    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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .caaRecords(CaaRecordArgs.builder()
                    .flags(0)
                    .tag("issue")
                    .value("ca.contoso.com")
                    .build())
                .metadata(Map.of("key1", "value1"))
                .recordType("CAA")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        caaRecords: [{
            flags: 0,
            tag: "issue",
            value: "ca.contoso.com",
        }],
        metadata: {
            key1: "value1",
        },
        recordType: "CAA",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        caa_records=[{
            "flags": 0,
            "tag": "issue",
            "value": "ca.contoso.com",
        }],
        metadata={
            "key1": "value1",
        },
        record_type="CAA",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          caaRecords:
            - flags: 0
              tag: issue
              value: ca.contoso.com
          metadata:
            key1: value1
          recordType: CAA
          relativeRecordSetName: record1
          resourceGroupName: rg1
          ttl: 3600
          zoneName: zone1
    

    Create CNAME recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            CnameRecord = new AzureNative.Dns.Inputs.CnameRecordArgs
            {
                Cname = "contoso.com",
            },
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "CNAME",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			CnameRecord: &dns.CnameRecordArgs{
    				Cname: pulumi.String("contoso.com"),
    			},
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("CNAME"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			ZoneName:              pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .cnameRecord(CnameRecordArgs.builder()
                    .cname("contoso.com")
                    .build())
                .metadata(Map.of("key1", "value1"))
                .recordType("CNAME")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        cnameRecord: {
            cname: "contoso.com",
        },
        metadata: {
            key1: "value1",
        },
        recordType: "CNAME",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        cname_record={
            "cname": "contoso.com",
        },
        metadata={
            "key1": "value1",
        },
        record_type="CNAME",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          cnameRecord:
            cname: contoso.com
          metadata:
            key1: value1
          recordType: CNAME
          relativeRecordSetName: record1
          resourceGroupName: rg1
          ttl: 3600
          zoneName: zone1
    

    Create DS recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            DsRecords = new[]
            {
                new AzureNative.Dns.Inputs.DsRecordArgs
                {
                    Algorithm = 5,
                    Digest = new AzureNative.Dns.Inputs.DigestArgs
                    {
                        AlgorithmType = 1,
                        Value = "2BB183AF5F22588179A53B0A98631FAD1A292118",
                    },
                    KeyTag = 60485,
                },
            },
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "DS",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			DsRecords: dns.DsRecordArray{
    				&dns.DsRecordArgs{
    					Algorithm: pulumi.Int(5),
    					Digest: &dns.DigestArgs{
    						AlgorithmType: pulumi.Int(1),
    						Value:         pulumi.String("2BB183AF5F22588179A53B0A98631FAD1A292118"),
    					},
    					KeyTag: pulumi.Int(60485),
    				},
    			},
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("DS"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			ZoneName:              pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.inputs.DsRecordArgs;
    import com.pulumi.azurenative.dns.inputs.DigestArgs;
    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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .dsRecords(DsRecordArgs.builder()
                    .algorithm(5)
                    .digest(DigestArgs.builder()
                        .algorithmType(1)
                        .value("2BB183AF5F22588179A53B0A98631FAD1A292118")
                        .build())
                    .keyTag(60485)
                    .build())
                .metadata(Map.of("key1", "value1"))
                .recordType("DS")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        dsRecords: [{
            algorithm: 5,
            digest: {
                algorithmType: 1,
                value: "2BB183AF5F22588179A53B0A98631FAD1A292118",
            },
            keyTag: 60485,
        }],
        metadata: {
            key1: "value1",
        },
        recordType: "DS",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        ds_records=[{
            "algorithm": 5,
            "digest": {
                "algorithm_type": 1,
                "value": "2BB183AF5F22588179A53B0A98631FAD1A292118",
            },
            "key_tag": 60485,
        }],
        metadata={
            "key1": "value1",
        },
        record_type="DS",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          dsRecords:
            - algorithm: 5
              digest:
                algorithmType: 1
                value: 2BB183AF5F22588179A53B0A98631FAD1A292118
              keyTag: 60485
          metadata:
            key1: value1
          recordType: DS
          relativeRecordSetName: record1
          resourceGroupName: rg1
          ttl: 3600
          zoneName: zone1
    

    Create MX recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            MxRecords = new[]
            {
                new AzureNative.Dns.Inputs.MxRecordArgs
                {
                    Exchange = "mail.contoso.com",
                    Preference = 0,
                },
            },
            RecordType = "MX",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			MxRecords: dns.MxRecordArray{
    				&dns.MxRecordArgs{
    					Exchange:   pulumi.String("mail.contoso.com"),
    					Preference: pulumi.Int(0),
    				},
    			},
    			RecordType:            pulumi.String("MX"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			ZoneName:              pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .mxRecords(MxRecordArgs.builder()
                    .exchange("mail.contoso.com")
                    .preference(0)
                    .build())
                .recordType("MX")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        mxRecords: [{
            exchange: "mail.contoso.com",
            preference: 0,
        }],
        recordType: "MX",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        mx_records=[{
            "exchange": "mail.contoso.com",
            "preference": 0,
        }],
        record_type="MX",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          mxRecords:
            - exchange: mail.contoso.com
              preference: 0
          recordType: MX
          relativeRecordSetName: record1
          resourceGroupName: rg1
          ttl: 3600
          zoneName: zone1
    

    Create NAPTR recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            NaptrRecords = new[]
            {
                new AzureNative.Dns.Inputs.NaptrRecordArgs
                {
                    Flags = "U",
                    Order = 100,
                    Preference = 10,
                    Regexp = "!^.*$!sip:user@example.com!",
                    Replacement = "",
                    Services = "E2U+sip",
                },
            },
            RecordType = "NAPTR",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			NaptrRecords: dns.NaptrRecordArray{
    				&dns.NaptrRecordArgs{
    					Flags:       pulumi.String("U"),
    					Order:       pulumi.Int(100),
    					Preference:  pulumi.Int(10),
    					Regexp:      pulumi.String("!^.*$!sip:user@example.com!"),
    					Replacement: pulumi.String(""),
    					Services:    pulumi.String("E2U+sip"),
    				},
    			},
    			RecordType:            pulumi.String("NAPTR"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			ZoneName:              pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.inputs.NaptrRecordArgs;
    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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .naptrRecords(NaptrRecordArgs.builder()
                    .flags("U")
                    .order(100)
                    .preference(10)
                    .regexp("!^.*$!sip:user@example.com!")
                    .replacement("")
                    .services("E2U+sip")
                    .build())
                .recordType("NAPTR")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        naptrRecords: [{
            flags: "U",
            order: 100,
            preference: 10,
            regexp: "!^.*$!sip:user@example.com!",
            replacement: "",
            services: "E2U+sip",
        }],
        recordType: "NAPTR",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        naptr_records=[{
            "flags": "U",
            "order": 100,
            "preference": 10,
            "regexp": "!^.*$!sip:user@example.com!",
            "replacement": "",
            "services": "E2U+sip",
        }],
        record_type="NAPTR",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          naptrRecords:
            - flags: U
              order: 100
              preference: 10
              regexp: '!^.*$!sip:user@example.com!'
              replacement: ""
              services: E2U+sip
          recordType: NAPTR
          relativeRecordSetName: record1
          resourceGroupName: rg1
          ttl: 3600
          zoneName: zone1
    

    Create NS recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            NsRecords = new[]
            {
                new AzureNative.Dns.Inputs.NsRecordArgs
                {
                    Nsdname = "ns1.contoso.com",
                },
            },
            RecordType = "NS",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			NsRecords: dns.NsRecordArray{
    				&dns.NsRecordArgs{
    					Nsdname: pulumi.String("ns1.contoso.com"),
    				},
    			},
    			RecordType:            pulumi.String("NS"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			ZoneName:              pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.inputs.NsRecordArgs;
    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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .nsRecords(NsRecordArgs.builder()
                    .nsdname("ns1.contoso.com")
                    .build())
                .recordType("NS")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        nsRecords: [{
            nsdname: "ns1.contoso.com",
        }],
        recordType: "NS",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        ns_records=[{
            "nsdname": "ns1.contoso.com",
        }],
        record_type="NS",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          nsRecords:
            - nsdname: ns1.contoso.com
          recordType: NS
          relativeRecordSetName: record1
          resourceGroupName: rg1
          ttl: 3600
          zoneName: zone1
    

    Create PTR recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            PtrRecords = new[]
            {
                new AzureNative.Dns.Inputs.PtrRecordArgs
                {
                    Ptrdname = "localhost",
                },
            },
            RecordType = "PTR",
            RelativeRecordSetName = "1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            ZoneName = "0.0.127.in-addr.arpa",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			PtrRecords: dns.PtrRecordArray{
    				&dns.PtrRecordArgs{
    					Ptrdname: pulumi.String("localhost"),
    				},
    			},
    			RecordType:            pulumi.String("PTR"),
    			RelativeRecordSetName: pulumi.String("1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			ZoneName:              pulumi.String("0.0.127.in-addr.arpa"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .ptrRecords(PtrRecordArgs.builder()
                    .ptrdname("localhost")
                    .build())
                .recordType("PTR")
                .relativeRecordSetName("1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .zoneName("0.0.127.in-addr.arpa")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        ptrRecords: [{
            ptrdname: "localhost",
        }],
        recordType: "PTR",
        relativeRecordSetName: "1",
        resourceGroupName: "rg1",
        ttl: 3600,
        zoneName: "0.0.127.in-addr.arpa",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        ptr_records=[{
            "ptrdname": "localhost",
        }],
        record_type="PTR",
        relative_record_set_name="1",
        resource_group_name="rg1",
        ttl=3600,
        zone_name="0.0.127.in-addr.arpa")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          ptrRecords:
            - ptrdname: localhost
          recordType: PTR
          relativeRecordSetName: '1'
          resourceGroupName: rg1
          ttl: 3600
          zoneName: 0.0.127.in-addr.arpa
    

    Create SOA recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "SOA",
            RelativeRecordSetName = "@",
            ResourceGroupName = "rg1",
            SoaRecord = new AzureNative.Dns.Inputs.SoaRecordArgs
            {
                Email = "hostmaster.contoso.com",
                ExpireTime = 2419200,
                Host = "ns1.contoso.com",
                MinimumTtl = 300,
                RefreshTime = 3600,
                RetryTime = 300,
                SerialNumber = 1,
            },
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("SOA"),
    			RelativeRecordSetName: pulumi.String("@"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			SoaRecord: &dns.SoaRecordArgs{
    				Email:        pulumi.String("hostmaster.contoso.com"),
    				ExpireTime:   pulumi.Float64(2419200),
    				Host:         pulumi.String("ns1.contoso.com"),
    				MinimumTtl:   pulumi.Float64(300),
    				RefreshTime:  pulumi.Float64(3600),
    				RetryTime:    pulumi.Float64(300),
    				SerialNumber: pulumi.Float64(1),
    			},
    			Ttl:      pulumi.Float64(3600),
    			ZoneName: pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .recordType("SOA")
                .relativeRecordSetName("@")
                .resourceGroupName("rg1")
                .soaRecord(SoaRecordArgs.builder()
                    .email("hostmaster.contoso.com")
                    .expireTime(2419200.0)
                    .host("ns1.contoso.com")
                    .minimumTtl(300.0)
                    .refreshTime(3600.0)
                    .retryTime(300.0)
                    .serialNumber(1.0)
                    .build())
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        recordType: "SOA",
        relativeRecordSetName: "@",
        resourceGroupName: "rg1",
        soaRecord: {
            email: "hostmaster.contoso.com",
            expireTime: 2419200,
            host: "ns1.contoso.com",
            minimumTtl: 300,
            refreshTime: 3600,
            retryTime: 300,
            serialNumber: 1,
        },
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        record_type="SOA",
        relative_record_set_name="@",
        resource_group_name="rg1",
        soa_record={
            "email": "hostmaster.contoso.com",
            "expire_time": 2419200,
            "host": "ns1.contoso.com",
            "minimum_ttl": 300,
            "refresh_time": 3600,
            "retry_time": 300,
            "serial_number": 1,
        },
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          recordType: SOA
          relativeRecordSetName: '@'
          resourceGroupName: rg1
          soaRecord:
            email: hostmaster.contoso.com
            expireTime: 2.4192e+06
            host: ns1.contoso.com
            minimumTtl: 300
            refreshTime: 3600
            retryTime: 300
            serialNumber: 1
          ttl: 3600
          zoneName: zone1
    

    Create SRV recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "SRV",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            SrvRecords = new[]
            {
                new AzureNative.Dns.Inputs.SrvRecordArgs
                {
                    Port = 80,
                    Priority = 0,
                    Target = "contoso.com",
                    Weight = 10,
                },
            },
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("SRV"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			SrvRecords: dns.SrvRecordArray{
    				&dns.SrvRecordArgs{
    					Port:     pulumi.Int(80),
    					Priority: pulumi.Int(0),
    					Target:   pulumi.String("contoso.com"),
    					Weight:   pulumi.Int(10),
    				},
    			},
    			Ttl:      pulumi.Float64(3600),
    			ZoneName: pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .recordType("SRV")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .srvRecords(SrvRecordArgs.builder()
                    .port(80)
                    .priority(0)
                    .target("contoso.com")
                    .weight(10)
                    .build())
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        recordType: "SRV",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        srvRecords: [{
            port: 80,
            priority: 0,
            target: "contoso.com",
            weight: 10,
        }],
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        record_type="SRV",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        srv_records=[{
            "port": 80,
            "priority": 0,
            "target": "contoso.com",
            "weight": 10,
        }],
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          recordType: SRV
          relativeRecordSetName: record1
          resourceGroupName: rg1
          srvRecords:
            - port: 80
              priority: 0
              target: contoso.com
              weight: 10
          ttl: 3600
          zoneName: zone1
    

    Create TLSA recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "TLSA",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            TlsaRecords = new[]
            {
                new AzureNative.Dns.Inputs.TlsaRecordArgs
                {
                    CertAssociationData = "6EC8A4B7F511454D84DCC055213B8D195E8ADA751FE14300AFE32D54B162438B",
                    MatchingType = 1,
                    Selector = 1,
                    Usage = 3,
                },
            },
            Ttl = 3600,
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("TLSA"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			TlsaRecords: dns.TlsaRecordArray{
    				&dns.TlsaRecordArgs{
    					CertAssociationData: pulumi.String("6EC8A4B7F511454D84DCC055213B8D195E8ADA751FE14300AFE32D54B162438B"),
    					MatchingType:        pulumi.Int(1),
    					Selector:            pulumi.Int(1),
    					Usage:               pulumi.Int(3),
    				},
    			},
    			Ttl:      pulumi.Float64(3600),
    			ZoneName: pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.inputs.TlsaRecordArgs;
    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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .recordType("TLSA")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .tlsaRecords(TlsaRecordArgs.builder()
                    .certAssociationData("6EC8A4B7F511454D84DCC055213B8D195E8ADA751FE14300AFE32D54B162438B")
                    .matchingType(1)
                    .selector(1)
                    .usage(3)
                    .build())
                .ttl(3600.0)
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        recordType: "TLSA",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        tlsaRecords: [{
            certAssociationData: "6EC8A4B7F511454D84DCC055213B8D195E8ADA751FE14300AFE32D54B162438B",
            matchingType: 1,
            selector: 1,
            usage: 3,
        }],
        ttl: 3600,
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        record_type="TLSA",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        tlsa_records=[{
            "cert_association_data": "6EC8A4B7F511454D84DCC055213B8D195E8ADA751FE14300AFE32D54B162438B",
            "matching_type": 1,
            "selector": 1,
            "usage": 3,
        }],
        ttl=3600,
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          recordType: TLSA
          relativeRecordSetName: record1
          resourceGroupName: rg1
          tlsaRecords:
            - certAssociationData: 6EC8A4B7F511454D84DCC055213B8D195E8ADA751FE14300AFE32D54B162438B
              matchingType: 1
              selector: 1
              usage: 3
          ttl: 3600
          zoneName: zone1
    

    Create TXT recordset

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var recordSet = new AzureNative.Dns.RecordSet("recordSet", new()
        {
            Metadata = 
            {
                { "key1", "value1" },
            },
            RecordType = "TXT",
            RelativeRecordSetName = "record1",
            ResourceGroupName = "rg1",
            Ttl = 3600,
            TxtRecords = new[]
            {
                new AzureNative.Dns.Inputs.TxtRecordArgs
                {
                    Value = new[]
                    {
                        "string1",
                        "string2",
                    },
                },
            },
            ZoneName = "zone1",
        });
    
    });
    
    package main
    
    import (
    	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewRecordSet(ctx, "recordSet", &dns.RecordSetArgs{
    			Metadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    			RecordType:            pulumi.String("TXT"),
    			RelativeRecordSetName: pulumi.String("record1"),
    			ResourceGroupName:     pulumi.String("rg1"),
    			Ttl:                   pulumi.Float64(3600),
    			TxtRecords: dns.TxtRecordArray{
    				&dns.TxtRecordArgs{
    					Value: pulumi.StringArray{
    						pulumi.String("string1"),
    						pulumi.String("string2"),
    					},
    				},
    			},
    			ZoneName: pulumi.String("zone1"),
    		})
    		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.dns.RecordSet;
    import com.pulumi.azurenative.dns.RecordSetArgs;
    import com.pulumi.azurenative.dns.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 recordSet = new RecordSet("recordSet", RecordSetArgs.builder()
                .metadata(Map.of("key1", "value1"))
                .recordType("TXT")
                .relativeRecordSetName("record1")
                .resourceGroupName("rg1")
                .ttl(3600.0)
                .txtRecords(TxtRecordArgs.builder()
                    .value(                
                        "string1",
                        "string2")
                    .build())
                .zoneName("zone1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const recordSet = new azure_native.dns.RecordSet("recordSet", {
        metadata: {
            key1: "value1",
        },
        recordType: "TXT",
        relativeRecordSetName: "record1",
        resourceGroupName: "rg1",
        ttl: 3600,
        txtRecords: [{
            value: [
                "string1",
                "string2",
            ],
        }],
        zoneName: "zone1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    record_set = azure_native.dns.RecordSet("recordSet",
        metadata={
            "key1": "value1",
        },
        record_type="TXT",
        relative_record_set_name="record1",
        resource_group_name="rg1",
        ttl=3600,
        txt_records=[{
            "value": [
                "string1",
                "string2",
            ],
        }],
        zone_name="zone1")
    
    resources:
      recordSet:
        type: azure-native:dns:RecordSet
        properties:
          metadata:
            key1: value1
          recordType: TXT
          relativeRecordSetName: record1
          resourceGroupName: rg1
          ttl: 3600
          txtRecords:
            - value:
                - string1
                - string2
          zoneName: zone1
    

    Create RecordSet Resource

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

    Constructor syntax

    new RecordSet(name: string, args: RecordSetArgs, opts?: CustomResourceOptions);
    @overload
    def RecordSet(resource_name: str,
                  args: RecordSetArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def RecordSet(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  record_type: Optional[str] = None,
                  zone_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  metadata: Optional[Mapping[str, str]] = None,
                  caa_records: Optional[Sequence[CaaRecordArgs]] = None,
                  a_records: Optional[Sequence[ARecordArgs]] = None,
                  mx_records: Optional[Sequence[MxRecordArgs]] = None,
                  naptr_records: Optional[Sequence[NaptrRecordArgs]] = None,
                  ns_records: Optional[Sequence[NsRecordArgs]] = None,
                  ptr_records: Optional[Sequence[PtrRecordArgs]] = None,
                  cname_record: Optional[CnameRecordArgs] = None,
                  relative_record_set_name: Optional[str] = None,
                  ds_records: Optional[Sequence[DsRecordArgs]] = None,
                  soa_record: Optional[SoaRecordArgs] = None,
                  srv_records: Optional[Sequence[SrvRecordArgs]] = None,
                  target_resource: Optional[SubResourceArgs] = None,
                  tlsa_records: Optional[Sequence[TlsaRecordArgs]] = None,
                  traffic_management_profile: Optional[SubResourceArgs] = None,
                  ttl: Optional[float] = None,
                  txt_records: Optional[Sequence[TxtRecordArgs]] = None,
                  aaaa_records: Optional[Sequence[AaaaRecordArgs]] = None)
    func NewRecordSet(ctx *Context, name string, args RecordSetArgs, opts ...ResourceOption) (*RecordSet, error)
    public RecordSet(string name, RecordSetArgs args, CustomResourceOptions? opts = null)
    public RecordSet(String name, RecordSetArgs args)
    public RecordSet(String name, RecordSetArgs args, CustomResourceOptions options)
    
    type: azure-native:dns:RecordSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RecordSetArgs
    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 RecordSetArgs
    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 RecordSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RecordSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RecordSetArgs
    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 recordSetResource = new AzureNative.Dns.RecordSet("recordSetResource", new()
    {
        RecordType = "string",
        ZoneName = "string",
        ResourceGroupName = "string",
        Metadata = 
        {
            { "string", "string" },
        },
        CaaRecords = new[]
        {
            new AzureNative.Dns.Inputs.CaaRecordArgs
            {
                Flags = 0,
                Tag = "string",
                Value = "string",
            },
        },
        ARecords = new[]
        {
            new AzureNative.Dns.Inputs.ARecordArgs
            {
                Ipv4Address = "string",
            },
        },
        MxRecords = new[]
        {
            new AzureNative.Dns.Inputs.MxRecordArgs
            {
                Exchange = "string",
                Preference = 0,
            },
        },
        NaptrRecords = new[]
        {
            new AzureNative.Dns.Inputs.NaptrRecordArgs
            {
                Flags = "string",
                Order = 0,
                Preference = 0,
                Regexp = "string",
                Replacement = "string",
                Services = "string",
            },
        },
        NsRecords = new[]
        {
            new AzureNative.Dns.Inputs.NsRecordArgs
            {
                Nsdname = "string",
            },
        },
        PtrRecords = new[]
        {
            new AzureNative.Dns.Inputs.PtrRecordArgs
            {
                Ptrdname = "string",
            },
        },
        CnameRecord = new AzureNative.Dns.Inputs.CnameRecordArgs
        {
            Cname = "string",
        },
        RelativeRecordSetName = "string",
        DsRecords = new[]
        {
            new AzureNative.Dns.Inputs.DsRecordArgs
            {
                Algorithm = 0,
                Digest = new AzureNative.Dns.Inputs.DigestArgs
                {
                    AlgorithmType = 0,
                    Value = "string",
                },
                KeyTag = 0,
            },
        },
        SoaRecord = new AzureNative.Dns.Inputs.SoaRecordArgs
        {
            Email = "string",
            ExpireTime = 0,
            Host = "string",
            MinimumTtl = 0,
            RefreshTime = 0,
            RetryTime = 0,
            SerialNumber = 0,
        },
        SrvRecords = new[]
        {
            new AzureNative.Dns.Inputs.SrvRecordArgs
            {
                Port = 0,
                Priority = 0,
                Target = "string",
                Weight = 0,
            },
        },
        TargetResource = new AzureNative.Dns.Inputs.SubResourceArgs
        {
            Id = "string",
        },
        TlsaRecords = new[]
        {
            new AzureNative.Dns.Inputs.TlsaRecordArgs
            {
                CertAssociationData = "string",
                MatchingType = 0,
                Selector = 0,
                Usage = 0,
            },
        },
        TrafficManagementProfile = new AzureNative.Dns.Inputs.SubResourceArgs
        {
            Id = "string",
        },
        Ttl = 0,
        TxtRecords = new[]
        {
            new AzureNative.Dns.Inputs.TxtRecordArgs
            {
                Value = new[]
                {
                    "string",
                },
            },
        },
        AaaaRecords = new[]
        {
            new AzureNative.Dns.Inputs.AaaaRecordArgs
            {
                Ipv6Address = "string",
            },
        },
    });
    
    example, err := dns.NewRecordSet(ctx, "recordSetResource", &dns.RecordSetArgs{
    	RecordType:        pulumi.String("string"),
    	ZoneName:          pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	CaaRecords: dns.CaaRecordArray{
    		&dns.CaaRecordArgs{
    			Flags: pulumi.Int(0),
    			Tag:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	ARecords: dns.ARecordArray{
    		&dns.ARecordArgs{
    			Ipv4Address: pulumi.String("string"),
    		},
    	},
    	MxRecords: dns.MxRecordArray{
    		&dns.MxRecordArgs{
    			Exchange:   pulumi.String("string"),
    			Preference: pulumi.Int(0),
    		},
    	},
    	NaptrRecords: dns.NaptrRecordArray{
    		&dns.NaptrRecordArgs{
    			Flags:       pulumi.String("string"),
    			Order:       pulumi.Int(0),
    			Preference:  pulumi.Int(0),
    			Regexp:      pulumi.String("string"),
    			Replacement: pulumi.String("string"),
    			Services:    pulumi.String("string"),
    		},
    	},
    	NsRecords: dns.NsRecordArray{
    		&dns.NsRecordArgs{
    			Nsdname: pulumi.String("string"),
    		},
    	},
    	PtrRecords: dns.PtrRecordArray{
    		&dns.PtrRecordArgs{
    			Ptrdname: pulumi.String("string"),
    		},
    	},
    	CnameRecord: &dns.CnameRecordArgs{
    		Cname: pulumi.String("string"),
    	},
    	RelativeRecordSetName: pulumi.String("string"),
    	DsRecords: dns.DsRecordArray{
    		&dns.DsRecordArgs{
    			Algorithm: pulumi.Int(0),
    			Digest: &dns.DigestArgs{
    				AlgorithmType: pulumi.Int(0),
    				Value:         pulumi.String("string"),
    			},
    			KeyTag: pulumi.Int(0),
    		},
    	},
    	SoaRecord: &dns.SoaRecordArgs{
    		Email:        pulumi.String("string"),
    		ExpireTime:   pulumi.Float64(0),
    		Host:         pulumi.String("string"),
    		MinimumTtl:   pulumi.Float64(0),
    		RefreshTime:  pulumi.Float64(0),
    		RetryTime:    pulumi.Float64(0),
    		SerialNumber: pulumi.Float64(0),
    	},
    	SrvRecords: dns.SrvRecordArray{
    		&dns.SrvRecordArgs{
    			Port:     pulumi.Int(0),
    			Priority: pulumi.Int(0),
    			Target:   pulumi.String("string"),
    			Weight:   pulumi.Int(0),
    		},
    	},
    	TargetResource: &dns.SubResourceArgs{
    		Id: pulumi.String("string"),
    	},
    	TlsaRecords: dns.TlsaRecordArray{
    		&dns.TlsaRecordArgs{
    			CertAssociationData: pulumi.String("string"),
    			MatchingType:        pulumi.Int(0),
    			Selector:            pulumi.Int(0),
    			Usage:               pulumi.Int(0),
    		},
    	},
    	TrafficManagementProfile: &dns.SubResourceArgs{
    		Id: pulumi.String("string"),
    	},
    	Ttl: pulumi.Float64(0),
    	TxtRecords: dns.TxtRecordArray{
    		&dns.TxtRecordArgs{
    			Value: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	AaaaRecords: dns.AaaaRecordArray{
    		&dns.AaaaRecordArgs{
    			Ipv6Address: pulumi.String("string"),
    		},
    	},
    })
    
    var recordSetResource = new RecordSet("recordSetResource", RecordSetArgs.builder()
        .recordType("string")
        .zoneName("string")
        .resourceGroupName("string")
        .metadata(Map.of("string", "string"))
        .caaRecords(CaaRecordArgs.builder()
            .flags(0)
            .tag("string")
            .value("string")
            .build())
        .aRecords(ARecordArgs.builder()
            .ipv4Address("string")
            .build())
        .mxRecords(MxRecordArgs.builder()
            .exchange("string")
            .preference(0)
            .build())
        .naptrRecords(NaptrRecordArgs.builder()
            .flags("string")
            .order(0)
            .preference(0)
            .regexp("string")
            .replacement("string")
            .services("string")
            .build())
        .nsRecords(NsRecordArgs.builder()
            .nsdname("string")
            .build())
        .ptrRecords(PtrRecordArgs.builder()
            .ptrdname("string")
            .build())
        .cnameRecord(CnameRecordArgs.builder()
            .cname("string")
            .build())
        .relativeRecordSetName("string")
        .dsRecords(DsRecordArgs.builder()
            .algorithm(0)
            .digest(DigestArgs.builder()
                .algorithmType(0)
                .value("string")
                .build())
            .keyTag(0)
            .build())
        .soaRecord(SoaRecordArgs.builder()
            .email("string")
            .expireTime(0)
            .host("string")
            .minimumTtl(0)
            .refreshTime(0)
            .retryTime(0)
            .serialNumber(0)
            .build())
        .srvRecords(SrvRecordArgs.builder()
            .port(0)
            .priority(0)
            .target("string")
            .weight(0)
            .build())
        .targetResource(SubResourceArgs.builder()
            .id("string")
            .build())
        .tlsaRecords(TlsaRecordArgs.builder()
            .certAssociationData("string")
            .matchingType(0)
            .selector(0)
            .usage(0)
            .build())
        .trafficManagementProfile(SubResourceArgs.builder()
            .id("string")
            .build())
        .ttl(0)
        .txtRecords(TxtRecordArgs.builder()
            .value("string")
            .build())
        .aaaaRecords(AaaaRecordArgs.builder()
            .ipv6Address("string")
            .build())
        .build());
    
    record_set_resource = azure_native.dns.RecordSet("recordSetResource",
        record_type="string",
        zone_name="string",
        resource_group_name="string",
        metadata={
            "string": "string",
        },
        caa_records=[{
            "flags": 0,
            "tag": "string",
            "value": "string",
        }],
        a_records=[{
            "ipv4_address": "string",
        }],
        mx_records=[{
            "exchange": "string",
            "preference": 0,
        }],
        naptr_records=[{
            "flags": "string",
            "order": 0,
            "preference": 0,
            "regexp": "string",
            "replacement": "string",
            "services": "string",
        }],
        ns_records=[{
            "nsdname": "string",
        }],
        ptr_records=[{
            "ptrdname": "string",
        }],
        cname_record={
            "cname": "string",
        },
        relative_record_set_name="string",
        ds_records=[{
            "algorithm": 0,
            "digest": {
                "algorithm_type": 0,
                "value": "string",
            },
            "key_tag": 0,
        }],
        soa_record={
            "email": "string",
            "expire_time": 0,
            "host": "string",
            "minimum_ttl": 0,
            "refresh_time": 0,
            "retry_time": 0,
            "serial_number": 0,
        },
        srv_records=[{
            "port": 0,
            "priority": 0,
            "target": "string",
            "weight": 0,
        }],
        target_resource={
            "id": "string",
        },
        tlsa_records=[{
            "cert_association_data": "string",
            "matching_type": 0,
            "selector": 0,
            "usage": 0,
        }],
        traffic_management_profile={
            "id": "string",
        },
        ttl=0,
        txt_records=[{
            "value": ["string"],
        }],
        aaaa_records=[{
            "ipv6_address": "string",
        }])
    
    const recordSetResource = new azure_native.dns.RecordSet("recordSetResource", {
        recordType: "string",
        zoneName: "string",
        resourceGroupName: "string",
        metadata: {
            string: "string",
        },
        caaRecords: [{
            flags: 0,
            tag: "string",
            value: "string",
        }],
        aRecords: [{
            ipv4Address: "string",
        }],
        mxRecords: [{
            exchange: "string",
            preference: 0,
        }],
        naptrRecords: [{
            flags: "string",
            order: 0,
            preference: 0,
            regexp: "string",
            replacement: "string",
            services: "string",
        }],
        nsRecords: [{
            nsdname: "string",
        }],
        ptrRecords: [{
            ptrdname: "string",
        }],
        cnameRecord: {
            cname: "string",
        },
        relativeRecordSetName: "string",
        dsRecords: [{
            algorithm: 0,
            digest: {
                algorithmType: 0,
                value: "string",
            },
            keyTag: 0,
        }],
        soaRecord: {
            email: "string",
            expireTime: 0,
            host: "string",
            minimumTtl: 0,
            refreshTime: 0,
            retryTime: 0,
            serialNumber: 0,
        },
        srvRecords: [{
            port: 0,
            priority: 0,
            target: "string",
            weight: 0,
        }],
        targetResource: {
            id: "string",
        },
        tlsaRecords: [{
            certAssociationData: "string",
            matchingType: 0,
            selector: 0,
            usage: 0,
        }],
        trafficManagementProfile: {
            id: "string",
        },
        ttl: 0,
        txtRecords: [{
            value: ["string"],
        }],
        aaaaRecords: [{
            ipv6Address: "string",
        }],
    });
    
    type: azure-native:dns:RecordSet
    properties:
        aRecords:
            - ipv4Address: string
        aaaaRecords:
            - ipv6Address: string
        caaRecords:
            - flags: 0
              tag: string
              value: string
        cnameRecord:
            cname: string
        dsRecords:
            - algorithm: 0
              digest:
                algorithmType: 0
                value: string
              keyTag: 0
        metadata:
            string: string
        mxRecords:
            - exchange: string
              preference: 0
        naptrRecords:
            - flags: string
              order: 0
              preference: 0
              regexp: string
              replacement: string
              services: string
        nsRecords:
            - nsdname: string
        ptrRecords:
            - ptrdname: string
        recordType: string
        relativeRecordSetName: string
        resourceGroupName: string
        soaRecord:
            email: string
            expireTime: 0
            host: string
            minimumTtl: 0
            refreshTime: 0
            retryTime: 0
            serialNumber: 0
        srvRecords:
            - port: 0
              priority: 0
              target: string
              weight: 0
        targetResource:
            id: string
        tlsaRecords:
            - certAssociationData: string
              matchingType: 0
              selector: 0
              usage: 0
        trafficManagementProfile:
            id: string
        ttl: 0
        txtRecords:
            - value:
                - string
        zoneName: string
    

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

    RecordType string
    The type of DNS record in this record set.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ZoneName string
    The name of the DNS zone (without a terminating dot).
    ARecords List<Pulumi.AzureNative.Dns.Inputs.ARecord>
    The list of A records in the record set.
    AaaaRecords List<Pulumi.AzureNative.Dns.Inputs.AaaaRecord>
    The list of AAAA records in the record set.
    CaaRecords List<Pulumi.AzureNative.Dns.Inputs.CaaRecord>
    The list of CAA records in the record set.
    CnameRecord Pulumi.AzureNative.Dns.Inputs.CnameRecord
    The CNAME record in the record set.
    DsRecords List<Pulumi.AzureNative.Dns.Inputs.DsRecord>
    The list of DS records in the record set.
    Metadata Dictionary<string, string>
    The metadata attached to the record set.
    MxRecords List<Pulumi.AzureNative.Dns.Inputs.MxRecord>
    The list of MX records in the record set.
    NaptrRecords List<Pulumi.AzureNative.Dns.Inputs.NaptrRecord>
    The list of NAPTR records in the record set.
    NsRecords List<Pulumi.AzureNative.Dns.Inputs.NsRecord>
    The list of NS records in the record set.
    PtrRecords List<Pulumi.AzureNative.Dns.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.Dns.Inputs.SoaRecord
    The SOA record in the record set.
    SrvRecords List<Pulumi.AzureNative.Dns.Inputs.SrvRecord>
    The list of SRV records in the record set.
    TargetResource Pulumi.AzureNative.Dns.Inputs.SubResource
    A reference to an azure resource from where the dns resource value is taken.
    TlsaRecords List<Pulumi.AzureNative.Dns.Inputs.TlsaRecord>
    The list of TLSA records in the record set.
    TrafficManagementProfile Pulumi.AzureNative.Dns.Inputs.SubResource
    A reference to an azure traffic manager profile resource from where the dns resource value is taken.
    Ttl double
    The TTL (time-to-live) of the records in the record set.
    TxtRecords List<Pulumi.AzureNative.Dns.Inputs.TxtRecord>
    The list of TXT records in the record set.
    RecordType string
    The type of DNS record in this record set.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ZoneName string
    The name of the DNS zone (without a terminating dot).
    ARecords []ARecordArgs
    The list of A records in the record set.
    AaaaRecords []AaaaRecordArgs
    The list of AAAA records in the record set.
    CaaRecords []CaaRecordArgs
    The list of CAA records in the record set.
    CnameRecord CnameRecordArgs
    The CNAME record in the record set.
    DsRecords []DsRecordArgs
    The list of DS records 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.
    NaptrRecords []NaptrRecordArgs
    The list of NAPTR records in the record set.
    NsRecords []NsRecordArgs
    The list of NS 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.
    TargetResource SubResourceArgs
    A reference to an azure resource from where the dns resource value is taken.
    TlsaRecords []TlsaRecordArgs
    The list of TLSA records in the record set.
    TrafficManagementProfile SubResourceArgs
    A reference to an azure traffic manager profile resource from where the dns resource value is taken.
    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.
    recordType String
    The type of DNS record in this record set.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    zoneName String
    The name of the DNS zone (without a terminating dot).
    aRecords List<ARecord>
    The list of A records in the record set.
    aaaaRecords List<AaaaRecord>
    The list of AAAA records in the record set.
    caaRecords List<CaaRecord>
    The list of CAA records in the record set.
    cnameRecord CnameRecord
    The CNAME record in the record set.
    dsRecords List<DsRecord>
    The list of DS records 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.
    naptrRecords List<NaptrRecord>
    The list of NAPTR records in the record set.
    nsRecords List<NsRecord>
    The list of NS 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.
    targetResource SubResource
    A reference to an azure resource from where the dns resource value is taken.
    tlsaRecords List<TlsaRecord>
    The list of TLSA records in the record set.
    trafficManagementProfile SubResource
    A reference to an azure traffic manager profile resource from where the dns resource value is taken.
    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.
    recordType string
    The type of DNS record in this record set.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    zoneName string
    The name of the DNS zone (without a terminating dot).
    aRecords ARecord[]
    The list of A records in the record set.
    aaaaRecords AaaaRecord[]
    The list of AAAA records in the record set.
    caaRecords CaaRecord[]
    The list of CAA records in the record set.
    cnameRecord CnameRecord
    The CNAME record in the record set.
    dsRecords DsRecord[]
    The list of DS records 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.
    naptrRecords NaptrRecord[]
    The list of NAPTR records in the record set.
    nsRecords NsRecord[]
    The list of NS 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.
    targetResource SubResource
    A reference to an azure resource from where the dns resource value is taken.
    tlsaRecords TlsaRecord[]
    The list of TLSA records in the record set.
    trafficManagementProfile SubResource
    A reference to an azure traffic manager profile resource from where the dns resource value is taken.
    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.
    record_type str
    The type of DNS record in this record set.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    zone_name str
    The name of the DNS zone (without a terminating dot).
    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.
    caa_records Sequence[CaaRecordArgs]
    The list of CAA records in the record set.
    cname_record CnameRecordArgs
    The CNAME record in the record set.
    ds_records Sequence[DsRecordArgs]
    The list of DS records 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.
    naptr_records Sequence[NaptrRecordArgs]
    The list of NAPTR records in the record set.
    ns_records Sequence[NsRecordArgs]
    The list of NS 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.
    target_resource SubResourceArgs
    A reference to an azure resource from where the dns resource value is taken.
    tlsa_records Sequence[TlsaRecordArgs]
    The list of TLSA records in the record set.
    traffic_management_profile SubResourceArgs
    A reference to an azure traffic manager profile resource from where the dns resource value is taken.
    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.
    recordType String
    The type of DNS record in this record set.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    zoneName String
    The name of the DNS zone (without a terminating dot).
    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.
    caaRecords List<Property Map>
    The list of CAA records in the record set.
    cnameRecord Property Map
    The CNAME record in the record set.
    dsRecords List<Property Map>
    The list of DS records 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.
    naptrRecords List<Property Map>
    The list of NAPTR records in the record set.
    nsRecords List<Property Map>
    The list of NS 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.
    targetResource Property Map
    A reference to an azure resource from where the dns resource value is taken.
    tlsaRecords List<Property Map>
    The list of TLSA records in the record set.
    trafficManagementProfile Property Map
    A reference to an azure traffic manager profile resource from where the dns resource value is taken.
    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 RecordSet resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Fqdn string
    Fully qualified domain name of the record set.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the record set.
    ProvisioningState string
    provisioning State of the record set.
    Type string
    The type of the record set.
    Etag string
    The etag of the record set.
    AzureApiVersion string
    The Azure API version of the resource.
    Fqdn string
    Fully qualified domain name of the record set.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the record set.
    ProvisioningState string
    provisioning State of the record set.
    Type string
    The type of the record set.
    Etag string
    The etag of the record set.
    azureApiVersion String
    The Azure API version of the resource.
    fqdn String
    Fully qualified domain name of the record set.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the record set.
    provisioningState String
    provisioning State of the record set.
    type String
    The type of the record set.
    etag String
    The etag of the record set.
    azureApiVersion string
    The Azure API version of the resource.
    fqdn string
    Fully qualified domain name of the record set.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the record set.
    provisioningState string
    provisioning State of the record set.
    type string
    The type of the record set.
    etag string
    The etag of the record set.
    azure_api_version str
    The Azure API version of the resource.
    fqdn str
    Fully qualified domain name of the record set.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the record set.
    provisioning_state str
    provisioning State of the record set.
    type str
    The type of the record set.
    etag str
    The etag of the record set.
    azureApiVersion String
    The Azure API version of the resource.
    fqdn String
    Fully qualified domain name of the record set.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the record set.
    provisioningState String
    provisioning State of the record set.
    type String
    The type of the record set.
    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.

    CaaRecord, CaaRecordArgs

    Flags int
    The flags for this CAA record as an integer between 0 and 255.
    Tag string
    The tag for this CAA record.
    Value string
    The value for this CAA record.
    Flags int
    The flags for this CAA record as an integer between 0 and 255.
    Tag string
    The tag for this CAA record.
    Value string
    The value for this CAA record.
    flags Integer
    The flags for this CAA record as an integer between 0 and 255.
    tag String
    The tag for this CAA record.
    value String
    The value for this CAA record.
    flags number
    The flags for this CAA record as an integer between 0 and 255.
    tag string
    The tag for this CAA record.
    value string
    The value for this CAA record.
    flags int
    The flags for this CAA record as an integer between 0 and 255.
    tag str
    The tag for this CAA record.
    value str
    The value for this CAA record.
    flags Number
    The flags for this CAA record as an integer between 0 and 255.
    tag String
    The tag for this CAA record.
    value String
    The value for this CAA record.

    CaaRecordResponse, CaaRecordResponseArgs

    Flags int
    The flags for this CAA record as an integer between 0 and 255.
    Tag string
    The tag for this CAA record.
    Value string
    The value for this CAA record.
    Flags int
    The flags for this CAA record as an integer between 0 and 255.
    Tag string
    The tag for this CAA record.
    Value string
    The value for this CAA record.
    flags Integer
    The flags for this CAA record as an integer between 0 and 255.
    tag String
    The tag for this CAA record.
    value String
    The value for this CAA record.
    flags number
    The flags for this CAA record as an integer between 0 and 255.
    tag string
    The tag for this CAA record.
    value string
    The value for this CAA record.
    flags int
    The flags for this CAA record as an integer between 0 and 255.
    tag str
    The tag for this CAA record.
    value str
    The value for this CAA record.
    flags Number
    The flags for this CAA record as an integer between 0 and 255.
    tag String
    The tag for this CAA record.
    value String
    The value for this CAA 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.

    Digest, DigestArgs

    AlgorithmType int
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    Value string
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    AlgorithmType int
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    Value string
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    algorithmType Integer
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    value String
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    algorithmType number
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    value string
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    algorithm_type int
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    value str
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    algorithmType Number
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    value String
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.

    DigestResponse, DigestResponseArgs

    AlgorithmType int
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    Value string
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    AlgorithmType int
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    Value string
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    algorithmType Integer
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    value String
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    algorithmType number
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    value string
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    algorithm_type int
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    value str
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
    algorithmType Number
    The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
    value String
    The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.

    DsRecord, DsRecordArgs

    Algorithm int
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    Digest Pulumi.AzureNative.Dns.Inputs.Digest
    The digest entity.
    KeyTag int
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    Algorithm int
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    Digest Digest
    The digest entity.
    KeyTag int
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    algorithm Integer
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    digest Digest
    The digest entity.
    keyTag Integer
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    algorithm number
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    digest Digest
    The digest entity.
    keyTag number
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    algorithm int
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    digest Digest
    The digest entity.
    key_tag int
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    algorithm Number
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    digest Property Map
    The digest entity.
    keyTag Number
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.

    DsRecordResponse, DsRecordResponseArgs

    Algorithm int
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    Digest Pulumi.AzureNative.Dns.Inputs.DigestResponse
    The digest entity.
    KeyTag int
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    Algorithm int
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    Digest DigestResponse
    The digest entity.
    KeyTag int
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    algorithm Integer
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    digest DigestResponse
    The digest entity.
    keyTag Integer
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    algorithm number
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    digest DigestResponse
    The digest entity.
    keyTag number
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    algorithm int
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    digest DigestResponse
    The digest entity.
    key_tag int
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.
    algorithm Number
    The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
    digest Property Map
    The digest entity.
    keyTag Number
    The key tag value is used to determine which DNSKEY Resource Record is used for signature verification.

    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.

    NaptrRecord, NaptrRecordArgs

    Flags string
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    Order int
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    Preference int
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    Regexp string
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    Replacement string
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    Services string
    The services specific to DDDS applications. Enclose Services in quotation marks.
    Flags string
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    Order int
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    Preference int
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    Regexp string
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    Replacement string
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    Services string
    The services specific to DDDS applications. Enclose Services in quotation marks.
    flags String
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    order Integer
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    preference Integer
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    regexp String
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    replacement String
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    services String
    The services specific to DDDS applications. Enclose Services in quotation marks.
    flags string
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    order number
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    preference number
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    regexp string
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    replacement string
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    services string
    The services specific to DDDS applications. Enclose Services in quotation marks.
    flags str
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    order int
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    preference int
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    regexp str
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    replacement str
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    services str
    The services specific to DDDS applications. Enclose Services in quotation marks.
    flags String
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    order Number
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    preference Number
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    regexp String
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    replacement String
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    services String
    The services specific to DDDS applications. Enclose Services in quotation marks.

    NaptrRecordResponse, NaptrRecordResponseArgs

    Flags string
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    Order int
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    Preference int
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    Regexp string
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    Replacement string
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    Services string
    The services specific to DDDS applications. Enclose Services in quotation marks.
    Flags string
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    Order int
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    Preference int
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    Regexp string
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    Replacement string
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    Services string
    The services specific to DDDS applications. Enclose Services in quotation marks.
    flags String
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    order Integer
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    preference Integer
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    regexp String
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    replacement String
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    services String
    The services specific to DDDS applications. Enclose Services in quotation marks.
    flags string
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    order number
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    preference number
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    regexp string
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    replacement string
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    services string
    The services specific to DDDS applications. Enclose Services in quotation marks.
    flags str
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    order int
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    preference int
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    regexp str
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    replacement str
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    services str
    The services specific to DDDS applications. Enclose Services in quotation marks.
    flags String
    The flags specific to DDDS applications. Values currently defined in RFC 3404 are uppercase and lowercase letters "A", "P", "S", and "U", and the empty string, "". Enclose Flags in quotation marks.
    order Number
    The order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of rules. The ordering is from lowest to highest. Valid values: 0-65535.
    preference Number
    The preference specifies the order in which NAPTR records with equal 'order' values should be processed, low numbers being processed before high numbers. Valid values: 0-65535.
    regexp String
    The regular expression that the DDDS application uses to convert an input value into an output value. For example: an IP phone system might use a regular expression to convert a phone number that is entered by a user into a SIP URI. Enclose the regular expression in quotation marks. Specify either a value for 'regexp' or a value for 'replacement'.
    replacement String
    The replacement is a fully qualified domain name (FQDN) of the next domain name that you want the DDDS application to submit a DNS query for. The DDDS application replaces the input value with the value specified for replacement. Specify either a value for 'regexp' or a value for 'replacement'. If you specify a value for 'regexp', specify a dot (.) for 'replacement'.
    services String
    The services specific to DDDS applications. Enclose Services in quotation marks.

    NsRecord, NsRecordArgs

    Nsdname string
    The name server name for this NS record.
    Nsdname string
    The name server name for this NS record.
    nsdname String
    The name server name for this NS record.
    nsdname string
    The name server name for this NS record.
    nsdname str
    The name server name for this NS record.
    nsdname String
    The name server name for this NS record.

    NsRecordResponse, NsRecordResponseArgs

    Nsdname string
    The name server name for this NS record.
    Nsdname string
    The name server name for this NS record.
    nsdname String
    The name server name for this NS record.
    nsdname string
    The name server name for this NS record.
    nsdname str
    The name server name for this NS record.
    nsdname String
    The name server name for this NS 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.

    SubResource, SubResourceArgs

    Id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    Id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id String
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id str
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id String
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    SubResourceResponse, SubResourceResponseArgs

    Id string
    Resource Id.
    Id string
    Resource Id.
    id String
    Resource Id.
    id string
    Resource Id.
    id str
    Resource Id.
    id String
    Resource Id.

    TlsaRecord, TlsaRecordArgs

    CertAssociationData string
    This specifies the certificate association data to be matched.
    MatchingType int
    The matching type specifies how the certificate association is presented.
    Selector int
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    Usage int
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    CertAssociationData string
    This specifies the certificate association data to be matched.
    MatchingType int
    The matching type specifies how the certificate association is presented.
    Selector int
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    Usage int
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    certAssociationData String
    This specifies the certificate association data to be matched.
    matchingType Integer
    The matching type specifies how the certificate association is presented.
    selector Integer
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    usage Integer
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    certAssociationData string
    This specifies the certificate association data to be matched.
    matchingType number
    The matching type specifies how the certificate association is presented.
    selector number
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    usage number
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    cert_association_data str
    This specifies the certificate association data to be matched.
    matching_type int
    The matching type specifies how the certificate association is presented.
    selector int
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    usage int
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    certAssociationData String
    This specifies the certificate association data to be matched.
    matchingType Number
    The matching type specifies how the certificate association is presented.
    selector Number
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    usage Number
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.

    TlsaRecordResponse, TlsaRecordResponseArgs

    CertAssociationData string
    This specifies the certificate association data to be matched.
    MatchingType int
    The matching type specifies how the certificate association is presented.
    Selector int
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    Usage int
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    CertAssociationData string
    This specifies the certificate association data to be matched.
    MatchingType int
    The matching type specifies how the certificate association is presented.
    Selector int
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    Usage int
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    certAssociationData String
    This specifies the certificate association data to be matched.
    matchingType Integer
    The matching type specifies how the certificate association is presented.
    selector Integer
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    usage Integer
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    certAssociationData string
    This specifies the certificate association data to be matched.
    matchingType number
    The matching type specifies how the certificate association is presented.
    selector number
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    usage number
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    cert_association_data str
    This specifies the certificate association data to be matched.
    matching_type int
    The matching type specifies how the certificate association is presented.
    selector int
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    usage int
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.
    certAssociationData String
    This specifies the certificate association data to be matched.
    matchingType Number
    The matching type specifies how the certificate association is presented.
    selector Number
    The selector specifies which part of the TLS certificate presented by the server will be matched against the association data.
    usage Number
    The usage specifies the provided association that will be used to match the certificate presented in the TLS handshake.

    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:dns:RecordSet record1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi