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 Firewalls in Oracle Cloud Infrastructure Waf service. * * Gets a list of all WebAppFirewalls in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWebAppFirewalls = oci.waf.getFirewalls({ * compartmentId: compartmentId, * displayName: webAppFirewallDisplayName, * id: webAppFirewallId, * states: webAppFirewallState, * webAppFirewallPolicyId: testWebAppFirewallPolicy.id, * }); * ``` */ export declare function getFirewalls(args: GetFirewallsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFirewalls. */ export interface GetFirewallsArgs { /** * 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.GetFirewallsFilter[]; /** * A filter to return only the WebAppFirewall 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 filter to return only the WebAppFirewall with the given [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of related WebAppFirewallPolicy. */ webAppFirewallPolicyId?: string; } /** * A collection of values returned by getFirewalls. */ export interface GetFirewallsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * WebAppFirewall display name, can be renamed. */ readonly displayName?: string; readonly filters?: outputs.Waf.GetFirewallsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the WebAppFirewall. */ readonly id?: string; /** * The current state of the WebAppFirewall. */ readonly states?: string[]; /** * The list of web_app_firewall_collection. */ readonly webAppFirewallCollections: outputs.Waf.GetFirewallsWebAppFirewallCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of WebAppFirewallPolicy, which is attached to the resource. */ readonly webAppFirewallPolicyId?: string; } /** * This data source provides the list of Web App Firewalls in Oracle Cloud Infrastructure Waf service. * * Gets a list of all WebAppFirewalls in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWebAppFirewalls = oci.waf.getFirewalls({ * compartmentId: compartmentId, * displayName: webAppFirewallDisplayName, * id: webAppFirewallId, * states: webAppFirewallState, * webAppFirewallPolicyId: testWebAppFirewallPolicy.id, * }); * ``` */ export declare function getFirewallsOutput(args: GetFirewallsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFirewalls. */ export interface GetFirewallsOutputArgs { /** * 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 WebAppFirewall 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>; /** * A filter to return only the WebAppFirewall with the given [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of related WebAppFirewallPolicy. */ webAppFirewallPolicyId?: pulumi.Input; } //# sourceMappingURL=getFirewalls.d.ts.map