Get Prometheus Alert Rules Rule
data class GetPrometheusAlertRulesRule(val annotations: List<GetPrometheusAlertRulesRuleAnnotation>, val clusterId: String, val dispatchRuleId: String, val duration: String, val expression: String, val id: String, val labels: List<GetPrometheusAlertRulesRuleLabel>, val message: String, val notifyType: String, val prometheusAlertRuleId: String, val prometheusAlertRuleName: String, val status: Int, val type: String)
Constructors
Link copied to clipboard
constructor(annotations: List<GetPrometheusAlertRulesRuleAnnotation>, clusterId: String, dispatchRuleId: String, duration: String, expression: String, id: String, labels: List<GetPrometheusAlertRulesRuleLabel>, message: String, notifyType: String, prometheusAlertRuleId: String, prometheusAlertRuleName: String, status: Int, type: String)
Properties
Link copied to clipboard
The annotations of the alert rule.
Link copied to clipboard
The ID of the notification policy. This parameter is required when the notify_type
parameter is set to DISPATCH_RULE
.
Link copied to clipboard
The alert rule expression that follows the PromQL syntax..
Link copied to clipboard
The labels of the resource.
Link copied to clipboard
The method of sending the alert notification. Valid values: ALERT_MANAGER
, DISPATCH_RULE
.
Link copied to clipboard
The first ID of the resource.
Link copied to clipboard
The name of the resource.