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

cloudflare.getDnsZoneTransfersOutgoing

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 exampleDnsZoneTransfersOutgoing = cloudflare.getDnsZoneTransfersOutgoing({
        zoneId: "269d8f4853475ca241c4e730be286b20",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_dns_zone_transfers_outgoing = cloudflare.get_dns_zone_transfers_outgoing(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.LookupDnsZoneTransfersOutgoing(ctx, &cloudflare.LookupDnsZoneTransfersOutgoingArgs{
    			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 exampleDnsZoneTransfersOutgoing = Cloudflare.GetDnsZoneTransfersOutgoing.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.GetDnsZoneTransfersOutgoingArgs;
    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 exampleDnsZoneTransfersOutgoing = CloudflareFunctions.getDnsZoneTransfersOutgoing(GetDnsZoneTransfersOutgoingArgs.builder()
                .zoneId("269d8f4853475ca241c4e730be286b20")
                .build());
    
        }
    }
    
    variables:
      exampleDnsZoneTransfersOutgoing:
        fn::invoke:
          function: cloudflare:getDnsZoneTransfersOutgoing
          arguments:
            zoneId: 269d8f4853475ca241c4e730be286b20
    

    Using getDnsZoneTransfersOutgoing

    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 getDnsZoneTransfersOutgoing(args: GetDnsZoneTransfersOutgoingArgs, opts?: InvokeOptions): Promise<GetDnsZoneTransfersOutgoingResult>
    function getDnsZoneTransfersOutgoingOutput(args: GetDnsZoneTransfersOutgoingOutputArgs, opts?: InvokeOptions): Output<GetDnsZoneTransfersOutgoingResult>
    def get_dns_zone_transfers_outgoing(zone_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetDnsZoneTransfersOutgoingResult
    def get_dns_zone_transfers_outgoing_output(zone_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetDnsZoneTransfersOutgoingResult]
    func LookupDnsZoneTransfersOutgoing(ctx *Context, args *LookupDnsZoneTransfersOutgoingArgs, opts ...InvokeOption) (*LookupDnsZoneTransfersOutgoingResult, error)
    func LookupDnsZoneTransfersOutgoingOutput(ctx *Context, args *LookupDnsZoneTransfersOutgoingOutputArgs, opts ...InvokeOption) LookupDnsZoneTransfersOutgoingResultOutput

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

    public static class GetDnsZoneTransfersOutgoing 
    {
        public static Task<GetDnsZoneTransfersOutgoingResult> InvokeAsync(GetDnsZoneTransfersOutgoingArgs args, InvokeOptions? opts = null)
        public static Output<GetDnsZoneTransfersOutgoingResult> Invoke(GetDnsZoneTransfersOutgoingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnsZoneTransfersOutgoingResult> getDnsZoneTransfersOutgoing(GetDnsZoneTransfersOutgoingArgs args, InvokeOptions options)
    public static Output<GetDnsZoneTransfersOutgoingResult> getDnsZoneTransfersOutgoing(GetDnsZoneTransfersOutgoingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getDnsZoneTransfersOutgoing:getDnsZoneTransfersOutgoing
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    ZoneId string
    zoneId String
    zoneId string
    zoneId String

    getDnsZoneTransfersOutgoing Result

    The following output properties are available:

    CheckedTime string
    The time for a specific event.
    CreatedTime string
    The time for a specific event.
    Id string
    The ID of this resource.
    LastTransferredTime 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
    CheckedTime string
    The time for a specific event.
    CreatedTime string
    The time for a specific event.
    Id string
    The ID of this resource.
    LastTransferredTime 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
    checkedTime String
    The time for a specific event.
    createdTime String
    The time for a specific event.
    id String
    The ID of this resource.
    lastTransferredTime 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
    checkedTime string
    The time for a specific event.
    createdTime string
    The time for a specific event.
    id string
    The ID of this resource.
    lastTransferredTime 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
    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.
    last_transferred_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
    checkedTime String
    The time for a specific event.
    createdTime String
    The time for a specific event.
    id String
    The ID of this resource.
    lastTransferredTime 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