import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Occ Metric Alarm resource in Oracle Cloud Infrastructure Demand Signal service. * * Retrieves the specified OccMetricAlarm resource based on its identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccMetricAlarm = oci.demandsignal.getOccMetricAlarm({ * occMetricAlarmId: testOccMetricAlarmOciDemandSignalOccMetricAlarm.id, * }); * ``` */ export declare function getOccMetricAlarm(args: GetOccMetricAlarmArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOccMetricAlarm. */ export interface GetOccMetricAlarmArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OccMetricAlarm. */ occMetricAlarmId: string; } /** * A collection of values returned by getOccMetricAlarm. */ export interface GetOccMetricAlarmResult { /** * Compartment OCID in which the alarm is created. */ readonly compartmentId: string; /** * 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: { [key: string]: string; }; /** * Optional description for the alarm. */ readonly description: string; /** * Human-readable name for the alarm. */ readonly displayName: string; /** * 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: { [key: string]: string; }; /** * Frequency at which notifications should be sent. */ readonly frequency: string; /** * Unique OCID for this alarm configuration. */ readonly id: string; /** * Alarm active status. */ readonly isActive: boolean; readonly occMetricAlarmId: string; /** * Configuration for a given 'resource' */ readonly resourceConfigurations: outputs.DemandSignal.GetOccMetricAlarmResourceConfiguration[]; /** * The current lifecycle state of the resource. */ readonly state: string; /** * List of topic OCIDs for notifications. */ readonly subscribers: string[]; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * Threshold at which alarm must be triggered. */ readonly threshold: number; /** * Units in which threshold is being stored. */ readonly thresholdType: string; /** * Creation timestamp (RFC 3339). */ readonly timeCreated: string; /** * Last update timestamp (RFC 3339). */ readonly timeUpdated: string; } /** * This data source provides details about a specific Occ Metric Alarm resource in Oracle Cloud Infrastructure Demand Signal service. * * Retrieves the specified OccMetricAlarm resource based on its identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccMetricAlarm = oci.demandsignal.getOccMetricAlarm({ * occMetricAlarmId: testOccMetricAlarmOciDemandSignalOccMetricAlarm.id, * }); * ``` */ export declare function getOccMetricAlarmOutput(args: GetOccMetricAlarmOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOccMetricAlarm. */ export interface GetOccMetricAlarmOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OccMetricAlarm. */ occMetricAlarmId: pulumi.Input; } //# sourceMappingURL=getOccMetricAlarm.d.ts.map