@pulumi/newrelic 5.1.0-alpha.1663281934 → 5.1.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.
@@ -7,7 +7,7 @@ import { input as inputs, output as outputs } from "../types";
7
7
  *
8
8
  * ##### Type: `SCRIPT_API`
9
9
  *
10
- * > **NOTE:** The preferred runtime is `NODE_16.10.0` while configuring the `SCRIPT_API` monitor. Other runtime may be deprecated in the future and receive fewer product updates.
10
+ * > **NOTE:** The preferred runtime is `NODE_16.10.0` while configuring the `SCRIPT_API` monitor. The runtime fields `runtimeType`, `runtimeTypeVersion` and `scriptLanguage` are required. Other runtime may be deprecated in the future and receive fewer product updates.
11
11
  *
12
12
  * ```typescript
13
13
  * import * as pulumi from "@pulumi/pulumi";
@@ -33,7 +33,7 @@ import { input as inputs, output as outputs } from "../types";
33
33
  * ```
34
34
  * ##### Type: `SCRIPT_BROWSER`
35
35
  *
36
- * > **NOTE:** The preferred runtime is `CHROME_BROWSER_100` while configuring the `SCRIPT_BROWSER` monitor. Other runtime may be deprecated in the future and receive fewer product updates.
36
+ * > **NOTE:** The preferred runtime is `CHROME_BROWSER_100` while configuring the `SCRIPT_BROWSER` monitor. The runtime fields `runtimeType`, `runtimeTypeVersion` and `scriptLanguage` are required. Other runtime may be deprecated in the future and receive fewer product updates.
37
37
  *
38
38
  * ```typescript
39
39
  * import * as pulumi from "@pulumi/pulumi";
@@ -52,10 +52,10 @@ import { input as inputs, output as outputs } from "../types";
52
52
  * scriptLanguage: "JAVASCRIPT",
53
53
  * status: "DISABLED",
54
54
  * tags: [{
55
- * key: "Name",
55
+ * key: "some_key",
56
56
  * values: [
57
- * "scriptedMonitor",
58
- * "hello",
57
+ * "some_value1",
58
+ * "some_value2",
59
59
  * ],
60
60
  * }],
61
61
  * type: "SCRIPT_BROWSER",
@@ -70,8 +70,6 @@ import { input as inputs, output as outputs } from "../types";
70
70
  *
71
71
  * > **NOTE:** It can take up to 10 minutes for a private location to become available.
72
72
  *
73
- * > **NOTE:** Currently, it's only possible to use a private location with a monitor running on a legacy runtime. Leave `runtimeTypeVersion`, `runtimeType` & `scriptLanguage` empty to use legacy runtime. See example below.
74
- *
75
73
  * ##### Type: `SCRIPT_API`
76
74
  *
77
75
  * ```typescript
@@ -88,10 +86,10 @@ import { input as inputs, output as outputs } from "../types";
88
86
  * vsePassword: "secret",
89
87
  * }],
90
88
  * period: "EVERY_6_HOURS",
91
- * runtimeType: "",
92
- * runtimeTypeVersion: "",
89
+ * runtimeType: "NODE_API",
90
+ * runtimeTypeVersion: "16.10",
93
91
  * script: "console.log('terraform integration test updated')",
94
- * scriptLanguage: "",
92
+ * scriptLanguage: "JAVASCRIPT",
95
93
  * status: "ENABLED",
96
94
  * tags: [{
97
95
  * key: "some_key",
@@ -102,8 +100,6 @@ import { input as inputs, output as outputs } from "../types";
102
100
  * ```
103
101
  * ##### Type: `SCRIPT_BROWSER`
104
102
  *
105
- * > **NOTE:** Currently, it's only possible to use a private location with a monitor running on a legacy runtime. Leave `runtimeTypeVersion`, `runtimeType` & `scriptLanguage` empty to use legacy runtime. See example below.
106
- *
107
103
  * ```typescript
108
104
  * import * as pulumi from "@pulumi/pulumi";
109
105
  * import * as newrelic from "@pulumi/newrelic";
@@ -119,10 +115,10 @@ import { input as inputs, output as outputs } from "../types";
119
115
  * vsePassword: "secret",
120
116
  * }],
121
117
  * period: "EVERY_HOUR",
122
- * runtimeType: "",
123
- * runtimeTypeVersion: "",
118
+ * runtimeType: "CHROME_BROWSER",
119
+ * runtimeTypeVersion: "100",
124
120
  * script: "$browser.get('https://one.newrelic.com')",
125
- * scriptLanguage: "",
121
+ * scriptLanguage: "JAVASCRIPT",
126
122
  * status: "DISABLED",
127
123
  * tags: [{
128
124
  * key: "some_key",
@@ -173,7 +169,7 @@ export declare class ScriptMonitor extends pulumi.CustomResource {
173
169
  */
174
170
  readonly locationPrivates: pulumi.Output<outputs.synthetics.ScriptMonitorLocationPrivate[] | undefined>;
175
171
  /**
176
- * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
172
+ * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
177
173
  */
178
174
  readonly locationsPublics: pulumi.Output<string[] | undefined>;
179
175
  /**
@@ -242,7 +238,7 @@ export interface ScriptMonitorState {
242
238
  */
243
239
  locationPrivates?: pulumi.Input<pulumi.Input<inputs.synthetics.ScriptMonitorLocationPrivate>[]>;
244
240
  /**
245
- * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
241
+ * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
246
242
  */
247
243
  locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
248
244
  /**
@@ -299,7 +295,7 @@ export interface ScriptMonitorArgs {
299
295
  */
300
296
  locationPrivates?: pulumi.Input<pulumi.Input<inputs.synthetics.ScriptMonitorLocationPrivate>[]>;
301
297
  /**
302
- * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
298
+ * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
303
299
  */
304
300
  locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
305
301
  /**
@@ -12,7 +12,7 @@ const utilities = require("../utilities");
12
12
  *
13
13
  * ##### Type: `SCRIPT_API`
14
14
  *
15
- * > **NOTE:** The preferred runtime is `NODE_16.10.0` while configuring the `SCRIPT_API` monitor. Other runtime may be deprecated in the future and receive fewer product updates.
15
+ * > **NOTE:** The preferred runtime is `NODE_16.10.0` while configuring the `SCRIPT_API` monitor. The runtime fields `runtimeType`, `runtimeTypeVersion` and `scriptLanguage` are required. Other runtime may be deprecated in the future and receive fewer product updates.
16
16
  *
17
17
  * ```typescript
18
18
  * import * as pulumi from "@pulumi/pulumi";
@@ -38,7 +38,7 @@ const utilities = require("../utilities");
38
38
  * ```
39
39
  * ##### Type: `SCRIPT_BROWSER`
40
40
  *
41
- * > **NOTE:** The preferred runtime is `CHROME_BROWSER_100` while configuring the `SCRIPT_BROWSER` monitor. Other runtime may be deprecated in the future and receive fewer product updates.
41
+ * > **NOTE:** The preferred runtime is `CHROME_BROWSER_100` while configuring the `SCRIPT_BROWSER` monitor. The runtime fields `runtimeType`, `runtimeTypeVersion` and `scriptLanguage` are required. Other runtime may be deprecated in the future and receive fewer product updates.
42
42
  *
43
43
  * ```typescript
44
44
  * import * as pulumi from "@pulumi/pulumi";
@@ -57,10 +57,10 @@ const utilities = require("../utilities");
57
57
  * scriptLanguage: "JAVASCRIPT",
58
58
  * status: "DISABLED",
59
59
  * tags: [{
60
- * key: "Name",
60
+ * key: "some_key",
61
61
  * values: [
62
- * "scriptedMonitor",
63
- * "hello",
62
+ * "some_value1",
63
+ * "some_value2",
64
64
  * ],
65
65
  * }],
66
66
  * type: "SCRIPT_BROWSER",
@@ -75,8 +75,6 @@ const utilities = require("../utilities");
75
75
  *
76
76
  * > **NOTE:** It can take up to 10 minutes for a private location to become available.
77
77
  *
78
- * > **NOTE:** Currently, it's only possible to use a private location with a monitor running on a legacy runtime. Leave `runtimeTypeVersion`, `runtimeType` & `scriptLanguage` empty to use legacy runtime. See example below.
79
- *
80
78
  * ##### Type: `SCRIPT_API`
81
79
  *
82
80
  * ```typescript
@@ -93,10 +91,10 @@ const utilities = require("../utilities");
93
91
  * vsePassword: "secret",
94
92
  * }],
95
93
  * period: "EVERY_6_HOURS",
96
- * runtimeType: "",
97
- * runtimeTypeVersion: "",
94
+ * runtimeType: "NODE_API",
95
+ * runtimeTypeVersion: "16.10",
98
96
  * script: "console.log('terraform integration test updated')",
99
- * scriptLanguage: "",
97
+ * scriptLanguage: "JAVASCRIPT",
100
98
  * status: "ENABLED",
101
99
  * tags: [{
102
100
  * key: "some_key",
@@ -107,8 +105,6 @@ const utilities = require("../utilities");
107
105
  * ```
108
106
  * ##### Type: `SCRIPT_BROWSER`
109
107
  *
110
- * > **NOTE:** Currently, it's only possible to use a private location with a monitor running on a legacy runtime. Leave `runtimeTypeVersion`, `runtimeType` & `scriptLanguage` empty to use legacy runtime. See example below.
111
- *
112
108
  * ```typescript
113
109
  * import * as pulumi from "@pulumi/pulumi";
114
110
  * import * as newrelic from "@pulumi/newrelic";
@@ -124,10 +120,10 @@ const utilities = require("../utilities");
124
120
  * vsePassword: "secret",
125
121
  * }],
126
122
  * period: "EVERY_HOUR",
127
- * runtimeType: "",
128
- * runtimeTypeVersion: "",
123
+ * runtimeType: "CHROME_BROWSER",
124
+ * runtimeTypeVersion: "100",
129
125
  * script: "$browser.get('https://one.newrelic.com')",
130
- * scriptLanguage: "",
126
+ * scriptLanguage: "JAVASCRIPT",
131
127
  * status: "DISABLED",
132
128
  * tags: [{
133
129
  * key: "some_key",
@@ -1 +1 @@
1
- {"version":3,"file":"scriptMonitor.js","sourceRoot":"","sources":["../../synthetics/scriptMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IA3ID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCA6IC;AA/HG,gBAAgB;AACO,0BAAY,GAAG,iDAAiD,CAAC"}
@@ -31,6 +31,40 @@ import { input as inputs, output as outputs } from "../types";
31
31
  * See additional examples.
32
32
  * ## Additional Examples
33
33
  *
34
+ * ### Create a monitor with a private location
35
+ *
36
+ * The below example shows how you can define a private location and attach it to a monitor.
37
+ *
38
+ * > **NOTE:** It can take up to 10 minutes for a private location to become available.
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as newrelic from "@pulumi/newrelic";
43
+ *
44
+ * const privateLocation = new newrelic.synthetics.PrivateLocation("private_location", {
45
+ * description: "Test Description",
46
+ * verifiedScriptExecution: true,
47
+ * });
48
+ * const bar = new newrelic.synthetics.StepMonitor("bar", {
49
+ * locationPrivates: [{
50
+ * guid: "newrelic_synthetics_private_location.private_location.id",
51
+ * vsePassword: "secret",
52
+ * }],
53
+ * period: "EVERY_6_HOURS",
54
+ * status: "ENABLED",
55
+ * steps: [{
56
+ * ordinal: 0,
57
+ * type: "NAVIGATE",
58
+ * values: ["https://google.com"],
59
+ * }],
60
+ * tags: [{
61
+ * key: "some_key",
62
+ * values: ["some_value"],
63
+ * }],
64
+ * uri: "https://www.one.example.com",
65
+ * });
66
+ * ```
67
+ *
34
68
  * ## Import
35
69
  *
36
70
  * Synthetics step monitor scripts can be imported using the `guid`, e.g. bash
@@ -68,11 +102,11 @@ export declare class StepMonitor extends pulumi.CustomResource {
68
102
  */
69
103
  readonly guid: pulumi.Output<string>;
70
104
  /**
71
- * The location the monitor will run from. Exactly one of `locationsPublic` or `locationsPrivate` is required. See Nested locationsPrivate blocks below for details.
105
+ * The location the monitor will run from. At least one of `locationsPublic` or `locationPrivate` is required. See Nested locationsPrivate blocks below for details.
72
106
  */
73
107
  readonly locationPrivates: pulumi.Output<outputs.synthetics.StepMonitorLocationPrivate[] | undefined>;
74
108
  /**
75
- * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. Exactly one of `locationsPublic` or `locationsPrivate` is required.
109
+ * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
76
110
  */
77
111
  readonly locationsPublics: pulumi.Output<string[] | undefined>;
78
112
  /**
@@ -121,11 +155,11 @@ export interface StepMonitorState {
121
155
  */
122
156
  guid?: pulumi.Input<string>;
123
157
  /**
124
- * The location the monitor will run from. Exactly one of `locationsPublic` or `locationsPrivate` is required. See Nested locationsPrivate blocks below for details.
158
+ * The location the monitor will run from. At least one of `locationsPublic` or `locationPrivate` is required. See Nested locationsPrivate blocks below for details.
125
159
  */
126
160
  locationPrivates?: pulumi.Input<pulumi.Input<inputs.synthetics.StepMonitorLocationPrivate>[]>;
127
161
  /**
128
- * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. Exactly one of `locationsPublic` or `locationsPrivate` is required.
162
+ * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
129
163
  */
130
164
  locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
131
165
  /**
@@ -162,11 +196,11 @@ export interface StepMonitorArgs {
162
196
  */
163
197
  enableScreenshotOnFailureAndScript?: pulumi.Input<boolean>;
164
198
  /**
165
- * The location the monitor will run from. Exactly one of `locationsPublic` or `locationsPrivate` is required. See Nested locationsPrivate blocks below for details.
199
+ * The location the monitor will run from. At least one of `locationsPublic` or `locationPrivate` is required. See Nested locationsPrivate blocks below for details.
166
200
  */
167
201
  locationPrivates?: pulumi.Input<pulumi.Input<inputs.synthetics.StepMonitorLocationPrivate>[]>;
168
202
  /**
169
- * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. Exactly one of `locationsPublic` or `locationsPrivate` is required.
203
+ * The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
170
204
  */
171
205
  locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
172
206
  /**
@@ -36,6 +36,40 @@ const utilities = require("../utilities");
36
36
  * See additional examples.
37
37
  * ## Additional Examples
38
38
  *
39
+ * ### Create a monitor with a private location
40
+ *
41
+ * The below example shows how you can define a private location and attach it to a monitor.
42
+ *
43
+ * > **NOTE:** It can take up to 10 minutes for a private location to become available.
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as newrelic from "@pulumi/newrelic";
48
+ *
49
+ * const privateLocation = new newrelic.synthetics.PrivateLocation("private_location", {
50
+ * description: "Test Description",
51
+ * verifiedScriptExecution: true,
52
+ * });
53
+ * const bar = new newrelic.synthetics.StepMonitor("bar", {
54
+ * locationPrivates: [{
55
+ * guid: "newrelic_synthetics_private_location.private_location.id",
56
+ * vsePassword: "secret",
57
+ * }],
58
+ * period: "EVERY_6_HOURS",
59
+ * status: "ENABLED",
60
+ * steps: [{
61
+ * ordinal: 0,
62
+ * type: "NAVIGATE",
63
+ * values: ["https://google.com"],
64
+ * }],
65
+ * tags: [{
66
+ * key: "some_key",
67
+ * values: ["some_value"],
68
+ * }],
69
+ * uri: "https://www.one.example.com",
70
+ * });
71
+ * ```
72
+ *
39
73
  * ## Import
40
74
  *
41
75
  * Synthetics step monitor scripts can be imported using the `guid`, e.g. bash
@@ -1 +1 @@
1
- {"version":3,"file":"stepMonitor.js","sourceRoot":"","sources":["../../synthetics/stepMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA6ElD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,oCAAoC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC,CAAC,SAA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,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAnHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAqHC;AAvGG,gBAAgB;AACO,wBAAY,GAAG,6CAA6C,CAAC"}
package/types/input.d.ts CHANGED
@@ -596,6 +596,7 @@ export interface OneDashboardPageWidgetHeatmap {
596
596
  * (Required) Column position of widget from top left, starting at `1`.
597
597
  */
598
598
  column: pulumi.Input<number>;
599
+ filterCurrentDashboard?: pulumi.Input<boolean>;
599
600
  /**
600
601
  * (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
601
602
  */
@@ -605,6 +606,7 @@ export interface OneDashboardPageWidgetHeatmap {
605
606
  * (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
606
607
  */
607
608
  ignoreTimeRange?: pulumi.Input<boolean>;
609
+ linkedEntityGuids?: pulumi.Input<pulumi.Input<string>[]>;
608
610
  /**
609
611
  * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
610
612
  * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
@@ -1113,7 +1115,7 @@ export interface ServiceLevelObjectiveTimeWindowRolling {
1113
1115
  */
1114
1116
  unit: pulumi.Input<string>;
1115
1117
  }
1116
- export interface WorkflowDestinationConfiguration {
1118
+ export interface WorkflowDestination {
1117
1119
  channelId: pulumi.Input<string>;
1118
1120
  /**
1119
1121
  * A nrql enrichment name.
@@ -1121,7 +1123,7 @@ export interface WorkflowDestinationConfiguration {
1121
1123
  name?: pulumi.Input<string>;
1122
1124
  /**
1123
1125
  * the filter's type. One of: `FILTER` or `VIEW`.
1124
- * * `predicates`
1126
+ * * `predicate`
1125
1127
  */
1126
1128
  type?: pulumi.Input<string>;
1127
1129
  }
@@ -1144,7 +1146,7 @@ export interface WorkflowEnrichmentsNrql {
1144
1146
  name: pulumi.Input<string>;
1145
1147
  /**
1146
1148
  * the filter's type. One of: `FILTER` or `VIEW`.
1147
- * * `predicates`
1149
+ * * `predicate`
1148
1150
  */
1149
1151
  type?: pulumi.Input<string>;
1150
1152
  }
@@ -1163,17 +1165,17 @@ export interface WorkflowIssuesFilter {
1163
1165
  predicates?: pulumi.Input<pulumi.Input<inputs.WorkflowIssuesFilterPredicate>[]>;
1164
1166
  /**
1165
1167
  * the filter's type. One of: `FILTER` or `VIEW`.
1166
- * * `predicates`
1168
+ * * `predicate`
1167
1169
  */
1168
1170
  type: pulumi.Input<string>;
1169
1171
  }
1170
1172
  export interface WorkflowIssuesFilterPredicate {
1171
1173
  /**
1172
- * A predicates attribute.
1174
+ * A predicate's attribute.
1173
1175
  */
1174
1176
  attribute: pulumi.Input<string>;
1175
1177
  /**
1176
- * A predicates operator. One of: `CONTAINS`, `DOES_NOT_CONTAIN`, `DOES_NOT_EQUAL`, `DOES_NOT_EXACTLY_MATCH`, `ENDS_WITH`, `EQUAL`, `EXACTLY_MATCHES`, `GREATER_OR_EQUAL`, `GREATER_THAN`, `IS`, `IS_NOT`, `LESS_OR_EQUAL`, `LESS_THAN` or `STARTS_WITH` (workflows).
1178
+ * A predicate's operator. One of: `CONTAINS`, `DOES_NOT_CONTAIN`, `DOES_NOT_EQUAL`, `DOES_NOT_EXACTLY_MATCH`, `ENDS_WITH`, `EQUAL`, `EXACTLY_MATCHES`, `GREATER_OR_EQUAL`, `GREATER_THAN`, `IS`, `IS_NOT`, `LESS_OR_EQUAL`, `LESS_THAN` or `STARTS_WITH` (workflows).
1177
1179
  */
1178
1180
  operator: pulumi.Input<string>;
1179
1181
  /**
package/types/output.d.ts CHANGED
@@ -617,6 +617,7 @@ export interface OneDashboardPageWidgetHeatmap {
617
617
  * (Required) Column position of widget from top left, starting at `1`.
618
618
  */
619
619
  column: number;
620
+ filterCurrentDashboard?: boolean;
620
621
  /**
621
622
  * (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
622
623
  */
@@ -626,6 +627,7 @@ export interface OneDashboardPageWidgetHeatmap {
626
627
  * (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
627
628
  */
628
629
  ignoreTimeRange?: boolean;
630
+ linkedEntityGuids: string[];
629
631
  /**
630
632
  * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
631
633
  * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
@@ -1134,7 +1136,7 @@ export interface ServiceLevelObjectiveTimeWindowRolling {
1134
1136
  */
1135
1137
  unit: string;
1136
1138
  }
1137
- export interface WorkflowDestinationConfiguration {
1139
+ export interface WorkflowDestination {
1138
1140
  channelId: string;
1139
1141
  /**
1140
1142
  * A nrql enrichment name.
@@ -1142,7 +1144,7 @@ export interface WorkflowDestinationConfiguration {
1142
1144
  name: string;
1143
1145
  /**
1144
1146
  * the filter's type. One of: `FILTER` or `VIEW`.
1145
- * * `predicates`
1147
+ * * `predicate`
1146
1148
  */
1147
1149
  type: string;
1148
1150
  }
@@ -1165,7 +1167,7 @@ export interface WorkflowEnrichmentsNrql {
1165
1167
  name: string;
1166
1168
  /**
1167
1169
  * the filter's type. One of: `FILTER` or `VIEW`.
1168
- * * `predicates`
1170
+ * * `predicate`
1169
1171
  */
1170
1172
  type: string;
1171
1173
  }
@@ -1184,17 +1186,17 @@ export interface WorkflowIssuesFilter {
1184
1186
  predicates?: outputs.WorkflowIssuesFilterPredicate[];
1185
1187
  /**
1186
1188
  * the filter's type. One of: `FILTER` or `VIEW`.
1187
- * * `predicates`
1189
+ * * `predicate`
1188
1190
  */
1189
1191
  type: string;
1190
1192
  }
1191
1193
  export interface WorkflowIssuesFilterPredicate {
1192
1194
  /**
1193
- * A predicates attribute.
1195
+ * A predicate's attribute.
1194
1196
  */
1195
1197
  attribute: string;
1196
1198
  /**
1197
- * A predicates operator. One of: `CONTAINS`, `DOES_NOT_CONTAIN`, `DOES_NOT_EQUAL`, `DOES_NOT_EXACTLY_MATCH`, `ENDS_WITH`, `EQUAL`, `EXACTLY_MATCHES`, `GREATER_OR_EQUAL`, `GREATER_THAN`, `IS`, `IS_NOT`, `LESS_OR_EQUAL`, `LESS_THAN` or `STARTS_WITH` (workflows).
1199
+ * A predicate's operator. One of: `CONTAINS`, `DOES_NOT_CONTAIN`, `DOES_NOT_EQUAL`, `DOES_NOT_EXACTLY_MATCH`, `ENDS_WITH`, `EQUAL`, `EXACTLY_MATCHES`, `GREATER_OR_EQUAL`, `GREATER_THAN`, `IS`, `IS_NOT`, `LESS_OR_EQUAL`, `LESS_THAN` or `STARTS_WITH` (workflows).
1198
1200
  */
1199
1201
  operator: string;
1200
1202
  /**