You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecated: "The notify_when_ok field is deprecated and will be removed in a future version. This flag has been replaced by the `notify_on_resolve` field inside `notification_channels` when defining an alert resource.",
Deprecated: "The notify_when_resolved field is deprecated and will be removed in a future version. This flag has been replaced by the `notify_on_acknowledge` field inside `notification_channels` when defining an alert resource.",
33
36
},
34
37
"version": {
35
38
Type: schema.TypeInt,
@@ -56,13 +59,35 @@ func monitorNotificationChannelFromResourceData(d *schema.ResourceData, teamID i
Deprecated: "The notify_when_ok field is deprecated and will be removed in a future version. This flag has been replaced by the `notify_on_resolve` field inside `notification_channels` when defining an alert resource.",
Deprecated: "The notify_when_resolved field is deprecated and will be removed in a future version. This flag has been replaced by the `notify_on_acknowledge` field inside `notification_channels` when defining an alert resource.",
33
36
},
34
37
"version": {
35
38
Type: schema.TypeInt,
@@ -56,13 +59,35 @@ func secureNotificationChannelFromResourceData(d *schema.ResourceData, teamID in
Copy file name to clipboardExpand all lines: website/docs/r/monitor_alert_v2_change.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,8 @@ By defining this field, the user can choose to which notification channels send
75
75
It is a list of objects with the following fields:
76
76
*`id` - (Required) The ID of the notification channel.
77
77
*`renotify_every_minutes` - (Optional) the amount of minutes to wait before re sending the notification to this channel. `0` means no renotification enabled. Default: `0`.
78
-
*`notify_on_resolve` - (Optional) Wether to send a notification when the alert is resolved. Default: `true`.
78
+
*`notify_on_resolve` - (Optional) Whether to send a notification when the alert is resolved. Default: `true`.
79
+
*`notify_on_acknowledge` - (Optional) Whether to send a notification when the alert is acknowledged. If not defined, this option is inherited from the `notify_when_resolved` option from the specific notification channel selected. If it is not defined there, the default is to send notification on acknowledgement.
79
80
*`main_threshold` - (Optional) Whether this notification channel is used for the main threshold of the alert. Default: `true`.
80
81
*`warning_threshold` - (Optional) Whether this notification channel is used for the warning threshold of the alert. Default: `false`.
Copy file name to clipboardExpand all lines: website/docs/r/monitor_alert_v2_downtime.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,8 @@ By defining this field, the user can choose to which notification channels send
63
63
It is a list of objects with the following fields:
64
64
*`id` - (Required) The ID of the notification channel.
65
65
*`renotify_every_minutes` - (Optional) the amount of minutes to wait before re sending the notification to this channel. `0` means no renotification enabled. Default: `0`.
66
-
*`notify_on_resolve` - (Optional) Wether to send a notification when the alert is resolved. Default: `true`.
66
+
*`notify_on_resolve` - (Optional) Whether to send a notification when the alert is resolved. Default: `true`.
67
+
*`notify_on_acknowledge` - (Optional) Whether to send a notification when the alert is acknowledged. If not defined, this option is inherited from the `notify_when_resolved` option from the specific notification channel selected. If it is not defined there, the default is to send notification on acknowledgement.
67
68
68
69
### `custom_notification`
69
70
@@ -94,7 +95,7 @@ Enables the creation of a capture file of the syscalls during the event.
94
95
*`duration_seconds` - (Optional) Time frame of the capture. Default: `15`.
95
96
*`storage` - (Optional) Custom bucket where to save the capture.
96
97
*`filter` - (Optional) Additional filter to apply to the capture. For example: `proc.name contains nginx`.
97
-
*`enabled` - (Optional) Wether to enable captures. Default: `true`.
98
+
*`enabled` - (Optional) Whether to enable captures. Default: `true`.
Copy file name to clipboardExpand all lines: website/docs/r/monitor_alert_v2_event.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,8 @@ By defining this field, the user can choose to which notification channels send
73
73
It is a list of objects with the following fields:
74
74
*`id` - (Required) The ID of the notification channel.
75
75
*`renotify_every_minutes` - (Optional) the amount of minutes to wait before re sending the notification to this channel. `0` means no renotification enabled. Default: `0`.
76
-
*`notify_on_resolve` - (Optional) Wether to send a notification when the alert is resolved. Default: `true`.
76
+
*`notify_on_resolve` - (Optional) Whether to send a notification when the alert is resolved. Default: `true`.
77
+
*`notify_on_acknowledge` - (Optional) Whether to send a notification when the alert is acknowledged. If not defined, this option is inherited from the `notify_when_resolved` option from the specific notification channel selected. If it is not defined there, the default is to send notification on acknowledgement.
77
78
*`main_threshold` - (Optional) Whether this notification channel is used for the main threshold of the alert. Default: `true`.
78
79
*`warning_threshold` - (Optional) Whether this notification channel is used for the warning threshold of the alert. Default: `false`.
79
80
@@ -106,7 +107,7 @@ Enables the creation of a capture file of the syscalls during the event.
106
107
*`duration_seconds` - (Optional) Time frame of the capture. Default: `15`.
107
108
*`storage` - (Optional) Custom bucket where to save the capture.
108
109
*`filter` - (Optional) Additional filter to apply to the capture. For example: `proc.name contains nginx`.
109
-
*`enabled` - (Optional) Wether to enable captures. Default: `true`.
110
+
*`enabled` - (Optional) Whether to enable captures. Default: `true`.
Copy file name to clipboardExpand all lines: website/docs/r/monitor_alert_v2_form_based_prometheus.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,8 @@ By defining this field, the user can choose to which notification channels send
54
54
It is a list of objects with the following fields:
55
55
*`id` - (Required) The ID of the notification channel.
56
56
*`renotify_every_minutes` - (Optional) the amount of minutes to wait before re sending the notification to this channel. `0` means no renotification enabled.
57
-
*`notify_on_resolve` - (Optional) Wether to send a notification when the alert is resolved. Default: `true`.
57
+
*`notify_on_resolve` - (Optional) Whether to send a notification when the alert is resolved. Default: `true`.
58
+
*`notify_on_acknowledge` - (Optional) Whether to send a notification when the alert is acknowledged. If not defined, this option is inherited from the `notify_when_resolved` option from the specific notification channel selected. If it is not defined there, the default is to send notification on acknowledgement.
58
59
*`main_threshold` - (Optional) Whether this notification channel is used for the main threshold of the alert. Default: `true`.
59
60
*`warning_threshold` - (Optional) Whether this notification channel is used for the warning threshold of the alert. Default: `false`.
Copy file name to clipboardExpand all lines: website/docs/r/monitor_alert_v2_group_outlier.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,8 @@ By defining this field, the user can choose to which notification channels send
75
75
It is a list of objects with the following fields:
76
76
*`id` - (Required) The ID of the notification channel.
77
77
*`renotify_every_minutes` - (Optional) the amount of minutes to wait before re sending the notification to this channel. `0` means no renotification enabled. Default: `0`.
78
-
*`notify_on_resolve` - (Optional) Wether to send a notification when the alert is resolved. Default: `true`.
78
+
*`notify_on_resolve` - (Optional) Whether to send a notification when the alert is resolved. Default: `true`.
79
+
*`notify_on_acknowledge` - (Optional) Whether to send a notification when the alert is acknowledged. If not defined, this option is inherited from the `notify_when_resolved` option from the specific notification channel selected. If it is not defined there, the default is to send notification on acknowledgement.
79
80
*`main_threshold` - (Optional) Whether this notification channel is used for the main threshold of the alert. Default: `true`.
80
81
*`warning_threshold` - (Optional) Whether this notification channel is used for the warning threshold of the alert. Default: `false`.
81
82
@@ -108,7 +109,7 @@ Enables the creation of a capture file of the syscalls during the event.
108
109
*`duration_seconds` - (Optional) Time frame of the capture. Default: `15`.
109
110
*`storage` - (Optional) Custom bucket where to save the capture.
110
111
*`filter` - (Optional) Additional filter to apply to the capture. For example: `proc.name contains nginx`.
111
-
*`enabled` - (Optional) Wether to enable captures. Default: `true`.
112
+
*`enabled` - (Optional) Whether to enable captures. Default: `true`.
0 commit comments