Prometheus Alert Rule
Provides a Application Real-Time Monitoring Service (ARMS) Prometheus Alert Rule resource. For information about Application Real-Time Monitoring Service (ARMS) Prometheus Alert Rule and how to use it, see What is Prometheus Alert Rule.
NOTE: Available since v1.136.0.
Import
Application Real-Time Monitoring Service (ARMS) Prometheus Alert Rule can be imported using the id, e.g.
$ pulumi import alicloud:arms/prometheusAlertRule:PrometheusAlertRule example <cluster_id>:<prometheus_alert_rule_id>Properties
The annotations of the alert rule. See annotations below.
The ID of the notification policy. This parameter is required when the notify_type parameter is set to DISPATCH_RULE.
The alert rule expression that follows the PromQL syntax.
The labels of the resource. See labels below.
The method of sending the alert notification. Valid values: ALERT_MANAGER, DISPATCH_RULE.
The first ID of the resource.
The name of the resource.