azure-native.network.PrivateRecordSet
Explore with Pulumi AI
Describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone. API Version: 2020-06-01.
Example Usage
PUT Private DNS Zone A Record Set
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
{
ARecords = new[]
{
new AzureNative.Network.Inputs.ARecordArgs
{
Ipv4Address = "1.2.3.4",
},
},
Metadata =
{
{ "key1", "value1" },
},
PrivateZoneName = "privatezone1.com",
RecordType = "A",
RelativeRecordSetName = "recordA",
ResourceGroupName = "resourceGroup1",
Ttl = 3600,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
ARecords: []network.ARecordArgs{
{
Ipv4Address: pulumi.String("1.2.3.4"),
},
},
Metadata: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
PrivateZoneName: pulumi.String("privatezone1.com"),
RecordType: pulumi.String("A"),
RelativeRecordSetName: pulumi.String("recordA"),
ResourceGroupName: pulumi.String("resourceGroup1"),
Ttl: pulumi.Float64(3600),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PrivateRecordSet;
import com.pulumi.azurenative.network.PrivateRecordSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()
.aRecords(Map.of("ipv4Address", "1.2.3.4"))
.metadata(Map.of("key1", "value1"))
.privateZoneName("privatezone1.com")
.recordType("A")
.relativeRecordSetName("recordA")
.resourceGroupName("resourceGroup1")
.ttl(3600)
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
a_records=[azure_native.network.ARecordArgs(
ipv4_address="1.2.3.4",
)],
metadata={
"key1": "value1",
},
private_zone_name="privatezone1.com",
record_type="A",
relative_record_set_name="recordA",
resource_group_name="resourceGroup1",
ttl=3600)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
aRecords: [{
ipv4Address: "1.2.3.4",
}],
metadata: {
key1: "value1",
},
privateZoneName: "privatezone1.com",
recordType: "A",
relativeRecordSetName: "recordA",
resourceGroupName: "resourceGroup1",
ttl: 3600,
});
resources:
privateRecordSet:
type: azure-native:network:PrivateRecordSet
properties:
aRecords:
- ipv4Address: 1.2.3.4
metadata:
key1: value1
privateZoneName: privatezone1.com
recordType: A
relativeRecordSetName: recordA
resourceGroupName: resourceGroup1
ttl: 3600
PUT Private DNS Zone AAAA Record Set
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
{
AaaaRecords = new[]
{
new AzureNative.Network.Inputs.AaaaRecordArgs
{
Ipv6Address = "::1",
},
},
Metadata =
{
{ "key1", "value1" },
},
PrivateZoneName = "privatezone1.com",
RecordType = "AAAA",
RelativeRecordSetName = "recordAAAA",
ResourceGroupName = "resourceGroup1",
Ttl = 3600,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
AaaaRecords: []network.AaaaRecordArgs{
{
Ipv6Address: pulumi.String("::1"),
},
},
Metadata: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
PrivateZoneName: pulumi.String("privatezone1.com"),
RecordType: pulumi.String("AAAA"),
RelativeRecordSetName: pulumi.String("recordAAAA"),
ResourceGroupName: pulumi.String("resourceGroup1"),
Ttl: pulumi.Float64(3600),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PrivateRecordSet;
import com.pulumi.azurenative.network.PrivateRecordSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()
.aaaaRecords(Map.of("ipv6Address", "::1"))
.metadata(Map.of("key1", "value1"))
.privateZoneName("privatezone1.com")
.recordType("AAAA")
.relativeRecordSetName("recordAAAA")
.resourceGroupName("resourceGroup1")
.ttl(3600)
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
aaaa_records=[azure_native.network.AaaaRecordArgs(
ipv6_address="::1",
)],
metadata={
"key1": "value1",
},
private_zone_name="privatezone1.com",
record_type="AAAA",
relative_record_set_name="recordAAAA",
resource_group_name="resourceGroup1",
ttl=3600)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
aaaaRecords: [{
ipv6Address: "::1",
}],
metadata: {
key1: "value1",
},
privateZoneName: "privatezone1.com",
recordType: "AAAA",
relativeRecordSetName: "recordAAAA",
resourceGroupName: "resourceGroup1",
ttl: 3600,
});
resources:
privateRecordSet:
type: azure-native:network:PrivateRecordSet
properties:
aaaaRecords:
- ipv6Address: ::1
metadata:
key1: value1
privateZoneName: privatezone1.com
recordType: AAAA
relativeRecordSetName: recordAAAA
resourceGroupName: resourceGroup1
ttl: 3600
PUT Private DNS Zone CNAME Record Set
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
{
CnameRecord = new AzureNative.Network.Inputs.CnameRecordArgs
{
Cname = "contoso.com",
},
Metadata =
{
{ "key1", "value1" },
},
PrivateZoneName = "privatezone1.com",
RecordType = "CNAME",
RelativeRecordSetName = "recordCNAME",
ResourceGroupName = "resourceGroup1",
Ttl = 3600,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
CnameRecord: &network.CnameRecordArgs{
Cname: pulumi.String("contoso.com"),
},
Metadata: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
PrivateZoneName: pulumi.String("privatezone1.com"),
RecordType: pulumi.String("CNAME"),
RelativeRecordSetName: pulumi.String("recordCNAME"),
ResourceGroupName: pulumi.String("resourceGroup1"),
Ttl: pulumi.Float64(3600),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PrivateRecordSet;
import com.pulumi.azurenative.network.PrivateRecordSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()
.cnameRecord(Map.of("cname", "contoso.com"))
.metadata(Map.of("key1", "value1"))
.privateZoneName("privatezone1.com")
.recordType("CNAME")
.relativeRecordSetName("recordCNAME")
.resourceGroupName("resourceGroup1")
.ttl(3600)
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
cname_record=azure_native.network.CnameRecordArgs(
cname="contoso.com",
),
metadata={
"key1": "value1",
},
private_zone_name="privatezone1.com",
record_type="CNAME",
relative_record_set_name="recordCNAME",
resource_group_name="resourceGroup1",
ttl=3600)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
cnameRecord: {
cname: "contoso.com",
},
metadata: {
key1: "value1",
},
privateZoneName: "privatezone1.com",
recordType: "CNAME",
relativeRecordSetName: "recordCNAME",
resourceGroupName: "resourceGroup1",
ttl: 3600,
});
resources:
privateRecordSet:
type: azure-native:network:PrivateRecordSet
properties:
cnameRecord:
cname: contoso.com
metadata:
key1: value1
privateZoneName: privatezone1.com
recordType: CNAME
relativeRecordSetName: recordCNAME
resourceGroupName: resourceGroup1
ttl: 3600
PUT Private DNS Zone MX Record Set
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
{
Metadata =
{
{ "key1", "value1" },
},
MxRecords = new[]
{
new AzureNative.Network.Inputs.MxRecordArgs
{
Exchange = "mail.privatezone1.com",
Preference = 0,
},
},
PrivateZoneName = "privatezone1.com",
RecordType = "MX",
RelativeRecordSetName = "recordMX",
ResourceGroupName = "resourceGroup1",
Ttl = 3600,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
Metadata: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
MxRecords: []network.MxRecordArgs{
{
Exchange: pulumi.String("mail.privatezone1.com"),
Preference: pulumi.Int(0),
},
},
PrivateZoneName: pulumi.String("privatezone1.com"),
RecordType: pulumi.String("MX"),
RelativeRecordSetName: pulumi.String("recordMX"),
ResourceGroupName: pulumi.String("resourceGroup1"),
Ttl: pulumi.Float64(3600),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PrivateRecordSet;
import com.pulumi.azurenative.network.PrivateRecordSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()
.metadata(Map.of("key1", "value1"))
.mxRecords(Map.ofEntries(
Map.entry("exchange", "mail.privatezone1.com"),
Map.entry("preference", 0)
))
.privateZoneName("privatezone1.com")
.recordType("MX")
.relativeRecordSetName("recordMX")
.resourceGroupName("resourceGroup1")
.ttl(3600)
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
metadata={
"key1": "value1",
},
mx_records=[azure_native.network.MxRecordArgs(
exchange="mail.privatezone1.com",
preference=0,
)],
private_zone_name="privatezone1.com",
record_type="MX",
relative_record_set_name="recordMX",
resource_group_name="resourceGroup1",
ttl=3600)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
metadata: {
key1: "value1",
},
mxRecords: [{
exchange: "mail.privatezone1.com",
preference: 0,
}],
privateZoneName: "privatezone1.com",
recordType: "MX",
relativeRecordSetName: "recordMX",
resourceGroupName: "resourceGroup1",
ttl: 3600,
});
resources:
privateRecordSet:
type: azure-native:network:PrivateRecordSet
properties:
metadata:
key1: value1
mxRecords:
- exchange: mail.privatezone1.com
preference: 0
privateZoneName: privatezone1.com
recordType: MX
relativeRecordSetName: recordMX
resourceGroupName: resourceGroup1
ttl: 3600
PUT Private DNS Zone PTR Record Set
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
{
Metadata =
{
{ "key1", "value1" },
},
PrivateZoneName = "0.0.127.in-addr.arpa",
PtrRecords = new[]
{
new AzureNative.Network.Inputs.PtrRecordArgs
{
Ptrdname = "localhost",
},
},
RecordType = "PTR",
RelativeRecordSetName = "1",
ResourceGroupName = "resourceGroup1",
Ttl = 3600,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
Metadata: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
PrivateZoneName: pulumi.String("0.0.127.in-addr.arpa"),
PtrRecords: []network.PtrRecordArgs{
{
Ptrdname: pulumi.String("localhost"),
},
},
RecordType: pulumi.String("PTR"),
RelativeRecordSetName: pulumi.String("1"),
ResourceGroupName: pulumi.String("resourceGroup1"),
Ttl: pulumi.Float64(3600),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PrivateRecordSet;
import com.pulumi.azurenative.network.PrivateRecordSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()
.metadata(Map.of("key1", "value1"))
.privateZoneName("0.0.127.in-addr.arpa")
.ptrRecords(Map.of("ptrdname", "localhost"))
.recordType("PTR")
.relativeRecordSetName("1")
.resourceGroupName("resourceGroup1")
.ttl(3600)
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
metadata={
"key1": "value1",
},
private_zone_name="0.0.127.in-addr.arpa",
ptr_records=[azure_native.network.PtrRecordArgs(
ptrdname="localhost",
)],
record_type="PTR",
relative_record_set_name="1",
resource_group_name="resourceGroup1",
ttl=3600)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
metadata: {
key1: "value1",
},
privateZoneName: "0.0.127.in-addr.arpa",
ptrRecords: [{
ptrdname: "localhost",
}],
recordType: "PTR",
relativeRecordSetName: "1",
resourceGroupName: "resourceGroup1",
ttl: 3600,
});
resources:
privateRecordSet:
type: azure-native:network:PrivateRecordSet
properties:
metadata:
key1: value1
privateZoneName: 0.0.127.in-addr.arpa
ptrRecords:
- ptrdname: localhost
recordType: PTR
relativeRecordSetName: '1'
resourceGroupName: resourceGroup1
ttl: 3600
PUT Private DNS Zone SOA Record Set
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
{
Metadata =
{
{ "key1", "value1" },
},
PrivateZoneName = "privatezone1.com",
RecordType = "SOA",
RelativeRecordSetName = "@",
ResourceGroupName = "resourceGroup1",
SoaRecord = new AzureNative.Network.Inputs.SoaRecordArgs
{
Email = "azureprivatedns-hostmaster.microsoft.com",
ExpireTime = 2419200,
Host = "azureprivatedns.net",
MinimumTtl = 300,
RefreshTime = 3600,
RetryTime = 300,
SerialNumber = 1,
},
Ttl = 3600,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
Metadata: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
PrivateZoneName: pulumi.String("privatezone1.com"),
RecordType: pulumi.String("SOA"),
RelativeRecordSetName: pulumi.String("@"),
ResourceGroupName: pulumi.String("resourceGroup1"),
SoaRecord: &network.SoaRecordArgs{
Email: pulumi.String("azureprivatedns-hostmaster.microsoft.com"),
ExpireTime: pulumi.Float64(2419200),
Host: pulumi.String("azureprivatedns.net"),
MinimumTtl: pulumi.Float64(300),
RefreshTime: pulumi.Float64(3600),
RetryTime: pulumi.Float64(300),
SerialNumber: pulumi.Float64(1),
},
Ttl: pulumi.Float64(3600),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PrivateRecordSet;
import com.pulumi.azurenative.network.PrivateRecordSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()
.metadata(Map.of("key1", "value1"))
.privateZoneName("privatezone1.com")
.recordType("SOA")
.relativeRecordSetName("@")
.resourceGroupName("resourceGroup1")
.soaRecord(Map.ofEntries(
Map.entry("email", "azureprivatedns-hostmaster.microsoft.com"),
Map.entry("expireTime", 2419200),
Map.entry("host", "azureprivatedns.net"),
Map.entry("minimumTtl", 300),
Map.entry("refreshTime", 3600),
Map.entry("retryTime", 300),
Map.entry("serialNumber", 1)
))
.ttl(3600)
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
metadata={
"key1": "value1",
},
private_zone_name="privatezone1.com",
record_type="SOA",
relative_record_set_name="@",
resource_group_name="resourceGroup1",
soa_record=azure_native.network.SoaRecordArgs(
email="azureprivatedns-hostmaster.microsoft.com",
expire_time=2419200,
host="azureprivatedns.net",
minimum_ttl=300,
refresh_time=3600,
retry_time=300,
serial_number=1,
),
ttl=3600)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
metadata: {
key1: "value1",
},
privateZoneName: "privatezone1.com",
recordType: "SOA",
relativeRecordSetName: "@",
resourceGroupName: "resourceGroup1",
soaRecord: {
email: "azureprivatedns-hostmaster.microsoft.com",
expireTime: 2419200,
host: "azureprivatedns.net",
minimumTtl: 300,
refreshTime: 3600,
retryTime: 300,
serialNumber: 1,
},
ttl: 3600,
});
resources:
privateRecordSet:
type: azure-native:network:PrivateRecordSet
properties:
metadata:
key1: value1
privateZoneName: privatezone1.com
recordType: SOA
relativeRecordSetName: '@'
resourceGroupName: resourceGroup1
soaRecord:
email: azureprivatedns-hostmaster.microsoft.com
expireTime: 2.4192e+06
host: azureprivatedns.net
minimumTtl: 300
refreshTime: 3600
retryTime: 300
serialNumber: 1
ttl: 3600
PUT Private DNS Zone SRV Record Set
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
{
Metadata =
{
{ "key1", "value1" },
},
PrivateZoneName = "privatezone1.com",
RecordType = "SRV",
RelativeRecordSetName = "recordSRV",
ResourceGroupName = "resourceGroup1",
SrvRecords = new[]
{
new AzureNative.Network.Inputs.SrvRecordArgs
{
Port = 80,
Priority = 0,
Target = "contoso.com",
Weight = 10,
},
},
Ttl = 3600,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
Metadata: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
PrivateZoneName: pulumi.String("privatezone1.com"),
RecordType: pulumi.String("SRV"),
RelativeRecordSetName: pulumi.String("recordSRV"),
ResourceGroupName: pulumi.String("resourceGroup1"),
SrvRecords: []network.SrvRecordArgs{
{
Port: pulumi.Int(80),
Priority: pulumi.Int(0),
Target: pulumi.String("contoso.com"),
Weight: pulumi.Int(10),
},
},
Ttl: pulumi.Float64(3600),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PrivateRecordSet;
import com.pulumi.azurenative.network.PrivateRecordSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()
.metadata(Map.of("key1", "value1"))
.privateZoneName("privatezone1.com")
.recordType("SRV")
.relativeRecordSetName("recordSRV")
.resourceGroupName("resourceGroup1")
.srvRecords(Map.ofEntries(
Map.entry("port", 80),
Map.entry("priority", 0),
Map.entry("target", "contoso.com"),
Map.entry("weight", 10)
))
.ttl(3600)
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
metadata={
"key1": "value1",
},
private_zone_name="privatezone1.com",
record_type="SRV",
relative_record_set_name="recordSRV",
resource_group_name="resourceGroup1",
srv_records=[azure_native.network.SrvRecordArgs(
port=80,
priority=0,
target="contoso.com",
weight=10,
)],
ttl=3600)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
metadata: {
key1: "value1",
},
privateZoneName: "privatezone1.com",
recordType: "SRV",
relativeRecordSetName: "recordSRV",
resourceGroupName: "resourceGroup1",
srvRecords: [{
port: 80,
priority: 0,
target: "contoso.com",
weight: 10,
}],
ttl: 3600,
});
resources:
privateRecordSet:
type: azure-native:network:PrivateRecordSet
properties:
metadata:
key1: value1
privateZoneName: privatezone1.com
recordType: SRV
relativeRecordSetName: recordSRV
resourceGroupName: resourceGroup1
srvRecords:
- port: 80
priority: 0
target: contoso.com
weight: 10
ttl: 3600
PUT Private DNS Zone TXT Record Set
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateRecordSet = new AzureNative.Network.PrivateRecordSet("privateRecordSet", new()
{
Metadata =
{
{ "key1", "value1" },
},
PrivateZoneName = "privatezone1.com",
RecordType = "TXT",
RelativeRecordSetName = "recordTXT",
ResourceGroupName = "resourceGroup1",
Ttl = 3600,
TxtRecords = new[]
{
new AzureNative.Network.Inputs.TxtRecordArgs
{
Value = new[]
{
"string1",
"string2",
},
},
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPrivateRecordSet(ctx, "privateRecordSet", &network.PrivateRecordSetArgs{
Metadata: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
PrivateZoneName: pulumi.String("privatezone1.com"),
RecordType: pulumi.String("TXT"),
RelativeRecordSetName: pulumi.String("recordTXT"),
ResourceGroupName: pulumi.String("resourceGroup1"),
Ttl: pulumi.Float64(3600),
TxtRecords: []network.TxtRecordArgs{
{
Value: pulumi.StringArray{
pulumi.String("string1"),
pulumi.String("string2"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PrivateRecordSet;
import com.pulumi.azurenative.network.PrivateRecordSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var privateRecordSet = new PrivateRecordSet("privateRecordSet", PrivateRecordSetArgs.builder()
.metadata(Map.of("key1", "value1"))
.privateZoneName("privatezone1.com")
.recordType("TXT")
.relativeRecordSetName("recordTXT")
.resourceGroupName("resourceGroup1")
.ttl(3600)
.txtRecords(Map.of("value",
"string1",
"string2"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_record_set = azure_native.network.PrivateRecordSet("privateRecordSet",
metadata={
"key1": "value1",
},
private_zone_name="privatezone1.com",
record_type="TXT",
relative_record_set_name="recordTXT",
resource_group_name="resourceGroup1",
ttl=3600,
txt_records=[azure_native.network.TxtRecordArgs(
value=[
"string1",
"string2",
],
)])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateRecordSet = new azure_native.network.PrivateRecordSet("privateRecordSet", {
metadata: {
key1: "value1",
},
privateZoneName: "privatezone1.com",
recordType: "TXT",
relativeRecordSetName: "recordTXT",
resourceGroupName: "resourceGroup1",
ttl: 3600,
txtRecords: [{
value: [
"string1",
"string2",
],
}],
});
resources:
privateRecordSet:
type: azure-native:network:PrivateRecordSet
properties:
metadata:
key1: value1
privateZoneName: privatezone1.com
recordType: TXT
relativeRecordSetName: recordTXT
resourceGroupName: resourceGroup1
ttl: 3600
txtRecords:
- value:
- string1
- string2
Create PrivateRecordSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateRecordSet(name: string, args: PrivateRecordSetArgs, opts?: CustomResourceOptions);
@overload
def PrivateRecordSet(resource_name: str,
args: PrivateRecordSetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateRecordSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
private_zone_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
record_type: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
mx_records: Optional[Sequence[MxRecordArgs]] = None,
a_records: Optional[Sequence[ARecordArgs]] = None,
ptr_records: Optional[Sequence[PtrRecordArgs]] = None,
cname_record: Optional[CnameRecordArgs] = None,
relative_record_set_name: Optional[str] = None,
aaaa_records: Optional[Sequence[AaaaRecordArgs]] = None,
soa_record: Optional[SoaRecordArgs] = None,
srv_records: Optional[Sequence[SrvRecordArgs]] = None,
ttl: Optional[float] = None,
txt_records: Optional[Sequence[TxtRecordArgs]] = None)
func NewPrivateRecordSet(ctx *Context, name string, args PrivateRecordSetArgs, opts ...ResourceOption) (*PrivateRecordSet, error)
public PrivateRecordSet(string name, PrivateRecordSetArgs args, CustomResourceOptions? opts = null)
public PrivateRecordSet(String name, PrivateRecordSetArgs args)
public PrivateRecordSet(String name, PrivateRecordSetArgs args, CustomResourceOptions options)
type: azure-native:network:PrivateRecordSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PrivateRecordSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PrivateRecordSetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PrivateRecordSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateRecordSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateRecordSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var privateRecordSetResource = new AzureNative.Network.PrivateRecordSet("privateRecordSetResource", new()
{
PrivateZoneName = "string",
ResourceGroupName = "string",
RecordType = "string",
Metadata =
{
{ "string", "string" },
},
MxRecords = new[]
{
{
{ "exchange", "string" },
{ "preference", 0 },
},
},
ARecords = new[]
{
{
{ "ipv4Address", "string" },
},
},
PtrRecords = new[]
{
{
{ "ptrdname", "string" },
},
},
CnameRecord =
{
{ "cname", "string" },
},
RelativeRecordSetName = "string",
AaaaRecords = new[]
{
{
{ "ipv6Address", "string" },
},
},
SoaRecord =
{
{ "email", "string" },
{ "expireTime", 0 },
{ "host", "string" },
{ "minimumTtl", 0 },
{ "refreshTime", 0 },
{ "retryTime", 0 },
{ "serialNumber", 0 },
},
SrvRecords = new[]
{
{
{ "port", 0 },
{ "priority", 0 },
{ "target", "string" },
{ "weight", 0 },
},
},
Ttl = 0,
TxtRecords = new[]
{
{
{ "value", new[]
{
"string",
} },
},
},
});
example, err := network.NewPrivateRecordSet(ctx, "privateRecordSetResource", &network.PrivateRecordSetArgs{
PrivateZoneName: "string",
ResourceGroupName: "string",
RecordType: "string",
Metadata: map[string]interface{}{
"string": "string",
},
MxRecords: []map[string]interface{}{
map[string]interface{}{
"exchange": "string",
"preference": 0,
},
},
ARecords: []map[string]interface{}{
map[string]interface{}{
"ipv4Address": "string",
},
},
PtrRecords: []map[string]interface{}{
map[string]interface{}{
"ptrdname": "string",
},
},
CnameRecord: map[string]interface{}{
"cname": "string",
},
RelativeRecordSetName: "string",
AaaaRecords: []map[string]interface{}{
map[string]interface{}{
"ipv6Address": "string",
},
},
SoaRecord: map[string]interface{}{
"email": "string",
"expireTime": 0,
"host": "string",
"minimumTtl": 0,
"refreshTime": 0,
"retryTime": 0,
"serialNumber": 0,
},
SrvRecords: []map[string]interface{}{
map[string]interface{}{
"port": 0,
"priority": 0,
"target": "string",
"weight": 0,
},
},
Ttl: 0,
TxtRecords: []map[string]interface{}{
map[string]interface{}{
"value": []string{
"string",
},
},
},
})
var privateRecordSetResource = new PrivateRecordSet("privateRecordSetResource", PrivateRecordSetArgs.builder()
.privateZoneName("string")
.resourceGroupName("string")
.recordType("string")
.metadata(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.mxRecords(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.aRecords(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.ptrRecords(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.cnameRecord(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.relativeRecordSetName("string")
.aaaaRecords(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.soaRecord(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.srvRecords(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.ttl(0)
.txtRecords(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
private_record_set_resource = azure_native.network.PrivateRecordSet("privateRecordSetResource",
private_zone_name=string,
resource_group_name=string,
record_type=string,
metadata={
string: string,
},
mx_records=[{
exchange: string,
preference: 0,
}],
a_records=[{
ipv4Address: string,
}],
ptr_records=[{
ptrdname: string,
}],
cname_record={
cname: string,
},
relative_record_set_name=string,
aaaa_records=[{
ipv6Address: string,
}],
soa_record={
email: string,
expireTime: 0,
host: string,
minimumTtl: 0,
refreshTime: 0,
retryTime: 0,
serialNumber: 0,
},
srv_records=[{
port: 0,
priority: 0,
target: string,
weight: 0,
}],
ttl=0,
txt_records=[{
value: [string],
}])
const privateRecordSetResource = new azure_native.network.PrivateRecordSet("privateRecordSetResource", {
privateZoneName: "string",
resourceGroupName: "string",
recordType: "string",
metadata: {
string: "string",
},
mxRecords: [{
exchange: "string",
preference: 0,
}],
aRecords: [{
ipv4Address: "string",
}],
ptrRecords: [{
ptrdname: "string",
}],
cnameRecord: {
cname: "string",
},
relativeRecordSetName: "string",
aaaaRecords: [{
ipv6Address: "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,
}],
ttl: 0,
txtRecords: [{
value: ["string"],
}],
});
type: azure-native:network:PrivateRecordSet
properties:
aRecords:
- ipv4Address: string
aaaaRecords:
- ipv6Address: string
cnameRecord:
cname: string
metadata:
string: string
mxRecords:
- exchange: string
preference: 0
privateZoneName: 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
ttl: 0
txtRecords:
- value:
- string
PrivateRecordSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PrivateRecordSet resource accepts the following input properties:
- Private
Zone stringName - The name of the Private DNS zone (without a terminating dot).
- Record
Type string - The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
- Resource
Group stringName - The name of the resource group.
- ARecords
List<Pulumi.
Azure Native. Network. Inputs. ARecord> - The list of A records in the record set.
- Aaaa
Records List<Pulumi.Azure Native. Network. Inputs. Aaaa Record> - The list of AAAA records in the record set.
- Cname
Record Pulumi.Azure Native. Network. Inputs. Cname Record - The CNAME record in the record set.
- Metadata Dictionary<string, string>
- The metadata attached to the record set.
- Mx
Records List<Pulumi.Azure Native. Network. Inputs. Mx Record> - The list of MX records in the record set.
- Ptr
Records List<Pulumi.Azure Native. Network. Inputs. Ptr Record> - The list of PTR records in the record set.
- Relative
Record stringSet Name - The name of the record set, relative to the name of the zone.
- Soa
Record Pulumi.Azure Native. Network. Inputs. Soa Record - The SOA record in the record set.
- Srv
Records List<Pulumi.Azure Native. Network. Inputs. Srv Record> - The list of SRV records in the record set.
- Ttl double
- The TTL (time-to-live) of the records in the record set.
- Txt
Records List<Pulumi.Azure Native. Network. Inputs. Txt Record> - The list of TXT records in the record set.
- Private
Zone stringName - The name of the Private DNS zone (without a terminating dot).
- Record
Type string - The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
- Resource
Group stringName - The name of the resource group.
- ARecords
[]ARecord
Args - The list of A records in the record set.
- Aaaa
Records []AaaaRecord Args - The list of AAAA records in the record set.
- Cname
Record CnameRecord Args - The CNAME record in the record set.
- Metadata map[string]string
- The metadata attached to the record set.
- Mx
Records []MxRecord Args - The list of MX records in the record set.
- Ptr
Records []PtrRecord Args - The list of PTR records in the record set.
- Relative
Record stringSet Name - The name of the record set, relative to the name of the zone.
- Soa
Record SoaRecord Args - The SOA record in the record set.
- Srv
Records []SrvRecord Args - The list of SRV records in the record set.
- Ttl float64
- The TTL (time-to-live) of the records in the record set.
- Txt
Records []TxtRecord Args - The list of TXT records in the record set.
- private
Zone StringName - The name of the Private DNS zone (without a terminating dot).
- record
Type String - The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
- resource
Group StringName - The name of the resource group.
- a
Records List<ARecord> - The list of A records in the record set.
- aaaa
Records List<AaaaRecord> - The list of AAAA records in the record set.
- cname
Record CnameRecord - The CNAME record in the record set.
- metadata Map<String,String>
- The metadata attached to the record set.
- mx
Records List<MxRecord> - The list of MX records in the record set.
- ptr
Records List<PtrRecord> - The list of PTR records in the record set.
- relative
Record StringSet Name - The name of the record set, relative to the name of the zone.
- soa
Record SoaRecord - The SOA record in the record set.
- srv
Records List<SrvRecord> - The list of SRV records in the record set.
- ttl Double
- The TTL (time-to-live) of the records in the record set.
- txt
Records List<TxtRecord> - The list of TXT records in the record set.
- private
Zone stringName - The name of the Private DNS zone (without a terminating dot).
- record
Type string - The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
- resource
Group stringName - The name of the resource group.
- a
Records ARecord[] - The list of A records in the record set.
- aaaa
Records AaaaRecord[] - The list of AAAA records in the record set.
- cname
Record CnameRecord - The CNAME record in the record set.
- metadata {[key: string]: string}
- The metadata attached to the record set.
- mx
Records MxRecord[] - The list of MX records in the record set.
- ptr
Records PtrRecord[] - The list of PTR records in the record set.
- relative
Record stringSet Name - The name of the record set, relative to the name of the zone.
- soa
Record SoaRecord - The SOA record in the record set.
- srv
Records SrvRecord[] - The list of SRV records in the record set.
- ttl number
- The TTL (time-to-live) of the records in the record set.
- txt
Records TxtRecord[] - The list of TXT records in the record set.
- private_
zone_ strname - The name of the Private DNS zone (without a terminating dot).
- record_
type str - The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
- resource_
group_ strname - The name of the resource group.
- a_
records Sequence[ARecordArgs] - The list of A records in the record set.
- aaaa_
records Sequence[AaaaRecord Args] - The list of AAAA records in the record set.
- cname_
record CnameRecord Args - The CNAME record in the record set.
- metadata Mapping[str, str]
- The metadata attached to the record set.
- mx_
records Sequence[MxRecord Args] - The list of MX records in the record set.
- ptr_
records Sequence[PtrRecord Args] - The list of PTR records in the record set.
- relative_
record_ strset_ name - The name of the record set, relative to the name of the zone.
- soa_
record SoaRecord Args - The SOA record in the record set.
- srv_
records Sequence[SrvRecord Args] - The list of SRV records in the record set.
- ttl float
- The TTL (time-to-live) of the records in the record set.
- txt_
records Sequence[TxtRecord Args] - The list of TXT records in the record set.
- private
Zone StringName - The name of the Private DNS zone (without a terminating dot).
- record
Type String - The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).
- resource
Group StringName - The name of the resource group.
- a
Records List<Property Map> - The list of A records in the record set.
- aaaa
Records List<Property Map> - The list of AAAA records in the record set.
- cname
Record Property Map - The CNAME record in the record set.
- metadata Map<String>
- The metadata attached to the record set.
- mx
Records List<Property Map> - The list of MX records in the record set.
- ptr
Records List<Property Map> - The list of PTR records in the record set.
- relative
Record StringSet Name - The name of the record set, relative to the name of the zone.
- soa
Record Property Map - The SOA record in the record set.
- srv
Records List<Property Map> - The list of SRV records in the record set.
- ttl Number
- The TTL (time-to-live) of the records in the record set.
- txt
Records List<Property Map> - The list of TXT records in the record set.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateRecordSet resource produces the following output properties:
- Fqdn string
- Fully qualified domain name of the record set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Auto boolRegistered - Is the record set auto-registered in the Private DNS zone through a virtual network link?
- Name string
- The name of the resource
- Type string
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- Etag string
- The ETag of the record set.
- Fqdn string
- Fully qualified domain name of the record set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Auto boolRegistered - Is the record set auto-registered in the Private DNS zone through a virtual network link?
- Name string
- The name of the resource
- Type string
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- Etag string
- The ETag of the record set.
- fqdn String
- Fully qualified domain name of the record set.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Auto BooleanRegistered - Is the record set auto-registered in the Private DNS zone through a virtual network link?
- name String
- The name of the resource
- type String
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- etag String
- The ETag of the record set.
- fqdn string
- Fully qualified domain name of the record set.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Auto booleanRegistered - Is the record set auto-registered in the Private DNS zone through a virtual network link?
- name string
- The name of the resource
- type string
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- etag string
- The ETag of the record set.
- fqdn str
- Fully qualified domain name of the record set.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
auto_ boolregistered - Is the record set auto-registered in the Private DNS zone through a virtual network link?
- name str
- The name of the resource
- type str
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- etag str
- The ETag of the record set.
- fqdn String
- Fully qualified domain name of the record set.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Auto BooleanRegistered - Is the record set auto-registered in the Private DNS zone through a virtual network link?
- name String
- The name of the resource
- type String
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- etag String
- The ETag of the record set.
Supporting Types
ARecord, ARecordArgs
- Ipv4Address string
- The IPv4 address of this A record.
- Ipv4Address string
- The IPv4 address of this A record.
- ipv4Address String
- The IPv4 address of this A record.
- ipv4Address string
- The IPv4 address of this A record.
- ipv4_
address str - The IPv4 address of this A record.
- ipv4Address String
- The IPv4 address of this A record.
ARecordResponse, ARecordResponseArgs
- Ipv4Address string
- The IPv4 address of this A record.
- Ipv4Address string
- The IPv4 address of this A record.
- ipv4Address String
- The IPv4 address of this A record.
- ipv4Address string
- The IPv4 address of this A record.
- ipv4_
address str - The IPv4 address of this A record.
- ipv4Address String
- The IPv4 address of this A record.
AaaaRecord, AaaaRecordArgs
- Ipv6Address string
- The IPv6 address of this AAAA record.
- Ipv6Address string
- The IPv6 address of this AAAA record.
- ipv6Address String
- The IPv6 address of this AAAA record.
- ipv6Address string
- The IPv6 address of this AAAA record.
- ipv6_
address str - The IPv6 address of this AAAA record.
- ipv6Address String
- The IPv6 address of this AAAA record.
AaaaRecordResponse, AaaaRecordResponseArgs
- Ipv6Address string
- The IPv6 address of this AAAA record.
- Ipv6Address string
- The IPv6 address of this AAAA record.
- ipv6Address String
- The IPv6 address of this AAAA record.
- ipv6Address string
- The IPv6 address of this AAAA record.
- ipv6_
address str - The IPv6 address of this AAAA record.
- ipv6Address String
- The IPv6 address of this AAAA record.
CnameRecord, CnameRecordArgs
- Cname string
- The canonical name for this CNAME record.
- Cname string
- The canonical name for this CNAME record.
- cname String
- The canonical name for this CNAME record.
- cname string
- The canonical name for this CNAME record.
- cname str
- The canonical name for this CNAME record.
- cname String
- The canonical name for this CNAME record.
CnameRecordResponse, CnameRecordResponseArgs
- Cname string
- The canonical name for this CNAME record.
- Cname string
- The canonical name for this CNAME record.
- cname String
- The canonical name for this CNAME record.
- cname string
- The canonical name for this CNAME record.
- cname str
- The canonical name for this CNAME record.
- cname String
- The canonical name for this CNAME record.
MxRecord, MxRecordArgs
- Exchange string
- The domain name of the mail host for this MX record.
- Preference int
- The preference value for this MX record.
- Exchange string
- The domain name of the mail host for this MX record.
- Preference int
- The preference value for this MX record.
- exchange String
- The domain name of the mail host for this MX record.
- preference Integer
- The preference value for this MX record.
- exchange string
- The domain name of the mail host for this MX record.
- preference number
- The preference value for this MX record.
- exchange str
- The domain name of the mail host for this MX record.
- preference int
- The preference value for this MX record.
- exchange String
- The domain name of the mail host for this MX record.
- preference Number
- The preference value for this MX record.
MxRecordResponse, MxRecordResponseArgs
- Exchange string
- The domain name of the mail host for this MX record.
- Preference int
- The preference value for this MX record.
- Exchange string
- The domain name of the mail host for this MX record.
- Preference int
- The preference value for this MX record.
- exchange String
- The domain name of the mail host for this MX record.
- preference Integer
- The preference value for this MX record.
- exchange string
- The domain name of the mail host for this MX record.
- preference number
- The preference value for this MX record.
- exchange str
- The domain name of the mail host for this MX record.
- preference int
- The preference value for this MX record.
- exchange String
- The domain name of the mail host for this MX record.
- preference Number
- The preference value for this MX record.
PtrRecord, PtrRecordArgs
- Ptrdname string
- The PTR target domain name for this PTR record.
- Ptrdname string
- The PTR target domain name for this PTR record.
- ptrdname String
- The PTR target domain name for this PTR record.
- ptrdname string
- The PTR target domain name for this PTR record.
- ptrdname str
- The PTR target domain name for this PTR record.
- ptrdname String
- The PTR target domain name for this PTR record.
PtrRecordResponse, PtrRecordResponseArgs
- Ptrdname string
- The PTR target domain name for this PTR record.
- Ptrdname string
- The PTR target domain name for this PTR record.
- ptrdname String
- The PTR target domain name for this PTR record.
- ptrdname string
- The PTR target domain name for this PTR record.
- ptrdname str
- The PTR target domain name for this PTR record.
- ptrdname String
- The PTR target domain name for this PTR record.
SoaRecord, SoaRecordArgs
- Email string
- The email contact for this SOA record.
- Expire
Time double - The expire time for this SOA record.
- Host string
- The domain name of the authoritative name server for this SOA record.
- Minimum
Ttl double - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- Refresh
Time double - The refresh value for this SOA record.
- Retry
Time double - The retry time for this SOA record.
- Serial
Number double - The serial number for this SOA record.
- Email string
- The email contact for this SOA record.
- Expire
Time float64 - The expire time for this SOA record.
- Host string
- The domain name of the authoritative name server for this SOA record.
- Minimum
Ttl float64 - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- Refresh
Time float64 - The refresh value for this SOA record.
- Retry
Time float64 - The retry time for this SOA record.
- Serial
Number float64 - The serial number for this SOA record.
- email String
- The email contact for this SOA record.
- expire
Time Double - The expire time for this SOA record.
- host String
- The domain name of the authoritative name server for this SOA record.
- minimum
Ttl Double - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh
Time Double - The refresh value for this SOA record.
- retry
Time Double - The retry time for this SOA record.
- serial
Number Double - The serial number for this SOA record.
- email string
- The email contact for this SOA record.
- expire
Time number - The expire time for this SOA record.
- host string
- The domain name of the authoritative name server for this SOA record.
- minimum
Ttl number - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh
Time number - The refresh value for this SOA record.
- retry
Time number - The retry time for this SOA record.
- serial
Number 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.
- expire
Time Number - The expire time for this SOA record.
- host String
- The domain name of the authoritative name server for this SOA record.
- minimum
Ttl Number - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh
Time Number - The refresh value for this SOA record.
- retry
Time Number - The retry time for this SOA record.
- serial
Number Number - The serial number for this SOA record.
SoaRecordResponse, SoaRecordResponseArgs
- Email string
- The email contact for this SOA record.
- Expire
Time double - The expire time for this SOA record.
- Host string
- The domain name of the authoritative name server for this SOA record.
- Minimum
Ttl double - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- Refresh
Time double - The refresh value for this SOA record.
- Retry
Time double - The retry time for this SOA record.
- Serial
Number double - The serial number for this SOA record.
- Email string
- The email contact for this SOA record.
- Expire
Time float64 - The expire time for this SOA record.
- Host string
- The domain name of the authoritative name server for this SOA record.
- Minimum
Ttl float64 - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- Refresh
Time float64 - The refresh value for this SOA record.
- Retry
Time float64 - The retry time for this SOA record.
- Serial
Number float64 - The serial number for this SOA record.
- email String
- The email contact for this SOA record.
- expire
Time Double - The expire time for this SOA record.
- host String
- The domain name of the authoritative name server for this SOA record.
- minimum
Ttl Double - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh
Time Double - The refresh value for this SOA record.
- retry
Time Double - The retry time for this SOA record.
- serial
Number Double - The serial number for this SOA record.
- email string
- The email contact for this SOA record.
- expire
Time number - The expire time for this SOA record.
- host string
- The domain name of the authoritative name server for this SOA record.
- minimum
Ttl number - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh
Time number - The refresh value for this SOA record.
- retry
Time number - The retry time for this SOA record.
- serial
Number 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.
- expire
Time Number - The expire time for this SOA record.
- host String
- The domain name of the authoritative name server for this SOA record.
- minimum
Ttl Number - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh
Time Number - The refresh value for this SOA record.
- retry
Time Number - The retry time for this SOA record.
- serial
Number Number - The serial number for this SOA record.
SrvRecord, SrvRecordArgs
SrvRecordResponse, SrvRecordResponseArgs
TxtRecord, TxtRecordArgs
- Value List<string>
- The text value of this TXT record.
- Value []string
- The text value of this TXT record.
- value List<String>
- The text value of this TXT record.
- value string[]
- The text value of this TXT record.
- value Sequence[str]
- The text value of this TXT record.
- value List<String>
- The text value of this TXT record.
TxtRecordResponse, TxtRecordResponseArgs
- Value List<string>
- The text value of this TXT record.
- Value []string
- The text value of this TXT record.
- value List<String>
- The text value of this TXT record.
- value string[]
- The text value of this TXT record.
- value Sequence[str]
- The text value of this TXT record.
- value List<String>
- The text value of this TXT record.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:PrivateRecordSet recordtxt /subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/TXT/recordtxt
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0