DnsZoneTransfersPeerArgs

data class DnsZoneTransfersPeerArgs(val accountId: Output<String>? = null, val ip: Output<String>? = null, val ixfrEnable: Output<Boolean>? = null, val name: Output<String>? = null, val port: Output<Double>? = null, val tsigId: Output<String>? = null) : ConvertibleToJava<DnsZoneTransfersPeerArgs>

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>'

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, ip: Output<String>? = null, ixfrEnable: Output<Boolean>? = null, name: Output<String>? = null, port: Output<Double>? = null, tsigId: Output<String>? = null)

Properties

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

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>? = null

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

Link copied to clipboard
val name: Output<String>? = null

The name of the peer.

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

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

Link copied to clipboard
val tsigId: Output<String>? = null

TSIG authentication will be used for zone transfer if configured.

Functions

Link copied to clipboard
open override fun toJava(): DnsZoneTransfersPeerArgs