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 Protection Capabilities in Oracle Cloud Infrastructure Waf service. * * Lists of protection capabilities filtered by query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProtectionCapabilities = oci.waf.getProtectionCapabilities({ * compartmentId: compartmentId, * displayName: protectionCapabilityDisplayName, * groupTags: protectionCapabilityGroupTag, * isLatestVersions: protectionCapabilityIsLatestVersion, * key: protectionCapabilityKey, * type: protectionCapabilityType, * }); * ``` */ export declare function getProtectionCapabilities(args: GetProtectionCapabilitiesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProtectionCapabilities. */ export interface GetProtectionCapabilitiesArgs { /** * 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.GetProtectionCapabilitiesFilter[]; /** * A filter to return only resources that are accociated given group tag. */ groupTags?: string[]; /** * A filter to return only resources that matches given isLatestVersion. */ isLatestVersions?: boolean[]; /** * The unique key of protection capability to filter by. */ key?: string; /** * A filter to return only resources that matches given type. */ type?: string; } /** * A collection of values returned by getProtectionCapabilities. */ export interface GetProtectionCapabilitiesResult { readonly compartmentId: string; /** * The display name of protection capability. */ readonly displayName?: string; readonly filters?: outputs.Waf.GetProtectionCapabilitiesFilter[]; readonly groupTags?: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The field that shows if this is the latest version of protection capability. */ readonly isLatestVersions?: boolean[]; /** * Unique key of protection capability. */ readonly key?: string; /** * The list of protection_capability_collection. */ readonly protectionCapabilityCollections: outputs.Waf.GetProtectionCapabilitiesProtectionCapabilityCollection[]; /** * The type of protection capability. * * **REQUEST_PROTECTION_CAPABILITY** can only be used in `requestProtection` module of WebAppFirewallPolicy. * * **RESPONSE_PROTECTION_CAPABILITY** can only be used in `responseProtection` module of WebAppFirewallPolicy. */ readonly type?: string; } /** * This data source provides the list of Protection Capabilities in Oracle Cloud Infrastructure Waf service. * * Lists of protection capabilities filtered by query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProtectionCapabilities = oci.waf.getProtectionCapabilities({ * compartmentId: compartmentId, * displayName: protectionCapabilityDisplayName, * groupTags: protectionCapabilityGroupTag, * isLatestVersions: protectionCapabilityIsLatestVersion, * key: protectionCapabilityKey, * type: protectionCapabilityType, * }); * ``` */ export declare function getProtectionCapabilitiesOutput(args: GetProtectionCapabilitiesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProtectionCapabilities. */ export interface GetProtectionCapabilitiesOutputArgs { /** * 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 resources that are accociated given group tag. */ groupTags?: pulumi.Input[] | undefined>; /** * A filter to return only resources that matches given isLatestVersion. */ isLatestVersions?: pulumi.Input[] | undefined>; /** * The unique key of protection capability to filter by. */ key?: pulumi.Input; /** * A filter to return only resources that matches given type. */ type?: pulumi.Input; } //# sourceMappingURL=getProtectionCapabilities.d.ts.map