@cdktn/provider-newrelic 15.3.0 → 15.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +2363 -2363
- package/README.md +3 -3
- package/lib/account-management/index.d.ts +10 -10
- package/lib/account-management/index.js +7 -7
- package/lib/alert-channel/index.d.ts +30 -30
- package/lib/alert-channel/index.js +7 -7
- package/lib/alert-compound-condition/index.d.ts +17 -17
- package/lib/alert-compound-condition/index.js +9 -9
- package/lib/alert-condition/index.d.ts +23 -23
- package/lib/alert-condition/index.js +8 -8
- package/lib/alert-muting-rule/index.d.ts +23 -23
- package/lib/alert-muting-rule/index.js +10 -10
- package/lib/alert-policy/index.d.ts +8 -8
- package/lib/alert-policy/index.js +6 -6
- package/lib/alert-policy-channel/index.d.ts +9 -9
- package/lib/alert-policy-channel/index.js +7 -7
- package/lib/api-access-key/index.d.ts +10 -10
- package/lib/api-access-key/index.js +6 -6
- package/lib/application-settings/index.d.ts +27 -27
- package/lib/application-settings/index.js +13 -13
- package/lib/aws-connection/index.d.ts +22 -22
- package/lib/aws-connection/index.js +12 -12
- package/lib/browser-application/index.d.ts +12 -12
- package/lib/browser-application/index.js +7 -7
- package/lib/cardinality-management/index.d.ts +9 -9
- package/lib/cardinality-management/index.js +8 -8
- package/lib/cloud-aws-eu-sovereign-integrations/index.d.ts +14 -14
- package/lib/cloud-aws-eu-sovereign-integrations/index.js +9 -9
- package/lib/cloud-aws-eu-sovereign-link-account/index.d.ts +8 -8
- package/lib/cloud-aws-eu-sovereign-link-account/index.js +6 -6
- package/lib/cloud-aws-govcloud-integrations/index.d.ts +110 -110
- package/lib/cloud-aws-govcloud-integrations/index.js +26 -26
- package/lib/cloud-aws-govcloud-link-account/index.d.ts +8 -8
- package/lib/cloud-aws-govcloud-link-account/index.js +6 -6
- package/lib/cloud-aws-integrations/index.d.ts +234 -234
- package/lib/cloud-aws-integrations/index.js +60 -60
- package/lib/cloud-aws-link-account/index.d.ts +8 -8
- package/lib/cloud-aws-link-account/index.js +6 -6
- package/lib/cloud-azure-integrations/index.d.ts +109 -109
- package/lib/cloud-azure-integrations/index.js +39 -39
- package/lib/cloud-azure-link-account/index.d.ts +10 -10
- package/lib/cloud-azure-link-account/index.js +6 -6
- package/lib/cloud-gcp-integrations/index.d.ts +62 -62
- package/lib/cloud-gcp-integrations/index.js +32 -32
- package/lib/cloud-gcp-link-account/index.d.ts +7 -7
- package/lib/cloud-gcp-link-account/index.js +6 -6
- package/lib/cloud-oci-link-account/index.d.ts +20 -20
- package/lib/cloud-oci-link-account/index.js +6 -6
- package/lib/data-newrelic-account/index.d.ts +7 -7
- package/lib/data-newrelic-account/index.js +6 -6
- package/lib/data-newrelic-alert-channel/index.d.ts +6 -6
- package/lib/data-newrelic-alert-channel/index.js +8 -8
- package/lib/data-newrelic-alert-policy/index.d.ts +7 -7
- package/lib/data-newrelic-alert-policy/index.js +6 -6
- package/lib/data-newrelic-application/index.d.ts +5 -5
- package/lib/data-newrelic-application/index.js +6 -6
- package/lib/data-newrelic-authentication-domain/index.d.ts +4 -4
- package/lib/data-newrelic-authentication-domain/index.js +6 -6
- package/lib/data-newrelic-cloud-account/index.d.ts +7 -7
- package/lib/data-newrelic-cloud-account/index.js +6 -6
- package/lib/data-newrelic-entity/index.d.ts +14 -14
- package/lib/data-newrelic-entity/index.js +8 -8
- package/lib/data-newrelic-fleet-configuration/index.d.ts +8 -8
- package/lib/data-newrelic-fleet-configuration/index.js +6 -6
- package/lib/data-newrelic-fleet-members/index.d.ts +6 -6
- package/lib/data-newrelic-fleet-members/index.js +8 -8
- package/lib/data-newrelic-group/index.d.ts +5 -5
- package/lib/data-newrelic-group/index.js +6 -6
- package/lib/data-newrelic-key-transaction/index.d.ts +7 -7
- package/lib/data-newrelic-key-transaction/index.js +6 -6
- package/lib/data-newrelic-notification-destination/index.d.ts +12 -12
- package/lib/data-newrelic-notification-destination/index.js +11 -11
- package/lib/data-newrelic-obfuscation-expression/index.d.ts +6 -6
- package/lib/data-newrelic-obfuscation-expression/index.js +6 -6
- package/lib/data-newrelic-service-level-alert-helper/index.d.ts +11 -11
- package/lib/data-newrelic-service-level-alert-helper/index.js +6 -6
- package/lib/data-newrelic-synthetics-private-location/index.d.ts +7 -7
- package/lib/data-newrelic-synthetics-private-location/index.js +6 -6
- package/lib/data-newrelic-synthetics-secure-credential/index.d.ts +6 -6
- package/lib/data-newrelic-synthetics-secure-credential/index.js +6 -6
- package/lib/data-newrelic-test-grok-pattern/index.d.ts +7 -7
- package/lib/data-newrelic-test-grok-pattern/index.js +10 -10
- package/lib/data-newrelic-user/index.d.ts +6 -6
- package/lib/data-newrelic-user/index.js +6 -6
- package/lib/data-partition-rule/index.d.ts +12 -12
- package/lib/data-partition-rule/index.js +7 -7
- package/lib/entity-tags/index.d.ts +10 -10
- package/lib/entity-tags/index.js +9 -9
- package/lib/events-to-metrics-rule/index.d.ts +9 -9
- package/lib/events-to-metrics-rule/index.js +6 -6
- package/lib/federated-logs-partition/index.d.ts +20 -20
- package/lib/federated-logs-partition/index.js +19 -19
- package/lib/federated-logs-setup/index.d.ts +29 -29
- package/lib/federated-logs-setup/index.js +22 -22
- package/lib/fleet/index.d.ts +10 -10
- package/lib/fleet/index.js +6 -6
- package/lib/fleet-configuration/index.d.ts +11 -11
- package/lib/fleet-configuration/index.js +8 -8
- package/lib/fleet-deployment/index.d.ts +13 -13
- package/lib/fleet-deployment/index.js +8 -8
- package/lib/fleet-members/index.d.ts +8 -8
- package/lib/fleet-members/index.js +8 -8
- package/lib/group/index.d.ts +7 -7
- package/lib/group/index.js +6 -6
- package/lib/infra-alert-condition/index.d.ts +25 -25
- package/lib/infra-alert-condition/index.js +8 -8
- package/lib/insights-event/index.d.ts +11 -11
- package/lib/insights-event/index.js +10 -10
- package/lib/key-transaction/index.d.ts +9 -9
- package/lib/key-transaction/index.js +6 -6
- package/lib/log-parsing-rule/index.d.ts +12 -12
- package/lib/log-parsing-rule/index.js +6 -6
- package/lib/metric-pruning-rule/index.d.ts +7 -7
- package/lib/metric-pruning-rule/index.js +6 -6
- package/lib/monitor-downtime/index.d.ts +20 -20
- package/lib/monitor-downtime/index.js +9 -9
- package/lib/notification-channel/index.d.ts +18 -18
- package/lib/notification-channel/index.js +9 -9
- package/lib/notification-destination/index.d.ts +31 -31
- package/lib/notification-destination/index.js +15 -15
- package/lib/nrql-alert-condition/index.d.ts +78 -78
- package/lib/nrql-alert-condition/index.js +17 -17
- package/lib/nrql-drop-rule/index.d.ts +10 -10
- package/lib/nrql-drop-rule/index.js +7 -7
- package/lib/obfuscation-expression/index.d.ts +8 -8
- package/lib/obfuscation-expression/index.js +6 -6
- package/lib/obfuscation-rule/index.d.ts +13 -13
- package/lib/obfuscation-rule/index.js +8 -8
- package/lib/one-dashboard/index-structs/structs0.d.ts +364 -364
- package/lib/one-dashboard/index-structs/structs0.js +185 -185
- package/lib/one-dashboard/index-structs/structs400.d.ts +286 -286
- package/lib/one-dashboard/index-structs/structs400.js +130 -130
- package/lib/one-dashboard/index.d.ts +10 -10
- package/lib/one-dashboard/index.js +6 -6
- package/lib/one-dashboard-json/index.d.ts +9 -9
- package/lib/one-dashboard-json/index.js +7 -7
- package/lib/one-dashboard-raw/index.d.ts +20 -20
- package/lib/one-dashboard-raw/index.js +10 -10
- package/lib/pipeline-cloud-rule/index.d.ts +8 -8
- package/lib/pipeline-cloud-rule/index.js +6 -6
- package/lib/provider/index.d.ts +17 -17
- package/lib/provider/index.js +6 -6
- package/lib/service-level/index.d.ts +38 -38
- package/lib/service-level/index.js +16 -16
- package/lib/synthetics-alert-condition/index.d.ts +9 -9
- package/lib/synthetics-alert-condition/index.js +6 -6
- package/lib/synthetics-broken-links-monitor/index.d.ts +17 -17
- package/lib/synthetics-broken-links-monitor/index.js +8 -8
- package/lib/synthetics-cert-check-monitor/index.d.ts +18 -18
- package/lib/synthetics-cert-check-monitor/index.js +8 -8
- package/lib/synthetics-monitor/index.d.ts +31 -31
- package/lib/synthetics-monitor/index.js +10 -10
- package/lib/synthetics-multilocation-alert-condition/index.d.ts +14 -14
- package/lib/synthetics-multilocation-alert-condition/index.js +8 -8
- package/lib/synthetics-private-location/index.d.ts +9 -9
- package/lib/synthetics-private-location/index.js +6 -6
- package/lib/synthetics-script-monitor/index.d.ts +26 -26
- package/lib/synthetics-script-monitor/index.js +10 -10
- package/lib/synthetics-secure-credential/index.d.ts +11 -11
- package/lib/synthetics-secure-credential/index.js +7 -7
- package/lib/synthetics-step-monitor/index.d.ts +25 -25
- package/lib/synthetics-step-monitor/index.js +12 -12
- package/lib/user/index.d.ts +8 -8
- package/lib/user/index.js +6 -6
- package/lib/workflow/index.d.ts +26 -26
- package/lib/workflow/index.js +16 -16
- package/lib/workflow-automation/index.d.ts +8 -8
- package/lib/workflow-automation/index.js +6 -6
- package/lib/workload/index.d.ts +32 -32
- package/lib/workload/index.js +17 -17
- package/package.json +6 -6
|
@@ -8,83 +8,83 @@ export interface NrqlAlertConditionConfig extends cdktn.TerraformMetaArguments {
|
|
|
8
8
|
/**
|
|
9
9
|
* The New Relic account ID for managing your NRQL alert conditions.
|
|
10
10
|
*
|
|
11
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#account_id NrqlAlertCondition#account_id}
|
|
12
12
|
*/
|
|
13
13
|
readonly accountId?: number;
|
|
14
14
|
/**
|
|
15
15
|
* How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods.
|
|
16
16
|
*
|
|
17
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#aggregation_delay NrqlAlertCondition#aggregation_delay}
|
|
18
18
|
*/
|
|
19
19
|
readonly aggregationDelay?: string;
|
|
20
20
|
/**
|
|
21
21
|
* The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW.
|
|
22
22
|
*
|
|
23
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#aggregation_method NrqlAlertCondition#aggregation_method}
|
|
24
24
|
*/
|
|
25
25
|
readonly aggregationMethod?: string;
|
|
26
26
|
/**
|
|
27
27
|
* How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method.
|
|
28
28
|
*
|
|
29
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#aggregation_timer NrqlAlertCondition#aggregation_timer}
|
|
30
30
|
*/
|
|
31
31
|
readonly aggregationTimer?: string;
|
|
32
32
|
/**
|
|
33
33
|
* The duration of the time window used to evaluate the NRQL query, in seconds.
|
|
34
34
|
*
|
|
35
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
35
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#aggregation_window NrqlAlertCondition#aggregation_window}
|
|
36
36
|
*/
|
|
37
37
|
readonly aggregationWindow?: number;
|
|
38
38
|
/**
|
|
39
39
|
* The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive).
|
|
40
40
|
*
|
|
41
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
41
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#baseline_direction NrqlAlertCondition#baseline_direction}
|
|
42
42
|
*/
|
|
43
43
|
readonly baselineDirection?: string;
|
|
44
44
|
/**
|
|
45
45
|
* Whether to close all open incidents when the signal expires.
|
|
46
46
|
*
|
|
47
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
47
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#close_violations_on_expiration NrqlAlertCondition#close_violations_on_expiration}
|
|
48
48
|
*/
|
|
49
49
|
readonly closeViolationsOnExpiration?: boolean | cdktn.IResolvable;
|
|
50
50
|
/**
|
|
51
51
|
* The description of the NRQL alert condition.
|
|
52
52
|
*
|
|
53
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
53
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#description NrqlAlertCondition#description}
|
|
54
54
|
*/
|
|
55
55
|
readonly description?: string;
|
|
56
56
|
/**
|
|
57
57
|
* Whether or not to enable the alert condition.
|
|
58
58
|
*
|
|
59
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
59
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#enabled NrqlAlertCondition#enabled}
|
|
60
60
|
*/
|
|
61
61
|
readonly enabled?: boolean | cdktn.IResolvable;
|
|
62
62
|
/**
|
|
63
63
|
* How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes)
|
|
64
64
|
*
|
|
65
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
65
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#evaluation_delay NrqlAlertCondition#evaluation_delay}
|
|
66
66
|
*/
|
|
67
67
|
readonly evaluationDelay?: number;
|
|
68
68
|
/**
|
|
69
69
|
* The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive)
|
|
70
70
|
*
|
|
71
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
71
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#expiration_duration NrqlAlertCondition#expiration_duration}
|
|
72
72
|
*/
|
|
73
73
|
readonly expirationDuration?: number;
|
|
74
74
|
/**
|
|
75
75
|
* Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive).
|
|
76
76
|
*
|
|
77
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
77
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#fill_option NrqlAlertCondition#fill_option}
|
|
78
78
|
*/
|
|
79
79
|
readonly fillOption?: string;
|
|
80
80
|
/**
|
|
81
81
|
* If using the 'static' fill option, this value will be used for filling gaps in the signal.
|
|
82
82
|
*
|
|
83
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
83
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#fill_value NrqlAlertCondition#fill_value}
|
|
84
84
|
*/
|
|
85
85
|
readonly fillValue?: number;
|
|
86
86
|
/**
|
|
87
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
87
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#id NrqlAlertCondition#id}
|
|
88
88
|
*
|
|
89
89
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
90
90
|
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -93,109 +93,109 @@ export interface NrqlAlertConditionConfig extends cdktn.TerraformMetaArguments {
|
|
|
93
93
|
/**
|
|
94
94
|
* Whether to ignore expected termination of a signal when considering whether to create a loss of signal incident
|
|
95
95
|
*
|
|
96
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
96
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#ignore_on_expected_termination NrqlAlertCondition#ignore_on_expected_termination}
|
|
97
97
|
*/
|
|
98
98
|
readonly ignoreOnExpectedTermination?: boolean | cdktn.IResolvable;
|
|
99
99
|
/**
|
|
100
100
|
* The title of the condition.
|
|
101
101
|
*
|
|
102
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
102
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#name NrqlAlertCondition#name}
|
|
103
103
|
*/
|
|
104
104
|
readonly name: string;
|
|
105
105
|
/**
|
|
106
106
|
* Whether to create a new incident to capture that the signal expired.
|
|
107
107
|
*
|
|
108
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
108
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#open_violation_on_expiration NrqlAlertCondition#open_violation_on_expiration}
|
|
109
109
|
*/
|
|
110
110
|
readonly openViolationOnExpiration?: boolean | cdktn.IResolvable;
|
|
111
111
|
/**
|
|
112
112
|
* The ID of the policy where this condition should be used.
|
|
113
113
|
*
|
|
114
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
114
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#policy_id NrqlAlertCondition#policy_id}
|
|
115
115
|
*/
|
|
116
116
|
readonly policyId: number;
|
|
117
117
|
/**
|
|
118
118
|
* Runbook URL to display in notifications.
|
|
119
119
|
*
|
|
120
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
120
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#runbook_url NrqlAlertCondition#runbook_url}
|
|
121
121
|
*/
|
|
122
122
|
readonly runbookUrl?: string;
|
|
123
123
|
/**
|
|
124
124
|
* Seasonality under which a condition's signal(s) are evaluated. Valid values are: 'NEW_RELIC_CALCULATION', 'HOURLY', 'DAILY', 'WEEKLY', or 'NONE'. To have New Relic calculate seasonality automatically, set to 'NEW_RELIC_CALCULATION' (default). To turn off seasonality completely, set to 'NONE'.
|
|
125
125
|
*
|
|
126
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
126
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#signal_seasonality NrqlAlertCondition#signal_seasonality}
|
|
127
127
|
*/
|
|
128
128
|
readonly signalSeasonality?: string;
|
|
129
129
|
/**
|
|
130
130
|
* The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of `aggregation_window` and less than the aggregation window. If `aggregation_window` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If `aggregation_window` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to `aggregation_window / 120`. If `aggregation_window` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24
|
|
131
131
|
*
|
|
132
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
132
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#slide_by NrqlAlertCondition#slide_by}
|
|
133
133
|
*/
|
|
134
134
|
readonly slideBy?: number;
|
|
135
135
|
/**
|
|
136
136
|
* BETA PREVIEW: the `target_entity` field is in limited release and only enabled for preview on a per-account basis. - The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically
|
|
137
137
|
*
|
|
138
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
138
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#target_entity NrqlAlertCondition#target_entity}
|
|
139
139
|
*/
|
|
140
140
|
readonly targetEntity?: string;
|
|
141
141
|
/**
|
|
142
142
|
* This field allows you to create a custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be Handlebars format.
|
|
143
143
|
*
|
|
144
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
144
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#title_template NrqlAlertCondition#title_template}
|
|
145
145
|
*/
|
|
146
146
|
readonly titleTemplate?: string;
|
|
147
147
|
/**
|
|
148
148
|
* The type of NRQL alert condition to create. Valid values are: 'static', 'baseline', 'outlier'.
|
|
149
149
|
*
|
|
150
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
150
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#type NrqlAlertCondition#type}
|
|
151
151
|
*/
|
|
152
152
|
readonly type?: string;
|
|
153
153
|
/**
|
|
154
154
|
* Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are 'ONE_HOUR', 'TWO_HOURS', 'FOUR_HOURS', 'EIGHT_HOURS', 'TWELVE_HOURS', 'TWENTY_FOUR_HOURS', 'THIRTY_DAYS' (case insensitive).
|
|
155
155
|
*
|
|
156
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
156
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#violation_time_limit NrqlAlertCondition#violation_time_limit}
|
|
157
157
|
*/
|
|
158
158
|
readonly violationTimeLimit?: string;
|
|
159
159
|
/**
|
|
160
160
|
* Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive)
|
|
161
161
|
*
|
|
162
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
162
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#violation_time_limit_seconds NrqlAlertCondition#violation_time_limit_seconds}
|
|
163
163
|
*/
|
|
164
164
|
readonly violationTimeLimitSeconds?: number;
|
|
165
165
|
/**
|
|
166
166
|
* critical block
|
|
167
167
|
*
|
|
168
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
168
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#critical NrqlAlertCondition#critical}
|
|
169
169
|
*/
|
|
170
170
|
readonly critical?: NrqlAlertConditionCritical;
|
|
171
171
|
/**
|
|
172
172
|
* nrql block
|
|
173
173
|
*
|
|
174
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
174
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#nrql NrqlAlertCondition#nrql}
|
|
175
175
|
*/
|
|
176
176
|
readonly nrql: NrqlAlertConditionNrql;
|
|
177
177
|
/**
|
|
178
178
|
* outlier_configuration block
|
|
179
179
|
*
|
|
180
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
180
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#outlier_configuration NrqlAlertCondition#outlier_configuration}
|
|
181
181
|
*/
|
|
182
182
|
readonly outlierConfiguration?: NrqlAlertConditionOutlierConfiguration;
|
|
183
183
|
/**
|
|
184
184
|
* term block
|
|
185
185
|
*
|
|
186
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
186
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#term NrqlAlertCondition#term}
|
|
187
187
|
*/
|
|
188
188
|
readonly term?: NrqlAlertConditionTerm[] | cdktn.IResolvable;
|
|
189
189
|
/**
|
|
190
190
|
* timeouts block
|
|
191
191
|
*
|
|
192
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
192
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#timeouts NrqlAlertCondition#timeouts}
|
|
193
193
|
*/
|
|
194
194
|
readonly timeouts?: NrqlAlertConditionTimeouts;
|
|
195
195
|
/**
|
|
196
196
|
* warning block
|
|
197
197
|
*
|
|
198
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
198
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#warning NrqlAlertCondition#warning}
|
|
199
199
|
*/
|
|
200
200
|
readonly warning?: NrqlAlertConditionWarning;
|
|
201
201
|
}
|
|
@@ -203,13 +203,13 @@ export interface NrqlAlertConditionCriticalPrediction {
|
|
|
203
203
|
/**
|
|
204
204
|
* BETA PREVIEW: the `predict_by` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future.
|
|
205
205
|
*
|
|
206
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
206
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
207
207
|
*/
|
|
208
208
|
readonly predictBy?: number;
|
|
209
209
|
/**
|
|
210
210
|
* BETA PREVIEW: the `prefer_prediction_violation` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting `prefer_prediction_violation` to `true` overrides this behavior leaving the prediction incident open and preventing a static incident from opening.
|
|
211
211
|
*
|
|
212
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
212
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
213
213
|
*/
|
|
214
214
|
readonly preferPredictionViolation?: boolean | cdktn.IResolvable;
|
|
215
215
|
}
|
|
@@ -239,55 +239,55 @@ export interface NrqlAlertConditionCritical {
|
|
|
239
239
|
/**
|
|
240
240
|
* BETA PREVIEW: the `disable_event_creation` field is in limited release and only enabled for preview on a per-account basis. When set to true, violations will not create events.
|
|
241
241
|
*
|
|
242
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
242
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_event_creation NrqlAlertCondition#disable_event_creation}
|
|
243
243
|
*/
|
|
244
244
|
readonly disableEventCreation?: boolean | cdktn.IResolvable;
|
|
245
245
|
/**
|
|
246
246
|
* Violations will not change system health status for this term.
|
|
247
247
|
*
|
|
248
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
248
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
249
249
|
*/
|
|
250
250
|
readonly disableHealthStatusReporting?: boolean | cdktn.IResolvable;
|
|
251
251
|
/**
|
|
252
252
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
253
253
|
*
|
|
254
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
254
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
255
255
|
*/
|
|
256
256
|
readonly duration?: number;
|
|
257
257
|
/**
|
|
258
258
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
259
259
|
*
|
|
260
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
260
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
261
261
|
*/
|
|
262
262
|
readonly operator?: string;
|
|
263
263
|
/**
|
|
264
264
|
* For baseline conditions must be in range [1, 1000].
|
|
265
265
|
*
|
|
266
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
266
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
267
267
|
*/
|
|
268
268
|
readonly threshold: number;
|
|
269
269
|
/**
|
|
270
270
|
* The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions
|
|
271
271
|
*
|
|
272
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
272
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
273
273
|
*/
|
|
274
274
|
readonly thresholdDuration?: number;
|
|
275
275
|
/**
|
|
276
276
|
* The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).
|
|
277
277
|
*
|
|
278
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
278
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
279
279
|
*/
|
|
280
280
|
readonly thresholdOccurrences?: string;
|
|
281
281
|
/**
|
|
282
282
|
* Valid values are: 'all' or 'any'
|
|
283
283
|
*
|
|
284
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
284
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
285
285
|
*/
|
|
286
286
|
readonly timeFunction?: string;
|
|
287
287
|
/**
|
|
288
288
|
* prediction block
|
|
289
289
|
*
|
|
290
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
290
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
291
291
|
*/
|
|
292
292
|
readonly prediction?: NrqlAlertConditionCriticalPrediction;
|
|
293
293
|
}
|
|
@@ -351,23 +351,23 @@ export interface NrqlAlertConditionNrql {
|
|
|
351
351
|
/**
|
|
352
352
|
* The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `account_id` if unspecified.
|
|
353
353
|
*
|
|
354
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
354
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#data_account_id NrqlAlertCondition#data_account_id}
|
|
355
355
|
*/
|
|
356
356
|
readonly dataAccountId?: number;
|
|
357
357
|
/**
|
|
358
358
|
* NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`.
|
|
359
359
|
*
|
|
360
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
360
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#evaluation_offset NrqlAlertCondition#evaluation_offset}
|
|
361
361
|
*/
|
|
362
362
|
readonly evaluationOffset?: number;
|
|
363
363
|
/**
|
|
364
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
364
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#query NrqlAlertCondition#query}
|
|
365
365
|
*/
|
|
366
366
|
readonly query: string;
|
|
367
367
|
/**
|
|
368
368
|
* NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`.
|
|
369
369
|
*
|
|
370
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
370
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#since_value NrqlAlertCondition#since_value}
|
|
371
371
|
*/
|
|
372
372
|
readonly sinceValue?: string;
|
|
373
373
|
}
|
|
@@ -406,19 +406,19 @@ export interface NrqlAlertConditionOutlierConfigurationDbscan {
|
|
|
406
406
|
/**
|
|
407
407
|
* BETA PREVIEW: the `epsilon` field is in limited release and only enabled for preview on a per-account basis. - Radius (distance threshold) for DBSCAN in the units of the query result. Smaller values tighten clusters; larger values broaden them. Must be > 0.
|
|
408
408
|
*
|
|
409
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
409
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#epsilon NrqlAlertCondition#epsilon}
|
|
410
410
|
*/
|
|
411
411
|
readonly epsilon: number;
|
|
412
412
|
/**
|
|
413
413
|
* BETA PREVIEW: the `evaluation_group_facet` field is in limited release and only enabled for preview on a per-account basis. - Optional NRQL facet attribute used to segment data into groups (e.g. `host`, `region`) before running outlier detection. Omit to evaluate all results together.
|
|
414
414
|
*
|
|
415
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
415
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#evaluation_group_facet NrqlAlertCondition#evaluation_group_facet}
|
|
416
416
|
*/
|
|
417
417
|
readonly evaluationGroupFacet?: string;
|
|
418
418
|
/**
|
|
419
419
|
* BETA PREVIEW: the `minimum_points` field is in limited release and only enabled for preview on a per-account basis. - Minimum number of neighboring points needed to form a cluster. Must be >= 1.
|
|
420
420
|
*
|
|
421
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
421
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#minimum_points NrqlAlertCondition#minimum_points}
|
|
422
422
|
*/
|
|
423
423
|
readonly minimumPoints: number;
|
|
424
424
|
}
|
|
@@ -451,7 +451,7 @@ export interface NrqlAlertConditionOutlierConfiguration {
|
|
|
451
451
|
/**
|
|
452
452
|
* dbscan block
|
|
453
453
|
*
|
|
454
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
454
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#dbscan NrqlAlertCondition#dbscan}
|
|
455
455
|
*/
|
|
456
456
|
readonly dbscan: NrqlAlertConditionOutlierConfigurationDbscan;
|
|
457
457
|
}
|
|
@@ -475,13 +475,13 @@ export interface NrqlAlertConditionTermPrediction {
|
|
|
475
475
|
/**
|
|
476
476
|
* BETA PREVIEW: the `predict_by` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future.
|
|
477
477
|
*
|
|
478
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
478
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
479
479
|
*/
|
|
480
480
|
readonly predictBy?: number;
|
|
481
481
|
/**
|
|
482
482
|
* BETA PREVIEW: the `prefer_prediction_violation` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting `prefer_prediction_violation` to `true` overrides this behavior leaving the prediction incident open and preventing a static incident from opening.
|
|
483
483
|
*
|
|
484
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
484
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
485
485
|
*/
|
|
486
486
|
readonly preferPredictionViolation?: boolean | cdktn.IResolvable;
|
|
487
487
|
}
|
|
@@ -511,61 +511,61 @@ export interface NrqlAlertConditionTerm {
|
|
|
511
511
|
/**
|
|
512
512
|
* BETA PREVIEW: the `disable_event_creation` field is in limited release and only enabled for preview on a per-account basis. When set to true, violations will not create events.
|
|
513
513
|
*
|
|
514
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
514
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_event_creation NrqlAlertCondition#disable_event_creation}
|
|
515
515
|
*/
|
|
516
516
|
readonly disableEventCreation?: boolean | cdktn.IResolvable;
|
|
517
517
|
/**
|
|
518
518
|
* Violations will not change system health status for this term.
|
|
519
519
|
*
|
|
520
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
520
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
521
521
|
*/
|
|
522
522
|
readonly disableHealthStatusReporting?: boolean | cdktn.IResolvable;
|
|
523
523
|
/**
|
|
524
524
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
525
525
|
*
|
|
526
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
526
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
527
527
|
*/
|
|
528
528
|
readonly duration?: number;
|
|
529
529
|
/**
|
|
530
530
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
531
531
|
*
|
|
532
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
532
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
533
533
|
*/
|
|
534
534
|
readonly operator?: string;
|
|
535
535
|
/**
|
|
536
536
|
* One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'.
|
|
537
537
|
*
|
|
538
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
538
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#priority NrqlAlertCondition#priority}
|
|
539
539
|
*/
|
|
540
540
|
readonly priority?: string;
|
|
541
541
|
/**
|
|
542
542
|
* For baseline conditions must be in range [1, 1000].
|
|
543
543
|
*
|
|
544
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
544
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
545
545
|
*/
|
|
546
546
|
readonly threshold: number;
|
|
547
547
|
/**
|
|
548
548
|
* The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions
|
|
549
549
|
*
|
|
550
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
550
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
551
551
|
*/
|
|
552
552
|
readonly thresholdDuration?: number;
|
|
553
553
|
/**
|
|
554
554
|
* The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).
|
|
555
555
|
*
|
|
556
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
556
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
557
557
|
*/
|
|
558
558
|
readonly thresholdOccurrences?: string;
|
|
559
559
|
/**
|
|
560
560
|
* Valid values are: 'all' or 'any'
|
|
561
561
|
*
|
|
562
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
562
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
563
563
|
*/
|
|
564
564
|
readonly timeFunction?: string;
|
|
565
565
|
/**
|
|
566
566
|
* prediction block
|
|
567
567
|
*
|
|
568
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
568
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
569
569
|
*/
|
|
570
570
|
readonly prediction?: NrqlAlertConditionTermPrediction;
|
|
571
571
|
}
|
|
@@ -648,7 +648,7 @@ export declare class NrqlAlertConditionTermList extends cdktn.ComplexList {
|
|
|
648
648
|
}
|
|
649
649
|
export interface NrqlAlertConditionTimeouts {
|
|
650
650
|
/**
|
|
651
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
651
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#create NrqlAlertCondition#create}
|
|
652
652
|
*/
|
|
653
653
|
readonly create?: string;
|
|
654
654
|
}
|
|
@@ -674,13 +674,13 @@ export interface NrqlAlertConditionWarningPrediction {
|
|
|
674
674
|
/**
|
|
675
675
|
* BETA PREVIEW: the `predict_by` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future.
|
|
676
676
|
*
|
|
677
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
677
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
678
678
|
*/
|
|
679
679
|
readonly predictBy?: number;
|
|
680
680
|
/**
|
|
681
681
|
* BETA PREVIEW: the `prefer_prediction_violation` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting `prefer_prediction_violation` to `true` overrides this behavior leaving the prediction incident open and preventing a static incident from opening.
|
|
682
682
|
*
|
|
683
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
683
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
684
684
|
*/
|
|
685
685
|
readonly preferPredictionViolation?: boolean | cdktn.IResolvable;
|
|
686
686
|
}
|
|
@@ -710,55 +710,55 @@ export interface NrqlAlertConditionWarning {
|
|
|
710
710
|
/**
|
|
711
711
|
* BETA PREVIEW: the `disable_event_creation` field is in limited release and only enabled for preview on a per-account basis. When set to true, violations will not create events.
|
|
712
712
|
*
|
|
713
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
713
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_event_creation NrqlAlertCondition#disable_event_creation}
|
|
714
714
|
*/
|
|
715
715
|
readonly disableEventCreation?: boolean | cdktn.IResolvable;
|
|
716
716
|
/**
|
|
717
717
|
* Violations will not change system health status for this term.
|
|
718
718
|
*
|
|
719
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
719
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
720
720
|
*/
|
|
721
721
|
readonly disableHealthStatusReporting?: boolean | cdktn.IResolvable;
|
|
722
722
|
/**
|
|
723
723
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
724
724
|
*
|
|
725
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
725
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
726
726
|
*/
|
|
727
727
|
readonly duration?: number;
|
|
728
728
|
/**
|
|
729
729
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
730
730
|
*
|
|
731
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
731
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
732
732
|
*/
|
|
733
733
|
readonly operator?: string;
|
|
734
734
|
/**
|
|
735
735
|
* For baseline conditions must be in range [1, 1000].
|
|
736
736
|
*
|
|
737
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
737
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
738
738
|
*/
|
|
739
739
|
readonly threshold: number;
|
|
740
740
|
/**
|
|
741
741
|
* The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions
|
|
742
742
|
*
|
|
743
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
743
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
744
744
|
*/
|
|
745
745
|
readonly thresholdDuration?: number;
|
|
746
746
|
/**
|
|
747
747
|
* The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).
|
|
748
748
|
*
|
|
749
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
749
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
750
750
|
*/
|
|
751
751
|
readonly thresholdOccurrences?: string;
|
|
752
752
|
/**
|
|
753
753
|
* Valid values are: 'all' or 'any'
|
|
754
754
|
*
|
|
755
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
755
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
756
756
|
*/
|
|
757
757
|
readonly timeFunction?: string;
|
|
758
758
|
/**
|
|
759
759
|
* prediction block
|
|
760
760
|
*
|
|
761
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
761
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
762
762
|
*/
|
|
763
763
|
readonly prediction?: NrqlAlertConditionWarningPrediction;
|
|
764
764
|
}
|
|
@@ -819,7 +819,7 @@ export declare class NrqlAlertConditionWarningOutputReference extends cdktn.Comp
|
|
|
819
819
|
get predictionInput(): NrqlAlertConditionWarningPrediction | undefined;
|
|
820
820
|
}
|
|
821
821
|
/**
|
|
822
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
822
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition}
|
|
823
823
|
*/
|
|
824
824
|
export declare class NrqlAlertCondition extends cdktn.TerraformResource {
|
|
825
825
|
static readonly tfResourceType = "newrelic_nrql_alert_condition";
|
|
@@ -827,12 +827,12 @@ export declare class NrqlAlertCondition extends cdktn.TerraformResource {
|
|
|
827
827
|
* Generates CDKTN code for importing a NrqlAlertCondition resource upon running "cdktn plan <stack-name>"
|
|
828
828
|
* @param scope The scope in which to define this construct
|
|
829
829
|
* @param importToId The construct id used in the generated config for the NrqlAlertCondition to import
|
|
830
|
-
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
830
|
+
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#import import section} in the documentation of this resource for the id to use
|
|
831
831
|
* @param provider? Optional instance of the provider where the NrqlAlertCondition to import is found
|
|
832
832
|
*/
|
|
833
833
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktn.TerraformProvider): cdktn.ImportableResource;
|
|
834
834
|
/**
|
|
835
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.
|
|
835
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition} Resource
|
|
836
836
|
*
|
|
837
837
|
* @param scope The scope in which to define this construct
|
|
838
838
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|