@pulumi/newrelic 5.1.0 → 5.2.0

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.
Files changed (146) hide show
  1. package/alertChannel.d.ts +2 -1
  2. package/alertChannel.js +22 -22
  3. package/alertChannel.js.map +1 -1
  4. package/alertCondition.d.ts +8 -7
  5. package/alertCondition.js +22 -22
  6. package/alertCondition.js.map +1 -1
  7. package/alertMutingRule.d.ts +5 -4
  8. package/alertMutingRule.js +22 -22
  9. package/alertMutingRule.js.map +1 -1
  10. package/alertPolicy.js +20 -20
  11. package/alertPolicy.js.map +1 -1
  12. package/alertPolicyChannel.js +22 -22
  13. package/alertPolicyChannel.js.map +1 -1
  14. package/apiAccessKey.js +24 -22
  15. package/apiAccessKey.js.map +1 -1
  16. package/cloud/awsGovcloudIntegrations.d.ts +2 -1
  17. package/cloud/awsGovcloudIntegrations.js +22 -22
  18. package/cloud/awsGovcloudIntegrations.js.map +1 -1
  19. package/cloud/awsGovcloudLinkAccount.js +26 -24
  20. package/cloud/awsGovcloudLinkAccount.js.map +1 -1
  21. package/cloud/awsIntegrations.d.ts +2 -1
  22. package/cloud/awsIntegrations.js +22 -22
  23. package/cloud/awsIntegrations.js.map +1 -1
  24. package/cloud/awsLinkAccount.js +22 -22
  25. package/cloud/awsLinkAccount.js.map +1 -1
  26. package/cloud/azureIntegrations.d.ts +89 -64
  27. package/cloud/azureIntegrations.js +26 -22
  28. package/cloud/azureIntegrations.js.map +1 -1
  29. package/cloud/azureLinkAccount.js +25 -23
  30. package/cloud/azureLinkAccount.js.map +1 -1
  31. package/cloud/gcpIntegrations.d.ts +14 -1
  32. package/cloud/gcpIntegrations.js +24 -22
  33. package/cloud/gcpIntegrations.js.map +1 -1
  34. package/cloud/gcpLinkAccount.js +21 -21
  35. package/cloud/gcpLinkAccount.js.map +1 -1
  36. package/cloud/index.d.ts +24 -8
  37. package/cloud/index.js +25 -40
  38. package/cloud/index.js.map +1 -1
  39. package/entityTags.d.ts +2 -32
  40. package/entityTags.js +22 -53
  41. package/entityTags.js.map +1 -1
  42. package/eventsToMetricsRule.js +22 -22
  43. package/eventsToMetricsRule.js.map +1 -1
  44. package/getAlertChannel.d.ts +1 -1
  45. package/getAlertChannel.js.map +1 -1
  46. package/getEntity.d.ts +14 -4
  47. package/getEntity.js +1 -1
  48. package/getEntity.js.map +1 -1
  49. package/getObfuscationExpression.d.ts +65 -0
  50. package/getObfuscationExpression.js +48 -0
  51. package/getObfuscationExpression.js.map +1 -0
  52. package/index.d.ts +87 -26
  53. package/index.js +92 -81
  54. package/index.js.map +1 -1
  55. package/infraAlertCondition.d.ts +11 -10
  56. package/infraAlertCondition.js +22 -22
  57. package/infraAlertCondition.js.map +1 -1
  58. package/insights/event.d.ts +2 -1
  59. package/insights/event.js +17 -17
  60. package/insights/event.js.map +1 -1
  61. package/insights/index.d.ts +3 -1
  62. package/insights/index.js +4 -19
  63. package/insights/index.js.map +1 -1
  64. package/notificationChannel.d.ts +68 -13
  65. package/notificationChannel.js +88 -34
  66. package/notificationChannel.js.map +1 -1
  67. package/notificationDestination.d.ts +2 -1
  68. package/notificationDestination.js +22 -22
  69. package/notificationDestination.js.map +1 -1
  70. package/nrqlAlertCondition.d.ts +22 -21
  71. package/nrqlAlertCondition.js +27 -27
  72. package/nrqlAlertCondition.js.map +1 -1
  73. package/nrqlDropRule.js +22 -22
  74. package/nrqlDropRule.js.map +1 -1
  75. package/obfuscationExpression.d.ts +108 -0
  76. package/obfuscationExpression.js +82 -0
  77. package/obfuscationExpression.js.map +1 -0
  78. package/obfuscationRule.d.ts +143 -0
  79. package/obfuscationRule.js +101 -0
  80. package/obfuscationRule.js.map +1 -0
  81. package/oneDashboard.d.ts +113 -3
  82. package/oneDashboard.js +123 -24
  83. package/oneDashboard.js.map +1 -1
  84. package/oneDashboardJson.d.ts +3 -15
  85. package/oneDashboardJson.js +22 -34
  86. package/oneDashboardJson.js.map +1 -1
  87. package/oneDashboardRaw.d.ts +4 -1
  88. package/oneDashboardRaw.js +24 -22
  89. package/oneDashboardRaw.js.map +1 -1
  90. package/package.json +2 -2
  91. package/package.json.dev +2 -2
  92. package/plugins/applicationSettings.js +22 -22
  93. package/plugins/applicationSettings.js.map +1 -1
  94. package/plugins/index.d.ts +6 -2
  95. package/plugins/index.js +7 -22
  96. package/plugins/index.js.map +1 -1
  97. package/plugins/workload.d.ts +120 -2
  98. package/plugins/workload.js +110 -23
  99. package/plugins/workload.js.map +1 -1
  100. package/provider.d.ts +3 -3
  101. package/provider.js +19 -14
  102. package/provider.js.map +1 -1
  103. package/serviceLevel.d.ts +2 -1
  104. package/serviceLevel.js +22 -22
  105. package/serviceLevel.js.map +1 -1
  106. package/synthetics/alertCondition.js +22 -22
  107. package/synthetics/alertCondition.js.map +1 -1
  108. package/synthetics/brokenLinksMonitor.d.ts +9 -8
  109. package/synthetics/brokenLinksMonitor.js +26 -26
  110. package/synthetics/brokenLinksMonitor.js.map +1 -1
  111. package/synthetics/certCheckMonitor.d.ts +6 -5
  112. package/synthetics/certCheckMonitor.js +26 -26
  113. package/synthetics/certCheckMonitor.js.map +1 -1
  114. package/synthetics/getPrivateLocation.d.ts +35 -0
  115. package/synthetics/getPrivateLocation.js +27 -0
  116. package/synthetics/getPrivateLocation.js.map +1 -1
  117. package/synthetics/getSecureCredential.d.ts +1 -0
  118. package/synthetics/getSecureCredential.js.map +1 -1
  119. package/synthetics/index.d.ts +33 -11
  120. package/synthetics/index.js +34 -45
  121. package/synthetics/index.js.map +1 -1
  122. package/synthetics/monitor.d.ts +29 -33
  123. package/synthetics/monitor.js +40 -45
  124. package/synthetics/monitor.js.map +1 -1
  125. package/synthetics/multiLocationAlertCondition.d.ts +2 -1
  126. package/synthetics/multiLocationAlertCondition.js +22 -22
  127. package/synthetics/multiLocationAlertCondition.js.map +1 -1
  128. package/synthetics/privateLocation.d.ts +7 -8
  129. package/synthetics/privateLocation.js +24 -25
  130. package/synthetics/privateLocation.js.map +1 -1
  131. package/synthetics/scriptMonitor.d.ts +15 -21
  132. package/synthetics/scriptMonitor.js +32 -39
  133. package/synthetics/scriptMonitor.js.map +1 -1
  134. package/synthetics/secureCredential.js +25 -23
  135. package/synthetics/secureCredential.js.map +1 -1
  136. package/synthetics/stepMonitor.d.ts +6 -5
  137. package/synthetics/stepMonitor.js +26 -26
  138. package/synthetics/stepMonitor.js.map +1 -1
  139. package/types/index.js.map +1 -1
  140. package/types/input.d.ts +288 -72
  141. package/types/output.d.ts +282 -72
  142. package/utilities.js +13 -1
  143. package/utilities.js.map +1 -1
  144. package/workflow.d.ts +99 -112
  145. package/workflow.js +82 -105
  146. package/workflow.js.map +1 -1
@@ -1,8 +1,11 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "./types";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  /**
4
5
  * Use this resource to create and manage New Relic notification channels. Details regarding supported products and permissions can be found [here](https://docs.newrelic.com/docs/alerts-applied-intelligence/notifications/destinations).
5
6
  *
7
+ * A channel is an entity that is used to configure notifications. It is also called a message template. It is a separate entity from workflows, but a channel is required in order to create a workflow.
8
+ *
6
9
  * ## Example Usage
7
10
  *
8
11
  * ##### [Webhook](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#webhook)
@@ -14,6 +17,7 @@ import { input as inputs, output as outputs } from "./types";
14
17
  * accountId: 12345678,
15
18
  * destinationId: "00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
16
19
  * product: "IINT", // (Workflows)
20
+ * // must be valid json
17
21
  * properties: [{
18
22
  * key: "payload",
19
23
  * label: "Payload Template",
@@ -57,10 +61,16 @@ import { input as inputs, output as outputs } from "./types";
57
61
  * accountId: 12345678,
58
62
  * destinationId: "00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
59
63
  * product: "ERROR_TRACKING",
60
- * properties: [{
61
- * key: "subject",
62
- * value: "New Subject Title",
63
- * }],
64
+ * properties: [
65
+ * {
66
+ * key: "subject",
67
+ * value: "New Subject Title",
68
+ * },
69
+ * {
70
+ * key: "customDetailsEmail",
71
+ * value: "issue id - {{issueId}}",
72
+ * },
73
+ * ],
64
74
  * type: "EMAIL",
65
75
  * });
66
76
  * ```
@@ -118,6 +128,24 @@ import { input as inputs, output as outputs } from "./types";
118
128
  * key: "email",
119
129
  * value: "example@email.com",
120
130
  * },
131
+ * // must be valid json
132
+ * {
133
+ * key: "customDetails",
134
+ * value: ` {
135
+ * "id":{{json issueId}},
136
+ * "IssueURL":{{json issuePageUrl}},
137
+ * "NewRelic priority":{{json priority}},
138
+ * "Total Incidents":{{json totalIncidents}},
139
+ * "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
140
+ * "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
141
+ * "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
142
+ * "isCorrelated":{{json isCorrelated}},
143
+ * "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
144
+ * "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
145
+ * "Workflow Name":{{json workflowName}}
146
+ * }
147
+ * `,
148
+ * },
121
149
  * ],
122
150
  * type: "PAGERDUTY_ACCOUNT_INTEGRATION",
123
151
  * });
@@ -132,10 +160,30 @@ import { input as inputs, output as outputs } from "./types";
132
160
  * accountId: 12345678,
133
161
  * destinationId: "00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
134
162
  * product: "IINT",
135
- * properties: [{
136
- * key: "summary",
137
- * value: "General summary",
138
- * }],
163
+ * properties: [
164
+ * {
165
+ * key: "summary",
166
+ * value: "General summary",
167
+ * },
168
+ * // must be valid json
169
+ * {
170
+ * key: "customDetails",
171
+ * value: ` {
172
+ * "id":{{json issueId}},
173
+ * "IssueURL":{{json issuePageUrl}},
174
+ * "NewRelic priority":{{json priority}},
175
+ * "Total Incidents":{{json totalIncidents}},
176
+ * "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
177
+ * "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
178
+ * "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
179
+ * "isCorrelated":{{json isCorrelated}},
180
+ * "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
181
+ * "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
182
+ * "Workflow Name":{{json workflowName}}
183
+ * }
184
+ * `,
185
+ * },
186
+ * ],
139
187
  * type: "PAGERDUTY_SERVICE_INTEGRATION",
140
188
  * });
141
189
  * ```
@@ -167,6 +215,7 @@ import { input as inputs, output as outputs } from "./types";
167
215
  * key: "eventSource",
168
216
  * value: "aws.partner/mydomain/myaccountid/name",
169
217
  * },
218
+ * // must be valid json
170
219
  * {
171
220
  * key: "eventContent",
172
221
  * value: "{ id: {{ json issueId }} }",
@@ -185,10 +234,16 @@ import { input as inputs, output as outputs } from "./types";
185
234
  * accountId: 12345678,
186
235
  * destinationId: "00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
187
236
  * product: "IINT",
188
- * properties: [{
189
- * key: "channelId",
190
- * value: "123456",
191
- * }],
237
+ * properties: [
238
+ * {
239
+ * key: "channelId",
240
+ * value: "123456",
241
+ * },
242
+ * {
243
+ * key: "customDetailsSlack",
244
+ * value: "issue id - {{issueId}}",
245
+ * },
246
+ * ],
192
247
  * type: "SLACK",
193
248
  * });
194
249
  * ```
@@ -8,6 +8,8 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this resource to create and manage New Relic notification channels. Details regarding supported products and permissions can be found [here](https://docs.newrelic.com/docs/alerts-applied-intelligence/notifications/destinations).
10
10
  *
11
+ * A channel is an entity that is used to configure notifications. It is also called a message template. It is a separate entity from workflows, but a channel is required in order to create a workflow.
12
+ *
11
13
  * ## Example Usage
12
14
  *
13
15
  * ##### [Webhook](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#webhook)
@@ -19,6 +21,7 @@ const utilities = require("./utilities");
19
21
  * accountId: 12345678,
20
22
  * destinationId: "00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
21
23
  * product: "IINT", // (Workflows)
24
+ * // must be valid json
22
25
  * properties: [{
23
26
  * key: "payload",
24
27
  * label: "Payload Template",
@@ -62,10 +65,16 @@ const utilities = require("./utilities");
62
65
  * accountId: 12345678,
63
66
  * destinationId: "00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
64
67
  * product: "ERROR_TRACKING",
65
- * properties: [{
66
- * key: "subject",
67
- * value: "New Subject Title",
68
- * }],
68
+ * properties: [
69
+ * {
70
+ * key: "subject",
71
+ * value: "New Subject Title",
72
+ * },
73
+ * {
74
+ * key: "customDetailsEmail",
75
+ * value: "issue id - {{issueId}}",
76
+ * },
77
+ * ],
69
78
  * type: "EMAIL",
70
79
  * });
71
80
  * ```
@@ -123,6 +132,24 @@ const utilities = require("./utilities");
123
132
  * key: "email",
124
133
  * value: "example@email.com",
125
134
  * },
135
+ * // must be valid json
136
+ * {
137
+ * key: "customDetails",
138
+ * value: ` {
139
+ * "id":{{json issueId}},
140
+ * "IssueURL":{{json issuePageUrl}},
141
+ * "NewRelic priority":{{json priority}},
142
+ * "Total Incidents":{{json totalIncidents}},
143
+ * "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
144
+ * "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
145
+ * "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
146
+ * "isCorrelated":{{json isCorrelated}},
147
+ * "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
148
+ * "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
149
+ * "Workflow Name":{{json workflowName}}
150
+ * }
151
+ * `,
152
+ * },
126
153
  * ],
127
154
  * type: "PAGERDUTY_ACCOUNT_INTEGRATION",
128
155
  * });
@@ -137,10 +164,30 @@ const utilities = require("./utilities");
137
164
  * accountId: 12345678,
138
165
  * destinationId: "00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
139
166
  * product: "IINT",
140
- * properties: [{
141
- * key: "summary",
142
- * value: "General summary",
143
- * }],
167
+ * properties: [
168
+ * {
169
+ * key: "summary",
170
+ * value: "General summary",
171
+ * },
172
+ * // must be valid json
173
+ * {
174
+ * key: "customDetails",
175
+ * value: ` {
176
+ * "id":{{json issueId}},
177
+ * "IssueURL":{{json issuePageUrl}},
178
+ * "NewRelic priority":{{json priority}},
179
+ * "Total Incidents":{{json totalIncidents}},
180
+ * "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
181
+ * "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
182
+ * "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
183
+ * "isCorrelated":{{json isCorrelated}},
184
+ * "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
185
+ * "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
186
+ * "Workflow Name":{{json workflowName}}
187
+ * }
188
+ * `,
189
+ * },
190
+ * ],
144
191
  * type: "PAGERDUTY_SERVICE_INTEGRATION",
145
192
  * });
146
193
  * ```
@@ -172,6 +219,7 @@ const utilities = require("./utilities");
172
219
  * key: "eventSource",
173
220
  * value: "aws.partner/mydomain/myaccountid/name",
174
221
  * },
222
+ * // must be valid json
175
223
  * {
176
224
  * key: "eventContent",
177
225
  * value: "{ id: {{ json issueId }} }",
@@ -190,10 +238,16 @@ const utilities = require("./utilities");
190
238
  * accountId: 12345678,
191
239
  * destinationId: "00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
192
240
  * product: "IINT",
193
- * properties: [{
194
- * key: "channelId",
195
- * value: "123456",
196
- * }],
241
+ * properties: [
242
+ * {
243
+ * key: "channelId",
244
+ * value: "123456",
245
+ * },
246
+ * {
247
+ * key: "customDetailsSlack",
248
+ * value: "issue id - {{issueId}}",
249
+ * },
250
+ * ],
197
251
  * type: "SLACK",
198
252
  * });
199
253
  * ```
@@ -246,6 +300,28 @@ const utilities = require("./utilities");
246
300
  * More details about the channels API can be found [here](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels).
247
301
  */
248
302
  class NotificationChannel extends pulumi.CustomResource {
303
+ /**
304
+ * Get an existing NotificationChannel resource's state with the given name, ID, and optional extra
305
+ * properties used to qualify the lookup.
306
+ *
307
+ * @param name The _unique_ name of the resulting resource.
308
+ * @param id The _unique_ provider ID of the resource to lookup.
309
+ * @param state Any extra arguments used during the lookup.
310
+ * @param opts Optional settings to control the behavior of the CustomResource.
311
+ */
312
+ static get(name, id, state, opts) {
313
+ return new NotificationChannel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
314
+ }
315
+ /**
316
+ * Returns true if the given object is an instance of NotificationChannel. This is designed to work even
317
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
318
+ */
319
+ static isInstance(obj) {
320
+ if (obj === undefined || obj === null) {
321
+ return false;
322
+ }
323
+ return obj['__pulumiType'] === NotificationChannel.__pulumiType;
324
+ }
249
325
  constructor(name, argsOrState, opts) {
250
326
  let resourceInputs = {};
251
327
  opts = opts || {};
@@ -286,28 +362,6 @@ class NotificationChannel extends pulumi.CustomResource {
286
362
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
287
363
  super(NotificationChannel.__pulumiType, name, resourceInputs, opts);
288
364
  }
289
- /**
290
- * Get an existing NotificationChannel resource's state with the given name, ID, and optional extra
291
- * properties used to qualify the lookup.
292
- *
293
- * @param name The _unique_ name of the resulting resource.
294
- * @param id The _unique_ provider ID of the resource to lookup.
295
- * @param state Any extra arguments used during the lookup.
296
- * @param opts Optional settings to control the behavior of the CustomResource.
297
- */
298
- static get(name, id, state, opts) {
299
- return new NotificationChannel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
300
- }
301
- /**
302
- * Returns true if the given object is an instance of NotificationChannel. This is designed to work even
303
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
304
- */
305
- static isInstance(obj) {
306
- if (obj === undefined || obj === null) {
307
- return false;
308
- }
309
- return obj['__pulumiType'] === NotificationChannel.__pulumiType;
310
- }
311
365
  }
312
366
  exports.NotificationChannel = NotificationChannel;
313
367
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"notificationChannel.js","sourceRoot":"","sources":["../notificationChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+OG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAqE1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAA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AAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA3GL,kDA4GC;AA9FG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "./types";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  export declare class NotificationDestination extends pulumi.CustomResource {
4
5
  /**
5
6
  * Get an existing NotificationDestination resource's state with the given name, ID, and optional extra
@@ -6,6 +6,28 @@ exports.NotificationDestination = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  class NotificationDestination extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing NotificationDestination resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new NotificationDestination(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of NotificationDestination. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === NotificationDestination.__pulumiType;
30
+ }
9
31
  constructor(name, argsOrState, opts) {
10
32
  let resourceInputs = {};
11
33
  opts = opts || {};
@@ -42,28 +64,6 @@ class NotificationDestination extends pulumi.CustomResource {
42
64
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
43
65
  super(NotificationDestination.__pulumiType, name, resourceInputs, opts);
44
66
  }
45
- /**
46
- * Get an existing NotificationDestination resource's state with the given name, ID, and optional extra
47
- * properties used to qualify the lookup.
48
- *
49
- * @param name The _unique_ name of the resulting resource.
50
- * @param id The _unique_ provider ID of the resource to lookup.
51
- * @param state Any extra arguments used during the lookup.
52
- * @param opts Optional settings to control the behavior of the CustomResource.
53
- */
54
- static get(name, id, state, opts) {
55
- return new NotificationDestination(name, state, Object.assign(Object.assign({}, opts), { id: id }));
56
- }
57
- /**
58
- * Returns true if the given object is an instance of NotificationDestination. This is designed to work even
59
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
- */
61
- static isInstance(obj) {
62
- if (obj === undefined || obj === null) {
63
- return false;
64
- }
65
- return obj['__pulumiType'] === NotificationDestination.__pulumiType;
66
- }
67
67
  }
68
68
  exports.NotificationDestination = NotificationDestination;
69
69
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"notificationDestination.js","sourceRoot":"","sources":["../notificationDestination.ts"],"names":[],"mappings":";AAAA,wFAAwF;AAC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YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA5GL,0DA6GC;AA/FG,gBAAgB;AACO,oCAAY,GAAG,gEAAgE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "./types";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  /**
4
5
  * Use this resource to create and manage NRQL alert conditions in New Relic.
5
6
  *
@@ -9,7 +10,7 @@ import { input as inputs, output as outputs } from "./types";
9
10
  * The `nrql` block supports the following arguments:
10
11
  *
11
12
  * - `query` - (Required) The NRQL query to execute for the condition.
12
- * - `evaluationOffset` - (Optional) **DEPRECATED:** Use `aggregationMethod` instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their `aggregationWindow` size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger violations sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 windows and an `aggregationWindow` of 60 seconds, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. `evaluationOffset` cannot be set with `aggregationMethod`, `aggregationDelay`, or `aggregationTimer`.<br>
13
+ * - `evaluationOffset` - (Optional) **DEPRECATED:** Use `aggregationMethod` instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their `aggregationWindow` size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 windows and an `aggregationWindow` of 60 seconds, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. `evaluationOffset` cannot be set with `aggregationMethod`, `aggregationDelay`, or `aggregationTimer`.<br>
13
14
  * - `sinceValue` - (Optional) **DEPRECATED:** Use `aggregationMethod` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br>
14
15
  *
15
16
  * ## Terms
@@ -22,15 +23,15 @@ import { input as inputs, output as outputs } from "./types";
22
23
  *
23
24
  * - `operator` - (Optional) Valid values are `above`, `aboveOrEquals`, `below`, `belowOrEquals`, `equals`, or `notEquals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `baseline`, the only valid option here is `above`.
24
25
  * - `priority` - (Optional) `critical` or `warning`. Defaults to `critical`.
25
- * - `threshold` - (Required) The value which will trigger a violation.
26
- * <br>For _baseline_ NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create a violation.
27
- * - `thresholdDuration` - (Optional) The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds).
26
+ * - `threshold` - (Required) The value which will trigger an incident.
27
+ * <br>For _baseline_ NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create an incident.
28
+ * - `thresholdDuration` - (Optional) The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds).
28
29
  * <br>For _baseline_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive).
29
30
  * <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive).
30
31
  * <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
31
32
  *
32
33
  * - `thresholdOccurrences` - (Optional) The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
33
- * - `duration` - (Optional) **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive).
34
+ * - `duration` - (Optional) **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive).
34
35
  * - `timeFunction` - (Optional) **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.
35
36
  *
36
37
  * ## Additional Examples
@@ -177,7 +178,7 @@ export declare class NrqlAlertCondition extends pulumi.CustomResource {
177
178
  */
178
179
  readonly aggregationDelay: pulumi.Output<string | undefined>;
179
180
  /**
180
- * Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
181
+ * Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
181
182
  */
182
183
  readonly aggregationMethod: pulumi.Output<string | undefined>;
183
184
  /**
@@ -193,7 +194,7 @@ export declare class NrqlAlertCondition extends pulumi.CustomResource {
193
194
  */
194
195
  readonly baselineDirection: pulumi.Output<string | undefined>;
195
196
  /**
196
- * Whether to close all open violations when the signal expires.
197
+ * Whether to close all open incidents when the signal expires.
197
198
  */
198
199
  readonly closeViolationsOnExpiration: pulumi.Output<boolean | undefined>;
199
200
  /**
@@ -233,7 +234,7 @@ export declare class NrqlAlertCondition extends pulumi.CustomResource {
233
234
  */
234
235
  readonly nrql: pulumi.Output<outputs.NrqlAlertConditionNrql>;
235
236
  /**
236
- * Whether to create a new violation to capture that the signal expired.
237
+ * Whether to create a new incident to capture that the signal expired.
237
238
  */
238
239
  readonly openViolationOnExpiration: pulumi.Output<boolean | undefined>;
239
240
  /**
@@ -265,14 +266,14 @@ export declare class NrqlAlertCondition extends pulumi.CustomResource {
265
266
  */
266
267
  readonly valueFunction: pulumi.Output<string | undefined>;
267
268
  /**
268
- * **DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting violation 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).<br>
269
+ * **DEPRECATED:** Use `violationTimeLimitSeconds` instead. 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).<br>
269
270
  * <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
270
271
  *
271
272
  * @deprecated use `violation_time_limit_seconds` attribute instead
272
273
  */
273
274
  readonly violationTimeLimit: pulumi.Output<string>;
274
275
  /**
275
- * Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br>
276
+ * Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br>
276
277
  * <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
277
278
  */
278
279
  readonly violationTimeLimitSeconds: pulumi.Output<number | undefined>;
@@ -302,7 +303,7 @@ export interface NrqlAlertConditionState {
302
303
  */
303
304
  aggregationDelay?: pulumi.Input<string>;
304
305
  /**
305
- * Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
306
+ * Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
306
307
  */
307
308
  aggregationMethod?: pulumi.Input<string>;
308
309
  /**
@@ -318,7 +319,7 @@ export interface NrqlAlertConditionState {
318
319
  */
319
320
  baselineDirection?: pulumi.Input<string>;
320
321
  /**
321
- * Whether to close all open violations when the signal expires.
322
+ * Whether to close all open incidents when the signal expires.
322
323
  */
323
324
  closeViolationsOnExpiration?: pulumi.Input<boolean>;
324
325
  /**
@@ -358,7 +359,7 @@ export interface NrqlAlertConditionState {
358
359
  */
359
360
  nrql?: pulumi.Input<inputs.NrqlAlertConditionNrql>;
360
361
  /**
361
- * Whether to create a new violation to capture that the signal expired.
362
+ * Whether to create a new incident to capture that the signal expired.
362
363
  */
363
364
  openViolationOnExpiration?: pulumi.Input<boolean>;
364
365
  /**
@@ -390,14 +391,14 @@ export interface NrqlAlertConditionState {
390
391
  */
391
392
  valueFunction?: pulumi.Input<string>;
392
393
  /**
393
- * **DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting violation 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).<br>
394
+ * **DEPRECATED:** Use `violationTimeLimitSeconds` instead. 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).<br>
394
395
  * <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
395
396
  *
396
397
  * @deprecated use `violation_time_limit_seconds` attribute instead
397
398
  */
398
399
  violationTimeLimit?: pulumi.Input<string>;
399
400
  /**
400
- * Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br>
401
+ * Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br>
401
402
  * <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
402
403
  */
403
404
  violationTimeLimitSeconds?: pulumi.Input<number>;
@@ -419,7 +420,7 @@ export interface NrqlAlertConditionArgs {
419
420
  */
420
421
  aggregationDelay?: pulumi.Input<string>;
421
422
  /**
422
- * Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
423
+ * Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
423
424
  */
424
425
  aggregationMethod?: pulumi.Input<string>;
425
426
  /**
@@ -435,7 +436,7 @@ export interface NrqlAlertConditionArgs {
435
436
  */
436
437
  baselineDirection?: pulumi.Input<string>;
437
438
  /**
438
- * Whether to close all open violations when the signal expires.
439
+ * Whether to close all open incidents when the signal expires.
439
440
  */
440
441
  closeViolationsOnExpiration?: pulumi.Input<boolean>;
441
442
  /**
@@ -471,7 +472,7 @@ export interface NrqlAlertConditionArgs {
471
472
  */
472
473
  nrql: pulumi.Input<inputs.NrqlAlertConditionNrql>;
473
474
  /**
474
- * Whether to create a new violation to capture that the signal expired.
475
+ * Whether to create a new incident to capture that the signal expired.
475
476
  */
476
477
  openViolationOnExpiration?: pulumi.Input<boolean>;
477
478
  /**
@@ -503,14 +504,14 @@ export interface NrqlAlertConditionArgs {
503
504
  */
504
505
  valueFunction?: pulumi.Input<string>;
505
506
  /**
506
- * **DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting violation 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).<br>
507
+ * **DEPRECATED:** Use `violationTimeLimitSeconds` instead. 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).<br>
507
508
  * <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
508
509
  *
509
510
  * @deprecated use `violation_time_limit_seconds` attribute instead
510
511
  */
511
512
  violationTimeLimit?: pulumi.Input<string>;
512
513
  /**
513
- * Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br>
514
+ * Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br>
514
515
  * <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
515
516
  */
516
517
  violationTimeLimitSeconds?: pulumi.Input<number>;