1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getDnsZoneTransfersPeers
Cloudflare v6.1.0 published on Friday, Apr 18, 2025 by Pulumi

cloudflare.getDnsZoneTransfersPeers

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleDnsZoneTransfersPeers = cloudflare.getDnsZoneTransfersPeers({
    accountId: "01a7362d577a6c3019a474fd6f485823",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_dns_zone_transfers_peers = cloudflare.get_dns_zone_transfers_peers(account_id="01a7362d577a6c3019a474fd6f485823")
Copy
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.LookupDnsZoneTransfersPeers(ctx, &cloudflare.LookupDnsZoneTransfersPeersArgs{
			AccountId: "01a7362d577a6c3019a474fd6f485823",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleDnsZoneTransfersPeers = Cloudflare.GetDnsZoneTransfersPeers.Invoke(new()
    {
        AccountId = "01a7362d577a6c3019a474fd6f485823",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetDnsZoneTransfersPeersArgs;
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) {
        final var exampleDnsZoneTransfersPeers = CloudflareFunctions.getDnsZoneTransfersPeers(GetDnsZoneTransfersPeersArgs.builder()
            .accountId("01a7362d577a6c3019a474fd6f485823")
            .build());

    }
}
Copy
variables:
  exampleDnsZoneTransfersPeers:
    fn::invoke:
      function: cloudflare:getDnsZoneTransfersPeers
      arguments:
        accountId: 01a7362d577a6c3019a474fd6f485823
Copy

Using getDnsZoneTransfersPeers

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDnsZoneTransfersPeers(args: GetDnsZoneTransfersPeersArgs, opts?: InvokeOptions): Promise<GetDnsZoneTransfersPeersResult>
function getDnsZoneTransfersPeersOutput(args: GetDnsZoneTransfersPeersOutputArgs, opts?: InvokeOptions): Output<GetDnsZoneTransfersPeersResult>
Copy
def get_dns_zone_transfers_peers(account_id: Optional[str] = None,
                                 max_items: Optional[int] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetDnsZoneTransfersPeersResult
def get_dns_zone_transfers_peers_output(account_id: Optional[pulumi.Input[str]] = None,
                                 max_items: Optional[pulumi.Input[int]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetDnsZoneTransfersPeersResult]
Copy
func LookupDnsZoneTransfersPeers(ctx *Context, args *LookupDnsZoneTransfersPeersArgs, opts ...InvokeOption) (*LookupDnsZoneTransfersPeersResult, error)
func LookupDnsZoneTransfersPeersOutput(ctx *Context, args *LookupDnsZoneTransfersPeersOutputArgs, opts ...InvokeOption) LookupDnsZoneTransfersPeersResultOutput
Copy

> Note: This function is named LookupDnsZoneTransfersPeers in the Go SDK.

public static class GetDnsZoneTransfersPeers 
{
    public static Task<GetDnsZoneTransfersPeersResult> InvokeAsync(GetDnsZoneTransfersPeersArgs args, InvokeOptions? opts = null)
    public static Output<GetDnsZoneTransfersPeersResult> Invoke(GetDnsZoneTransfersPeersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDnsZoneTransfersPeersResult> getDnsZoneTransfersPeers(GetDnsZoneTransfersPeersArgs args, InvokeOptions options)
public static Output<GetDnsZoneTransfersPeersResult> getDnsZoneTransfersPeers(GetDnsZoneTransfersPeersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getDnsZoneTransfersPeers:getDnsZoneTransfersPeers
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
MaxItems int
Max items to fetch, default: 1000
AccountId This property is required. string
MaxItems int
Max items to fetch, default: 1000
accountId This property is required. String
maxItems Integer
Max items to fetch, default: 1000
accountId This property is required. string
maxItems number
Max items to fetch, default: 1000
account_id This property is required. str
max_items int
Max items to fetch, default: 1000
accountId This property is required. String
maxItems Number
Max items to fetch, default: 1000

getDnsZoneTransfersPeers Result

The following output properties are available:

AccountId string
Id string
The provider-assigned unique ID for this managed resource.
Results List<GetDnsZoneTransfersPeersResult>
The items returned by the data source
MaxItems int
Max items to fetch, default: 1000
AccountId string
Id string
The provider-assigned unique ID for this managed resource.
Results []GetDnsZoneTransfersPeersResult
The items returned by the data source
MaxItems int
Max items to fetch, default: 1000
accountId String
id String
The provider-assigned unique ID for this managed resource.
results List<GetDnsZoneTransfersPeersResult>
The items returned by the data source
maxItems Integer
Max items to fetch, default: 1000
accountId string
id string
The provider-assigned unique ID for this managed resource.
results GetDnsZoneTransfersPeersResult[]
The items returned by the data source
maxItems number
Max items to fetch, default: 1000
account_id str
id str
The provider-assigned unique ID for this managed resource.
results Sequence[GetDnsZoneTransfersPeersResult]
The items returned by the data source
max_items int
Max items to fetch, default: 1000
accountId String
id String
The provider-assigned unique ID for this managed resource.
results List<Property Map>
The items returned by the data source
maxItems Number
Max items to fetch, default: 1000

Supporting Types

GetDnsZoneTransfersPeersResult

Id This property is required. string
Ip This property is required. 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.
IxfrEnable This property is required. bool
Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.
Name This property is required. string
The name of the peer.
Port This property is required. double
DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.
TsigId This property is required. string
TSIG authentication will be used for zone transfer if configured.
Id This property is required. string
Ip This property is required. 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.
IxfrEnable This property is required. bool
Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.
Name This property is required. string
The name of the peer.
Port This property is required. float64
DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.
TsigId This property is required. string
TSIG authentication will be used for zone transfer if configured.
id This property is required. String
ip This property is required. 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.
ixfrEnable This property is required. Boolean
Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.
name This property is required. String
The name of the peer.
port This property is required. Double
DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.
tsigId This property is required. String
TSIG authentication will be used for zone transfer if configured.
id This property is required. string
ip This property is required. 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.
ixfrEnable This property is required. boolean
Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.
name This property is required. string
The name of the peer.
port This property is required. number
DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.
tsigId This property is required. string
TSIG authentication will be used for zone transfer if configured.
id This property is required. str
ip This property is required. str
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.
ixfr_enable This property is required. bool
Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.
name This property is required. str
The name of the peer.
port This property is required. float
DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.
tsig_id This property is required. str
TSIG authentication will be used for zone transfer if configured.
id This property is required. String
ip This property is required. 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.
ixfrEnable This property is required. Boolean
Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.
name This property is required. String
The name of the peer.
port This property is required. Number
DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.
tsigId This property is required. String
TSIG authentication will be used for zone transfer if configured.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.