import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import cloudflare:index/dnsFirewall:DnsFirewall example '/' * ``` */ export declare class DnsFirewall extends pulumi.CustomResource { /** * Get an existing DnsFirewall resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DnsFirewallState, opts?: pulumi.CustomResourceOptions): DnsFirewall; /** * Returns true if the given object is an instance of DnsFirewall. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DnsFirewall; /** * Identifier. */ readonly accountId: pulumi.Output; /** * Attack mitigation settings */ readonly attackMitigation: pulumi.Output; /** * Whether to refuse to answer queries for the ANY type */ readonly deprecateAnyRequests: pulumi.Output; readonly dnsFirewallIps: pulumi.Output; /** * Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent */ readonly ecsFallback: pulumi.Output; /** * Maximum DNS cache TTL This setting sets an upper bound on DNS TTLs for purposes of caching between DNS Firewall and the upstream servers. Higher TTLs will be decreased to the maximum defined here for caching purposes. */ readonly maximumCacheTtl: pulumi.Output; /** * Minimum DNS cache TTL This setting sets a lower bound on DNS TTLs for purposes of caching between DNS Firewall and the upstream servers. Lower TTLs will be increased to the minimum defined here for caching purposes. */ readonly minimumCacheTtl: pulumi.Output; /** * Last modification of DNS Firewall cluster */ readonly modifiedOn: pulumi.Output; /** * DNS Firewall cluster name */ readonly name: pulumi.Output; /** * Negative DNS cache TTL This setting controls how long DNS Firewall should cache negative responses (e.g., NXDOMAIN) from the upstream servers. */ readonly negativeCacheTtl: pulumi.Output; /** * Ratelimit in queries per second per datacenter (applies to DNS queries sent to the upstream nameservers configured on the cluster) */ readonly ratelimit: pulumi.Output; /** * Number of retries for fetching DNS responses from upstream nameservers (not counting the initial attempt) */ readonly retries: pulumi.Output; readonly upstreamIps: pulumi.Output; /** * Create a DnsFirewall resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DnsFirewallArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DnsFirewall resources. */ export interface DnsFirewallState { /** * Identifier. */ accountId?: pulumi.Input; /** * Attack mitigation settings */ attackMitigation?: pulumi.Input; /** * Whether to refuse to answer queries for the ANY type */ deprecateAnyRequests?: pulumi.Input; dnsFirewallIps?: pulumi.Input[]>; /** * Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent */ ecsFallback?: pulumi.Input; /** * Maximum DNS cache TTL This setting sets an upper bound on DNS TTLs for purposes of caching between DNS Firewall and the upstream servers. Higher TTLs will be decreased to the maximum defined here for caching purposes. */ maximumCacheTtl?: pulumi.Input; /** * Minimum DNS cache TTL This setting sets a lower bound on DNS TTLs for purposes of caching between DNS Firewall and the upstream servers. Lower TTLs will be increased to the minimum defined here for caching purposes. */ minimumCacheTtl?: pulumi.Input; /** * Last modification of DNS Firewall cluster */ modifiedOn?: pulumi.Input; /** * DNS Firewall cluster name */ name?: pulumi.Input; /** * Negative DNS cache TTL This setting controls how long DNS Firewall should cache negative responses (e.g., NXDOMAIN) from the upstream servers. */ negativeCacheTtl?: pulumi.Input; /** * Ratelimit in queries per second per datacenter (applies to DNS queries sent to the upstream nameservers configured on the cluster) */ ratelimit?: pulumi.Input; /** * Number of retries for fetching DNS responses from upstream nameservers (not counting the initial attempt) */ retries?: pulumi.Input; upstreamIps?: pulumi.Input[]>; } /** * The set of arguments for constructing a DnsFirewall resource. */ export interface DnsFirewallArgs { /** * Identifier. */ accountId: pulumi.Input; /** * Attack mitigation settings */ attackMitigation?: pulumi.Input; /** * Whether to refuse to answer queries for the ANY type */ deprecateAnyRequests?: pulumi.Input; /** * Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent */ ecsFallback?: pulumi.Input; /** * Maximum DNS cache TTL This setting sets an upper bound on DNS TTLs for purposes of caching between DNS Firewall and the upstream servers. Higher TTLs will be decreased to the maximum defined here for caching purposes. */ maximumCacheTtl?: pulumi.Input; /** * Minimum DNS cache TTL This setting sets a lower bound on DNS TTLs for purposes of caching between DNS Firewall and the upstream servers. Lower TTLs will be increased to the minimum defined here for caching purposes. */ minimumCacheTtl?: pulumi.Input; /** * DNS Firewall cluster name */ name: pulumi.Input; /** * Negative DNS cache TTL This setting controls how long DNS Firewall should cache negative responses (e.g., NXDOMAIN) from the upstream servers. */ negativeCacheTtl?: pulumi.Input; /** * Ratelimit in queries per second per datacenter (applies to DNS queries sent to the upstream nameservers configured on the cluster) */ ratelimit?: pulumi.Input; /** * Number of retries for fetching DNS responses from upstream nameservers (not counting the initial attempt) */ retries?: pulumi.Input; upstreamIps: pulumi.Input[]>; }