@pulumi/newrelic 5.4.0 → 5.5.0-alpha.1677784482
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 +54 -53
- package/getNotificationDestination.js +50 -6
- package/getNotificationDestination.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +3 -27
- package/types/output.d.ts +3 -9
- package/workflow.d.ts +8 -0
- package/workflow.js +2 -0
- package/workflow.js.map +1 -1
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
2
|
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
9
|
+
*
|
|
10
|
+
* const foo = newrelic.getNotificationDestination({
|
|
11
|
+
* id: "1e543419-0c25-456a-9057-fb0eb310e60b",
|
|
12
|
+
* });
|
|
13
|
+
* // Resource
|
|
14
|
+
* const foo_channel = new newrelic.NotificationChannel("foo-channel", {
|
|
15
|
+
* type: "WEBHOOK",
|
|
16
|
+
* destinationId: foo.then(foo => foo.id),
|
|
17
|
+
* product: "IINT",
|
|
18
|
+
* properties: [{
|
|
19
|
+
* key: "payload",
|
|
20
|
+
* value: `{
|
|
21
|
+
* "name": "foo"
|
|
22
|
+
* }`,
|
|
23
|
+
* label: "Payload Template",
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
4
28
|
export declare function getNotificationDestination(args: GetNotificationDestinationArgs, opts?: pulumi.InvokeOptions): Promise<GetNotificationDestinationResult>;
|
|
5
29
|
/**
|
|
6
30
|
* A collection of arguments for invoking getNotificationDestination.
|
|
@@ -10,31 +34,10 @@ export interface GetNotificationDestinationArgs {
|
|
|
10
34
|
* The New Relic account ID to operate on. This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
11
35
|
*/
|
|
12
36
|
accountId?: number;
|
|
13
|
-
/**
|
|
14
|
-
* An indication whether the notification destination is active or not.
|
|
15
|
-
*/
|
|
16
|
-
active?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* \ `authToken` - A nested block that describes a basic ot token authentication credentials..
|
|
19
|
-
*/
|
|
20
|
-
authBasic?: inputs.GetNotificationDestinationAuthBasic;
|
|
21
|
-
authToken?: inputs.GetNotificationDestinationAuthToken;
|
|
22
37
|
/**
|
|
23
38
|
* The id of the notification destination in New Relic.
|
|
24
39
|
*/
|
|
25
40
|
id: string;
|
|
26
|
-
/**
|
|
27
|
-
* The name of the notification destination.
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
/**
|
|
31
|
-
* A nested block that describes a notification destination property.
|
|
32
|
-
*/
|
|
33
|
-
properties?: inputs.GetNotificationDestinationProperty[];
|
|
34
|
-
/**
|
|
35
|
-
* The notification destination type, either: `EMAIL`, `SERVICE_NOW`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `SLACK` and `SLACK_COLLABORATION`.
|
|
36
|
-
*/
|
|
37
|
-
type?: string;
|
|
38
41
|
}
|
|
39
42
|
/**
|
|
40
43
|
* A collection of values returned by getNotificationDestination.
|
|
@@ -44,22 +47,16 @@ export interface GetNotificationDestinationResult {
|
|
|
44
47
|
/**
|
|
45
48
|
* An indication whether the notification destination is active or not.
|
|
46
49
|
*/
|
|
47
|
-
readonly active
|
|
48
|
-
/**
|
|
49
|
-
* \ `authToken` - A nested block that describes a basic ot token authentication credentials..
|
|
50
|
-
*/
|
|
51
|
-
readonly authBasic?: outputs.GetNotificationDestinationAuthBasic;
|
|
52
|
-
readonly authToken?: outputs.GetNotificationDestinationAuthToken;
|
|
50
|
+
readonly active: boolean;
|
|
53
51
|
readonly id: string;
|
|
54
|
-
readonly lastSent: string;
|
|
55
52
|
/**
|
|
56
53
|
* The name of the notification destination.
|
|
57
54
|
*/
|
|
58
|
-
readonly name
|
|
55
|
+
readonly name: string;
|
|
59
56
|
/**
|
|
60
57
|
* A nested block that describes a notification destination property.
|
|
61
58
|
*/
|
|
62
|
-
readonly properties
|
|
59
|
+
readonly properties: outputs.GetNotificationDestinationProperty[];
|
|
63
60
|
/**
|
|
64
61
|
* The status of the notification destination.
|
|
65
62
|
*/
|
|
@@ -67,8 +64,33 @@ export interface GetNotificationDestinationResult {
|
|
|
67
64
|
/**
|
|
68
65
|
* The notification destination type, either: `EMAIL`, `SERVICE_NOW`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `SLACK` and `SLACK_COLLABORATION`.
|
|
69
66
|
*/
|
|
70
|
-
readonly type
|
|
67
|
+
readonly type: string;
|
|
71
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* ## Example Usage
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
75
|
+
*
|
|
76
|
+
* const foo = newrelic.getNotificationDestination({
|
|
77
|
+
* id: "1e543419-0c25-456a-9057-fb0eb310e60b",
|
|
78
|
+
* });
|
|
79
|
+
* // Resource
|
|
80
|
+
* const foo_channel = new newrelic.NotificationChannel("foo-channel", {
|
|
81
|
+
* type: "WEBHOOK",
|
|
82
|
+
* destinationId: foo.then(foo => foo.id),
|
|
83
|
+
* product: "IINT",
|
|
84
|
+
* properties: [{
|
|
85
|
+
* key: "payload",
|
|
86
|
+
* value: `{
|
|
87
|
+
* "name": "foo"
|
|
88
|
+
* }`,
|
|
89
|
+
* label: "Payload Template",
|
|
90
|
+
* }],
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
72
94
|
export declare function getNotificationDestinationOutput(args: GetNotificationDestinationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNotificationDestinationResult>;
|
|
73
95
|
/**
|
|
74
96
|
* A collection of arguments for invoking getNotificationDestination.
|
|
@@ -78,29 +100,8 @@ export interface GetNotificationDestinationOutputArgs {
|
|
|
78
100
|
* The New Relic account ID to operate on. This allows you to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
79
101
|
*/
|
|
80
102
|
accountId?: pulumi.Input<number>;
|
|
81
|
-
/**
|
|
82
|
-
* An indication whether the notification destination is active or not.
|
|
83
|
-
*/
|
|
84
|
-
active?: pulumi.Input<boolean>;
|
|
85
|
-
/**
|
|
86
|
-
* \ `authToken` - A nested block that describes a basic ot token authentication credentials..
|
|
87
|
-
*/
|
|
88
|
-
authBasic?: pulumi.Input<inputs.GetNotificationDestinationAuthBasicArgs>;
|
|
89
|
-
authToken?: pulumi.Input<inputs.GetNotificationDestinationAuthTokenArgs>;
|
|
90
103
|
/**
|
|
91
104
|
* The id of the notification destination in New Relic.
|
|
92
105
|
*/
|
|
93
106
|
id: pulumi.Input<string>;
|
|
94
|
-
/**
|
|
95
|
-
* The name of the notification destination.
|
|
96
|
-
*/
|
|
97
|
-
name?: pulumi.Input<string>;
|
|
98
|
-
/**
|
|
99
|
-
* A nested block that describes a notification destination property.
|
|
100
|
-
*/
|
|
101
|
-
properties?: pulumi.Input<pulumi.Input<inputs.GetNotificationDestinationPropertyArgs>[]>;
|
|
102
|
-
/**
|
|
103
|
-
* The notification destination type, either: `EMAIL`, `SERVICE_NOW`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `SLACK` and `SLACK_COLLABORATION`.
|
|
104
|
-
*/
|
|
105
|
-
type?: pulumi.Input<string>;
|
|
106
107
|
}
|
|
@@ -5,20 +5,64 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getNotificationDestinationOutput = exports.getNotificationDestination = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
14
|
+
*
|
|
15
|
+
* const foo = newrelic.getNotificationDestination({
|
|
16
|
+
* id: "1e543419-0c25-456a-9057-fb0eb310e60b",
|
|
17
|
+
* });
|
|
18
|
+
* // Resource
|
|
19
|
+
* const foo_channel = new newrelic.NotificationChannel("foo-channel", {
|
|
20
|
+
* type: "WEBHOOK",
|
|
21
|
+
* destinationId: foo.then(foo => foo.id),
|
|
22
|
+
* product: "IINT",
|
|
23
|
+
* properties: [{
|
|
24
|
+
* key: "payload",
|
|
25
|
+
* value: `{
|
|
26
|
+
* "name": "foo"
|
|
27
|
+
* }`,
|
|
28
|
+
* label: "Payload Template",
|
|
29
|
+
* }],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
8
33
|
function getNotificationDestination(args, opts) {
|
|
9
34
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
35
|
return pulumi.runtime.invoke("newrelic:index/getNotificationDestination:getNotificationDestination", {
|
|
11
36
|
"accountId": args.accountId,
|
|
12
|
-
"active": args.active,
|
|
13
|
-
"authBasic": args.authBasic,
|
|
14
|
-
"authToken": args.authToken,
|
|
15
37
|
"id": args.id,
|
|
16
|
-
"name": args.name,
|
|
17
|
-
"properties": args.properties,
|
|
18
|
-
"type": args.type,
|
|
19
38
|
}, opts);
|
|
20
39
|
}
|
|
21
40
|
exports.getNotificationDestination = getNotificationDestination;
|
|
41
|
+
/**
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
47
|
+
*
|
|
48
|
+
* const foo = newrelic.getNotificationDestination({
|
|
49
|
+
* id: "1e543419-0c25-456a-9057-fb0eb310e60b",
|
|
50
|
+
* });
|
|
51
|
+
* // Resource
|
|
52
|
+
* const foo_channel = new newrelic.NotificationChannel("foo-channel", {
|
|
53
|
+
* type: "WEBHOOK",
|
|
54
|
+
* destinationId: foo.then(foo => foo.id),
|
|
55
|
+
* product: "IINT",
|
|
56
|
+
* properties: [{
|
|
57
|
+
* key: "payload",
|
|
58
|
+
* value: `{
|
|
59
|
+
* "name": "foo"
|
|
60
|
+
* }`,
|
|
61
|
+
* label: "Payload Template",
|
|
62
|
+
* }],
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
22
66
|
function getNotificationDestinationOutput(args, opts) {
|
|
23
67
|
return pulumi.output(args).apply((a) => getNotificationDestination(a, opts));
|
|
24
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNotificationDestination.js","sourceRoot":"","sources":["../getNotificationDestination.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,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,
|
|
1
|
+
{"version":3,"file":"getNotificationDestination.js","sourceRoot":"","sources":["../getNotificationDestination.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AA2CD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,0BAA0B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrF,CAAC;AAFD,4EAEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/newrelic",
|
|
3
|
-
"version": "v5.
|
|
3
|
+
"version": "v5.5.0-alpha.1677784482+a853ef2a",
|
|
4
4
|
"description": "A Pulumi package for creating and managing New Relic resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource newrelic v5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource newrelic v5.5.0-alpha.1677784482+a853ef2a"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/newrelic",
|
|
3
|
-
"version": "v5.
|
|
3
|
+
"version": "v5.5.0-alpha.1677784482+a853ef2a",
|
|
4
4
|
"description": "A Pulumi package for creating and managing New Relic resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource newrelic v5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource newrelic v5.5.0-alpha.1677784482+a853ef2a"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/types/input.d.ts
CHANGED
|
@@ -175,30 +175,6 @@ export interface GetEntityTagArgs {
|
|
|
175
175
|
*/
|
|
176
176
|
value: pulumi.Input<string>;
|
|
177
177
|
}
|
|
178
|
-
export interface GetNotificationDestinationAuthBasic {
|
|
179
|
-
user?: string;
|
|
180
|
-
}
|
|
181
|
-
export interface GetNotificationDestinationAuthBasicArgs {
|
|
182
|
-
user?: pulumi.Input<string>;
|
|
183
|
-
}
|
|
184
|
-
export interface GetNotificationDestinationAuthToken {
|
|
185
|
-
prefix?: string;
|
|
186
|
-
}
|
|
187
|
-
export interface GetNotificationDestinationAuthTokenArgs {
|
|
188
|
-
prefix?: pulumi.Input<string>;
|
|
189
|
-
}
|
|
190
|
-
export interface GetNotificationDestinationProperty {
|
|
191
|
-
displayValue?: string;
|
|
192
|
-
key: string;
|
|
193
|
-
label?: string;
|
|
194
|
-
value: string;
|
|
195
|
-
}
|
|
196
|
-
export interface GetNotificationDestinationPropertyArgs {
|
|
197
|
-
displayValue?: pulumi.Input<string>;
|
|
198
|
-
key: pulumi.Input<string>;
|
|
199
|
-
label?: pulumi.Input<string>;
|
|
200
|
-
value: pulumi.Input<string>;
|
|
201
|
-
}
|
|
202
178
|
export interface InfraAlertConditionCritical {
|
|
203
179
|
duration: pulumi.Input<number>;
|
|
204
180
|
timeFunction?: pulumi.Input<string>;
|
|
@@ -2475,7 +2451,7 @@ export declare namespace synthetics {
|
|
|
2475
2451
|
*/
|
|
2476
2452
|
guid: pulumi.Input<string>;
|
|
2477
2453
|
/**
|
|
2478
|
-
* The location's Verified Script Execution password,
|
|
2454
|
+
* The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
|
|
2479
2455
|
*/
|
|
2480
2456
|
vsePassword?: pulumi.Input<string>;
|
|
2481
2457
|
}
|
|
@@ -2485,11 +2461,11 @@ export declare namespace synthetics {
|
|
|
2485
2461
|
*/
|
|
2486
2462
|
ordinal: pulumi.Input<number>;
|
|
2487
2463
|
/**
|
|
2488
|
-
* Name of the tag key.
|
|
2464
|
+
* Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
|
|
2489
2465
|
*/
|
|
2490
2466
|
type: pulumi.Input<string>;
|
|
2491
2467
|
/**
|
|
2492
|
-
* The metadata values related to the step.
|
|
2468
|
+
* The metadata values related to the step.
|
|
2493
2469
|
*/
|
|
2494
2470
|
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2495
2471
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -190,12 +190,6 @@ export interface GetEntityTag {
|
|
|
190
190
|
*/
|
|
191
191
|
value: string;
|
|
192
192
|
}
|
|
193
|
-
export interface GetNotificationDestinationAuthBasic {
|
|
194
|
-
user?: string;
|
|
195
|
-
}
|
|
196
|
-
export interface GetNotificationDestinationAuthToken {
|
|
197
|
-
prefix?: string;
|
|
198
|
-
}
|
|
199
193
|
export interface GetNotificationDestinationProperty {
|
|
200
194
|
displayValue?: string;
|
|
201
195
|
key: string;
|
|
@@ -2502,7 +2496,7 @@ export declare namespace synthetics {
|
|
|
2502
2496
|
*/
|
|
2503
2497
|
guid: string;
|
|
2504
2498
|
/**
|
|
2505
|
-
* The location's Verified Script Execution password,
|
|
2499
|
+
* The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
|
|
2506
2500
|
*/
|
|
2507
2501
|
vsePassword?: string;
|
|
2508
2502
|
}
|
|
@@ -2512,11 +2506,11 @@ export declare namespace synthetics {
|
|
|
2512
2506
|
*/
|
|
2513
2507
|
ordinal: number;
|
|
2514
2508
|
/**
|
|
2515
|
-
* Name of the tag key.
|
|
2509
|
+
* Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
|
|
2516
2510
|
*/
|
|
2517
2511
|
type: string;
|
|
2518
2512
|
/**
|
|
2519
|
-
* The metadata values related to the step.
|
|
2513
|
+
* The metadata values related to the step.
|
|
2520
2514
|
*/
|
|
2521
2515
|
values?: string[];
|
|
2522
2516
|
}
|
package/workflow.d.ts
CHANGED
|
@@ -199,6 +199,10 @@ export declare class Workflow extends pulumi.CustomResource {
|
|
|
199
199
|
* Whether enrichments are enabled. Defaults to true.
|
|
200
200
|
*/
|
|
201
201
|
readonly enrichmentsEnabled: pulumi.Output<boolean | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* Workflow entity GUID
|
|
204
|
+
*/
|
|
205
|
+
readonly guid: pulumi.Output<string>;
|
|
202
206
|
/**
|
|
203
207
|
* A filter used to identify issues handled by this workflow. See Nested issuesFilter blocks below for details.
|
|
204
208
|
*/
|
|
@@ -259,6 +263,10 @@ export interface WorkflowState {
|
|
|
259
263
|
* Whether enrichments are enabled. Defaults to true.
|
|
260
264
|
*/
|
|
261
265
|
enrichmentsEnabled?: pulumi.Input<boolean>;
|
|
266
|
+
/**
|
|
267
|
+
* Workflow entity GUID
|
|
268
|
+
*/
|
|
269
|
+
guid?: pulumi.Input<string>;
|
|
262
270
|
/**
|
|
263
271
|
* A filter used to identify issues handled by this workflow. See Nested issuesFilter blocks below for details.
|
|
264
272
|
*/
|
package/workflow.js
CHANGED
|
@@ -194,6 +194,7 @@ class Workflow extends pulumi.CustomResource {
|
|
|
194
194
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
195
195
|
resourceInputs["enrichments"] = state ? state.enrichments : undefined;
|
|
196
196
|
resourceInputs["enrichmentsEnabled"] = state ? state.enrichmentsEnabled : undefined;
|
|
197
|
+
resourceInputs["guid"] = state ? state.guid : undefined;
|
|
197
198
|
resourceInputs["issuesFilter"] = state ? state.issuesFilter : undefined;
|
|
198
199
|
resourceInputs["lastRun"] = state ? state.lastRun : undefined;
|
|
199
200
|
resourceInputs["mutingRulesHandling"] = state ? state.mutingRulesHandling : undefined;
|
|
@@ -220,6 +221,7 @@ class Workflow extends pulumi.CustomResource {
|
|
|
220
221
|
resourceInputs["issuesFilter"] = args ? args.issuesFilter : undefined;
|
|
221
222
|
resourceInputs["mutingRulesHandling"] = args ? args.mutingRulesHandling : undefined;
|
|
222
223
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
224
|
+
resourceInputs["guid"] = undefined /*out*/;
|
|
223
225
|
resourceInputs["lastRun"] = undefined /*out*/;
|
|
224
226
|
resourceInputs["workflowId"] = undefined /*out*/;
|
|
225
227
|
}
|
package/workflow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../workflow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAE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