1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getDnsZoneTransfersIncoming
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getDnsZoneTransfersIncoming

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleDnsZoneTransfersIncoming = cloudflare.getDnsZoneTransfersIncoming({
        zoneId: "269d8f4853475ca241c4e730be286b20",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_dns_zone_transfers_incoming = cloudflare.get_dns_zone_transfers_incoming(zone_id="269d8f4853475ca241c4e730be286b20")
    
    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.LookupDnsZoneTransfersIncoming(ctx, &cloudflare.LookupDnsZoneTransfersIncomingArgs{
    			ZoneId: "269d8f4853475ca241c4e730be286b20",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleDnsZoneTransfersIncoming = Cloudflare.GetDnsZoneTransfersIncoming.Invoke(new()
        {
            ZoneId = "269d8f4853475ca241c4e730be286b20",
        });
    
    });
    
    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.GetDnsZoneTransfersIncomingArgs;
    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 exampleDnsZoneTransfersIncoming = CloudflareFunctions.getDnsZoneTransfersIncoming(GetDnsZoneTransfersIncomingArgs.builder()
                .zoneId("269d8f4853475ca241c4e730be286b20")
                .build());
    
        }
    }
    
    variables:
      exampleDnsZoneTransfersIncoming:
        fn::invoke:
          function: cloudflare:getDnsZoneTransfersIncoming
          arguments:
            zoneId: 269d8f4853475ca241c4e730be286b20
    

    Using getDnsZoneTransfersIncoming

    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 getDnsZoneTransfersIncoming(args: GetDnsZoneTransfersIncomingArgs, opts?: InvokeOptions): Promise<GetDnsZoneTransfersIncomingResult>
    function getDnsZoneTransfersIncomingOutput(args: GetDnsZoneTransfersIncomingOutputArgs, opts?: InvokeOptions): Output<GetDnsZoneTransfersIncomingResult>
    def get_dns_zone_transfers_incoming(zone_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetDnsZoneTransfersIncomingResult
    def get_dns_zone_transfers_incoming_output(zone_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetDnsZoneTransfersIncomingResult]
    func LookupDnsZoneTransfersIncoming(ctx *Context, args *LookupDnsZoneTransfersIncomingArgs, opts ...InvokeOption) (*LookupDnsZoneTransfersIncomingResult, error)
    func LookupDnsZoneTransfersIncomingOutput(ctx *Context, args *LookupDnsZoneTransfersIncomingOutputArgs, opts ...InvokeOption) LookupDnsZoneTransfersIncomingResultOutput

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

    public static class GetDnsZoneTransfersIncoming 
    {
        public static Task<GetDnsZoneTransfersIncomingResult> InvokeAsync(GetDnsZoneTransfersIncomingArgs args, InvokeOptions? opts = null)
        public static Output<GetDnsZoneTransfersIncomingResult> Invoke(GetDnsZoneTransfersIncomingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnsZoneTransfersIncomingResult> getDnsZoneTransfersIncoming(GetDnsZoneTransfersIncomingArgs args, InvokeOptions options)
    public static Output<GetDnsZoneTransfersIncomingResult> getDnsZoneTransfersIncoming(GetDnsZoneTransfersIncomingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getDnsZoneTransfersIncoming:getDnsZoneTransfersIncoming
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    ZoneId string
    zoneId String
    zoneId string
    zoneId String

    getDnsZoneTransfersIncoming Result

    The following output properties are available:

    AutoRefreshSeconds double
    How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
    CheckedTime string
    The time for a specific event.
    CreatedTime string
    The time for a specific event.
    Id string
    The ID of this resource.
    ModifiedTime string
    The time for a specific event.
    Name string
    Zone name.
    Peers List<string>
    A list of peer tags.
    SoaSerial double
    The serial number of the SOA for the given zone.
    ZoneId string
    AutoRefreshSeconds float64
    How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
    CheckedTime string
    The time for a specific event.
    CreatedTime string
    The time for a specific event.
    Id string
    The ID of this resource.
    ModifiedTime string
    The time for a specific event.
    Name string
    Zone name.
    Peers []string
    A list of peer tags.
    SoaSerial float64
    The serial number of the SOA for the given zone.
    ZoneId string
    autoRefreshSeconds Double
    How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
    checkedTime String
    The time for a specific event.
    createdTime String
    The time for a specific event.
    id String
    The ID of this resource.
    modifiedTime String
    The time for a specific event.
    name String
    Zone name.
    peers List<String>
    A list of peer tags.
    soaSerial Double
    The serial number of the SOA for the given zone.
    zoneId String
    autoRefreshSeconds number
    How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
    checkedTime string
    The time for a specific event.
    createdTime string
    The time for a specific event.
    id string
    The ID of this resource.
    modifiedTime string
    The time for a specific event.
    name string
    Zone name.
    peers string[]
    A list of peer tags.
    soaSerial number
    The serial number of the SOA for the given zone.
    zoneId string
    auto_refresh_seconds float
    How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
    checked_time str
    The time for a specific event.
    created_time str
    The time for a specific event.
    id str
    The ID of this resource.
    modified_time str
    The time for a specific event.
    name str
    Zone name.
    peers Sequence[str]
    A list of peer tags.
    soa_serial float
    The serial number of the SOA for the given zone.
    zone_id str
    autoRefreshSeconds Number
    How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.
    checkedTime String
    The time for a specific event.
    createdTime String
    The time for a specific event.
    id String
    The ID of this resource.
    modifiedTime String
    The time for a specific event.
    name String
    Zone name.
    peers List<String>
    A list of peer tags.
    soaSerial Number
    The serial number of the SOA for the given zone.
    zoneId String

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi