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.",
25
+
Type: schema.TypeBool,
26
+
Optional: true,
27
+
Default: false,
28
+
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.",
31
+
Type: schema.TypeBool,
32
+
Optional: true,
33
+
Default: false,
34
+
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.",
36
35
},
37
36
"version": {
38
37
Type: schema.TypeInt,
@@ -59,35 +58,13 @@ 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.",
25
+
Type: schema.TypeBool,
26
+
Optional: true,
27
+
Default: false,
28
+
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.",
31
+
Type: schema.TypeBool,
32
+
Optional: true,
33
+
Default: false,
34
+
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.",
36
35
},
37
36
"version": {
38
37
Type: schema.TypeInt,
@@ -59,35 +58,13 @@ func secureNotificationChannelFromResourceData(d *schema.ResourceData, teamID in
Copy file name to clipboardExpand all lines: website/docs/r/monitor_alert_v2_change.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ 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
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
+
*`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.
80
80
*`main_threshold` - (Optional) Whether this notification channel is used for the main threshold of the alert. Default: `true`.
81
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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ 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
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
+
*`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.
Copy file name to clipboardExpand all lines: website/docs/r/monitor_alert_v2_event.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ 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
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
+
*`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.
78
78
*`main_threshold` - (Optional) Whether this notification channel is used for the main threshold of the alert. Default: `true`.
79
79
*`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_form_based_prometheus.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ 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
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
+
*`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.
59
59
*`main_threshold` - (Optional) Whether this notification channel is used for the main threshold of the alert. Default: `true`.
60
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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ 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
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
+
*`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.
80
80
*`main_threshold` - (Optional) Whether this notification channel is used for the main threshold of the alert. Default: `true`.
81
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_metric.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ It is a list of objects with the following fields:
91
91
*`id` - (Required) The ID of the notification channel.
92
92
*`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`.
93
93
*`notify_on_resolve` - (Optional) Whether to send a notification when the alert is resolved. Default: `true`.
94
-
*`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.
94
+
*`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.
95
95
*`main_threshold` - (Optional) Whether this notification channel is used for the main threshold of the alert. Default: `true`.
96
96
*`warning_threshold` - (Optional) Whether this notification channel is used for the warning threshold of the alert. Default: `false`.
0 commit comments