1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getDnsZoneTransfersAcl
Cloudflare v6.1.1 published on Monday, Apr 21, 2025 by Pulumi

cloudflare.getDnsZoneTransfersAcl

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.1 published on Monday, Apr 21, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleDnsZoneTransfersAcl = cloudflare.getDnsZoneTransfersAcl({
        accountId: "01a7362d577a6c3019a474fd6f485823",
        aclId: "23ff594956f20c2a721606e94745a8aa",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_dns_zone_transfers_acl = cloudflare.get_dns_zone_transfers_acl(account_id="01a7362d577a6c3019a474fd6f485823",
        acl_id="23ff594956f20c2a721606e94745a8aa")
    
    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.LookupDnsZoneTransfersAcl(ctx, &cloudflare.LookupDnsZoneTransfersAclArgs{
    			AccountId: "01a7362d577a6c3019a474fd6f485823",
    			AclId:     pulumi.StringRef("23ff594956f20c2a721606e94745a8aa"),
    		}, 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 exampleDnsZoneTransfersAcl = Cloudflare.GetDnsZoneTransfersAcl.Invoke(new()
        {
            AccountId = "01a7362d577a6c3019a474fd6f485823",
            AclId = "23ff594956f20c2a721606e94745a8aa",
        });
    
    });
    
    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.GetDnsZoneTransfersAclArgs;
    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 exampleDnsZoneTransfersAcl = CloudflareFunctions.getDnsZoneTransfersAcl(GetDnsZoneTransfersAclArgs.builder()
                .accountId("01a7362d577a6c3019a474fd6f485823")
                .aclId("23ff594956f20c2a721606e94745a8aa")
                .build());
    
        }
    }
    
    variables:
      exampleDnsZoneTransfersAcl:
        fn::invoke:
          function: cloudflare:getDnsZoneTransfersAcl
          arguments:
            accountId: 01a7362d577a6c3019a474fd6f485823
            aclId: 23ff594956f20c2a721606e94745a8aa
    

    Using getDnsZoneTransfersAcl

    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 getDnsZoneTransfersAcl(args: GetDnsZoneTransfersAclArgs, opts?: InvokeOptions): Promise<GetDnsZoneTransfersAclResult>
    function getDnsZoneTransfersAclOutput(args: GetDnsZoneTransfersAclOutputArgs, opts?: InvokeOptions): Output<GetDnsZoneTransfersAclResult>
    def get_dns_zone_transfers_acl(account_id: Optional[str] = None,
                                   acl_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetDnsZoneTransfersAclResult
    def get_dns_zone_transfers_acl_output(account_id: Optional[pulumi.Input[str]] = None,
                                   acl_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetDnsZoneTransfersAclResult]
    func LookupDnsZoneTransfersAcl(ctx *Context, args *LookupDnsZoneTransfersAclArgs, opts ...InvokeOption) (*LookupDnsZoneTransfersAclResult, error)
    func LookupDnsZoneTransfersAclOutput(ctx *Context, args *LookupDnsZoneTransfersAclOutputArgs, opts ...InvokeOption) LookupDnsZoneTransfersAclResultOutput

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

    public static class GetDnsZoneTransfersAcl 
    {
        public static Task<GetDnsZoneTransfersAclResult> InvokeAsync(GetDnsZoneTransfersAclArgs args, InvokeOptions? opts = null)
        public static Output<GetDnsZoneTransfersAclResult> Invoke(GetDnsZoneTransfersAclInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnsZoneTransfersAclResult> getDnsZoneTransfersAcl(GetDnsZoneTransfersAclArgs args, InvokeOptions options)
    public static Output<GetDnsZoneTransfersAclResult> getDnsZoneTransfersAcl(GetDnsZoneTransfersAclArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getDnsZoneTransfersAcl:getDnsZoneTransfersAcl
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    AclId string
    AccountId string
    AclId string
    accountId String
    aclId String
    accountId string
    aclId string
    accountId String
    aclId String

    getDnsZoneTransfersAcl Result

    The following output properties are available:

    AccountId string
    Id string
    The ID of this resource.
    IpRange string
    Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.
    Name string
    The name of the acl.
    AclId string
    AccountId string
    Id string
    The ID of this resource.
    IpRange string
    Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.
    Name string
    The name of the acl.
    AclId string
    accountId String
    id String
    The ID of this resource.
    ipRange String
    Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.
    name String
    The name of the acl.
    aclId String
    accountId string
    id string
    The ID of this resource.
    ipRange string
    Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.
    name string
    The name of the acl.
    aclId string
    account_id str
    id str
    The ID of this resource.
    ip_range str
    Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.
    name str
    The name of the acl.
    acl_id str
    accountId String
    id String
    The ID of this resource.
    ipRange String
    Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.
    name String
    The name of the acl.
    aclId 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.1 published on Monday, Apr 21, 2025 by Pulumi