DnsZoneTransfersPeer

class DnsZoneTransfersPeer : KotlinCustomResource

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleDnsZoneTransfersPeer = new cloudflare.DnsZoneTransfersPeer("example_dns_zone_transfers_peer", {
accountId: "01a7362d577a6c3019a474fd6f485823",
name: "my-peer-1",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_dns_zone_transfers_peer = cloudflare.DnsZoneTransfersPeer("example_dns_zone_transfers_peer",
account_id="01a7362d577a6c3019a474fd6f485823",
name="my-peer-1")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleDnsZoneTransfersPeer = new Cloudflare.DnsZoneTransfersPeer("example_dns_zone_transfers_peer", new()
{
AccountId = "01a7362d577a6c3019a474fd6f485823",
Name = "my-peer-1",
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewDnsZoneTransfersPeer(ctx, "example_dns_zone_transfers_peer", &cloudflare.DnsZoneTransfersPeerArgs{
AccountId: pulumi.String("01a7362d577a6c3019a474fd6f485823"),
Name: pulumi.String("my-peer-1"),
})
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.cloudflare.DnsZoneTransfersPeer;
import com.pulumi.cloudflare.DnsZoneTransfersPeerArgs;
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 exampleDnsZoneTransfersPeer = new DnsZoneTransfersPeer("exampleDnsZoneTransfersPeer", DnsZoneTransfersPeerArgs.builder()
.accountId("01a7362d577a6c3019a474fd6f485823")
.name("my-peer-1")
.build());
}
}
resources:
exampleDnsZoneTransfersPeer:
type: cloudflare:DnsZoneTransfersPeer
name: example_dns_zone_transfers_peer
properties:
accountId: 01a7362d577a6c3019a474fd6f485823
name: my-peer-1

Import

$ pulumi import cloudflare:index/dnsZoneTransfersPeer:DnsZoneTransfersPeer example '<account_id>/<peer_id>'

Properties

Link copied to clipboard
val accountId: Output<String>
Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ip: Output<String>?

IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to.

Link copied to clipboard
val ixfrEnable: Output<Boolean>?

Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.

Link copied to clipboard
val name: Output<String>

The name of the peer.

Link copied to clipboard
val port: Output<Double>?

DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tsigId: Output<String>?

TSIG authentication will be used for zone transfer if configured.

Link copied to clipboard
val urn: Output<String>