import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. * * Gets a Alarm Condition by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMonitoringTemplateAlarmCondition = oci.stackmonitoring.getMonitoringTemplateAlarmCondition({ * alarmConditionId: testAlarmCondition.id, * monitoringTemplateId: testMonitoringTemplate.id, * }); * ``` */ export declare function getMonitoringTemplateAlarmCondition(args: GetMonitoringTemplateAlarmConditionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMonitoringTemplateAlarmCondition. */ export interface GetMonitoringTemplateAlarmConditionArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. */ alarmConditionId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. */ monitoringTemplateId: string; } /** * A collection of values returned by getMonitoringTemplateAlarmCondition. */ export interface GetMonitoringTemplateAlarmConditionResult { readonly alarmConditionId: string; /** * The OCID of the composite resource type like EBS/PEOPLE_SOFT. */ readonly compositeType: string; /** * Type of defined monitoring template. */ readonly conditionType: string; /** * Monitoring template conditions */ readonly conditions: outputs.StackMonitoring.GetMonitoringTemplateAlarmConditionCondition[]; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Alarm Condition. */ readonly id: string; /** * The metric name. */ readonly metricName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. */ readonly monitoringTemplateId: string; /** * The stack monitoring service or application emitting the metric that is evaluated by the alarm. */ readonly namespace: string; /** * The resource type OCID. */ readonly resourceType: string; /** * The current lifecycle state of the monitoring template */ readonly state: string; /** * The current status of the monitoring template i.e. whether it is Published or Unpublished */ readonly status: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the alarm condition was created. Format defined by RFC3339. */ readonly timeCreated: string; /** * The date and time the alarm condition was updated. Format defined by RFC3339. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Monitoring Template Alarm Condition resource in Oracle Cloud Infrastructure Stack Monitoring service. * * Gets a Alarm Condition by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMonitoringTemplateAlarmCondition = oci.stackmonitoring.getMonitoringTemplateAlarmCondition({ * alarmConditionId: testAlarmCondition.id, * monitoringTemplateId: testMonitoringTemplate.id, * }); * ``` */ export declare function getMonitoringTemplateAlarmConditionOutput(args: GetMonitoringTemplateAlarmConditionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMonitoringTemplateAlarmCondition. */ export interface GetMonitoringTemplateAlarmConditionOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm condition. */ alarmConditionId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. */ monitoringTemplateId: pulumi.Input; } //# sourceMappingURL=getMonitoringTemplateAlarmCondition.d.ts.map