Prometheus Alert Rule Args
data class PrometheusAlertRuleArgs(val annotations: Output<List<PrometheusAlertRuleAnnotationArgs>>? = null, val clusterId: Output<String>? = null, val dispatchRuleId: Output<String>? = null, val duration: Output<String>? = null, val expression: Output<String>? = null, val labels: Output<List<PrometheusAlertRuleLabelArgs>>? = null, val message: Output<String>? = null, val notifyType: Output<String>? = null, val prometheusAlertRuleName: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<PrometheusAlertRuleArgs>
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>
Content copied to clipboard
Constructors
Link copied to clipboard
fun PrometheusAlertRuleArgs(annotations: Output<List<PrometheusAlertRuleAnnotationArgs>>? = null, clusterId: Output<String>? = null, dispatchRuleId: Output<String>? = null, duration: Output<String>? = null, expression: Output<String>? = null, labels: Output<List<PrometheusAlertRuleLabelArgs>>? = null, message: Output<String>? = null, notifyType: Output<String>? = null, prometheusAlertRuleName: Output<String>? = null, type: Output<String>? = null)