import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Occ Metric Alarm resource in Oracle Cloud Infrastructure Demand Signal service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/occds/latest/OccMetricAlarm
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/demand_signal
 *
 * Creates a new OccMetricAlarm resource in the specified compartment with the provided configuration details.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testOccMetricAlarm = new oci.demandsignal.OccMetricAlarm("test_occ_metric_alarm", {
 *     compartmentId: compartmentId,
 *     displayName: occMetricAlarmDisplayName,
 *     frequency: occMetricAlarmFrequency,
 *     isActive: occMetricAlarmIsActive === "true",
 *     resourceConfiguration: {
 *         resource: occMetricAlarmResourceConfigurationResource,
 *         usageType: occMetricAlarmResourceConfigurationUsageType,
 *         computeHwGeneration: occMetricAlarmResourceConfigurationComputeHwGeneration,
 *         hwGeneration: occMetricAlarmResourceConfigurationHwGeneration,
 *         linkRole: occMetricAlarmResourceConfigurationLinkRole,
 *         nodeType: occMetricAlarmResourceConfigurationNodeType,
 *         occMetricAlarmProvider: occMetricAlarmResourceConfigurationOccMetricAlarmProvider,
 *         shape: occMetricAlarmResourceConfigurationShape,
 *         storageType: occMetricAlarmResourceConfigurationStorageType,
 *     },
 *     threshold: Number(occMetricAlarmThreshold),
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     description: occMetricAlarmDescription,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     state: occMetricAlarmState,
 *     subscribers: occMetricAlarmSubscribers,
 *     thresholdType: occMetricAlarmThresholdType,
 * });
 * ```
 *
 * ## Import
 *
 * OccMetricAlarms can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DemandSignal/occMetricAlarm:OccMetricAlarm test_occ_metric_alarm "id"
 * ```
 */
export declare class OccMetricAlarm extends pulumi.CustomResource {
    /**
     * Get an existing OccMetricAlarm 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?: OccMetricAlarmState, opts?: pulumi.CustomResourceOptions): OccMetricAlarm;
    /**
     * Returns true if the given object is an instance of OccMetricAlarm.  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 OccMetricAlarm;
    /**
     * Compartment OCID in which the alarm is created.
     */
    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) Optional description for the alarm.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) Human-readable name for the alarm.
     */
    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;
    }>;
    /**
     * (Updatable) Frequency at which notifications should be sent.
     */
    readonly frequency: pulumi.Output<string>;
    /**
     * (Updatable) Alarm active status.
     */
    readonly isActive: pulumi.Output<boolean>;
    /**
     * Configuration for a given 'resource'
     */
    readonly resourceConfiguration: pulumi.Output<outputs.DemandSignal.OccMetricAlarmResourceConfiguration>;
    /**
     * (Updatable) The current lifecycle state of the resource.
     */
    readonly state: pulumi.Output<string>;
    /**
     * (Updatable) List of topic OCIDs for notifications.
     */
    readonly subscribers: pulumi.Output<string[]>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) Threshold at which alarm must be triggered.
     */
    readonly threshold: pulumi.Output<number>;
    /**
     * (Updatable) Units in which threshold is being stored.
     *
     *
     * ** 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 thresholdType: pulumi.Output<string>;
    /**
     * Creation timestamp (RFC 3339).
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * Last update timestamp (RFC 3339).
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a OccMetricAlarm 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: OccMetricAlarmArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering OccMetricAlarm resources.
 */
export interface OccMetricAlarmState {
    /**
     * Compartment OCID in which the alarm is created.
     */
    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) Optional description for the alarm.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Human-readable name for the alarm.
     */
    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) Frequency at which notifications should be sent.
     */
    frequency?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Alarm active status.
     */
    isActive?: pulumi.Input<boolean | undefined>;
    /**
     * Configuration for a given 'resource'
     */
    resourceConfiguration?: pulumi.Input<inputs.DemandSignal.OccMetricAlarmResourceConfiguration | undefined>;
    /**
     * (Updatable) The current lifecycle state of the resource.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) List of topic OCIDs for notifications.
     */
    subscribers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Threshold at which alarm must be triggered.
     */
    threshold?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Units in which threshold is being stored.
     *
     *
     * ** 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
     */
    thresholdType?: pulumi.Input<string | undefined>;
    /**
     * Creation timestamp (RFC 3339).
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * Last update timestamp (RFC 3339).
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a OccMetricAlarm resource.
 */
export interface OccMetricAlarmArgs {
    /**
     * Compartment OCID in which the alarm is created.
     */
    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) Optional description for the alarm.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Human-readable name for the alarm.
     */
    displayName: pulumi.Input<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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Frequency at which notifications should be sent.
     */
    frequency: pulumi.Input<string>;
    /**
     * (Updatable) Alarm active status.
     */
    isActive: pulumi.Input<boolean>;
    /**
     * Configuration for a given 'resource'
     */
    resourceConfiguration: pulumi.Input<inputs.DemandSignal.OccMetricAlarmResourceConfiguration>;
    /**
     * (Updatable) The current lifecycle state of the resource.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) List of topic OCIDs for notifications.
     */
    subscribers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) Threshold at which alarm must be triggered.
     */
    threshold: pulumi.Input<number>;
    /**
     * (Updatable) Units in which threshold is being stored.
     *
     *
     * ** 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
     */
    thresholdType?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=occMetricAlarm.d.ts.map