import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the [IP ranges](https://www.cloudflare.com/ips/) of Cloudflare edge nodes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * import * as gcp from "@pulumi/gcp"; * * const cloudflare = cloudflare.getIpRanges({}); * const allowCloudflareIngress = new gcp.compute.Firewall("allowCloudflareIngress", { * network: "default", * sourceRanges: cloudflare.then(cloudflare => cloudflare.ipv4CidrBlocks), * allows: [{ * ports: "443", * protocol: "tcp", * }], * }); * ``` */ export declare function getIpRanges(opts?: pulumi.InvokeOptions): Promise; /** * A collection of values returned by getIpRanges. */ export interface GetIpRangesResult { /** * The lexically ordered list of only the IPv4 China CIDR blocks. */ readonly chinaIpv4CidrBlocks: string[]; /** * The lexically ordered list of only the IPv6 China CIDR blocks. */ readonly chinaIpv6CidrBlocks: string[]; /** * The lexically ordered list of all non-China CIDR blocks. */ readonly cidrBlocks: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The lexically ordered list of only the IPv4 CIDR blocks. */ readonly ipv4CidrBlocks: string[]; /** * The lexically ordered list of only the IPv6 CIDR blocks. */ readonly ipv6CidrBlocks: string[]; }