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 Custom Protection Rules in Oracle Cloud Infrastructure Web Application Acceleration and Security service. * * Gets a list of custom protection rules for the specified Web Application Firewall. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCustomProtectionRules = oci.waas.getCustomProtectionRules({ * compartmentId: compartmentId, * displayNames: customProtectionRuleDisplayNames, * ids: customProtectionRuleIds, * states: customProtectionRuleStates, * timeCreatedGreaterThanOrEqualTo: customProtectionRuleTimeCreatedGreaterThanOrEqualTo, * timeCreatedLessThan: customProtectionRuleTimeCreatedLessThan, * }); * ``` */ export declare function getCustomProtectionRules(args: GetCustomProtectionRulesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCustomProtectionRules. */ export interface GetCustomProtectionRulesArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created. */ compartmentId: string; /** * Filter custom protection rules using a list of display names. */ displayNames?: string[]; filters?: inputs.Waas.GetCustomProtectionRulesFilter[]; /** * Filter custom protection rules using a list of custom protection rule OCIDs. */ ids?: string[]; /** * Filter Custom Protection rules using a list of lifecycle states. */ states?: string[]; /** * A filter that matches Custom Protection rules created on or after the specified date-time. */ timeCreatedGreaterThanOrEqualTo?: string; /** * A filter that matches custom protection rules created before the specified date-time. */ timeCreatedLessThan?: string; } /** * A collection of values returned by getCustomProtectionRules. */ export interface GetCustomProtectionRulesResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom protection rule's compartment. */ readonly compartmentId: string; /** * The list of custom_protection_rules. */ readonly customProtectionRules: outputs.Waas.GetCustomProtectionRulesCustomProtectionRule[]; readonly displayNames?: string[]; readonly filters?: outputs.Waas.GetCustomProtectionRulesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly states?: string[]; readonly timeCreatedGreaterThanOrEqualTo?: string; readonly timeCreatedLessThan?: string; } /** * This data source provides the list of Custom Protection Rules in Oracle Cloud Infrastructure Web Application Acceleration and Security service. * * Gets a list of custom protection rules for the specified Web Application Firewall. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCustomProtectionRules = oci.waas.getCustomProtectionRules({ * compartmentId: compartmentId, * displayNames: customProtectionRuleDisplayNames, * ids: customProtectionRuleIds, * states: customProtectionRuleStates, * timeCreatedGreaterThanOrEqualTo: customProtectionRuleTimeCreatedGreaterThanOrEqualTo, * timeCreatedLessThan: customProtectionRuleTimeCreatedLessThan, * }); * ``` */ export declare function getCustomProtectionRulesOutput(args: GetCustomProtectionRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCustomProtectionRules. */ export interface GetCustomProtectionRulesOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created. */ compartmentId: pulumi.Input; /** * Filter custom protection rules using a list of display names. */ displayNames?: pulumi.Input[] | undefined>; filters?: pulumi.Input[] | undefined>; /** * Filter custom protection rules using a list of custom protection rule OCIDs. */ ids?: pulumi.Input[] | undefined>; /** * Filter Custom Protection rules using a list of lifecycle states. */ states?: pulumi.Input[] | undefined>; /** * A filter that matches Custom Protection rules created on or after the specified date-time. */ timeCreatedGreaterThanOrEqualTo?: pulumi.Input; /** * A filter that matches custom protection rules created before the specified date-time. */ timeCreatedLessThan?: pulumi.Input; } //# sourceMappingURL=getCustomProtectionRules.d.ts.map