diff --git a/catchpoint/resource_api_test_type.go b/catchpoint/resource_api_test_type.go index 2e39f2c..b181c09 100644 --- a/catchpoint/resource_api_test_type.go +++ b/catchpoint/resource_api_test_type.go @@ -675,7 +675,7 @@ func resourceApiTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided", Elem: &schema.Resource{ diff --git a/catchpoint/resource_bgp_test_type.go b/catchpoint/resource_bgp_test_type.go index ce91a32..c97f144 100644 --- a/catchpoint/resource_bgp_test_type.go +++ b/catchpoint/resource_bgp_test_type.go @@ -247,7 +247,7 @@ func resourceBgpTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided", Elem: &schema.Resource{ diff --git a/catchpoint/resource_dns_test_type.go b/catchpoint/resource_dns_test_type.go index ec860ca..62b1f81 100644 --- a/catchpoint/resource_dns_test_type.go +++ b/catchpoint/resource_dns_test_type.go @@ -330,7 +330,7 @@ func resourceDnsTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided", Elem: &schema.Resource{ diff --git a/catchpoint/resource_ping_test_type.go b/catchpoint/resource_ping_test_type.go index 344eea6..edd8e41 100644 --- a/catchpoint/resource_ping_test_type.go +++ b/catchpoint/resource_ping_test_type.go @@ -320,7 +320,7 @@ func resourcePingTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided", Elem: &schema.Resource{ diff --git a/catchpoint/resource_playwright_test_type.go b/catchpoint/resource_playwright_test_type.go index 39b1ec5..5e6bf3b 100644 --- a/catchpoint/resource_playwright_test_type.go +++ b/catchpoint/resource_playwright_test_type.go @@ -679,7 +679,7 @@ func resourcePlaywrightTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided ", Elem: &schema.Resource{ diff --git a/catchpoint/resource_puppeteer_test_type.go b/catchpoint/resource_puppeteer_test_type.go index f82ab50..2895618 100644 --- a/catchpoint/resource_puppeteer_test_type.go +++ b/catchpoint/resource_puppeteer_test_type.go @@ -688,7 +688,7 @@ func resourcePuppeteerTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided", Elem: &schema.Resource{ diff --git a/catchpoint/resource_ssl_test_type.go b/catchpoint/resource_ssl_test_type.go index d471abe..ab50f29 100644 --- a/catchpoint/resource_ssl_test_type.go +++ b/catchpoint/resource_ssl_test_type.go @@ -332,7 +332,7 @@ func resourceSslTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided", Elem: &schema.Resource{ diff --git a/catchpoint/resource_traceroute_test_type.go b/catchpoint/resource_traceroute_test_type.go index c76eed5..6dffac7 100644 --- a/catchpoint/resource_traceroute_test_type.go +++ b/catchpoint/resource_traceroute_test_type.go @@ -325,7 +325,7 @@ func resourceTracerouteTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided", Elem: &schema.Resource{ diff --git a/catchpoint/resource_transaction_test_type.go b/catchpoint/resource_transaction_test_type.go index 75dc4ed..a7de9a0 100644 --- a/catchpoint/resource_transaction_test_type.go +++ b/catchpoint/resource_transaction_test_type.go @@ -688,7 +688,7 @@ func resourceTransactionTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided", Elem: &schema.Resource{ diff --git a/catchpoint/resource_web_test_type.go b/catchpoint/resource_web_test_type.go index 9a5d78a..a70db26 100644 --- a/catchpoint/resource_web_test_type.go +++ b/catchpoint/resource_web_test_type.go @@ -680,7 +680,7 @@ func resourceWebTestType() *schema.Resource { }, "notification_group": { Type: schema.TypeSet, - Optional: true, + Required: true, MaxItems: 1, Description: "Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided", Elem: &schema.Resource{ diff --git a/docs/resources/api_test.md b/docs/resources/api_test.md index 15e74b9..c92f59f 100644 --- a/docs/resources/api_test.md +++ b/docs/resources/api_test.md @@ -110,6 +110,7 @@ Required: - `alert_type` (String) Sets the alert type: 'test failure', 'timing', 'availability', 'host failure' - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -121,7 +122,6 @@ Optional: - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `expression` (String) Optional. Sets trigger expression for content match alert type - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true diff --git a/docs/resources/bgp_test.md b/docs/resources/bgp_test.md index 805b880..7516ddf 100644 --- a/docs/resources/bgp_test.md +++ b/docs/resources/bgp_test.md @@ -71,6 +71,7 @@ Required: - `alert_type` (String) Sets the alert type - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -82,7 +83,6 @@ Optional: - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `expression` (String) Optional. Sets trigger expression for ASN alert type - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true diff --git a/docs/resources/dns_test.md b/docs/resources/dns_test.md index 1761192..3fa6111 100644 --- a/docs/resources/dns_test.md +++ b/docs/resources/dns_test.md @@ -96,6 +96,7 @@ Required: - `alert_type` (String) Sets the alert type - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -106,7 +107,6 @@ Optional: - `enable_consecutive` (Boolean) Optional. Checks consecutive number of runs or nodes for triggering alerts. - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true diff --git a/docs/resources/ping_test.md b/docs/resources/ping_test.md index f9401f9..c72a9dd 100644 --- a/docs/resources/ping_test.md +++ b/docs/resources/ping_test.md @@ -86,6 +86,7 @@ Required: - `alert_type` (String) Sets the alert type - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -96,7 +97,6 @@ Optional: - `enable_consecutive` (Boolean) Optional. Checks consecutive number of runs or nodes for triggering alerts. - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true diff --git a/docs/resources/playwright_test.md b/docs/resources/playwright_test.md index d0e0629..494d9ab 100644 --- a/docs/resources/playwright_test.md +++ b/docs/resources/playwright_test.md @@ -111,6 +111,7 @@ Required: - `alert_type` (String) Sets the alert type: 'test failure', 'timing', 'availability' - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -122,7 +123,6 @@ Optional: - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `expression` (String) Optional. Sets trigger expression for content match alert type - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true diff --git a/docs/resources/puppeteer_test.md b/docs/resources/puppeteer_test.md index 84fcd3c..3903409 100644 --- a/docs/resources/puppeteer_test.md +++ b/docs/resources/puppeteer_test.md @@ -111,6 +111,7 @@ Required: - `alert_type` (String) Sets the alert type: 'test failure', 'timing', 'availability' - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -122,7 +123,6 @@ Optional: - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `expression` (String) Optional. Sets trigger expression for content match alert type - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true diff --git a/docs/resources/ssl_test.md b/docs/resources/ssl_test.md index 61e9bdb..553adf3 100644 --- a/docs/resources/ssl_test.md +++ b/docs/resources/ssl_test.md @@ -88,6 +88,7 @@ Required: - `alert_type` (String) Sets the alert type - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -98,7 +99,6 @@ Optional: - `enable_consecutive` (Boolean) Optional. Checks consecutive number of runs or nodes for triggering alerts. - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true diff --git a/docs/resources/traceroute_test.md b/docs/resources/traceroute_test.md index 252d9c6..879ebd1 100644 --- a/docs/resources/traceroute_test.md +++ b/docs/resources/traceroute_test.md @@ -86,6 +86,7 @@ Required: - `alert_type` (String) Sets the alert type - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -97,7 +98,6 @@ Optional: - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `expression` (String) Optional. Sets trigger expression for ASN alert type - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true diff --git a/docs/resources/transaction_test.md b/docs/resources/transaction_test.md index 02e0dff..3448fb7 100644 --- a/docs/resources/transaction_test.md +++ b/docs/resources/transaction_test.md @@ -111,6 +111,7 @@ Required: - `alert_type` (String) Sets the alert type: 'test failure', 'timing', 'availability' - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -122,7 +123,6 @@ Optional: - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `expression` (String) Optional. Sets trigger expression for content match alert type - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true diff --git a/docs/resources/web_test.md b/docs/resources/web_test.md index 9acfe46..7d978d4 100644 --- a/docs/resources/web_test.md +++ b/docs/resources/web_test.md @@ -111,6 +111,7 @@ Required: - `alert_type` (String) Sets the alert type: 'test failure', 'timing', 'availability' - `node_threshold_type` (String) Sets the node threshold type for alert: 'runs', 'average across node' or 'node' +- `notification_group` (Block Set, Min: 1, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) Optional: @@ -122,7 +123,6 @@ Optional: - `enforce_test_failure` (Boolean) Optional. Sets enforce test failure property for an alert - `expression` (String) Optional. Sets trigger expression for content match alert type - `historical_interval` (String) Optional. Sets the historical interval for 'trailing value' trigger type: '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '6 hours', '12 hours', '1 day', '1 week' -- `notification_group` (Block Set, Max: 1) Notification group for configuring alert notifications, including recipients' email addresses and alert settings. To ensure either recipient_email_ids or contact_groups is provided (see [below for nested schema](#nestedblock--alert_settings--alert_rule--notification_group)) - `notification_type` (String) Optional. Notification group type to alert. Supports only default contacts for now. - `number_of_failing_nodes` (Number) Optional. Sets the number of failed nodes the alert should trigger if node_threshold_type is 'average across nodes' - `omit_scatterplot` (Boolean) Optional. Omits scatterplot image from alert emails if set to true