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 Rules in Oracle Cloud Infrastructure Events service.
 *
 * Lists rules for this compartment.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testRules = oci.events.getRules({
 *     compartmentId: compartmentId,
 *     displayName: ruleDisplayName,
 *     state: ruleState,
 * });
 * ```
 */
export declare function getRules(args: GetRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetRulesResult>;
/**
 * A collection of arguments for invoking getRules.
 */
export interface GetRulesArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs.
     */
    compartmentId: string;
    /**
     * A filter to return only rules with descriptions that match the displayName string in this parameter.  Example: `"This rule sends a notification upon completion of DbaaS backup."`
     */
    displayName?: string;
    filters?: inputs.Events.GetRulesFilter[];
    /**
     * A filter to return only rules that match the lifecycle state in this parameter.  Example: `Creating`
     */
    state?: string;
}
/**
 * A collection of values returned by getRules.
 */
export interface GetRulesResult {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs.
     */
    readonly compartmentId: string;
    /**
     * A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information.  Example: `"This rule sends a notification upon completion of DbaaS backup."`
     */
    readonly displayName?: string;
    readonly filters?: outputs.Events.GetRulesFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The list of rules.
     */
    readonly rules: outputs.Events.GetRulesRule[];
    /**
     * The current state of the rule.
     */
    readonly state?: string;
}
/**
 * This data source provides the list of Rules in Oracle Cloud Infrastructure Events service.
 *
 * Lists rules for this compartment.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testRules = oci.events.getRules({
 *     compartmentId: compartmentId,
 *     displayName: ruleDisplayName,
 *     state: ruleState,
 * });
 * ```
 */
export declare function getRulesOutput(args: GetRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRulesResult>;
/**
 * A collection of arguments for invoking getRules.
 */
export interface GetRulesOutputArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * A filter to return only rules with descriptions that match the displayName string in this parameter.  Example: `"This rule sends a notification upon completion of DbaaS backup."`
     */
    displayName?: pulumi.Input<string | undefined>;
    filters?: pulumi.Input<pulumi.Input<inputs.Events.GetRulesFilterArgs>[] | undefined>;
    /**
     * A filter to return only rules that match the lifecycle state in this parameter.  Example: `Creating`
     */
    state?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getRules.d.ts.map