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 Alert Policy Rules in Oracle Cloud Infrastructure Data Safe service. * * Lists the rules of the specified alert policy. The alert policy is said to be satisfied when all rules in the policy evaulate to true. * If there are three rules: rule1,rule2 and rule3, the policy is satisfied if rule1 AND rule2 AND rule3 is True. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAlertPolicyRules = oci.datasafe.getAlertPolicyRules({ * alertPolicyId: testAlertPolicy.id, * }); * ``` */ export declare function getAlertPolicyRules(args: GetAlertPolicyRulesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAlertPolicyRules. */ export interface GetAlertPolicyRulesArgs { /** * The OCID of the alert policy. */ alertPolicyId: string; filters?: inputs.DataSafe.GetAlertPolicyRulesFilter[]; } /** * A collection of values returned by getAlertPolicyRules. */ export interface GetAlertPolicyRulesResult { readonly alertPolicyId: string; /** * The list of alert_policy_rule_collection. */ readonly alertPolicyRuleCollections: outputs.DataSafe.GetAlertPolicyRulesAlertPolicyRuleCollection[]; readonly filters?: outputs.DataSafe.GetAlertPolicyRulesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of Alert Policy Rules in Oracle Cloud Infrastructure Data Safe service. * * Lists the rules of the specified alert policy. The alert policy is said to be satisfied when all rules in the policy evaulate to true. * If there are three rules: rule1,rule2 and rule3, the policy is satisfied if rule1 AND rule2 AND rule3 is True. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAlertPolicyRules = oci.datasafe.getAlertPolicyRules({ * alertPolicyId: testAlertPolicy.id, * }); * ``` */ export declare function getAlertPolicyRulesOutput(args: GetAlertPolicyRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAlertPolicyRules. */ export interface GetAlertPolicyRulesOutputArgs { /** * The OCID of the alert policy. */ alertPolicyId: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getAlertPolicyRules.d.ts.map