import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Web App Firewall Policies in Oracle Cloud Infrastructure Waf service. * * Gets a list of all WebAppFirewallPolicies in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWebAppFirewallPolicies = oci.waf.getWebAppFirewallPolicies({ * compartmentId: compartmentId, * displayName: webAppFirewallPolicyDisplayName, * id: webAppFirewallPolicyId, * states: webAppFirewallPolicyState, * }); * ``` */ export declare function getWebAppFirewallPolicies(args: GetWebAppFirewallPoliciesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWebAppFirewallPolicies. */ export interface GetWebAppFirewallPoliciesArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.Waf.GetWebAppFirewallPoliciesFilter[]; /** * A filter to return only the WebAppFirewallPolicy with the given [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ id?: string; /** * A filter to return only resources that match the given lifecycleState. */ states?: string[]; } /** * A collection of values returned by getWebAppFirewallPolicies. */ export interface GetWebAppFirewallPoliciesResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * WebAppFirewallPolicy display name, can be renamed. */ readonly displayName?: string; readonly filters?: outputs.Waf.GetWebAppFirewallPoliciesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the WebAppFirewallPolicy. */ readonly id?: string; /** * The current state of the WebAppFirewallPolicy. */ readonly states?: string[]; /** * The list of web_app_firewall_policy_collection. */ readonly webAppFirewallPolicyCollections: outputs.Waf.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollection[]; } /** * This data source provides the list of Web App Firewall Policies in Oracle Cloud Infrastructure Waf service. * * Gets a list of all WebAppFirewallPolicies in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWebAppFirewallPolicies = oci.waf.getWebAppFirewallPolicies({ * compartmentId: compartmentId, * displayName: webAppFirewallPolicyDisplayName, * id: webAppFirewallPolicyId, * states: webAppFirewallPolicyState, * }); * ``` */ export declare function getWebAppFirewallPoliciesOutput(args: GetWebAppFirewallPoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWebAppFirewallPolicies. */ export interface GetWebAppFirewallPoliciesOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only the WebAppFirewallPolicy with the given [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ id?: pulumi.Input; /** * A filter to return only resources that match the given lifecycleState. */ states?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getWebAppFirewallPolicies.d.ts.map