Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 2afa96c

Browse files
Merge pull request #133 from grafana/grobinson/alerting-add-is-paused-to-grafana-api-golang-client
Alerting: Add IsPaused field for alert rules
2 parents 23a328d + b816f5e commit 2afa96c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alerting_alert_rule.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ type AlertRule struct {
2525
For string `json:"for"`
2626
ForDuration time.Duration `json:"-"`
2727
Provenance string `json:"provenance"`
28+
IsPaused bool `json:"isPaused"`
2829
}
2930

3031
// RuleGroup represents a group of rules in Grafana Alerting.

0 commit comments

Comments
 (0)