@cdktn/provider-newrelic 14.2.0 → 14.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 +3902 -10933
- 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 -20
- package/lib/alert-compound-condition/index.js +9 -12
- package/lib/alert-condition/index.d.ts +23 -26
- package/lib/alert-condition/index.js +8 -11
- package/lib/alert-muting-rule/index.d.ts +23 -26
- package/lib/alert-muting-rule/index.js +10 -13
- 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 -36
- package/lib/application-settings/index.js +13 -22
- package/lib/browser-application/index.d.ts +12 -12
- package/lib/browser-application/index.js +7 -7
- 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 +18 -18
- 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 -9
- package/lib/data-newrelic-alert-channel/index.js +8 -11
- 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 -17
- package/lib/data-newrelic-entity/index.js +8 -11
- 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 -18
- package/lib/data-newrelic-notification-destination/index.js +11 -17
- 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 -13
- package/lib/data-newrelic-test-grok-pattern/index.js +10 -16
- 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 -13
- package/lib/entity-tags/index.js +9 -12
- package/lib/events-to-metrics-rule/index.d.ts +9 -9
- package/lib/events-to-metrics-rule/index.js +6 -6
- package/lib/fleet/index.d.ts +112 -0
- package/lib/fleet/index.js +213 -0
- package/lib/group/index.d.ts +7 -7
- package/lib/group/index.js +6 -6
- package/lib/index.d.ts +2 -0
- package/lib/index.js +5 -3
- 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 -17
- package/lib/insights-event/index.js +10 -16
- package/lib/key-transaction/index.d.ts +9 -9
- package/lib/key-transaction/index.js +6 -6
- package/lib/lazy-index.js +3 -1
- package/lib/log-parsing-rule/index.d.ts +12 -12
- package/lib/log-parsing-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 -21
- package/lib/notification-channel/index.js +9 -12
- package/lib/notification-destination/index.d.ts +31 -37
- package/lib/notification-destination/index.js +15 -21
- package/lib/nrql-alert-condition/index.d.ts +75 -78
- package/lib/nrql-alert-condition/index.js +17 -20
- 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 -16
- package/lib/obfuscation-rule/index.js +8 -11
- package/lib/one-dashboard/index-structs/structs0.d.ts +364 -592
- package/lib/one-dashboard/index-structs/structs0.js +185 -413
- package/lib/one-dashboard/index-structs/structs400.d.ts +286 -451
- package/lib/one-dashboard/index-structs/structs400.js +130 -295
- 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 -26
- package/lib/one-dashboard-raw/index.js +10 -16
- 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 -20
- package/lib/synthetics-broken-links-monitor/index.js +8 -11
- package/lib/synthetics-cert-check-monitor/index.d.ts +18 -21
- package/lib/synthetics-cert-check-monitor/index.js +8 -11
- package/lib/synthetics-monitor/index.d.ts +31 -37
- package/lib/synthetics-monitor/index.js +10 -16
- 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 +8 -8
- package/lib/synthetics-private-location/index.js +6 -6
- package/lib/synthetics-script-monitor/index.d.ts +26 -32
- package/lib/synthetics-script-monitor/index.js +10 -16
- 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 -34
- package/lib/synthetics-step-monitor/index.js +12 -21
- package/lib/user/index.d.ts +8 -8
- package/lib/user/index.js +6 -6
- package/lib/workflow/index.d.ts +26 -38
- package/lib/workflow/index.js +16 -28
- package/lib/workflow-automation/index.d.ts +92 -0
- package/lib/workflow-automation/index.js +181 -0
- package/lib/workload/index.d.ts +32 -41
- package/lib/workload/index.js +17 -26
- package/package.json +4 -4
|
@@ -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.
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
35
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
41
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
47
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
53
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
59
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
65
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
71
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
77
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
83
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
87
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
96
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
102
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
108
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
114
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
120
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
126
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
132
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
138
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
144
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
150
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
156
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
162
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
168
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
174
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
180
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
186
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
192
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
198
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
206
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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.
|
|
212
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.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,49 +239,49 @@ export interface NrqlAlertConditionCritical {
|
|
|
239
239
|
/**
|
|
240
240
|
* Violations will not change system health status for this term.
|
|
241
241
|
*
|
|
242
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
242
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
243
243
|
*/
|
|
244
244
|
readonly disableHealthStatusReporting?: boolean | cdktn.IResolvable;
|
|
245
245
|
/**
|
|
246
246
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
247
247
|
*
|
|
248
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
248
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
249
249
|
*/
|
|
250
250
|
readonly duration?: number;
|
|
251
251
|
/**
|
|
252
252
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
253
253
|
*
|
|
254
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
254
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
255
255
|
*/
|
|
256
256
|
readonly operator?: string;
|
|
257
257
|
/**
|
|
258
258
|
* For baseline conditions must be in range [1, 1000].
|
|
259
259
|
*
|
|
260
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
260
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
261
261
|
*/
|
|
262
262
|
readonly threshold: number;
|
|
263
263
|
/**
|
|
264
264
|
* 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
|
|
265
265
|
*
|
|
266
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
266
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
267
267
|
*/
|
|
268
268
|
readonly thresholdDuration?: number;
|
|
269
269
|
/**
|
|
270
270
|
* 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).
|
|
271
271
|
*
|
|
272
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
272
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
273
273
|
*/
|
|
274
274
|
readonly thresholdOccurrences?: string;
|
|
275
275
|
/**
|
|
276
276
|
* Valid values are: 'all' or 'any'
|
|
277
277
|
*
|
|
278
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
278
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
279
279
|
*/
|
|
280
280
|
readonly timeFunction?: string;
|
|
281
281
|
/**
|
|
282
282
|
* prediction block
|
|
283
283
|
*
|
|
284
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
284
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
285
285
|
*/
|
|
286
286
|
readonly prediction?: NrqlAlertConditionCriticalPrediction;
|
|
287
287
|
}
|
|
@@ -340,23 +340,23 @@ export interface NrqlAlertConditionNrql {
|
|
|
340
340
|
/**
|
|
341
341
|
* The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `account_id` if unspecified.
|
|
342
342
|
*
|
|
343
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
343
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#data_account_id NrqlAlertCondition#data_account_id}
|
|
344
344
|
*/
|
|
345
345
|
readonly dataAccountId?: number;
|
|
346
346
|
/**
|
|
347
347
|
* 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`.
|
|
348
348
|
*
|
|
349
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
349
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#evaluation_offset NrqlAlertCondition#evaluation_offset}
|
|
350
350
|
*/
|
|
351
351
|
readonly evaluationOffset?: number;
|
|
352
352
|
/**
|
|
353
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
353
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#query NrqlAlertCondition#query}
|
|
354
354
|
*/
|
|
355
355
|
readonly query: string;
|
|
356
356
|
/**
|
|
357
357
|
* 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`.
|
|
358
358
|
*
|
|
359
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
359
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#since_value NrqlAlertCondition#since_value}
|
|
360
360
|
*/
|
|
361
361
|
readonly sinceValue?: string;
|
|
362
362
|
}
|
|
@@ -395,19 +395,19 @@ export interface NrqlAlertConditionOutlierConfigurationDbscan {
|
|
|
395
395
|
/**
|
|
396
396
|
* 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.
|
|
397
397
|
*
|
|
398
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
398
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#epsilon NrqlAlertCondition#epsilon}
|
|
399
399
|
*/
|
|
400
400
|
readonly epsilon: number;
|
|
401
401
|
/**
|
|
402
402
|
* 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.
|
|
403
403
|
*
|
|
404
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
404
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#evaluation_group_facet NrqlAlertCondition#evaluation_group_facet}
|
|
405
405
|
*/
|
|
406
406
|
readonly evaluationGroupFacet?: string;
|
|
407
407
|
/**
|
|
408
408
|
* 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.
|
|
409
409
|
*
|
|
410
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
410
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#minimum_points NrqlAlertCondition#minimum_points}
|
|
411
411
|
*/
|
|
412
412
|
readonly minimumPoints: number;
|
|
413
413
|
}
|
|
@@ -440,7 +440,7 @@ export interface NrqlAlertConditionOutlierConfiguration {
|
|
|
440
440
|
/**
|
|
441
441
|
* dbscan block
|
|
442
442
|
*
|
|
443
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
443
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#dbscan NrqlAlertCondition#dbscan}
|
|
444
444
|
*/
|
|
445
445
|
readonly dbscan: NrqlAlertConditionOutlierConfigurationDbscan;
|
|
446
446
|
}
|
|
@@ -464,13 +464,13 @@ export interface NrqlAlertConditionTermPrediction {
|
|
|
464
464
|
/**
|
|
465
465
|
* 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.
|
|
466
466
|
*
|
|
467
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
467
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
468
468
|
*/
|
|
469
469
|
readonly predictBy?: number;
|
|
470
470
|
/**
|
|
471
471
|
* 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.
|
|
472
472
|
*
|
|
473
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
473
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
474
474
|
*/
|
|
475
475
|
readonly preferPredictionViolation?: boolean | cdktn.IResolvable;
|
|
476
476
|
}
|
|
@@ -500,55 +500,55 @@ export interface NrqlAlertConditionTerm {
|
|
|
500
500
|
/**
|
|
501
501
|
* Violations will not change system health status for this term.
|
|
502
502
|
*
|
|
503
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
503
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
504
504
|
*/
|
|
505
505
|
readonly disableHealthStatusReporting?: boolean | cdktn.IResolvable;
|
|
506
506
|
/**
|
|
507
507
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
508
508
|
*
|
|
509
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
509
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
510
510
|
*/
|
|
511
511
|
readonly duration?: number;
|
|
512
512
|
/**
|
|
513
513
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
514
514
|
*
|
|
515
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
515
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
516
516
|
*/
|
|
517
517
|
readonly operator?: string;
|
|
518
518
|
/**
|
|
519
519
|
* One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'.
|
|
520
520
|
*
|
|
521
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
521
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#priority NrqlAlertCondition#priority}
|
|
522
522
|
*/
|
|
523
523
|
readonly priority?: string;
|
|
524
524
|
/**
|
|
525
525
|
* For baseline conditions must be in range [1, 1000].
|
|
526
526
|
*
|
|
527
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
527
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
528
528
|
*/
|
|
529
529
|
readonly threshold: number;
|
|
530
530
|
/**
|
|
531
531
|
* 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
|
|
532
532
|
*
|
|
533
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
533
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
534
534
|
*/
|
|
535
535
|
readonly thresholdDuration?: number;
|
|
536
536
|
/**
|
|
537
537
|
* 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).
|
|
538
538
|
*
|
|
539
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
539
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
540
540
|
*/
|
|
541
541
|
readonly thresholdOccurrences?: string;
|
|
542
542
|
/**
|
|
543
543
|
* Valid values are: 'all' or 'any'
|
|
544
544
|
*
|
|
545
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
545
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
546
546
|
*/
|
|
547
547
|
readonly timeFunction?: string;
|
|
548
548
|
/**
|
|
549
549
|
* prediction block
|
|
550
550
|
*
|
|
551
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
551
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
552
552
|
*/
|
|
553
553
|
readonly prediction?: NrqlAlertConditionTermPrediction;
|
|
554
554
|
}
|
|
@@ -612,9 +612,6 @@ export declare class NrqlAlertConditionTermOutputReference extends cdktn.Complex
|
|
|
612
612
|
get predictionInput(): NrqlAlertConditionTermPrediction | undefined;
|
|
613
613
|
}
|
|
614
614
|
export declare class NrqlAlertConditionTermList extends cdktn.ComplexList {
|
|
615
|
-
protected terraformResource: cdktn.IInterpolatingParent;
|
|
616
|
-
protected terraformAttribute: string;
|
|
617
|
-
protected wrapsSet: boolean;
|
|
618
615
|
internalValue?: NrqlAlertConditionTerm[] | cdktn.IResolvable;
|
|
619
616
|
/**
|
|
620
617
|
* @param terraformResource The parent resource
|
|
@@ -629,7 +626,7 @@ export declare class NrqlAlertConditionTermList extends cdktn.ComplexList {
|
|
|
629
626
|
}
|
|
630
627
|
export interface NrqlAlertConditionTimeouts {
|
|
631
628
|
/**
|
|
632
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
629
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#create NrqlAlertCondition#create}
|
|
633
630
|
*/
|
|
634
631
|
readonly create?: string;
|
|
635
632
|
}
|
|
@@ -655,13 +652,13 @@ export interface NrqlAlertConditionWarningPrediction {
|
|
|
655
652
|
/**
|
|
656
653
|
* 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.
|
|
657
654
|
*
|
|
658
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
655
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
659
656
|
*/
|
|
660
657
|
readonly predictBy?: number;
|
|
661
658
|
/**
|
|
662
659
|
* 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.
|
|
663
660
|
*
|
|
664
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
661
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
665
662
|
*/
|
|
666
663
|
readonly preferPredictionViolation?: boolean | cdktn.IResolvable;
|
|
667
664
|
}
|
|
@@ -691,49 +688,49 @@ export interface NrqlAlertConditionWarning {
|
|
|
691
688
|
/**
|
|
692
689
|
* Violations will not change system health status for this term.
|
|
693
690
|
*
|
|
694
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
691
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
695
692
|
*/
|
|
696
693
|
readonly disableHealthStatusReporting?: boolean | cdktn.IResolvable;
|
|
697
694
|
/**
|
|
698
695
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
699
696
|
*
|
|
700
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
697
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
701
698
|
*/
|
|
702
699
|
readonly duration?: number;
|
|
703
700
|
/**
|
|
704
701
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
705
702
|
*
|
|
706
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
703
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
707
704
|
*/
|
|
708
705
|
readonly operator?: string;
|
|
709
706
|
/**
|
|
710
707
|
* For baseline conditions must be in range [1, 1000].
|
|
711
708
|
*
|
|
712
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
709
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
713
710
|
*/
|
|
714
711
|
readonly threshold: number;
|
|
715
712
|
/**
|
|
716
713
|
* 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
|
|
717
714
|
*
|
|
718
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
715
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
719
716
|
*/
|
|
720
717
|
readonly thresholdDuration?: number;
|
|
721
718
|
/**
|
|
722
719
|
* 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).
|
|
723
720
|
*
|
|
724
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
721
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
725
722
|
*/
|
|
726
723
|
readonly thresholdOccurrences?: string;
|
|
727
724
|
/**
|
|
728
725
|
* Valid values are: 'all' or 'any'
|
|
729
726
|
*
|
|
730
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
727
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
731
728
|
*/
|
|
732
729
|
readonly timeFunction?: string;
|
|
733
730
|
/**
|
|
734
731
|
* prediction block
|
|
735
732
|
*
|
|
736
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
733
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
737
734
|
*/
|
|
738
735
|
readonly prediction?: NrqlAlertConditionWarningPrediction;
|
|
739
736
|
}
|
|
@@ -789,7 +786,7 @@ export declare class NrqlAlertConditionWarningOutputReference extends cdktn.Comp
|
|
|
789
786
|
get predictionInput(): NrqlAlertConditionWarningPrediction | undefined;
|
|
790
787
|
}
|
|
791
788
|
/**
|
|
792
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
789
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition}
|
|
793
790
|
*/
|
|
794
791
|
export declare class NrqlAlertCondition extends cdktn.TerraformResource {
|
|
795
792
|
static readonly tfResourceType = "newrelic_nrql_alert_condition";
|
|
@@ -797,12 +794,12 @@ export declare class NrqlAlertCondition extends cdktn.TerraformResource {
|
|
|
797
794
|
* Generates CDKTN code for importing a NrqlAlertCondition resource upon running "cdktn plan <stack-name>"
|
|
798
795
|
* @param scope The scope in which to define this construct
|
|
799
796
|
* @param importToId The construct id used in the generated config for the NrqlAlertCondition to import
|
|
800
|
-
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
797
|
+
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition#import import section} in the documentation of this resource for the id to use
|
|
801
798
|
* @param provider? Optional instance of the provider where the NrqlAlertCondition to import is found
|
|
802
799
|
*/
|
|
803
800
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktn.TerraformProvider): cdktn.ImportableResource;
|
|
804
801
|
/**
|
|
805
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
802
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.84.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition} Resource
|
|
806
803
|
*
|
|
807
804
|
* @param scope The scope in which to define this construct
|
|
808
805
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|