import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Alert Policy resource in Oracle Cloud Infrastructure Data Safe service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/AlertPolicy
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe
 *
 * Creates a new user-defined alert policy.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testAlertPolicy = new oci.datasafe.AlertPolicy("test_alert_policy", {
 *     alertPolicyType: alertPolicyAlertPolicyType,
 *     compartmentId: compartmentId,
 *     severity: alertPolicySeverity,
 *     alertPolicyRuleDetails: [{
 *         expression: alertPolicyAlertPolicyRuleDetailsExpression,
 *         description: alertPolicyAlertPolicyRuleDetailsDescription,
 *         displayName: alertPolicyAlertPolicyRuleDetailsDisplayName,
 *     }],
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     description: alertPolicyDescription,
 *     displayName: alertPolicyDisplayName,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * AlertPolicies can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataSafe/alertPolicy:AlertPolicy test_alert_policy "id"
 * ```
 */
export declare class AlertPolicy extends pulumi.CustomResource {
    /**
     * Get an existing AlertPolicy resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlertPolicyState, opts?: pulumi.CustomResourceOptions): AlertPolicy;
    /**
     * Returns true if the given object is an instance of AlertPolicy.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is AlertPolicy;
    /**
     * The details of the alert policy rule.
     */
    readonly alertPolicyRuleDetails: pulumi.Output<outputs.DataSafe.AlertPolicyAlertPolicyRuleDetail[]>;
    /**
     * Indicates the Data Safe feature the alert policy belongs to
     */
    readonly alertPolicyType: pulumi.Output<string>;
    /**
     * (Updatable) The OCID of the compartment where you want to create the alert policy.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) The description of the alert policy.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Indicates if the alert policy is user-defined (true) or pre-defined (false).
     */
    readonly isUserDefined: pulumi.Output<boolean>;
    /**
     * Details about the current state of the alert policy.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * (Updatable) Severity level of the alert raised by this policy.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly severity: pulumi.Output<string>;
    /**
     * The current state of the alert.
     */
    readonly state: pulumi.Output<string>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a AlertPolicy resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: AlertPolicyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering AlertPolicy resources.
 */
export interface AlertPolicyState {
    /**
     * The details of the alert policy rule.
     */
    alertPolicyRuleDetails?: pulumi.Input<pulumi.Input<inputs.DataSafe.AlertPolicyAlertPolicyRuleDetail>[] | undefined>;
    /**
     * Indicates the Data Safe feature the alert policy belongs to
     */
    alertPolicyType?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the compartment where you want to create the alert policy.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The description of the alert policy.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Indicates if the alert policy is user-defined (true) or pre-defined (false).
     */
    isUserDefined?: pulumi.Input<boolean | undefined>;
    /**
     * Details about the current state of the alert policy.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Severity level of the alert raised by this policy.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    severity?: pulumi.Input<string | undefined>;
    /**
     * The current state of the alert.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a AlertPolicy resource.
 */
export interface AlertPolicyArgs {
    /**
     * The details of the alert policy rule.
     */
    alertPolicyRuleDetails?: pulumi.Input<pulumi.Input<inputs.DataSafe.AlertPolicyAlertPolicyRuleDetail>[] | undefined>;
    /**
     * Indicates the Data Safe feature the alert policy belongs to
     */
    alertPolicyType: pulumi.Input<string>;
    /**
     * (Updatable) The OCID of the compartment where you want to create the alert policy.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The description of the alert policy.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Severity level of the alert raised by this policy.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    severity: pulumi.Input<string>;
}
//# sourceMappingURL=alertPolicy.d.ts.map