1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustDnsLocation
Viewing docs for Cloudflare v6.22.1
published on Tuesday, Oct 13, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.22.1
published on Tuesday, Oct 13, 2026 by Pulumi

    Accepted Permissions

    • Cloudflare Zero Trust Secure DNS Locations Write
    • Zero Trust Read
    • Zero Trust Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustDnsLocation = cloudflare.getZeroTrustDnsLocation({
        accountId: "699d98642c564d2e855e9661899b7252",
        locationId: "ed35569b41ce4d1facfe683550f54086",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_dns_location = cloudflare.get_zero_trust_dns_location(account_id="699d98642c564d2e855e9661899b7252",
        location_id="ed35569b41ce4d1facfe683550f54086")
    
    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.GetZeroTrustDnsLocation(ctx, &cloudflare.LookupZeroTrustDnsLocationArgs{
    			AccountId:  pulumi.StringRef("699d98642c564d2e855e9661899b7252"),
    			LocationId: pulumi.StringRef("ed35569b41ce4d1facfe683550f54086"),
    		}, 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 exampleZeroTrustDnsLocation = Cloudflare.GetZeroTrustDnsLocation.Invoke(new()
        {
            AccountId = "699d98642c564d2e855e9661899b7252",
            LocationId = "ed35569b41ce4d1facfe683550f54086",
        });
    
    });
    
    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.GetZeroTrustDnsLocationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 exampleZeroTrustDnsLocation = CloudflareFunctions.getZeroTrustDnsLocation(GetZeroTrustDnsLocationArgs.builder()
                .accountId("699d98642c564d2e855e9661899b7252")
                .locationId("ed35569b41ce4d1facfe683550f54086")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustDnsLocation:
        fn::invoke:
          function: cloudflare:getZeroTrustDnsLocation
          arguments:
            accountId: 699d98642c564d2e855e9661899b7252
            locationId: ed35569b41ce4d1facfe683550f54086
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_zero_trust_dns_location" "exampleZeroTrustDnsLocation" {
      account_id  = "699d98642c564d2e855e9661899b7252"
      location_id = "ed35569b41ce4d1facfe683550f54086"
    }
    

    Using getZeroTrustDnsLocation

    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 getZeroTrustDnsLocation(args: GetZeroTrustDnsLocationArgs, opts?: InvokeOptions): Promise<GetZeroTrustDnsLocationResult>
    function getZeroTrustDnsLocationOutput(args: GetZeroTrustDnsLocationOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustDnsLocationResult>
    def get_zero_trust_dns_location(account_id: Optional[str] = None,
                                    filter: Optional[GetZeroTrustDnsLocationFilter] = None,
                                    location_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetZeroTrustDnsLocationResult
    def get_zero_trust_dns_location_output(account_id: pulumi.Input[Optional[str]] = None,
                                    filter: pulumi.Input[Optional[GetZeroTrustDnsLocationFilterArgs]] = None,
                                    location_id: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustDnsLocationResult]
    func LookupZeroTrustDnsLocation(ctx *Context, args *LookupZeroTrustDnsLocationArgs, opts ...InvokeOption) (*LookupZeroTrustDnsLocationResult, error)
    func LookupZeroTrustDnsLocationOutput(ctx *Context, args *LookupZeroTrustDnsLocationOutputArgs, opts ...InvokeOption) LookupZeroTrustDnsLocationResultOutput

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

    public static class GetZeroTrustDnsLocation 
    {
        public static Task<GetZeroTrustDnsLocationResult> InvokeAsync(GetZeroTrustDnsLocationArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustDnsLocationResult> Invoke(GetZeroTrustDnsLocationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustDnsLocationResult> Invoke(GetZeroTrustDnsLocationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetZeroTrustDnsLocationResult> getZeroTrustDnsLocation(GetZeroTrustDnsLocationArgs args, InvokeOptions options)
    public static Output<GetZeroTrustDnsLocationResult> getZeroTrustDnsLocation(GetZeroTrustDnsLocationArgs args, InvokeOptions options)
    public static Output<GetZeroTrustDnsLocationResult> getZeroTrustDnsLocation(GetZeroTrustDnsLocationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustDnsLocation:getZeroTrustDnsLocation
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_dns_location" "name" {
        # arguments
    }

    The following arguments are supported:

    getZeroTrustDnsLocation Result

    The following output properties are available:

    Supporting Types

    GetZeroTrustDnsLocationEndpoints

    GetZeroTrustDnsLocationEndpointsDoh

    Enabled bool
    Indicate whether the DOH endpoint is enabled for this location.
    Networks List<GetZeroTrustDnsLocationEndpointsDohNetwork>
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    RequireToken bool
    Specify whether the DOH endpoint requires user identity authentication.
    Enabled bool
    Indicate whether the DOH endpoint is enabled for this location.
    Networks []GetZeroTrustDnsLocationEndpointsDohNetwork
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    RequireToken bool
    Specify whether the DOH endpoint requires user identity authentication.
    enabled bool
    Indicate whether the DOH endpoint is enabled for this location.
    networks list(object)
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    require_token bool
    Specify whether the DOH endpoint requires user identity authentication.
    enabled Boolean
    Indicate whether the DOH endpoint is enabled for this location.
    networks List<GetZeroTrustDnsLocationEndpointsDohNetwork>
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    requireToken Boolean
    Specify whether the DOH endpoint requires user identity authentication.
    enabled boolean
    Indicate whether the DOH endpoint is enabled for this location.
    networks GetZeroTrustDnsLocationEndpointsDohNetwork[]
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    requireToken boolean
    Specify whether the DOH endpoint requires user identity authentication.
    enabled bool
    Indicate whether the DOH endpoint is enabled for this location.
    networks Sequence[GetZeroTrustDnsLocationEndpointsDohNetwork]
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    require_token bool
    Specify whether the DOH endpoint requires user identity authentication.
    enabled Boolean
    Indicate whether the DOH endpoint is enabled for this location.
    networks List<Property Map>
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    requireToken Boolean
    Specify whether the DOH endpoint requires user identity authentication.

    GetZeroTrustDnsLocationEndpointsDohNetwork

    Network string
    Specify the IP address or IP CIDR.
    Network string
    Specify the IP address or IP CIDR.
    network string
    Specify the IP address or IP CIDR.
    network String
    Specify the IP address or IP CIDR.
    network string
    Specify the IP address or IP CIDR.
    network str
    Specify the IP address or IP CIDR.
    network String
    Specify the IP address or IP CIDR.

    GetZeroTrustDnsLocationEndpointsDot

    Enabled bool
    Indicate whether the DOT endpoint is enabled for this location.
    Networks List<GetZeroTrustDnsLocationEndpointsDotNetwork>
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    Enabled bool
    Indicate whether the DOT endpoint is enabled for this location.
    Networks []GetZeroTrustDnsLocationEndpointsDotNetwork
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled bool
    Indicate whether the DOT endpoint is enabled for this location.
    networks list(object)
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled Boolean
    Indicate whether the DOT endpoint is enabled for this location.
    networks List<GetZeroTrustDnsLocationEndpointsDotNetwork>
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled boolean
    Indicate whether the DOT endpoint is enabled for this location.
    networks GetZeroTrustDnsLocationEndpointsDotNetwork[]
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled bool
    Indicate whether the DOT endpoint is enabled for this location.
    networks Sequence[GetZeroTrustDnsLocationEndpointsDotNetwork]
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled Boolean
    Indicate whether the DOT endpoint is enabled for this location.
    networks List<Property Map>
    Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.

    GetZeroTrustDnsLocationEndpointsDotNetwork

    Network string
    Specify the IP address or IP CIDR.
    Network string
    Specify the IP address or IP CIDR.
    network string
    Specify the IP address or IP CIDR.
    network String
    Specify the IP address or IP CIDR.
    network string
    Specify the IP address or IP CIDR.
    network str
    Specify the IP address or IP CIDR.
    network String
    Specify the IP address or IP CIDR.

    GetZeroTrustDnsLocationEndpointsIpv4

    Enabled bool
    Indicate whether the IPv4 endpoint is enabled for this location.
    Enabled bool
    Indicate whether the IPv4 endpoint is enabled for this location.
    enabled bool
    Indicate whether the IPv4 endpoint is enabled for this location.
    enabled Boolean
    Indicate whether the IPv4 endpoint is enabled for this location.
    enabled boolean
    Indicate whether the IPv4 endpoint is enabled for this location.
    enabled bool
    Indicate whether the IPv4 endpoint is enabled for this location.
    enabled Boolean
    Indicate whether the IPv4 endpoint is enabled for this location.

    GetZeroTrustDnsLocationEndpointsIpv6

    Enabled bool
    Indicate whether the IPV6 endpoint is enabled for this location.
    Networks List<GetZeroTrustDnsLocationEndpointsIpv6Network>
    Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    Enabled bool
    Indicate whether the IPV6 endpoint is enabled for this location.
    Networks []GetZeroTrustDnsLocationEndpointsIpv6Network
    Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled bool
    Indicate whether the IPV6 endpoint is enabled for this location.
    networks list(object)
    Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled Boolean
    Indicate whether the IPV6 endpoint is enabled for this location.
    networks List<GetZeroTrustDnsLocationEndpointsIpv6Network>
    Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled boolean
    Indicate whether the IPV6 endpoint is enabled for this location.
    networks GetZeroTrustDnsLocationEndpointsIpv6Network[]
    Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled bool
    Indicate whether the IPV6 endpoint is enabled for this location.
    networks Sequence[GetZeroTrustDnsLocationEndpointsIpv6Network]
    Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.
    enabled Boolean
    Indicate whether the IPV6 endpoint is enabled for this location.
    networks List<Property Map>
    Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.

    GetZeroTrustDnsLocationEndpointsIpv6Network

    Network string
    Specify the IPv6 address or IPv6 CIDR.
    Network string
    Specify the IPv6 address or IPv6 CIDR.
    network string
    Specify the IPv6 address or IPv6 CIDR.
    network String
    Specify the IPv6 address or IPv6 CIDR.
    network string
    Specify the IPv6 address or IPv6 CIDR.
    network str
    Specify the IPv6 address or IPv6 CIDR.
    network String
    Specify the IPv6 address or IPv6 CIDR.

    GetZeroTrustDnsLocationFilter

    Direction string
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    Filters List<string>

    Filter the returned locations by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (a location must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the location name.
    • id — substring match on the location ID (UUID), with or without dashes.
    • isDefault — whether it is the default for the account.

    Each entry must match one of the per-field patterns below:

    • the field must be one of name, id, or isDefault;
    • name/id accept any value;
    • isDefault only accepts true or false; any other value returns 400
    OrderBy string
    Field to sort the returned locations by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by location name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    Search string
    Case-insensitive substring match on the location name. When combined with filter, both must match (logical AND).
    Direction string
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    Filters []string

    Filter the returned locations by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (a location must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the location name.
    • id — substring match on the location ID (UUID), with or without dashes.
    • isDefault — whether it is the default for the account.

    Each entry must match one of the per-field patterns below:

    • the field must be one of name, id, or isDefault;
    • name/id accept any value;
    • isDefault only accepts true or false; any other value returns 400
    OrderBy string
    Field to sort the returned locations by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by location name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    Search string
    Case-insensitive substring match on the location name. When combined with filter, both must match (logical AND).
    direction string
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters list(string)

    Filter the returned locations by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (a location must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the location name.
    • id — substring match on the location ID (UUID), with or without dashes.
    • isDefault — whether it is the default for the account.

    Each entry must match one of the per-field patterns below:

    • the field must be one of name, id, or isDefault;
    • name/id accept any value;
    • isDefault only accepts true or false; any other value returns 400
    order_by string
    Field to sort the returned locations by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by location name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search string
    Case-insensitive substring match on the location name. When combined with filter, both must match (logical AND).
    direction String
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters List<String>

    Filter the returned locations by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (a location must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the location name.
    • id — substring match on the location ID (UUID), with or without dashes.
    • isDefault — whether it is the default for the account.

    Each entry must match one of the per-field patterns below:

    • the field must be one of name, id, or isDefault;
    • name/id accept any value;
    • isDefault only accepts true or false; any other value returns 400
    orderBy String
    Field to sort the returned locations by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by location name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search String
    Case-insensitive substring match on the location name. When combined with filter, both must match (logical AND).
    direction string
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters string[]

    Filter the returned locations by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (a location must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the location name.
    • id — substring match on the location ID (UUID), with or without dashes.
    • isDefault — whether it is the default for the account.

    Each entry must match one of the per-field patterns below:

    • the field must be one of name, id, or isDefault;
    • name/id accept any value;
    • isDefault only accepts true or false; any other value returns 400
    orderBy string
    Field to sort the returned locations by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by location name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search string
    Case-insensitive substring match on the location name. When combined with filter, both must match (logical AND).
    direction str
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters Sequence[str]

    Filter the returned locations by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (a location must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the location name.
    • id — substring match on the location ID (UUID), with or without dashes.
    • isDefault — whether it is the default for the account.

    Each entry must match one of the per-field patterns below:

    • the field must be one of name, id, or isDefault;
    • name/id accept any value;
    • isDefault only accepts true or false; any other value returns 400
    order_by str
    Field to sort the returned locations by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by location name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search str
    Case-insensitive substring match on the location name. When combined with filter, both must match (logical AND).
    direction String
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters List<String>

    Filter the returned locations by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (a location must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the location name.
    • id — substring match on the location ID (UUID), with or without dashes.
    • isDefault — whether it is the default for the account.

    Each entry must match one of the per-field patterns below:

    • the field must be one of name, id, or isDefault;
    • name/id accept any value;
    • isDefault only accepts true or false; any other value returns 400
    orderBy String
    Field to sort the returned locations by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by location name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search String
    Case-insensitive substring match on the location name. When combined with filter, both must match (logical AND).

    GetZeroTrustDnsLocationMaxTtl

    Mode string
    inherit uses the account maxTtlSecs. override uses this location's ttlSecs. disabled leaves returned TTLs unchanged. Available values: "inherit", "override", "disabled".
    TtlSecs int
    Location-specific cap on DNS response TTLs, in seconds. Required when mode is override. Must be omitted when mode is inherit or disabled.
    Mode string
    inherit uses the account maxTtlSecs. override uses this location's ttlSecs. disabled leaves returned TTLs unchanged. Available values: "inherit", "override", "disabled".
    TtlSecs int
    Location-specific cap on DNS response TTLs, in seconds. Required when mode is override. Must be omitted when mode is inherit or disabled.
    mode string
    inherit uses the account maxTtlSecs. override uses this location's ttlSecs. disabled leaves returned TTLs unchanged. Available values: "inherit", "override", "disabled".
    ttl_secs number
    Location-specific cap on DNS response TTLs, in seconds. Required when mode is override. Must be omitted when mode is inherit or disabled.
    mode String
    inherit uses the account maxTtlSecs. override uses this location's ttlSecs. disabled leaves returned TTLs unchanged. Available values: "inherit", "override", "disabled".
    ttlSecs Integer
    Location-specific cap on DNS response TTLs, in seconds. Required when mode is override. Must be omitted when mode is inherit or disabled.
    mode string
    inherit uses the account maxTtlSecs. override uses this location's ttlSecs. disabled leaves returned TTLs unchanged. Available values: "inherit", "override", "disabled".
    ttlSecs number
    Location-specific cap on DNS response TTLs, in seconds. Required when mode is override. Must be omitted when mode is inherit or disabled.
    mode str
    inherit uses the account maxTtlSecs. override uses this location's ttlSecs. disabled leaves returned TTLs unchanged. Available values: "inherit", "override", "disabled".
    ttl_secs int
    Location-specific cap on DNS response TTLs, in seconds. Required when mode is override. Must be omitted when mode is inherit or disabled.
    mode String
    inherit uses the account maxTtlSecs. override uses this location's ttlSecs. disabled leaves returned TTLs unchanged. Available values: "inherit", "override", "disabled".
    ttlSecs Number
    Location-specific cap on DNS response TTLs, in seconds. Required when mode is override. Must be omitted when mode is inherit or disabled.

    GetZeroTrustDnsLocationNetwork

    Network string
    Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
    Network string
    Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
    network string
    Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
    network String
    Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
    network string
    Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
    network str
    Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.
    network String
    Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.

    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 logo
    Viewing docs for Cloudflare v6.22.1
    published on Tuesday, Oct 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial