import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustDnsLocation = new cloudflare.ZeroTrustDnsLocation("example_zero_trust_dns_location", { * accountId: "699d98642c564d2e855e9661899b7252", * name: "Austin Office Location", * clientDefault: false, * dnsDestinationIpsId: "0e4a32c6-6fb8-4858-9296-98f51631e8e6", * ecsSupport: false, * endpoints: { * doh: { * enabled: true, * networks: [{ * network: "2001:85a3::/64", * }], * requireToken: true, * }, * dot: { * enabled: true, * networks: [{ * network: "2001:85a3::/64", * }], * }, * ipv4: { * enabled: true, * }, * ipv6: { * enabled: true, * networks: [{ * network: "2001:85a3::/64", * }], * }, * }, * networks: [{ * network: "192.0.2.1/32", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/zeroTrustDnsLocation:ZeroTrustDnsLocation example '/' * ``` */ export declare class ZeroTrustDnsLocation extends pulumi.CustomResource { /** * Get an existing ZeroTrustDnsLocation 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?: ZeroTrustDnsLocationState, opts?: pulumi.CustomResourceOptions): ZeroTrustDnsLocation; /** * Returns true if the given object is an instance of ZeroTrustDnsLocation. 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 ZeroTrustDnsLocation; readonly accountId: pulumi.Output; /** * True if the location is the default location. */ readonly clientDefault: pulumi.Output; readonly createdAt: pulumi.Output; /** * The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged. */ readonly dnsDestinationIpsId: pulumi.Output; /** * The uuid identifier of the IPv6 block brought to the gateway, so that this location's IPv6 address is allocated from the Bring Your Own Ipv6(BYOIPv6) block and not from the standard CloudFlare IPv6 block. */ readonly dnsDestinationIpv6BlockId: pulumi.Output; /** * The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway. */ readonly dohSubdomain: pulumi.Output; /** * True if the location needs to resolve EDNS queries. */ readonly ecsSupport: pulumi.Output; /** * The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged. */ readonly endpoints: pulumi.Output; /** * IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway. */ readonly ip: pulumi.Output; /** * The primary destination IPv4 address from the pair identified by the dns*destination*ips_id. This field is read-only. */ readonly ipv4Destination: pulumi.Output; /** * The backup destination IPv4 address from the pair identified by the dns*destination*ips_id. This field is read-only. */ readonly ipv4DestinationBackup: pulumi.Output; /** * The name of the location. */ readonly name: pulumi.Output; /** * A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location. */ readonly networks: pulumi.Output; readonly updatedAt: pulumi.Output; /** * Create a ZeroTrustDnsLocation 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: ZeroTrustDnsLocationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZeroTrustDnsLocation resources. */ export interface ZeroTrustDnsLocationState { accountId?: pulumi.Input; /** * True if the location is the default location. */ clientDefault?: pulumi.Input; createdAt?: pulumi.Input; /** * The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged. */ dnsDestinationIpsId?: pulumi.Input; /** * The uuid identifier of the IPv6 block brought to the gateway, so that this location's IPv6 address is allocated from the Bring Your Own Ipv6(BYOIPv6) block and not from the standard CloudFlare IPv6 block. */ dnsDestinationIpv6BlockId?: pulumi.Input; /** * The DNS over HTTPS domain to send DNS requests to. This field is auto-generated by Gateway. */ dohSubdomain?: pulumi.Input; /** * True if the location needs to resolve EDNS queries. */ ecsSupport?: pulumi.Input; /** * The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged. */ endpoints?: pulumi.Input; /** * IPV6 destination ip assigned to this location. DNS requests sent to this IP will counted as the request under this location. This field is auto-generated by Gateway. */ ip?: pulumi.Input; /** * The primary destination IPv4 address from the pair identified by the dns*destination*ips_id. This field is read-only. */ ipv4Destination?: pulumi.Input; /** * The backup destination IPv4 address from the pair identified by the dns*destination*ips_id. This field is read-only. */ ipv4DestinationBackup?: pulumi.Input; /** * The name of the location. */ name?: pulumi.Input; /** * A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location. */ networks?: pulumi.Input[]>; updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a ZeroTrustDnsLocation resource. */ export interface ZeroTrustDnsLocationArgs { accountId: pulumi.Input; /** * True if the location is the default location. */ clientDefault?: pulumi.Input; /** * The identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set with null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if the field is absent or set with null, the pre-assigned pair remains unchanged. */ dnsDestinationIpsId?: pulumi.Input; /** * True if the location needs to resolve EDNS queries. */ ecsSupport?: pulumi.Input; /** * The destination endpoints configured for this location. When updating a location, if this field is absent or set with null, the endpoints configuration remains unchanged. */ endpoints?: pulumi.Input; /** * The name of the location. */ name: pulumi.Input; /** * A list of network ranges that requests from this location would originate from. A non-empty list is only effective if the ipv4 endpoint is enabled for this location. */ networks?: pulumi.Input[]>; }