@pulumi/newrelic 5.62.0 → 5.63.0-alpha.1774498329
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/getNotificationDestination.d.ts +26 -10
- package/getNotificationDestination.js +16 -10
- package/getNotificationDestination.js.map +1 -1
- package/notificationDestination.d.ts +15 -12
- package/notificationDestination.js +2 -12
- package/notificationDestination.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +30 -0
- package/types/output.d.ts +20 -0
|
@@ -30,14 +30,14 @@ import * as outputs from "./types/output";
|
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
|
-
* ## Name Example Usage
|
|
33
|
+
* ## Name Example Usage
|
|
34
34
|
*
|
|
35
35
|
* ```typescript
|
|
36
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
37
|
* import * as newrelic from "@pulumi/newrelic";
|
|
38
38
|
*
|
|
39
|
-
* // Data source
|
|
40
|
-
* // Searching for "webhook" would match "webhook-destination", "
|
|
39
|
+
* // Data source (uses contains match)
|
|
40
|
+
* // Searching for "webhook-destination" would match "webhook-destination", "webhook-destination-1", etc.
|
|
41
41
|
* const foo = newrelic.getNotificationDestination({
|
|
42
42
|
* name: "webhook-destination",
|
|
43
43
|
* });
|
|
@@ -57,13 +57,13 @@ import * as outputs from "./types/output";
|
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
|
59
59
|
*
|
|
60
|
-
* ## Exact Name Example Usage
|
|
60
|
+
* ## Exact Name Example Usage
|
|
61
61
|
*
|
|
62
62
|
* ```typescript
|
|
63
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
64
64
|
* import * as newrelic from "@pulumi/newrelic";
|
|
65
65
|
*
|
|
66
|
-
* // Data source
|
|
66
|
+
* // Data source (uses exact match)
|
|
67
67
|
* // Searching for "webhook-destination" would only match "webhook-destination", not "my-webhook-destination"
|
|
68
68
|
* const foo = newrelic.getNotificationDestination({
|
|
69
69
|
* exactName: "webhook-destination",
|
|
@@ -83,6 +83,8 @@ import * as outputs from "./types/output";
|
|
|
83
83
|
* }],
|
|
84
84
|
* });
|
|
85
85
|
* ```
|
|
86
|
+
*
|
|
87
|
+
* Use this data source to create cross account destination.
|
|
86
88
|
*/
|
|
87
89
|
export declare function getNotificationDestination(args?: GetNotificationDestinationArgs, opts?: pulumi.InvokeOptions): Promise<GetNotificationDestinationResult>;
|
|
88
90
|
/**
|
|
@@ -107,6 +109,10 @@ export interface GetNotificationDestinationArgs {
|
|
|
107
109
|
* The name of the notification destination. Uses a **contains** match, so searching for "foo" would match "foobar", "myfoo", etc.
|
|
108
110
|
*/
|
|
109
111
|
name?: string;
|
|
112
|
+
/**
|
|
113
|
+
* A nested block of scope of destination which has two parameters scope type and ID.
|
|
114
|
+
*/
|
|
115
|
+
scope?: inputs.GetNotificationDestinationScope;
|
|
110
116
|
/**
|
|
111
117
|
* The URL in secure format, showing only the `prefix`, as the `secureSuffix` is a secret.
|
|
112
118
|
*/
|
|
@@ -135,6 +141,10 @@ export interface GetNotificationDestinationResult {
|
|
|
135
141
|
* A nested block that describes a notification destination property.
|
|
136
142
|
*/
|
|
137
143
|
readonly properties: outputs.GetNotificationDestinationProperty[];
|
|
144
|
+
/**
|
|
145
|
+
* A nested block of scope of destination which has two parameters scope type and ID.
|
|
146
|
+
*/
|
|
147
|
+
readonly scope?: outputs.GetNotificationDestinationScope;
|
|
138
148
|
/**
|
|
139
149
|
* The URL in secure format, showing only the `prefix`, as the `secureSuffix` is a secret.
|
|
140
150
|
*/
|
|
@@ -177,14 +187,14 @@ export interface GetNotificationDestinationResult {
|
|
|
177
187
|
* });
|
|
178
188
|
* ```
|
|
179
189
|
*
|
|
180
|
-
* ## Name Example Usage
|
|
190
|
+
* ## Name Example Usage
|
|
181
191
|
*
|
|
182
192
|
* ```typescript
|
|
183
193
|
* import * as pulumi from "@pulumi/pulumi";
|
|
184
194
|
* import * as newrelic from "@pulumi/newrelic";
|
|
185
195
|
*
|
|
186
|
-
* // Data source
|
|
187
|
-
* // Searching for "webhook" would match "webhook-destination", "
|
|
196
|
+
* // Data source (uses contains match)
|
|
197
|
+
* // Searching for "webhook-destination" would match "webhook-destination", "webhook-destination-1", etc.
|
|
188
198
|
* const foo = newrelic.getNotificationDestination({
|
|
189
199
|
* name: "webhook-destination",
|
|
190
200
|
* });
|
|
@@ -204,13 +214,13 @@ export interface GetNotificationDestinationResult {
|
|
|
204
214
|
* });
|
|
205
215
|
* ```
|
|
206
216
|
*
|
|
207
|
-
* ## Exact Name Example Usage
|
|
217
|
+
* ## Exact Name Example Usage
|
|
208
218
|
*
|
|
209
219
|
* ```typescript
|
|
210
220
|
* import * as pulumi from "@pulumi/pulumi";
|
|
211
221
|
* import * as newrelic from "@pulumi/newrelic";
|
|
212
222
|
*
|
|
213
|
-
* // Data source
|
|
223
|
+
* // Data source (uses exact match)
|
|
214
224
|
* // Searching for "webhook-destination" would only match "webhook-destination", not "my-webhook-destination"
|
|
215
225
|
* const foo = newrelic.getNotificationDestination({
|
|
216
226
|
* exactName: "webhook-destination",
|
|
@@ -230,6 +240,8 @@ export interface GetNotificationDestinationResult {
|
|
|
230
240
|
* }],
|
|
231
241
|
* });
|
|
232
242
|
* ```
|
|
243
|
+
*
|
|
244
|
+
* Use this data source to create cross account destination.
|
|
233
245
|
*/
|
|
234
246
|
export declare function getNotificationDestinationOutput(args?: GetNotificationDestinationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNotificationDestinationResult>;
|
|
235
247
|
/**
|
|
@@ -254,6 +266,10 @@ export interface GetNotificationDestinationOutputArgs {
|
|
|
254
266
|
* The name of the notification destination. Uses a **contains** match, so searching for "foo" would match "foobar", "myfoo", etc.
|
|
255
267
|
*/
|
|
256
268
|
name?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* A nested block of scope of destination which has two parameters scope type and ID.
|
|
271
|
+
*/
|
|
272
|
+
scope?: pulumi.Input<inputs.GetNotificationDestinationScopeArgs>;
|
|
257
273
|
/**
|
|
258
274
|
* The URL in secure format, showing only the `prefix`, as the `secureSuffix` is a secret.
|
|
259
275
|
*/
|
|
@@ -34,14 +34,14 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* });
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
37
|
-
* ## Name Example Usage
|
|
37
|
+
* ## Name Example Usage
|
|
38
38
|
*
|
|
39
39
|
* ```typescript
|
|
40
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
41
|
* import * as newrelic from "@pulumi/newrelic";
|
|
42
42
|
*
|
|
43
|
-
* // Data source
|
|
44
|
-
* // Searching for "webhook" would match "webhook-destination", "
|
|
43
|
+
* // Data source (uses contains match)
|
|
44
|
+
* // Searching for "webhook-destination" would match "webhook-destination", "webhook-destination-1", etc.
|
|
45
45
|
* const foo = newrelic.getNotificationDestination({
|
|
46
46
|
* name: "webhook-destination",
|
|
47
47
|
* });
|
|
@@ -61,13 +61,13 @@ const utilities = require("./utilities");
|
|
|
61
61
|
* });
|
|
62
62
|
* ```
|
|
63
63
|
*
|
|
64
|
-
* ## Exact Name Example Usage
|
|
64
|
+
* ## Exact Name Example Usage
|
|
65
65
|
*
|
|
66
66
|
* ```typescript
|
|
67
67
|
* import * as pulumi from "@pulumi/pulumi";
|
|
68
68
|
* import * as newrelic from "@pulumi/newrelic";
|
|
69
69
|
*
|
|
70
|
-
* // Data source
|
|
70
|
+
* // Data source (uses exact match)
|
|
71
71
|
* // Searching for "webhook-destination" would only match "webhook-destination", not "my-webhook-destination"
|
|
72
72
|
* const foo = newrelic.getNotificationDestination({
|
|
73
73
|
* exactName: "webhook-destination",
|
|
@@ -87,6 +87,8 @@ const utilities = require("./utilities");
|
|
|
87
87
|
* }],
|
|
88
88
|
* });
|
|
89
89
|
* ```
|
|
90
|
+
*
|
|
91
|
+
* Use this data source to create cross account destination.
|
|
90
92
|
*/
|
|
91
93
|
function getNotificationDestination(args, opts) {
|
|
92
94
|
args = args || {};
|
|
@@ -96,6 +98,7 @@ function getNotificationDestination(args, opts) {
|
|
|
96
98
|
"exactName": args.exactName,
|
|
97
99
|
"id": args.id,
|
|
98
100
|
"name": args.name,
|
|
101
|
+
"scope": args.scope,
|
|
99
102
|
"secureUrls": args.secureUrls,
|
|
100
103
|
}, opts);
|
|
101
104
|
}
|
|
@@ -129,14 +132,14 @@ exports.getNotificationDestination = getNotificationDestination;
|
|
|
129
132
|
* });
|
|
130
133
|
* ```
|
|
131
134
|
*
|
|
132
|
-
* ## Name Example Usage
|
|
135
|
+
* ## Name Example Usage
|
|
133
136
|
*
|
|
134
137
|
* ```typescript
|
|
135
138
|
* import * as pulumi from "@pulumi/pulumi";
|
|
136
139
|
* import * as newrelic from "@pulumi/newrelic";
|
|
137
140
|
*
|
|
138
|
-
* // Data source
|
|
139
|
-
* // Searching for "webhook" would match "webhook-destination", "
|
|
141
|
+
* // Data source (uses contains match)
|
|
142
|
+
* // Searching for "webhook-destination" would match "webhook-destination", "webhook-destination-1", etc.
|
|
140
143
|
* const foo = newrelic.getNotificationDestination({
|
|
141
144
|
* name: "webhook-destination",
|
|
142
145
|
* });
|
|
@@ -156,13 +159,13 @@ exports.getNotificationDestination = getNotificationDestination;
|
|
|
156
159
|
* });
|
|
157
160
|
* ```
|
|
158
161
|
*
|
|
159
|
-
* ## Exact Name Example Usage
|
|
162
|
+
* ## Exact Name Example Usage
|
|
160
163
|
*
|
|
161
164
|
* ```typescript
|
|
162
165
|
* import * as pulumi from "@pulumi/pulumi";
|
|
163
166
|
* import * as newrelic from "@pulumi/newrelic";
|
|
164
167
|
*
|
|
165
|
-
* // Data source
|
|
168
|
+
* // Data source (uses exact match)
|
|
166
169
|
* // Searching for "webhook-destination" would only match "webhook-destination", not "my-webhook-destination"
|
|
167
170
|
* const foo = newrelic.getNotificationDestination({
|
|
168
171
|
* exactName: "webhook-destination",
|
|
@@ -182,6 +185,8 @@ exports.getNotificationDestination = getNotificationDestination;
|
|
|
182
185
|
* }],
|
|
183
186
|
* });
|
|
184
187
|
* ```
|
|
188
|
+
*
|
|
189
|
+
* Use this data source to create cross account destination.
|
|
185
190
|
*/
|
|
186
191
|
function getNotificationDestinationOutput(args, opts) {
|
|
187
192
|
args = args || {};
|
|
@@ -191,6 +196,7 @@ function getNotificationDestinationOutput(args, opts) {
|
|
|
191
196
|
"exactName": args.exactName,
|
|
192
197
|
"id": args.id,
|
|
193
198
|
"name": args.name,
|
|
199
|
+
"scope": args.scope,
|
|
194
200
|
"secureUrls": args.secureUrls,
|
|
195
201
|
}, opts);
|
|
196
202
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNotificationDestination.js","sourceRoot":"","sources":["../getNotificationDestination.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getNotificationDestination.js","sourceRoot":"","sources":["../getNotificationDestination.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gEAWC;AA0ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,SAAgB,gCAAgC,CAAC,IAA2C,EAAE,IAAiC;IAC3H,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sEAAsE,EAAE;QACvG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4EAWC"}
|
|
@@ -220,18 +220,6 @@ import * as outputs from "./types/output";
|
|
|
220
220
|
* As a result, you cannot set up a Slack destination purely with Terraform code.
|
|
221
221
|
* However, if you would like to use Slack-based destinations with other resources in the New Relic Terraform Provider, the data source `newrelic.NotificationDestination` may be used to fetch the ID of the destination; alternatively, you might want to source the ID of the destination from NerdGraph, or from the New Relic One UI.
|
|
222
222
|
*
|
|
223
|
-
* ## Additional Information
|
|
224
|
-
*
|
|
225
|
-
* More information about destinations integrations can be found in NewRelic [documentation](https://docs.newrelic.com/docs/alerts-applied-intelligence/notifications/notification-integrations/).
|
|
226
|
-
* More details about the destinations API can be found [here](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-destinations).
|
|
227
|
-
*
|
|
228
|
-
* ### Moving from Legacy Alert Channels to Notification Channels
|
|
229
|
-
* As stated in the documentation of this resource and `newrelic.NotificationChannel`, destinations, created using the resource `newrelic.NotificationDestination` can be paired with `newrelic.NotificationChannel` to set up channels. These resources combined, are an alternative to the legacy resource `newrelic.AlertChannel`, which is **deprecated** and will be **removed in a future major release**, as stated in the documentation of the resource.
|
|
230
|
-
*
|
|
231
|
-
* If you're currently using `newrelic.AlertChannel` to manage channels, we **strongly recommend** migrating to these notifications-based resources at the earliest.
|
|
232
|
-
*
|
|
233
|
-
* Please refer to the examples in this page, or this example for illustrations on setting up channels with these resources.
|
|
234
|
-
*
|
|
235
223
|
* ## Import
|
|
236
224
|
*
|
|
237
225
|
* > **WARNING:** Slack-based destinations can only be imported and destroyed; this resource **does not** support creating and updating Slack-based destinations, owing to the reasons stated above, under the **Slack** section.
|
|
@@ -301,8 +289,13 @@ export declare class NotificationDestination extends pulumi.CustomResource {
|
|
|
301
289
|
readonly name: pulumi.Output<string>;
|
|
302
290
|
/**
|
|
303
291
|
* A nested block that describes a notification destination property. See Nested property blocks below for details.
|
|
292
|
+
* *
|
|
304
293
|
*/
|
|
305
294
|
readonly properties: pulumi.Output<outputs.NotificationDestinationProperty[]>;
|
|
295
|
+
/**
|
|
296
|
+
* Scope of the destination
|
|
297
|
+
*/
|
|
298
|
+
readonly scope: pulumi.Output<outputs.NotificationDestinationScope | undefined>;
|
|
306
299
|
/**
|
|
307
300
|
* A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secureUrl block is permitted per notification destination definition. See Nested secureUrl blocks below for details.
|
|
308
301
|
*/
|
|
@@ -362,8 +355,13 @@ export interface NotificationDestinationState {
|
|
|
362
355
|
name?: pulumi.Input<string>;
|
|
363
356
|
/**
|
|
364
357
|
* A nested block that describes a notification destination property. See Nested property blocks below for details.
|
|
358
|
+
* *
|
|
365
359
|
*/
|
|
366
360
|
properties?: pulumi.Input<pulumi.Input<inputs.NotificationDestinationProperty>[]>;
|
|
361
|
+
/**
|
|
362
|
+
* Scope of the destination
|
|
363
|
+
*/
|
|
364
|
+
scope?: pulumi.Input<inputs.NotificationDestinationScope>;
|
|
367
365
|
/**
|
|
368
366
|
* A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secureUrl block is permitted per notification destination definition. See Nested secureUrl blocks below for details.
|
|
369
367
|
*/
|
|
@@ -407,8 +405,13 @@ export interface NotificationDestinationArgs {
|
|
|
407
405
|
name?: pulumi.Input<string>;
|
|
408
406
|
/**
|
|
409
407
|
* A nested block that describes a notification destination property. See Nested property blocks below for details.
|
|
408
|
+
* *
|
|
410
409
|
*/
|
|
411
410
|
properties: pulumi.Input<pulumi.Input<inputs.NotificationDestinationProperty>[]>;
|
|
411
|
+
/**
|
|
412
|
+
* Scope of the destination
|
|
413
|
+
*/
|
|
414
|
+
scope?: pulumi.Input<inputs.NotificationDestinationScope>;
|
|
412
415
|
/**
|
|
413
416
|
* A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secureUrl block is permitted per notification destination definition. See Nested secureUrl blocks below for details.
|
|
414
417
|
*/
|
|
@@ -224,18 +224,6 @@ const utilities = require("./utilities");
|
|
|
224
224
|
* As a result, you cannot set up a Slack destination purely with Terraform code.
|
|
225
225
|
* However, if you would like to use Slack-based destinations with other resources in the New Relic Terraform Provider, the data source `newrelic.NotificationDestination` may be used to fetch the ID of the destination; alternatively, you might want to source the ID of the destination from NerdGraph, or from the New Relic One UI.
|
|
226
226
|
*
|
|
227
|
-
* ## Additional Information
|
|
228
|
-
*
|
|
229
|
-
* More information about destinations integrations can be found in NewRelic [documentation](https://docs.newrelic.com/docs/alerts-applied-intelligence/notifications/notification-integrations/).
|
|
230
|
-
* More details about the destinations API can be found [here](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-destinations).
|
|
231
|
-
*
|
|
232
|
-
* ### Moving from Legacy Alert Channels to Notification Channels
|
|
233
|
-
* As stated in the documentation of this resource and `newrelic.NotificationChannel`, destinations, created using the resource `newrelic.NotificationDestination` can be paired with `newrelic.NotificationChannel` to set up channels. These resources combined, are an alternative to the legacy resource `newrelic.AlertChannel`, which is **deprecated** and will be **removed in a future major release**, as stated in the documentation of the resource.
|
|
234
|
-
*
|
|
235
|
-
* If you're currently using `newrelic.AlertChannel` to manage channels, we **strongly recommend** migrating to these notifications-based resources at the earliest.
|
|
236
|
-
*
|
|
237
|
-
* Please refer to the examples in this page, or this example for illustrations on setting up channels with these resources.
|
|
238
|
-
*
|
|
239
227
|
* ## Import
|
|
240
228
|
*
|
|
241
229
|
* > **WARNING:** Slack-based destinations can only be imported and destroyed; this resource **does not** support creating and updating Slack-based destinations, owing to the reasons stated above, under the **Slack** section.
|
|
@@ -292,6 +280,7 @@ class NotificationDestination extends pulumi.CustomResource {
|
|
|
292
280
|
resourceInputs["lastSent"] = state?.lastSent;
|
|
293
281
|
resourceInputs["name"] = state?.name;
|
|
294
282
|
resourceInputs["properties"] = state?.properties;
|
|
283
|
+
resourceInputs["scope"] = state?.scope;
|
|
295
284
|
resourceInputs["secureUrl"] = state?.secureUrl;
|
|
296
285
|
resourceInputs["status"] = state?.status;
|
|
297
286
|
resourceInputs["type"] = state?.type;
|
|
@@ -311,6 +300,7 @@ class NotificationDestination extends pulumi.CustomResource {
|
|
|
311
300
|
resourceInputs["authToken"] = args?.authToken;
|
|
312
301
|
resourceInputs["name"] = args?.name;
|
|
313
302
|
resourceInputs["properties"] = args?.properties;
|
|
303
|
+
resourceInputs["scope"] = args?.scope;
|
|
314
304
|
resourceInputs["secureUrl"] = args?.secureUrl;
|
|
315
305
|
resourceInputs["type"] = args?.type;
|
|
316
306
|
resourceInputs["guid"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationDestination.js","sourceRoot":"","sources":["../notificationDestination.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"notificationDestination.js","sourceRoot":"","sources":["../notificationDestination.ts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AAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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;;AApIL,0DAqIC;AAvHG,gBAAgB;AACO,oCAAY,GAAG,gEAAgE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/newrelic",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.63.0-alpha.1774498329",
|
|
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.
|
|
26
|
+
"version": "5.63.0-alpha.1774498329"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -209,6 +209,26 @@ export interface GetEntityTagArgs {
|
|
|
209
209
|
*/
|
|
210
210
|
value: pulumi.Input<string>;
|
|
211
211
|
}
|
|
212
|
+
export interface GetNotificationDestinationScope {
|
|
213
|
+
/**
|
|
214
|
+
* The id of the notification destination in New Relic.
|
|
215
|
+
*/
|
|
216
|
+
id: string;
|
|
217
|
+
/**
|
|
218
|
+
* The notification destination type, either: `EMAIL`, `SERVICE_NOW`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `SLACK`, `SLACK_COLLABORATION`, `MICROSOFT_TEAMS` and `WORKFLOW_AUTOMATION`.
|
|
219
|
+
*/
|
|
220
|
+
type: string;
|
|
221
|
+
}
|
|
222
|
+
export interface GetNotificationDestinationScopeArgs {
|
|
223
|
+
/**
|
|
224
|
+
* The id of the notification destination in New Relic.
|
|
225
|
+
*/
|
|
226
|
+
id: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* The notification destination type, either: `EMAIL`, `SERVICE_NOW`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `SLACK`, `SLACK_COLLABORATION`, `MICROSOFT_TEAMS` and `WORKFLOW_AUTOMATION`.
|
|
229
|
+
*/
|
|
230
|
+
type: pulumi.Input<string>;
|
|
231
|
+
}
|
|
212
232
|
export interface GetNotificationDestinationSecureUrl {
|
|
213
233
|
prefix: string;
|
|
214
234
|
}
|
|
@@ -321,6 +341,16 @@ export interface NotificationDestinationProperty {
|
|
|
321
341
|
*/
|
|
322
342
|
value: pulumi.Input<string>;
|
|
323
343
|
}
|
|
344
|
+
export interface NotificationDestinationScope {
|
|
345
|
+
/**
|
|
346
|
+
* The ID of the destination.
|
|
347
|
+
*/
|
|
348
|
+
id: pulumi.Input<string>;
|
|
349
|
+
/**
|
|
350
|
+
* The type of destination. One of: `EMAIL`, `SERVICE_NOW`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `MICROSOFT_TEAMS`, `WORKFLOW_AUTOMATION`. The types `SLACK` and `SLACK_COLLABORATION` can only be imported, updated and destroyed (cannot be created via terraform).
|
|
351
|
+
*/
|
|
352
|
+
type: pulumi.Input<string>;
|
|
353
|
+
}
|
|
324
354
|
export interface NotificationDestinationSecureUrl {
|
|
325
355
|
/**
|
|
326
356
|
* The prefix of the URL.
|
package/types/output.d.ts
CHANGED
|
@@ -242,6 +242,16 @@ export interface GetNotificationDestinationProperty {
|
|
|
242
242
|
*/
|
|
243
243
|
value: string;
|
|
244
244
|
}
|
|
245
|
+
export interface GetNotificationDestinationScope {
|
|
246
|
+
/**
|
|
247
|
+
* The id of the notification destination in New Relic.
|
|
248
|
+
*/
|
|
249
|
+
id: string;
|
|
250
|
+
/**
|
|
251
|
+
* The notification destination type, either: `EMAIL`, `SERVICE_NOW`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `SLACK`, `SLACK_COLLABORATION`, `MICROSOFT_TEAMS` and `WORKFLOW_AUTOMATION`.
|
|
252
|
+
*/
|
|
253
|
+
type: string;
|
|
254
|
+
}
|
|
245
255
|
export interface GetNotificationDestinationSecureUrl {
|
|
246
256
|
prefix: string;
|
|
247
257
|
}
|
|
@@ -375,6 +385,16 @@ export interface NotificationDestinationProperty {
|
|
|
375
385
|
*/
|
|
376
386
|
value: string;
|
|
377
387
|
}
|
|
388
|
+
export interface NotificationDestinationScope {
|
|
389
|
+
/**
|
|
390
|
+
* The ID of the destination.
|
|
391
|
+
*/
|
|
392
|
+
id: string;
|
|
393
|
+
/**
|
|
394
|
+
* The type of destination. One of: `EMAIL`, `SERVICE_NOW`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `MICROSOFT_TEAMS`, `WORKFLOW_AUTOMATION`. The types `SLACK` and `SLACK_COLLABORATION` can only be imported, updated and destroyed (cannot be created via terraform).
|
|
395
|
+
*/
|
|
396
|
+
type: string;
|
|
397
|
+
}
|
|
378
398
|
export interface NotificationDestinationSecureUrl {
|
|
379
399
|
/**
|
|
380
400
|
* The prefix of the URL.
|