@cdktf-providers/newrelic 3.75.4 → 3.76.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/README.md +3 -3
- package/dist/account-management/index.d.ts +59 -6
- package/dist/account-management/index.js +168 -6
- package/dist/alert-channel/index.d.ts +30 -30
- package/dist/alert-channel/index.js +6 -6
- package/dist/alert-condition/index.d.ts +23 -23
- package/dist/alert-condition/index.js +6 -6
- package/dist/alert-muting-rule/index.d.ts +23 -23
- package/dist/alert-muting-rule/index.js +6 -6
- package/dist/alert-policy/index.d.ts +8 -8
- package/dist/alert-policy/index.js +6 -6
- package/dist/alert-policy-channel/index.d.ts +9 -9
- package/dist/alert-policy-channel/index.js +6 -6
- package/dist/api-access-key/index.d.ts +10 -10
- package/dist/api-access-key/index.js +6 -6
- package/dist/application-settings/index.d.ts +27 -27
- package/dist/application-settings/index.js +6 -6
- package/dist/browser-application/index.d.ts +9 -9
- package/dist/browser-application/index.js +6 -6
- package/dist/cloud-aws-govcloud-integrations/index.d.ts +110 -110
- package/dist/cloud-aws-govcloud-integrations/index.js +6 -6
- package/dist/cloud-aws-govcloud-link-account/index.d.ts +8 -8
- package/dist/cloud-aws-govcloud-link-account/index.js +6 -6
- package/dist/cloud-aws-integrations/index.d.ts +231 -231
- package/dist/cloud-aws-integrations/index.js +6 -6
- package/dist/cloud-aws-link-account/index.d.ts +8 -8
- package/dist/cloud-aws-link-account/index.js +6 -6
- package/dist/cloud-azure-integrations/index.d.ts +109 -109
- package/dist/cloud-azure-integrations/index.js +6 -6
- package/dist/cloud-azure-link-account/index.d.ts +10 -10
- package/dist/cloud-azure-link-account/index.js +6 -6
- package/dist/cloud-gcp-integrations/index.d.ts +62 -62
- package/dist/cloud-gcp-integrations/index.js +6 -6
- package/dist/cloud-gcp-link-account/index.d.ts +7 -7
- package/dist/cloud-gcp-link-account/index.js +6 -6
- package/dist/cloud-oci-link-account/index.d.ts +18 -18
- package/dist/cloud-oci-link-account/index.js +6 -6
- package/dist/data-newrelic-account/index.d.ts +8 -7
- package/dist/data-newrelic-account/index.js +10 -6
- package/dist/data-newrelic-alert-channel/index.d.ts +6 -6
- package/dist/data-newrelic-alert-channel/index.js +6 -6
- package/dist/data-newrelic-alert-policy/index.d.ts +7 -7
- package/dist/data-newrelic-alert-policy/index.js +6 -6
- package/dist/data-newrelic-application/index.d.ts +5 -5
- package/dist/data-newrelic-application/index.js +6 -6
- package/dist/data-newrelic-authentication-domain/index.d.ts +4 -4
- package/dist/data-newrelic-authentication-domain/index.js +6 -6
- package/dist/data-newrelic-cloud-account/index.d.ts +7 -7
- package/dist/data-newrelic-cloud-account/index.js +6 -6
- package/dist/data-newrelic-entity/index.d.ts +14 -14
- package/dist/data-newrelic-entity/index.js +6 -6
- package/dist/data-newrelic-group/index.d.ts +5 -5
- package/dist/data-newrelic-group/index.js +6 -6
- package/dist/data-newrelic-key-transaction/index.d.ts +7 -7
- package/dist/data-newrelic-key-transaction/index.js +6 -6
- package/dist/data-newrelic-notification-destination/index.d.ts +8 -8
- package/dist/data-newrelic-notification-destination/index.js +6 -6
- package/dist/data-newrelic-obfuscation-expression/index.d.ts +6 -6
- package/dist/data-newrelic-obfuscation-expression/index.js +6 -6
- package/dist/data-newrelic-service-level-alert-helper/index.d.ts +11 -11
- package/dist/data-newrelic-service-level-alert-helper/index.js +6 -6
- package/dist/data-newrelic-synthetics-private-location/index.d.ts +7 -7
- package/dist/data-newrelic-synthetics-private-location/index.js +6 -6
- package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +6 -6
- package/dist/data-newrelic-synthetics-secure-credential/index.js +6 -6
- package/dist/data-newrelic-test-grok-pattern/index.d.ts +7 -7
- package/dist/data-newrelic-test-grok-pattern/index.js +6 -6
- package/dist/data-newrelic-user/index.d.ts +6 -6
- package/dist/data-newrelic-user/index.js +6 -6
- package/dist/data-partition-rule/index.d.ts +12 -12
- package/dist/data-partition-rule/index.js +6 -6
- package/dist/entity-tags/index.d.ts +10 -10
- package/dist/entity-tags/index.js +6 -6
- package/dist/events-to-metrics-rule/index.d.ts +9 -9
- package/dist/events-to-metrics-rule/index.js +6 -6
- package/dist/group/index.d.ts +7 -7
- package/dist/group/index.js +6 -6
- package/dist/infra-alert-condition/index.d.ts +25 -25
- package/dist/infra-alert-condition/index.js +6 -6
- package/dist/insights-event/index.d.ts +11 -11
- package/dist/insights-event/index.js +6 -6
- package/dist/key-transaction/index.d.ts +9 -9
- package/dist/key-transaction/index.js +6 -6
- package/dist/log-parsing-rule/index.d.ts +12 -12
- package/dist/log-parsing-rule/index.js +6 -6
- package/dist/monitor-downtime/index.d.ts +20 -20
- package/dist/monitor-downtime/index.js +6 -6
- package/dist/notification-channel/index.d.ts +18 -18
- package/dist/notification-channel/index.js +6 -6
- package/dist/notification-destination/index.d.ts +28 -28
- package/dist/notification-destination/index.js +6 -6
- package/dist/nrql-alert-condition/index.d.ts +151 -71
- package/dist/nrql-alert-condition/index.js +222 -6
- package/dist/nrql-drop-rule/index.d.ts +10 -10
- package/dist/nrql-drop-rule/index.js +6 -6
- package/dist/obfuscation-expression/index.d.ts +8 -8
- package/dist/obfuscation-expression/index.js +6 -6
- package/dist/obfuscation-rule/index.d.ts +13 -13
- package/dist/obfuscation-rule/index.js +6 -6
- package/dist/one-dashboard/index-structs/structs0.d.ts +382 -382
- package/dist/one-dashboard/index-structs/structs400.d.ts +212 -212
- package/dist/one-dashboard/index.d.ts +10 -10
- package/dist/one-dashboard/index.js +5 -5
- package/dist/one-dashboard-json/index.d.ts +9 -9
- package/dist/one-dashboard-json/index.js +6 -6
- package/dist/one-dashboard-raw/index.d.ts +20 -20
- package/dist/one-dashboard-raw/index.js +6 -6
- package/dist/pipeline-cloud-rule/index.d.ts +8 -8
- package/dist/pipeline-cloud-rule/index.js +6 -6
- package/dist/provider/index.d.ts +17 -17
- package/dist/provider/index.js +6 -6
- package/dist/service-level/index.d.ts +38 -38
- package/dist/service-level/index.js +6 -6
- package/dist/synthetics-alert-condition/index.d.ts +9 -9
- package/dist/synthetics-alert-condition/index.js +6 -6
- package/dist/synthetics-broken-links-monitor/index.d.ts +17 -17
- package/dist/synthetics-broken-links-monitor/index.js +6 -6
- package/dist/synthetics-cert-check-monitor/index.d.ts +18 -18
- package/dist/synthetics-cert-check-monitor/index.js +6 -6
- package/dist/synthetics-monitor/index.d.ts +31 -31
- package/dist/synthetics-monitor/index.js +6 -6
- package/dist/synthetics-multilocation-alert-condition/index.d.ts +14 -14
- package/dist/synthetics-multilocation-alert-condition/index.js +6 -6
- package/dist/synthetics-private-location/index.d.ts +8 -8
- package/dist/synthetics-private-location/index.js +6 -6
- package/dist/synthetics-script-monitor/index.d.ts +26 -26
- package/dist/synthetics-script-monitor/index.js +6 -6
- package/dist/synthetics-secure-credential/index.d.ts +11 -11
- package/dist/synthetics-secure-credential/index.js +6 -6
- package/dist/synthetics-step-monitor/index.d.ts +25 -25
- package/dist/synthetics-step-monitor/index.js +6 -6
- package/dist/user/index.d.ts +8 -8
- package/dist/user/index.js +6 -6
- package/dist/workflow/index.d.ts +26 -26
- package/dist/workflow/index.js +6 -6
- package/dist/workload/index.d.ts +32 -32
- package/dist/workload/index.js +6 -6
- package/package.json +2 -2
|
@@ -4,29 +4,29 @@ export interface AlertConditionConfig extends cdktf.TerraformMetaArguments {
|
|
|
4
4
|
/**
|
|
5
5
|
* One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances.
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#condition_scope AlertCondition#condition_scope}
|
|
8
8
|
*/
|
|
9
9
|
readonly conditionScope?: string;
|
|
10
10
|
/**
|
|
11
11
|
* Whether the condition is enabled.
|
|
12
12
|
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#enabled AlertCondition#enabled}
|
|
14
14
|
*/
|
|
15
15
|
readonly enabled?: boolean | cdktf.IResolvable;
|
|
16
16
|
/**
|
|
17
17
|
* The instance IDs associated with this condition.
|
|
18
18
|
*
|
|
19
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#entities AlertCondition#entities}
|
|
20
20
|
*/
|
|
21
21
|
readonly entities: number[];
|
|
22
22
|
/**
|
|
23
23
|
* A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with gc_cpu_time condition type.
|
|
24
24
|
*
|
|
25
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#gc_metric AlertCondition#gc_metric}
|
|
26
26
|
*/
|
|
27
27
|
readonly gcMetric?: string;
|
|
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.76.1/docs/resources/alert_condition#id AlertCondition#id}
|
|
30
30
|
*
|
|
31
31
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
32
32
|
* 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.
|
|
@@ -35,55 +35,55 @@ export interface AlertConditionConfig extends cdktf.TerraformMetaArguments {
|
|
|
35
35
|
/**
|
|
36
36
|
* The metric field accepts parameters based on the type set.
|
|
37
37
|
*
|
|
38
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#metric AlertCondition#metric}
|
|
39
39
|
*/
|
|
40
40
|
readonly metric: string;
|
|
41
41
|
/**
|
|
42
42
|
* The title of the condition. Must be between 1 and 128 characters, inclusive.
|
|
43
43
|
*
|
|
44
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#name AlertCondition#name}
|
|
45
45
|
*/
|
|
46
46
|
readonly name: string;
|
|
47
47
|
/**
|
|
48
48
|
* The ID of the policy where this condition should be used.
|
|
49
49
|
*
|
|
50
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
50
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#policy_id AlertCondition#policy_id}
|
|
51
51
|
*/
|
|
52
52
|
readonly policyId: number;
|
|
53
53
|
/**
|
|
54
54
|
* Runbook URL to display in notifications.
|
|
55
55
|
*
|
|
56
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
56
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#runbook_url AlertCondition#runbook_url}
|
|
57
57
|
*/
|
|
58
58
|
readonly runbookUrl?: string;
|
|
59
59
|
/**
|
|
60
|
-
* The type of condition. One of: (
|
|
60
|
+
* The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric, servers_metric).
|
|
61
61
|
*
|
|
62
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
62
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#type AlertCondition#type}
|
|
63
63
|
*/
|
|
64
64
|
readonly type: string;
|
|
65
65
|
/**
|
|
66
66
|
* A custom metric to be evaluated.
|
|
67
67
|
*
|
|
68
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
68
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#user_defined_metric AlertCondition#user_defined_metric}
|
|
69
69
|
*/
|
|
70
70
|
readonly userDefinedMetric?: string;
|
|
71
71
|
/**
|
|
72
72
|
* One of: (average, min, max, total, sample_size, percent, rate).
|
|
73
73
|
*
|
|
74
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
74
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#user_defined_value_function AlertCondition#user_defined_value_function}
|
|
75
75
|
*/
|
|
76
76
|
readonly userDefinedValueFunction?: string;
|
|
77
77
|
/**
|
|
78
78
|
* Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be between 1 and 720 hours.
|
|
79
79
|
*
|
|
80
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
80
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#violation_close_timer AlertCondition#violation_close_timer}
|
|
81
81
|
*/
|
|
82
82
|
readonly violationCloseTimer?: number;
|
|
83
83
|
/**
|
|
84
84
|
* term block
|
|
85
85
|
*
|
|
86
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
86
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#term AlertCondition#term}
|
|
87
87
|
*/
|
|
88
88
|
readonly term: AlertConditionTerm[] | cdktf.IResolvable;
|
|
89
89
|
}
|
|
@@ -91,31 +91,31 @@ export interface AlertConditionTerm {
|
|
|
91
91
|
/**
|
|
92
92
|
* In minutes, must be in the range of 5 to 120, inclusive.
|
|
93
93
|
*
|
|
94
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
94
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#duration AlertCondition#duration}
|
|
95
95
|
*/
|
|
96
96
|
readonly duration: number;
|
|
97
97
|
/**
|
|
98
98
|
* One of (above, below, equal). Defaults to equal.
|
|
99
99
|
*
|
|
100
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
100
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#operator AlertCondition#operator}
|
|
101
101
|
*/
|
|
102
102
|
readonly operator?: string;
|
|
103
103
|
/**
|
|
104
104
|
* One of (critical, warning). Defaults to critical.
|
|
105
105
|
*
|
|
106
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
106
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#priority AlertCondition#priority}
|
|
107
107
|
*/
|
|
108
108
|
readonly priority?: string;
|
|
109
109
|
/**
|
|
110
110
|
* Must be 0 or greater.
|
|
111
111
|
*
|
|
112
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
112
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#threshold AlertCondition#threshold}
|
|
113
113
|
*/
|
|
114
114
|
readonly threshold: number;
|
|
115
115
|
/**
|
|
116
116
|
* One of (all, any).
|
|
117
117
|
*
|
|
118
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
118
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#time_function AlertCondition#time_function}
|
|
119
119
|
*/
|
|
120
120
|
readonly timeFunction: string;
|
|
121
121
|
}
|
|
@@ -173,7 +173,7 @@ export declare class AlertConditionTermList extends cdktf.ComplexList {
|
|
|
173
173
|
get(index: number): AlertConditionTermOutputReference;
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
176
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition newrelic_alert_condition}
|
|
177
177
|
*/
|
|
178
178
|
export declare class AlertCondition extends cdktf.TerraformResource {
|
|
179
179
|
static readonly tfResourceType = "newrelic_alert_condition";
|
|
@@ -181,12 +181,12 @@ export declare class AlertCondition extends cdktf.TerraformResource {
|
|
|
181
181
|
* Generates CDKTF code for importing a AlertCondition resource upon running "cdktf plan <stack-name>"
|
|
182
182
|
* @param scope The scope in which to define this construct
|
|
183
183
|
* @param importToId The construct id used in the generated config for the AlertCondition to import
|
|
184
|
-
* @param importFromId The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
184
|
+
* @param importFromId The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#import import section} in the documentation of this resource for the id to use
|
|
185
185
|
* @param provider? Optional instance of the provider where the AlertCondition to import is found
|
|
186
186
|
*/
|
|
187
187
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
188
188
|
/**
|
|
189
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
189
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition newrelic_alert_condition} Resource
|
|
190
190
|
*
|
|
191
191
|
* @param scope The scope in which to define this construct
|
|
192
192
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition
|
|
2
2
|
// generated from terraform resource schema
|
|
3
3
|
import * as cdktf from 'cdktf';
|
|
4
4
|
export function alertConditionTermToTerraform(struct) {
|
|
@@ -213,7 +213,7 @@ export class AlertConditionTermList extends cdktf.ComplexList {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
216
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition newrelic_alert_condition}
|
|
217
217
|
*/
|
|
218
218
|
export class AlertCondition extends cdktf.TerraformResource {
|
|
219
219
|
// =================
|
|
@@ -227,7 +227,7 @@ export class AlertCondition extends cdktf.TerraformResource {
|
|
|
227
227
|
* Generates CDKTF code for importing a AlertCondition resource upon running "cdktf plan <stack-name>"
|
|
228
228
|
* @param scope The scope in which to define this construct
|
|
229
229
|
* @param importToId The construct id used in the generated config for the AlertCondition to import
|
|
230
|
-
* @param importFromId The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
230
|
+
* @param importFromId The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition#import import section} in the documentation of this resource for the id to use
|
|
231
231
|
* @param provider? Optional instance of the provider where the AlertCondition to import is found
|
|
232
232
|
*/
|
|
233
233
|
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
@@ -237,7 +237,7 @@ export class AlertCondition extends cdktf.TerraformResource {
|
|
|
237
237
|
// INITIALIZER
|
|
238
238
|
// ===========
|
|
239
239
|
/**
|
|
240
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
240
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_condition newrelic_alert_condition} Resource
|
|
241
241
|
*
|
|
242
242
|
* @param scope The scope in which to define this construct
|
|
243
243
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -248,8 +248,8 @@ export class AlertCondition extends cdktf.TerraformResource {
|
|
|
248
248
|
terraformResourceType: 'newrelic_alert_condition',
|
|
249
249
|
terraformGeneratorMetadata: {
|
|
250
250
|
providerName: 'newrelic',
|
|
251
|
-
providerVersion: '3.
|
|
252
|
-
providerVersionConstraint: '3.
|
|
251
|
+
providerVersion: '3.76.1',
|
|
252
|
+
providerVersionConstraint: '3.76.1'
|
|
253
253
|
},
|
|
254
254
|
provider: config.provider,
|
|
255
255
|
dependsOn: config.dependsOn,
|
|
@@ -4,29 +4,29 @@ export interface AlertMutingRuleConfig extends cdktf.TerraformMetaArguments {
|
|
|
4
4
|
/**
|
|
5
5
|
* The account id of the MutingRule..
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#account_id AlertMutingRule#account_id}
|
|
8
8
|
*/
|
|
9
9
|
readonly accountId?: number;
|
|
10
10
|
/**
|
|
11
11
|
* The action when the muting rule window is ended or disabled.
|
|
12
12
|
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#action_on_muting_rule_window_ended AlertMutingRule#action_on_muting_rule_window_ended}
|
|
14
14
|
*/
|
|
15
15
|
readonly actionOnMutingRuleWindowEnded?: string;
|
|
16
16
|
/**
|
|
17
17
|
* The description of the MutingRule.
|
|
18
18
|
*
|
|
19
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#description AlertMutingRule#description}
|
|
20
20
|
*/
|
|
21
21
|
readonly description?: string;
|
|
22
22
|
/**
|
|
23
23
|
* Whether the MutingRule is enabled.
|
|
24
24
|
*
|
|
25
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#enabled AlertMutingRule#enabled}
|
|
26
26
|
*/
|
|
27
27
|
readonly enabled: boolean | cdktf.IResolvable;
|
|
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.76.1/docs/resources/alert_muting_rule#id AlertMutingRule#id}
|
|
30
30
|
*
|
|
31
31
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
32
32
|
* 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.
|
|
@@ -35,19 +35,19 @@ export interface AlertMutingRuleConfig extends cdktf.TerraformMetaArguments {
|
|
|
35
35
|
/**
|
|
36
36
|
* The name of the MutingRule.
|
|
37
37
|
*
|
|
38
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#name AlertMutingRule#name}
|
|
39
39
|
*/
|
|
40
40
|
readonly name: string;
|
|
41
41
|
/**
|
|
42
42
|
* condition block
|
|
43
43
|
*
|
|
44
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#condition AlertMutingRule#condition}
|
|
45
45
|
*/
|
|
46
46
|
readonly condition: AlertMutingRuleCondition;
|
|
47
47
|
/**
|
|
48
48
|
* schedule block
|
|
49
49
|
*
|
|
50
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
50
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#schedule AlertMutingRule#schedule}
|
|
51
51
|
*/
|
|
52
52
|
readonly schedule?: AlertMutingRuleSchedule;
|
|
53
53
|
}
|
|
@@ -55,19 +55,19 @@ export interface AlertMutingRuleConditionConditions {
|
|
|
55
55
|
/**
|
|
56
56
|
* The attribute on an incident.
|
|
57
57
|
*
|
|
58
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
58
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#attribute AlertMutingRule#attribute}
|
|
59
59
|
*/
|
|
60
60
|
readonly attribute: string;
|
|
61
61
|
/**
|
|
62
62
|
* The operator used to compare the attribute's value with the supplied value(s).
|
|
63
63
|
*
|
|
64
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
64
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#operator AlertMutingRule#operator}
|
|
65
65
|
*/
|
|
66
66
|
readonly operator: string;
|
|
67
67
|
/**
|
|
68
68
|
* The value(s) to compare against the attribute's value.
|
|
69
69
|
*
|
|
70
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
70
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#values AlertMutingRule#values}
|
|
71
71
|
*/
|
|
72
72
|
readonly values: string[];
|
|
73
73
|
}
|
|
@@ -118,13 +118,13 @@ export interface AlertMutingRuleCondition {
|
|
|
118
118
|
/**
|
|
119
119
|
* The operator used to combine all the MutingRuleConditions within the group.
|
|
120
120
|
*
|
|
121
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
121
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#operator AlertMutingRule#operator}
|
|
122
122
|
*/
|
|
123
123
|
readonly operator: string;
|
|
124
124
|
/**
|
|
125
125
|
* conditions block
|
|
126
126
|
*
|
|
127
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
127
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#conditions AlertMutingRule#conditions}
|
|
128
128
|
*/
|
|
129
129
|
readonly conditions: AlertMutingRuleConditionConditions[] | cdktf.IResolvable;
|
|
130
130
|
}
|
|
@@ -152,43 +152,43 @@ export interface AlertMutingRuleSchedule {
|
|
|
152
152
|
/**
|
|
153
153
|
* The datetime stamp when the MutingRule schedule should stop repeating.
|
|
154
154
|
*
|
|
155
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
155
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#end_repeat AlertMutingRule#end_repeat}
|
|
156
156
|
*/
|
|
157
157
|
readonly endRepeat?: string;
|
|
158
158
|
/**
|
|
159
159
|
* The datetime stamp representing when the MutingRule should end.
|
|
160
160
|
*
|
|
161
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
161
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#end_time AlertMutingRule#end_time}
|
|
162
162
|
*/
|
|
163
163
|
readonly endTime?: string;
|
|
164
164
|
/**
|
|
165
165
|
* The frequency the MutingRule schedule repeats. One of [DAILY, WEEKLY, MONTHLY]
|
|
166
166
|
*
|
|
167
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
167
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#repeat AlertMutingRule#repeat}
|
|
168
168
|
*/
|
|
169
169
|
readonly repeat?: string;
|
|
170
170
|
/**
|
|
171
171
|
* The number of times the MutingRule schedule should repeat.
|
|
172
172
|
*
|
|
173
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
173
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#repeat_count AlertMutingRule#repeat_count}
|
|
174
174
|
*/
|
|
175
175
|
readonly repeatCount?: number;
|
|
176
176
|
/**
|
|
177
177
|
* The datetime stamp representing when the MutingRule should start.
|
|
178
178
|
*
|
|
179
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
179
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#start_time AlertMutingRule#start_time}
|
|
180
180
|
*/
|
|
181
181
|
readonly startTime?: string;
|
|
182
182
|
/**
|
|
183
183
|
* The time zone that applies to the MutingRule schedule.
|
|
184
184
|
*
|
|
185
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
185
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#time_zone AlertMutingRule#time_zone}
|
|
186
186
|
*/
|
|
187
187
|
readonly timeZone: string;
|
|
188
188
|
/**
|
|
189
189
|
* The day(s) of the week that a MutingRule should repeat when the repeat field is set to WEEKLY.
|
|
190
190
|
*
|
|
191
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
191
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#weekly_repeat_days AlertMutingRule#weekly_repeat_days}
|
|
192
192
|
*/
|
|
193
193
|
readonly weeklyRepeatDays?: string[];
|
|
194
194
|
}
|
|
@@ -239,7 +239,7 @@ export declare class AlertMutingRuleScheduleOutputReference extends cdktf.Comple
|
|
|
239
239
|
get weeklyRepeatDaysInput(): string[];
|
|
240
240
|
}
|
|
241
241
|
/**
|
|
242
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
242
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule newrelic_alert_muting_rule}
|
|
243
243
|
*/
|
|
244
244
|
export declare class AlertMutingRule extends cdktf.TerraformResource {
|
|
245
245
|
static readonly tfResourceType = "newrelic_alert_muting_rule";
|
|
@@ -247,12 +247,12 @@ export declare class AlertMutingRule extends cdktf.TerraformResource {
|
|
|
247
247
|
* Generates CDKTF code for importing a AlertMutingRule resource upon running "cdktf plan <stack-name>"
|
|
248
248
|
* @param scope The scope in which to define this construct
|
|
249
249
|
* @param importToId The construct id used in the generated config for the AlertMutingRule to import
|
|
250
|
-
* @param importFromId The id of the existing AlertMutingRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
250
|
+
* @param importFromId The id of the existing AlertMutingRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#import import section} in the documentation of this resource for the id to use
|
|
251
251
|
* @param provider? Optional instance of the provider where the AlertMutingRule to import is found
|
|
252
252
|
*/
|
|
253
253
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
254
254
|
/**
|
|
255
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
255
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule newrelic_alert_muting_rule} Resource
|
|
256
256
|
*
|
|
257
257
|
* @param scope The scope in which to define this construct
|
|
258
258
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule
|
|
2
2
|
// generated from terraform resource schema
|
|
3
3
|
import * as cdktf from 'cdktf';
|
|
4
4
|
export function alertMutingRuleConditionConditionsToTerraform(struct) {
|
|
@@ -490,7 +490,7 @@ export class AlertMutingRuleScheduleOutputReference extends cdktf.ComplexObject
|
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
/**
|
|
493
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
493
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule newrelic_alert_muting_rule}
|
|
494
494
|
*/
|
|
495
495
|
export class AlertMutingRule extends cdktf.TerraformResource {
|
|
496
496
|
// =================
|
|
@@ -504,7 +504,7 @@ export class AlertMutingRule extends cdktf.TerraformResource {
|
|
|
504
504
|
* Generates CDKTF code for importing a AlertMutingRule resource upon running "cdktf plan <stack-name>"
|
|
505
505
|
* @param scope The scope in which to define this construct
|
|
506
506
|
* @param importToId The construct id used in the generated config for the AlertMutingRule to import
|
|
507
|
-
* @param importFromId The id of the existing AlertMutingRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
507
|
+
* @param importFromId The id of the existing AlertMutingRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule#import import section} in the documentation of this resource for the id to use
|
|
508
508
|
* @param provider? Optional instance of the provider where the AlertMutingRule to import is found
|
|
509
509
|
*/
|
|
510
510
|
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
@@ -514,7 +514,7 @@ export class AlertMutingRule extends cdktf.TerraformResource {
|
|
|
514
514
|
// INITIALIZER
|
|
515
515
|
// ===========
|
|
516
516
|
/**
|
|
517
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
517
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_muting_rule newrelic_alert_muting_rule} Resource
|
|
518
518
|
*
|
|
519
519
|
* @param scope The scope in which to define this construct
|
|
520
520
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -525,8 +525,8 @@ export class AlertMutingRule extends cdktf.TerraformResource {
|
|
|
525
525
|
terraformResourceType: 'newrelic_alert_muting_rule',
|
|
526
526
|
terraformGeneratorMetadata: {
|
|
527
527
|
providerName: 'newrelic',
|
|
528
|
-
providerVersion: '3.
|
|
529
|
-
providerVersionConstraint: '3.
|
|
528
|
+
providerVersion: '3.76.1',
|
|
529
|
+
providerVersionConstraint: '3.76.1'
|
|
530
530
|
},
|
|
531
531
|
provider: config.provider,
|
|
532
532
|
dependsOn: config.dependsOn,
|
|
@@ -4,17 +4,17 @@ export interface AlertPolicyConfig extends cdktf.TerraformMetaArguments {
|
|
|
4
4
|
/**
|
|
5
5
|
* The New Relic account ID to operate on.
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy#account_id AlertPolicy#account_id}
|
|
8
8
|
*/
|
|
9
9
|
readonly accountId?: number;
|
|
10
10
|
/**
|
|
11
11
|
* An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be imported via terraform import.
|
|
12
12
|
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy#channel_ids AlertPolicy#channel_ids}
|
|
14
14
|
*/
|
|
15
15
|
readonly channelIds?: number[];
|
|
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.76.1/docs/resources/alert_policy#id AlertPolicy#id}
|
|
18
18
|
*
|
|
19
19
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
20
20
|
* 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.
|
|
@@ -23,18 +23,18 @@ export interface AlertPolicyConfig extends cdktf.TerraformMetaArguments {
|
|
|
23
23
|
/**
|
|
24
24
|
* The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY.
|
|
25
25
|
*
|
|
26
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy#incident_preference AlertPolicy#incident_preference}
|
|
27
27
|
*/
|
|
28
28
|
readonly incidentPreference?: string;
|
|
29
29
|
/**
|
|
30
30
|
* The name of the policy.
|
|
31
31
|
*
|
|
32
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy#name AlertPolicy#name}
|
|
33
33
|
*/
|
|
34
34
|
readonly name: string;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
37
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy newrelic_alert_policy}
|
|
38
38
|
*/
|
|
39
39
|
export declare class AlertPolicy extends cdktf.TerraformResource {
|
|
40
40
|
static readonly tfResourceType = "newrelic_alert_policy";
|
|
@@ -42,12 +42,12 @@ export declare class AlertPolicy extends cdktf.TerraformResource {
|
|
|
42
42
|
* Generates CDKTF code for importing a AlertPolicy resource upon running "cdktf plan <stack-name>"
|
|
43
43
|
* @param scope The scope in which to define this construct
|
|
44
44
|
* @param importToId The construct id used in the generated config for the AlertPolicy to import
|
|
45
|
-
* @param importFromId The id of the existing AlertPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
45
|
+
* @param importFromId The id of the existing AlertPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy#import import section} in the documentation of this resource for the id to use
|
|
46
46
|
* @param provider? Optional instance of the provider where the AlertPolicy to import is found
|
|
47
47
|
*/
|
|
48
48
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
49
49
|
/**
|
|
50
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
50
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy newrelic_alert_policy} Resource
|
|
51
51
|
*
|
|
52
52
|
* @param scope The scope in which to define this construct
|
|
53
53
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy
|
|
2
2
|
// generated from terraform resource schema
|
|
3
3
|
import * as cdktf from 'cdktf';
|
|
4
4
|
/**
|
|
5
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy newrelic_alert_policy}
|
|
6
6
|
*/
|
|
7
7
|
export class AlertPolicy extends cdktf.TerraformResource {
|
|
8
8
|
// =================
|
|
@@ -16,7 +16,7 @@ export class AlertPolicy extends cdktf.TerraformResource {
|
|
|
16
16
|
* Generates CDKTF code for importing a AlertPolicy resource upon running "cdktf plan <stack-name>"
|
|
17
17
|
* @param scope The scope in which to define this construct
|
|
18
18
|
* @param importToId The construct id used in the generated config for the AlertPolicy to import
|
|
19
|
-
* @param importFromId The id of the existing AlertPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
19
|
+
* @param importFromId The id of the existing AlertPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy#import import section} in the documentation of this resource for the id to use
|
|
20
20
|
* @param provider? Optional instance of the provider where the AlertPolicy to import is found
|
|
21
21
|
*/
|
|
22
22
|
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
@@ -26,7 +26,7 @@ export class AlertPolicy extends cdktf.TerraformResource {
|
|
|
26
26
|
// INITIALIZER
|
|
27
27
|
// ===========
|
|
28
28
|
/**
|
|
29
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy newrelic_alert_policy} Resource
|
|
30
30
|
*
|
|
31
31
|
* @param scope The scope in which to define this construct
|
|
32
32
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -37,8 +37,8 @@ export class AlertPolicy extends cdktf.TerraformResource {
|
|
|
37
37
|
terraformResourceType: 'newrelic_alert_policy',
|
|
38
38
|
terraformGeneratorMetadata: {
|
|
39
39
|
providerName: 'newrelic',
|
|
40
|
-
providerVersion: '3.
|
|
41
|
-
providerVersionConstraint: '3.
|
|
40
|
+
providerVersion: '3.76.1',
|
|
41
|
+
providerVersionConstraint: '3.76.1'
|
|
42
42
|
},
|
|
43
43
|
provider: config.provider,
|
|
44
44
|
dependsOn: config.dependsOn,
|
|
@@ -4,17 +4,17 @@ export interface AlertPolicyChannelConfig extends cdktf.TerraformMetaArguments {
|
|
|
4
4
|
/**
|
|
5
5
|
* The New Relic account ID where you want to link the channel to.
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy_channel#account_id AlertPolicyChannel#account_id}
|
|
8
8
|
*/
|
|
9
9
|
readonly accountId?: number;
|
|
10
10
|
/**
|
|
11
11
|
* Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift your Terraform state.
|
|
12
12
|
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy_channel#channel_ids AlertPolicyChannel#channel_ids}
|
|
14
14
|
*/
|
|
15
15
|
readonly channelIds: number[];
|
|
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.76.1/docs/resources/alert_policy_channel#id AlertPolicyChannel#id}
|
|
18
18
|
*
|
|
19
19
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
20
20
|
* 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.
|
|
@@ -23,19 +23,19 @@ export interface AlertPolicyChannelConfig extends cdktf.TerraformMetaArguments {
|
|
|
23
23
|
/**
|
|
24
24
|
* The ID of the policy.
|
|
25
25
|
*
|
|
26
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy_channel#policy_id AlertPolicyChannel#policy_id}
|
|
27
27
|
*/
|
|
28
28
|
readonly policyId: number;
|
|
29
29
|
/**
|
|
30
30
|
* timeouts block
|
|
31
31
|
*
|
|
32
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy_channel#timeouts AlertPolicyChannel#timeouts}
|
|
33
33
|
*/
|
|
34
34
|
readonly timeouts?: AlertPolicyChannelTimeouts;
|
|
35
35
|
}
|
|
36
36
|
export interface AlertPolicyChannelTimeouts {
|
|
37
37
|
/**
|
|
38
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy_channel#create AlertPolicyChannel#create}
|
|
39
39
|
*/
|
|
40
40
|
readonly create?: string;
|
|
41
41
|
}
|
|
@@ -58,7 +58,7 @@ export declare class AlertPolicyChannelTimeoutsOutputReference extends cdktf.Com
|
|
|
58
58
|
get createInput(): string;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
61
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy_channel newrelic_alert_policy_channel}
|
|
62
62
|
*/
|
|
63
63
|
export declare class AlertPolicyChannel extends cdktf.TerraformResource {
|
|
64
64
|
static readonly tfResourceType = "newrelic_alert_policy_channel";
|
|
@@ -66,12 +66,12 @@ export declare class AlertPolicyChannel extends cdktf.TerraformResource {
|
|
|
66
66
|
* Generates CDKTF code for importing a AlertPolicyChannel resource upon running "cdktf plan <stack-name>"
|
|
67
67
|
* @param scope The scope in which to define this construct
|
|
68
68
|
* @param importToId The construct id used in the generated config for the AlertPolicyChannel to import
|
|
69
|
-
* @param importFromId The id of the existing AlertPolicyChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
69
|
+
* @param importFromId The id of the existing AlertPolicyChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy_channel#import import section} in the documentation of this resource for the id to use
|
|
70
70
|
* @param provider? Optional instance of the provider where the AlertPolicyChannel to import is found
|
|
71
71
|
*/
|
|
72
72
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
73
73
|
/**
|
|
74
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
74
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_policy_channel newrelic_alert_policy_channel} Resource
|
|
75
75
|
*
|
|
76
76
|
* @param scope The scope in which to define this construct
|
|
77
77
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|