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

cloudflare.getDnsZoneTransfersAcls

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 exampleDnsZoneTransfersAcls = cloudflare.getDnsZoneTransfersAcls({
        accountId: "01a7362d577a6c3019a474fd6f485823",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_dns_zone_transfers_acls = cloudflare.get_dns_zone_transfers_acls(account_id="01a7362d577a6c3019a474fd6f485823")
    
    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.LookupDnsZoneTransfersAcls(ctx, &cloudflare.LookupDnsZoneTransfersAclsArgs{
    			AccountId: "01a7362d577a6c3019a474fd6f485823",
    		}, 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 exampleDnsZoneTransfersAcls = Cloudflare.GetDnsZoneTransfersAcls.Invoke(new()
        {
            AccountId = "01a7362d577a6c3019a474fd6f485823",
        });
    
    });
    
    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.GetDnsZoneTransfersAclsArgs;
    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 exampleDnsZoneTransfersAcls = CloudflareFunctions.getDnsZoneTransfersAcls(GetDnsZoneTransfersAclsArgs.builder()
                .accountId("01a7362d577a6c3019a474fd6f485823")
                .build());
    
        }
    }
    
    variables:
      exampleDnsZoneTransfersAcls:
        fn::invoke:
          function: cloudflare:getDnsZoneTransfersAcls
          arguments:
            accountId: 01a7362d577a6c3019a474fd6f485823
    

    Using getDnsZoneTransfersAcls

    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 getDnsZoneTransfersAcls(args: GetDnsZoneTransfersAclsArgs, opts?: InvokeOptions): Promise<GetDnsZoneTransfersAclsResult>
    function getDnsZoneTransfersAclsOutput(args: GetDnsZoneTransfersAclsOutputArgs, opts?: InvokeOptions): Output<GetDnsZoneTransfersAclsResult>
    def get_dns_zone_transfers_acls(account_id: Optional[str] = None,
                                    max_items: Optional[int] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetDnsZoneTransfersAclsResult
    def get_dns_zone_transfers_acls_output(account_id: Optional[pulumi.Input[str]] = None,
                                    max_items: Optional[pulumi.Input[int]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetDnsZoneTransfersAclsResult]
    func LookupDnsZoneTransfersAcls(ctx *Context, args *LookupDnsZoneTransfersAclsArgs, opts ...InvokeOption) (*LookupDnsZoneTransfersAclsResult, error)
    func LookupDnsZoneTransfersAclsOutput(ctx *Context, args *LookupDnsZoneTransfersAclsOutputArgs, opts ...InvokeOption) LookupDnsZoneTransfersAclsResultOutput

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

    public static class GetDnsZoneTransfersAcls 
    {
        public static Task<GetDnsZoneTransfersAclsResult> InvokeAsync(GetDnsZoneTransfersAclsArgs args, InvokeOptions? opts = null)
        public static Output<GetDnsZoneTransfersAclsResult> Invoke(GetDnsZoneTransfersAclsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnsZoneTransfersAclsResult> getDnsZoneTransfersAcls(GetDnsZoneTransfersAclsArgs args, InvokeOptions options)
    public static Output<GetDnsZoneTransfersAclsResult> getDnsZoneTransfersAcls(GetDnsZoneTransfersAclsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getDnsZoneTransfersAcls:getDnsZoneTransfersAcls
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getDnsZoneTransfersAcls Result

    The following output properties are available:

    AccountId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetDnsZoneTransfersAclsResult>
    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 []GetDnsZoneTransfersAclsResult
    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<GetDnsZoneTransfersAclsResult>
    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 GetDnsZoneTransfersAclsResult[]
    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[GetDnsZoneTransfersAclsResult]
    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

    GetDnsZoneTransfersAclsResult

    Id string
    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.
    Id string
    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.
    id String
    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.
    id string
    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.
    id str
    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.
    id String
    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.

    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