import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access IP ranges in your firewall rules. * * https://cloud.google.com/compute/docs/load-balancing/health-checks#health_check_source_ips_and_firewall_rules * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const ranges = gcp.compute.getLBIPRanges({}); * const lb = new gcp.compute.Firewall("lb", { * name: "lb-firewall", * network: main.name, * allows: [{ * protocol: "tcp", * ports: ["80"], * }], * sourceRanges: ranges.then(ranges => ranges.networks), * targetTags: ["InstanceBehindLoadBalancer"], * }); * ``` */ export declare function getLBIPRanges(opts?: pulumi.InvokeOptions): Promise; /** * A collection of values returned by getLBIPRanges. */ export interface GetLBIPRangesResult { /** * The IP ranges used for health checks when **HTTP(S), SSL proxy, TCP proxy, and Internal load balancing** is used */ readonly httpSslTcpInternals: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The IP ranges used for health checks when **Network load balancing** is used */ readonly networks: string[]; } /** * Use this data source to access IP ranges in your firewall rules. * * https://cloud.google.com/compute/docs/load-balancing/health-checks#health_check_source_ips_and_firewall_rules * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const ranges = gcp.compute.getLBIPRanges({}); * const lb = new gcp.compute.Firewall("lb", { * name: "lb-firewall", * network: main.name, * allows: [{ * protocol: "tcp", * ports: ["80"], * }], * sourceRanges: ranges.then(ranges => ranges.networks), * targetTags: ["InstanceBehindLoadBalancer"], * }); * ``` */ export declare function getLBIPRangesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output;