@pulumi/newrelic 5.56.0-alpha.1761892655 → 5.56.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.
package/alertChannel.d.ts CHANGED
@@ -123,9 +123,9 @@ import * as outputs from "./types/output";
123
123
  * baseUrl: "http://www.test.com",
124
124
  * payloadType: "application/json",
125
125
  * payloadString: `{
126
- * "my_custom_values": {
127
- * "condition_name": "CONDITION_NAME",
128
- * "policy_name": "POLICY_NAME"
126
+ * \\"my_custom_values\\": {
127
+ * \\"condition_name\\": \\"CONDITION_NAME\\",
128
+ * \\"policy_name\\": \\"POLICY_NAME\\"
129
129
  * }
130
130
  * }
131
131
  * `,
package/alertChannel.js CHANGED
@@ -127,9 +127,9 @@ const utilities = require("./utilities");
127
127
  * baseUrl: "http://www.test.com",
128
128
  * payloadType: "application/json",
129
129
  * payloadString: `{
130
- * "my_custom_values": {
131
- * "condition_name": "CONDITION_NAME",
132
- * "policy_name": "POLICY_NAME"
130
+ * \\"my_custom_values\\": {
131
+ * \\"condition_name\\": \\"CONDITION_NAME\\",
132
+ * \\"policy_name\\": \\"POLICY_NAME\\"
133
133
  * }
134
134
  * }
135
135
  * `,
package/entityTags.d.ts CHANGED
@@ -33,6 +33,42 @@ import * as outputs from "./types/output";
33
33
  * });
34
34
  * ```
35
35
  *
36
+ * ### Example of applying multiple tags to multiple entities using a nested `dynamic` block
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as newrelic from "@pulumi/newrelic";
40
+ * import * as std from "@pulumi/std";
41
+ *
42
+ * export = async () => {
43
+ * const apps = (await std.toset({
44
+ * input: [
45
+ * "Example App Name 1",
46
+ * "Example App Name 2",
47
+ * ],
48
+ * })).result;
49
+ * const customTags = {
50
+ * "tag-key-1": "tag-value-1",
51
+ * "tag-key-2": "tag-value-2",
52
+ * "tag-key-3": "tag-value-3",
53
+ * };
54
+ * const foo = .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: await newrelic.getEntity({
55
+ * name: __key,
56
+ * type: "APPLICATION",
57
+ * domain: "APM",
58
+ * }) }));
59
+ * const fooEntityTags: newrelic.EntityTags[] = [];
60
+ * for (const range of apps.map((v, k) => ({key: k, value: v}))) {
61
+ * fooEntityTags.push(new newrelic.EntityTags(`foo-${range.key}`, {
62
+ * tags: Object.entries(customTags).map(([k, v]) => ({key: k, value: v})).map(entry => ({
63
+ * key: entry.key,
64
+ * values: [entry.value],
65
+ * })),
66
+ * guid: foo[range.key].guid,
67
+ * }));
68
+ * }
69
+ * }
70
+ * ```
71
+ *
36
72
  * ## Import
37
73
  *
38
74
  * New Relic One entity tags can be imported using a concatenated string of the format
package/entityTags.js CHANGED
@@ -37,6 +37,42 @@ const utilities = require("./utilities");
37
37
  * });
38
38
  * ```
39
39
  *
40
+ * ### Example of applying multiple tags to multiple entities using a nested `dynamic` block
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as newrelic from "@pulumi/newrelic";
44
+ * import * as std from "@pulumi/std";
45
+ *
46
+ * export = async () => {
47
+ * const apps = (await std.toset({
48
+ * input: [
49
+ * "Example App Name 1",
50
+ * "Example App Name 2",
51
+ * ],
52
+ * })).result;
53
+ * const customTags = {
54
+ * "tag-key-1": "tag-value-1",
55
+ * "tag-key-2": "tag-value-2",
56
+ * "tag-key-3": "tag-value-3",
57
+ * };
58
+ * const foo = .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: await newrelic.getEntity({
59
+ * name: __key,
60
+ * type: "APPLICATION",
61
+ * domain: "APM",
62
+ * }) }));
63
+ * const fooEntityTags: newrelic.EntityTags[] = [];
64
+ * for (const range of apps.map((v, k) => ({key: k, value: v}))) {
65
+ * fooEntityTags.push(new newrelic.EntityTags(`foo-${range.key}`, {
66
+ * tags: Object.entries(customTags).map(([k, v]) => ({key: k, value: v})).map(entry => ({
67
+ * key: entry.key,
68
+ * values: [entry.value],
69
+ * })),
70
+ * guid: foo[range.key].guid,
71
+ * }));
72
+ * }
73
+ * }
74
+ * ```
75
+ *
40
76
  * ## Import
41
77
  *
42
78
  * New Relic One entity tags can be imported using a concatenated string of the format
package/entityTags.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"entityTags.js","sourceRoot":"","sources":["../entityTags.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAA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AC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAjEL,gCAkEC;AApDG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
@@ -157,17 +157,17 @@ import * as outputs from "./types/output";
157
157
  * {
158
158
  * key: "customDetails",
159
159
  * value: `{
160
- * "id":{{json issueId}},
161
- * "IssueURL":{{json issuePageUrl}},
162
- * "NewRelic priority":{{json priority}},
163
- * "Total Incidents":{{json totalIncidents}},
164
- * "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
165
- * "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
166
- * "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
167
- * "isCorrelated":{{json isCorrelated}},
168
- * "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
169
- * "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
170
- * "Workflow Name":{{json workflowName}}
160
+ * \\"id\\":{{json issueId}},
161
+ * \\"IssueURL\\":{{json issuePageUrl}},
162
+ * \\"NewRelic priority\\":{{json priority}},
163
+ * \\"Total Incidents\\":{{json totalIncidents}},
164
+ * \\"Impacted Entities\\":\\"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
165
+ * \\"Runbook\\":\\"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
166
+ * \\"Description\\":\\"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
167
+ * \\"isCorrelated\\":{{json isCorrelated}},
168
+ * \\"Alert Policy Names\\":\\"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
169
+ * \\"Alert Condition Names\\":\\"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
170
+ * \\"Workflow Name\\":{{json workflowName}}
171
171
  * }
172
172
  * `,
173
173
  * },
@@ -194,17 +194,17 @@ import * as outputs from "./types/output";
194
194
  * {
195
195
  * key: "customDetails",
196
196
  * value: `{
197
- * "id":{{json issueId}},
198
- * "IssueURL":{{json issuePageUrl}},
199
- * "NewRelic priority":{{json priority}},
200
- * "Total Incidents":{{json totalIncidents}},
201
- * "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
202
- * "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
203
- * "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
204
- * "isCorrelated":{{json isCorrelated}},
205
- * "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
206
- * "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
207
- * "Workflow Name":{{json workflowName}}
197
+ * \\"id\\":{{json issueId}},
198
+ * \\"IssueURL\\":{{json issuePageUrl}},
199
+ * \\"NewRelic priority\\":{{json priority}},
200
+ * \\"Total Incidents\\":{{json totalIncidents}},
201
+ * \\"Impacted Entities\\":\\"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
202
+ * \\"Runbook\\":\\"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
203
+ * \\"Description\\":\\"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
204
+ * \\"isCorrelated\\":{{json isCorrelated}},
205
+ * \\"Alert Policy Names\\":\\"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
206
+ * \\"Alert Condition Names\\":\\"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
207
+ * \\"Workflow Name\\":{{json workflowName}}
208
208
  * }
209
209
  * `,
210
210
  * },
@@ -161,17 +161,17 @@ const utilities = require("./utilities");
161
161
  * {
162
162
  * key: "customDetails",
163
163
  * value: `{
164
- * "id":{{json issueId}},
165
- * "IssueURL":{{json issuePageUrl}},
166
- * "NewRelic priority":{{json priority}},
167
- * "Total Incidents":{{json totalIncidents}},
168
- * "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
169
- * "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
170
- * "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
171
- * "isCorrelated":{{json isCorrelated}},
172
- * "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
173
- * "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
174
- * "Workflow Name":{{json workflowName}}
164
+ * \\"id\\":{{json issueId}},
165
+ * \\"IssueURL\\":{{json issuePageUrl}},
166
+ * \\"NewRelic priority\\":{{json priority}},
167
+ * \\"Total Incidents\\":{{json totalIncidents}},
168
+ * \\"Impacted Entities\\":\\"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
169
+ * \\"Runbook\\":\\"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
170
+ * \\"Description\\":\\"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
171
+ * \\"isCorrelated\\":{{json isCorrelated}},
172
+ * \\"Alert Policy Names\\":\\"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
173
+ * \\"Alert Condition Names\\":\\"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
174
+ * \\"Workflow Name\\":{{json workflowName}}
175
175
  * }
176
176
  * `,
177
177
  * },
@@ -198,17 +198,17 @@ const utilities = require("./utilities");
198
198
  * {
199
199
  * key: "customDetails",
200
200
  * value: `{
201
- * "id":{{json issueId}},
202
- * "IssueURL":{{json issuePageUrl}},
203
- * "NewRelic priority":{{json priority}},
204
- * "Total Incidents":{{json totalIncidents}},
205
- * "Impacted Entities":"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
206
- * "Runbook":"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
207
- * "Description":"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
208
- * "isCorrelated":{{json isCorrelated}},
209
- * "Alert Policy Names":"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
210
- * "Alert Condition Names":"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}",
211
- * "Workflow Name":{{json workflowName}}
201
+ * \\"id\\":{{json issueId}},
202
+ * \\"IssueURL\\":{{json issuePageUrl}},
203
+ * \\"NewRelic priority\\":{{json priority}},
204
+ * \\"Total Incidents\\":{{json totalIncidents}},
205
+ * \\"Impacted Entities\\":\\"{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
206
+ * \\"Runbook\\":\\"{{#each accumulations.runbookUrl}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
207
+ * \\"Description\\":\\"{{#each annotations.description}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
208
+ * \\"isCorrelated\\":{{json isCorrelated}},
209
+ * \\"Alert Policy Names\\":\\"{{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
210
+ * \\"Alert Condition Names\\":\\"{{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\\",
211
+ * \\"Workflow Name\\":{{json workflowName}}
212
212
  * }
213
213
  * `,
214
214
  * },
@@ -20,6 +20,7 @@ import * as outputs from "./types/output";
20
20
  * name: "foo",
21
21
  * description: "Alert when transactions are taking too long",
22
22
  * titleTemplate: "Issue in environment: {{ tags.environment }}",
23
+ * targetEntity: "MXxBUE18QVBQTElDQVRJT058MQ",
23
24
  * runbookUrl: "https://www.example.com",
24
25
  * enabled: true,
25
26
  * violationTimeLimitSeconds: 3600,
@@ -389,6 +390,10 @@ export declare class NrqlAlertCondition extends pulumi.CustomResource {
389
390
  * Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`.
390
391
  */
391
392
  readonly slideBy: pulumi.Output<number | undefined>;
393
+ /**
394
+ * BETA PREVIEW: 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. The entity's account ID must be either `accountId` or `nrql.data_account_id`.
395
+ */
396
+ readonly targetEntity: pulumi.Output<string | undefined>;
392
397
  /**
393
398
  * **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
394
399
  *
@@ -524,6 +529,10 @@ export interface NrqlAlertConditionState {
524
529
  * Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`.
525
530
  */
526
531
  slideBy?: pulumi.Input<number>;
532
+ /**
533
+ * BETA PREVIEW: 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. The entity's account ID must be either `accountId` or `nrql.data_account_id`.
534
+ */
535
+ targetEntity?: pulumi.Input<string>;
527
536
  /**
528
537
  * **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
529
538
  *
@@ -647,6 +656,10 @@ export interface NrqlAlertConditionArgs {
647
656
  * Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`.
648
657
  */
649
658
  slideBy?: pulumi.Input<number>;
659
+ /**
660
+ * BETA PREVIEW: 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. The entity's account ID must be either `accountId` or `nrql.data_account_id`.
661
+ */
662
+ targetEntity?: pulumi.Input<string>;
650
663
  /**
651
664
  * **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
652
665
  *
@@ -24,6 +24,7 @@ const utilities = require("./utilities");
24
24
  * name: "foo",
25
25
  * description: "Alert when transactions are taking too long",
26
26
  * titleTemplate: "Issue in environment: {{ tags.environment }}",
27
+ * targetEntity: "MXxBUE18QVBQTElDQVRJT058MQ",
27
28
  * runbookUrl: "https://www.example.com",
28
29
  * enabled: true,
29
30
  * violationTimeLimitSeconds: 3600,
@@ -336,6 +337,7 @@ class NrqlAlertCondition extends pulumi.CustomResource {
336
337
  resourceInputs["runbookUrl"] = state?.runbookUrl;
337
338
  resourceInputs["signalSeasonality"] = state?.signalSeasonality;
338
339
  resourceInputs["slideBy"] = state?.slideBy;
340
+ resourceInputs["targetEntity"] = state?.targetEntity;
339
341
  resourceInputs["terms"] = state?.terms;
340
342
  resourceInputs["titleTemplate"] = state?.titleTemplate;
341
343
  resourceInputs["type"] = state?.type;
@@ -373,6 +375,7 @@ class NrqlAlertCondition extends pulumi.CustomResource {
373
375
  resourceInputs["runbookUrl"] = args?.runbookUrl;
374
376
  resourceInputs["signalSeasonality"] = args?.signalSeasonality;
375
377
  resourceInputs["slideBy"] = args?.slideBy;
378
+ resourceInputs["targetEntity"] = args?.targetEntity;
376
379
  resourceInputs["terms"] = args?.terms;
377
380
  resourceInputs["titleTemplate"] = args?.titleTemplate;
378
381
  resourceInputs["type"] = args?.type;
@@ -1 +1 @@
1
- {"version":3,"file":"nrqlAlertCondition.js","sourceRoot":"","sources":["../nrqlAlertCondition.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA/OL,gDAgPC;AAlOG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
@@ -25,19 +25,19 @@ import * as outputs from "./types/output";
25
25
  * height: 1,
26
26
  * visualizationId: "viz.custom",
27
27
  * configuration: ` {
28
- * "legend": {
29
- * "enabled": false
28
+ * \\"legend\\": {
29
+ * \\"enabled\\": false
30
30
  * },
31
- * "nrqlQueries": [
31
+ * \\"nrqlQueries\\": [
32
32
  * {
33
- * "accountId": \` + accountID + \`,
34
- * "query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
33
+ * \\"accountId\\": \` + accountID + \`,
34
+ * \\"query\\": \\"SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES\\"
35
35
  * }
36
36
  * ],
37
- * "yAxisLeft": {
38
- * "max": 100,
39
- * "min": 50,
40
- * "zero": false
37
+ * \\"yAxisLeft\\": {
38
+ * \\"max\\": 100,
39
+ * \\"min\\": 50,
40
+ * \\"zero\\": false
41
41
  * }
42
42
  * }
43
43
  * `,
@@ -50,10 +50,10 @@ import * as outputs from "./types/output";
50
50
  * height: 1,
51
51
  * visualizationId: "viz.testing",
52
52
  * configuration: ` {
53
- * "nrqlQueries": [
53
+ * \\"nrqlQueries\\": [
54
54
  * {
55
- * "accountId": \` + accountID + \`,
56
- * "query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
55
+ * \\"accountId\\": \` + accountID + \`,
56
+ * \\"query\\": \\"SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400\\"
57
57
  * }
58
58
  * ]
59
59
  * }
@@ -29,19 +29,19 @@ const utilities = require("./utilities");
29
29
  * height: 1,
30
30
  * visualizationId: "viz.custom",
31
31
  * configuration: ` {
32
- * "legend": {
33
- * "enabled": false
32
+ * \\"legend\\": {
33
+ * \\"enabled\\": false
34
34
  * },
35
- * "nrqlQueries": [
35
+ * \\"nrqlQueries\\": [
36
36
  * {
37
- * "accountId": \` + accountID + \`,
38
- * "query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
37
+ * \\"accountId\\": \` + accountID + \`,
38
+ * \\"query\\": \\"SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES\\"
39
39
  * }
40
40
  * ],
41
- * "yAxisLeft": {
42
- * "max": 100,
43
- * "min": 50,
44
- * "zero": false
41
+ * \\"yAxisLeft\\": {
42
+ * \\"max\\": 100,
43
+ * \\"min\\": 50,
44
+ * \\"zero\\": false
45
45
  * }
46
46
  * }
47
47
  * `,
@@ -54,10 +54,10 @@ const utilities = require("./utilities");
54
54
  * height: 1,
55
55
  * visualizationId: "viz.testing",
56
56
  * configuration: ` {
57
- * "nrqlQueries": [
57
+ * \\"nrqlQueries\\": [
58
58
  * {
59
- * "accountId": \` + accountID + \`,
60
- * "query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
59
+ * \\"accountId\\": \` + accountID + \`,
60
+ * \\"query\\": \\"SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400\\"
61
61
  * }
62
62
  * ]
63
63
  * }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/newrelic",
3
- "version": "5.56.0-alpha.1761892655",
3
+ "version": "5.56.0",
4
4
  "description": "A Pulumi package for creating and managing New Relic resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "newrelic",
26
- "version": "5.56.0-alpha.1761892655"
26
+ "version": "5.56.0"
27
27
  }
28
28
  }