import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "./types"; /** * Use this data source to look up [WAF Rule Packages](https://api.cloudflare.com/#waf-rule-packages-properties). * * ## Example Usage * * The example below matches all `high` sensitivity WAF Rule Packages, with a `challenge` action mode and an `anomaly` detection mode, that contain the word `example`. The matched WAF Rule Packages are then returned as output. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const test = cloudflare.getWafPackages({ * filter: { * name: ".*example.*", * detectionMode: "anomaly", * sensitivity: "high", * actionMode: "challenge", * }, * }); * export const wafPackages = test.then(test => test.packages); * ``` */ export declare function getWafPackages(args: GetWafPackagesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWafPackages. */ export interface GetWafPackagesArgs { /** * One or more values used to look up WAF Rule Packages. If more than one value is given all * values must match in order to be included, see below for full list. */ filter?: inputs.GetWafPackagesFilter; /** * The ID of the DNS zone in which to search for the WAF Rule Packages. */ zoneId: string; } /** * A collection of values returned by getWafPackages. */ export interface GetWafPackagesResult { readonly filter?: outputs.GetWafPackagesFilter; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A map of WAF Rule Packages details. Full list below: */ readonly packages: outputs.GetWafPackagesPackage[]; readonly zoneId: string; } export declare function getWafPackagesOutput(args: GetWafPackagesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getWafPackages. */ export interface GetWafPackagesOutputArgs { /** * One or more values used to look up WAF Rule Packages. If more than one value is given all * values must match in order to be included, see below for full list. */ filter?: pulumi.Input; /** * The ID of the DNS zone in which to search for the WAF Rule Packages. */ zoneId: pulumi.Input; }