@pulumi/pagerduty 4.23.0-alpha.1744438708 → 4.23.0-alpha.1744774430
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/eventOrchestrationGlobal.d.ts +3 -1
- package/eventOrchestrationGlobal.js +3 -1
- package/eventOrchestrationGlobal.js.map +1 -1
- package/eventOrchestrationService.d.ts +6 -1
- package/eventOrchestrationService.js +6 -1
- package/eventOrchestrationService.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +37 -13
- package/types/output.d.ts +37 -13
|
@@ -73,13 +73,15 @@ import * as outputs from "./types/output";
|
|
|
73
73
|
* },
|
|
74
74
|
* },
|
|
75
75
|
* {
|
|
76
|
-
* label: "Otherwise, set the incident to P1 and run a diagnostic",
|
|
76
|
+
* label: "Otherwise, set the incident to P1, pause for 10 mins and run a diagnostic once the alert is suspended",
|
|
77
77
|
* actions: {
|
|
78
78
|
* priority: p1.then(p1 => p1.id),
|
|
79
|
+
* suspend: 600,
|
|
79
80
|
* automationAction: {
|
|
80
81
|
* name: "db-diagnostic",
|
|
81
82
|
* url: "https://example.com/run-diagnostic",
|
|
82
83
|
* autoSend: true,
|
|
84
|
+
* triggerTypes: "alert_suspended",
|
|
83
85
|
* },
|
|
84
86
|
* },
|
|
85
87
|
* },
|
|
@@ -77,13 +77,15 @@ const utilities = require("./utilities");
|
|
|
77
77
|
* },
|
|
78
78
|
* },
|
|
79
79
|
* {
|
|
80
|
-
* label: "Otherwise, set the incident to P1 and run a diagnostic",
|
|
80
|
+
* label: "Otherwise, set the incident to P1, pause for 10 mins and run a diagnostic once the alert is suspended",
|
|
81
81
|
* actions: {
|
|
82
82
|
* priority: p1.then(p1 => p1.id),
|
|
83
|
+
* suspend: 600,
|
|
83
84
|
* automationAction: {
|
|
84
85
|
* name: "db-diagnostic",
|
|
85
86
|
* url: "https://example.com/run-diagnostic",
|
|
86
87
|
* autoSend: true,
|
|
88
|
+
* triggerTypes: "alert_suspended",
|
|
87
89
|
* },
|
|
88
90
|
* },
|
|
89
91
|
* },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventOrchestrationGlobal.js","sourceRoot":"","sources":["../eventOrchestrationGlobal.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"eventOrchestrationGlobal.js","sourceRoot":"","sources":["../eventOrchestrationGlobal.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,UAAU,CAAC,GAAG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AAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA1EL,4DA2EC;AA7DG,gBAAgB;AACO,qCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -125,6 +125,7 @@ import * as outputs from "./types/output";
|
|
|
125
125
|
* name: "Canary Slack Notification",
|
|
126
126
|
* url: "https://our-slack-listerner.test/canary-notification",
|
|
127
127
|
* autoSend: true,
|
|
128
|
+
* triggerTypes: "alert_triggered",
|
|
128
129
|
* parameters: [
|
|
129
130
|
* {
|
|
130
131
|
* key: "channel",
|
|
@@ -143,12 +144,16 @@ import * as outputs from "./types/output";
|
|
|
143
144
|
* },
|
|
144
145
|
* },
|
|
145
146
|
* {
|
|
146
|
-
* label: "Never bother the on-call for info-level events outside of work hours",
|
|
147
|
+
* label: "Never bother the on-call for info-level events outside of work hours, and let an Automation Action fix it instead",
|
|
147
148
|
* conditions: [{
|
|
148
149
|
* expression: "event.severity matches 'info' and not (now in Mon,Tue,Wed,Thu,Fri 09:00:00 to 17:00:00 America/Los_Angeles)",
|
|
149
150
|
* }],
|
|
150
151
|
* actions: {
|
|
151
152
|
* suppress: true,
|
|
153
|
+
* pagerdutyAutomationAction: {
|
|
154
|
+
* actionId: "01FJV5A8OA5MKHOYFHV35SM2Z0",
|
|
155
|
+
* triggerTypes: "alert_suppressed",
|
|
156
|
+
* },
|
|
152
157
|
* },
|
|
153
158
|
* },
|
|
154
159
|
* ],
|
|
@@ -129,6 +129,7 @@ const utilities = require("./utilities");
|
|
|
129
129
|
* name: "Canary Slack Notification",
|
|
130
130
|
* url: "https://our-slack-listerner.test/canary-notification",
|
|
131
131
|
* autoSend: true,
|
|
132
|
+
* triggerTypes: "alert_triggered",
|
|
132
133
|
* parameters: [
|
|
133
134
|
* {
|
|
134
135
|
* key: "channel",
|
|
@@ -147,12 +148,16 @@ const utilities = require("./utilities");
|
|
|
147
148
|
* },
|
|
148
149
|
* },
|
|
149
150
|
* {
|
|
150
|
-
* label: "Never bother the on-call for info-level events outside of work hours",
|
|
151
|
+
* label: "Never bother the on-call for info-level events outside of work hours, and let an Automation Action fix it instead",
|
|
151
152
|
* conditions: [{
|
|
152
153
|
* expression: "event.severity matches 'info' and not (now in Mon,Tue,Wed,Thu,Fri 09:00:00 to 17:00:00 America/Los_Angeles)",
|
|
153
154
|
* }],
|
|
154
155
|
* actions: {
|
|
155
156
|
* suppress: true,
|
|
157
|
+
* pagerdutyAutomationAction: {
|
|
158
|
+
* actionId: "01FJV5A8OA5MKHOYFHV35SM2Z0",
|
|
159
|
+
* triggerTypes: "alert_suppressed",
|
|
160
|
+
* },
|
|
156
161
|
* },
|
|
157
162
|
* },
|
|
158
163
|
* ],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventOrchestrationService.js","sourceRoot":"","sources":["../eventOrchestrationService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"eventOrchestrationService.js","sourceRoot":"","sources":["../eventOrchestrationService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2KG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,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I,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,oCAAoC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC,CAAC,SAAS,CAAC;YAClH,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAhFL,8DAiFC;AAnEG,gBAAgB;AACO,sCAAY,GAAG,qEAAqE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/pagerduty",
|
|
3
|
-
"version": "4.23.0-alpha.
|
|
3
|
+
"version": "4.23.0-alpha.1744774430",
|
|
4
4
|
"description": "A Pulumi package for creating and managing pagerduty cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "pagerduty",
|
|
26
|
-
"version": "4.23.0-alpha.
|
|
26
|
+
"version": "4.23.0-alpha.1744774430"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ export interface EventOrchestrationGlobalCatchAllActions {
|
|
|
111
111
|
*/
|
|
112
112
|
annotate?: pulumi.Input<string>;
|
|
113
113
|
/**
|
|
114
|
-
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks)
|
|
114
|
+
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) to be run for certain alert states.
|
|
115
115
|
*/
|
|
116
116
|
automationAction?: pulumi.Input<inputs.EventOrchestrationGlobalCatchAllActionsAutomationAction>;
|
|
117
117
|
/**
|
|
@@ -161,7 +161,7 @@ export interface EventOrchestrationGlobalCatchAllActions {
|
|
|
161
161
|
}
|
|
162
162
|
export interface EventOrchestrationGlobalCatchAllActionsAutomationAction {
|
|
163
163
|
/**
|
|
164
|
-
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
164
|
+
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident or alert is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
165
165
|
*/
|
|
166
166
|
autoSend?: pulumi.Input<boolean>;
|
|
167
167
|
/**
|
|
@@ -176,6 +176,10 @@ export interface EventOrchestrationGlobalCatchAllActionsAutomationAction {
|
|
|
176
176
|
* Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
|
|
177
177
|
*/
|
|
178
178
|
parameters?: pulumi.Input<pulumi.Input<inputs.EventOrchestrationGlobalCatchAllActionsAutomationActionParameter>[]>;
|
|
179
|
+
/**
|
|
180
|
+
* The Webhook will be associated (or automatically triggered, if `autoSend` is `true`) with the incident or alert, whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`. NOTE: `autoSend` must be `true` for trigger types of `["alertSuspended"]` and `["alertSuppressed"]`
|
|
181
|
+
*/
|
|
182
|
+
triggerTypes?: pulumi.Input<string>;
|
|
179
183
|
/**
|
|
180
184
|
* The API endpoint where PagerDuty's servers will send the webhook request.
|
|
181
185
|
*/
|
|
@@ -284,7 +288,7 @@ export interface EventOrchestrationGlobalSetRuleActions {
|
|
|
284
288
|
*/
|
|
285
289
|
annotate?: pulumi.Input<string>;
|
|
286
290
|
/**
|
|
287
|
-
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks)
|
|
291
|
+
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) to be run for certain alert states.
|
|
288
292
|
*/
|
|
289
293
|
automationAction?: pulumi.Input<inputs.EventOrchestrationGlobalSetRuleActionsAutomationAction>;
|
|
290
294
|
/**
|
|
@@ -334,7 +338,7 @@ export interface EventOrchestrationGlobalSetRuleActions {
|
|
|
334
338
|
}
|
|
335
339
|
export interface EventOrchestrationGlobalSetRuleActionsAutomationAction {
|
|
336
340
|
/**
|
|
337
|
-
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
341
|
+
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident or alert is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
338
342
|
*/
|
|
339
343
|
autoSend?: pulumi.Input<boolean>;
|
|
340
344
|
/**
|
|
@@ -349,6 +353,10 @@ export interface EventOrchestrationGlobalSetRuleActionsAutomationAction {
|
|
|
349
353
|
* Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
|
|
350
354
|
*/
|
|
351
355
|
parameters?: pulumi.Input<pulumi.Input<inputs.EventOrchestrationGlobalSetRuleActionsAutomationActionParameter>[]>;
|
|
356
|
+
/**
|
|
357
|
+
* The Webhook will be associated (or automatically triggered, if `autoSend` is `true`) with the incident or alert, whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`. NOTE: `autoSend` must be `true` for trigger types of `["alertSuspended"]` and `["alertSuppressed"]`
|
|
358
|
+
*/
|
|
359
|
+
triggerTypes?: pulumi.Input<string>;
|
|
352
360
|
/**
|
|
353
361
|
* The API endpoint where PagerDuty's servers will send the webhook request.
|
|
354
362
|
*/
|
|
@@ -559,7 +567,7 @@ export interface EventOrchestrationServiceCatchAllActions {
|
|
|
559
567
|
*/
|
|
560
568
|
annotate?: pulumi.Input<string>;
|
|
561
569
|
/**
|
|
562
|
-
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks)
|
|
570
|
+
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) to be run for certain alert states.
|
|
563
571
|
*/
|
|
564
572
|
automationAction?: pulumi.Input<inputs.EventOrchestrationServiceCatchAllActionsAutomationAction>;
|
|
565
573
|
/**
|
|
@@ -579,7 +587,7 @@ export interface EventOrchestrationServiceCatchAllActions {
|
|
|
579
587
|
*/
|
|
580
588
|
incidentCustomFieldUpdates?: pulumi.Input<pulumi.Input<inputs.EventOrchestrationServiceCatchAllActionsIncidentCustomFieldUpdate>[]>;
|
|
581
589
|
/**
|
|
582
|
-
* Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation)
|
|
590
|
+
* Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) to be run for certain alert states.
|
|
583
591
|
*/
|
|
584
592
|
pagerdutyAutomationAction?: pulumi.Input<inputs.EventOrchestrationServiceCatchAllActionsPagerdutyAutomationAction>;
|
|
585
593
|
/**
|
|
@@ -611,7 +619,7 @@ export interface EventOrchestrationServiceCatchAllActions {
|
|
|
611
619
|
}
|
|
612
620
|
export interface EventOrchestrationServiceCatchAllActionsAutomationAction {
|
|
613
621
|
/**
|
|
614
|
-
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
622
|
+
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident or alert is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
615
623
|
*/
|
|
616
624
|
autoSend?: pulumi.Input<boolean>;
|
|
617
625
|
/**
|
|
@@ -626,6 +634,10 @@ export interface EventOrchestrationServiceCatchAllActionsAutomationAction {
|
|
|
626
634
|
* Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
|
|
627
635
|
*/
|
|
628
636
|
parameters?: pulumi.Input<pulumi.Input<inputs.EventOrchestrationServiceCatchAllActionsAutomationActionParameter>[]>;
|
|
637
|
+
/**
|
|
638
|
+
* The Webhook will be associated (or automatically triggered, if `autoSend` is `true`) with the incident or alert, whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`. NOTE: `autoSend` must be `true` for trigger types of `["alertSuspended"]` and `["alertSuppressed"]`
|
|
639
|
+
*/
|
|
640
|
+
triggerTypes?: pulumi.Input<string>;
|
|
629
641
|
/**
|
|
630
642
|
* The API endpoint where PagerDuty's servers will send the webhook request.
|
|
631
643
|
*/
|
|
@@ -686,6 +698,10 @@ export interface EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActi
|
|
|
686
698
|
* Id of the Process Automation action to be triggered.
|
|
687
699
|
*/
|
|
688
700
|
actionId: pulumi.Input<string>;
|
|
701
|
+
/**
|
|
702
|
+
* The Automation Action will be triggered whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`
|
|
703
|
+
*/
|
|
704
|
+
triggerTypes?: pulumi.Input<string>;
|
|
689
705
|
}
|
|
690
706
|
export interface EventOrchestrationServiceCatchAllActionsVariable {
|
|
691
707
|
/**
|
|
@@ -740,7 +756,7 @@ export interface EventOrchestrationServiceSetRuleActions {
|
|
|
740
756
|
*/
|
|
741
757
|
annotate?: pulumi.Input<string>;
|
|
742
758
|
/**
|
|
743
|
-
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks)
|
|
759
|
+
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) to be run for certain alert states.
|
|
744
760
|
*/
|
|
745
761
|
automationAction?: pulumi.Input<inputs.EventOrchestrationServiceSetRuleActionsAutomationAction>;
|
|
746
762
|
/**
|
|
@@ -760,7 +776,7 @@ export interface EventOrchestrationServiceSetRuleActions {
|
|
|
760
776
|
*/
|
|
761
777
|
incidentCustomFieldUpdates?: pulumi.Input<pulumi.Input<inputs.EventOrchestrationServiceSetRuleActionsIncidentCustomFieldUpdate>[]>;
|
|
762
778
|
/**
|
|
763
|
-
* Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation)
|
|
779
|
+
* Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) to be run for certain alert states.
|
|
764
780
|
*/
|
|
765
781
|
pagerdutyAutomationAction?: pulumi.Input<inputs.EventOrchestrationServiceSetRuleActionsPagerdutyAutomationAction>;
|
|
766
782
|
/**
|
|
@@ -790,7 +806,7 @@ export interface EventOrchestrationServiceSetRuleActions {
|
|
|
790
806
|
}
|
|
791
807
|
export interface EventOrchestrationServiceSetRuleActionsAutomationAction {
|
|
792
808
|
/**
|
|
793
|
-
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
809
|
+
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident or alert is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
794
810
|
*/
|
|
795
811
|
autoSend?: pulumi.Input<boolean>;
|
|
796
812
|
/**
|
|
@@ -805,6 +821,10 @@ export interface EventOrchestrationServiceSetRuleActionsAutomationAction {
|
|
|
805
821
|
* Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
|
|
806
822
|
*/
|
|
807
823
|
parameters?: pulumi.Input<pulumi.Input<inputs.EventOrchestrationServiceSetRuleActionsAutomationActionParameter>[]>;
|
|
824
|
+
/**
|
|
825
|
+
* The Webhook will be associated (or automatically triggered, if `autoSend` is `true`) with the incident or alert, whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`. NOTE: `autoSend` must be `true` for trigger types of `["alertSuspended"]` and `["alertSuppressed"]`
|
|
826
|
+
*/
|
|
827
|
+
triggerTypes?: pulumi.Input<string>;
|
|
808
828
|
/**
|
|
809
829
|
* The API endpoint where PagerDuty's servers will send the webhook request.
|
|
810
830
|
*/
|
|
@@ -865,6 +885,10 @@ export interface EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActio
|
|
|
865
885
|
* Id of the Process Automation action to be triggered.
|
|
866
886
|
*/
|
|
867
887
|
actionId: pulumi.Input<string>;
|
|
888
|
+
/**
|
|
889
|
+
* The Automation Action will be triggered whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`
|
|
890
|
+
*/
|
|
891
|
+
triggerTypes?: pulumi.Input<string>;
|
|
868
892
|
}
|
|
869
893
|
export interface EventOrchestrationServiceSetRuleActionsVariable {
|
|
870
894
|
/**
|
|
@@ -1978,7 +2002,7 @@ export interface ServiceIncidentUrgencyRuleOutsideSupportHours {
|
|
|
1978
2002
|
}
|
|
1979
2003
|
export interface ServiceIntegrationEmailFilter {
|
|
1980
2004
|
/**
|
|
1981
|
-
* Can be `always` or `match`.
|
|
2005
|
+
* Can be `always`, `match` or `no-match`.
|
|
1982
2006
|
*/
|
|
1983
2007
|
bodyMode?: pulumi.Input<string>;
|
|
1984
2008
|
/**
|
|
@@ -1986,7 +2010,7 @@ export interface ServiceIntegrationEmailFilter {
|
|
|
1986
2010
|
*/
|
|
1987
2011
|
bodyRegex?: pulumi.Input<string>;
|
|
1988
2012
|
/**
|
|
1989
|
-
* Can be `always` or `match`.
|
|
2013
|
+
* Can be `always`, `match` or `no-match`.
|
|
1990
2014
|
*/
|
|
1991
2015
|
fromEmailMode?: pulumi.Input<string>;
|
|
1992
2016
|
/**
|
|
@@ -1998,7 +2022,7 @@ export interface ServiceIntegrationEmailFilter {
|
|
|
1998
2022
|
*/
|
|
1999
2023
|
id?: pulumi.Input<string>;
|
|
2000
2024
|
/**
|
|
2001
|
-
* Can be `always` or `match`.
|
|
2025
|
+
* Can be `always`, `match` or `no-match`.
|
|
2002
2026
|
*/
|
|
2003
2027
|
subjectMode?: pulumi.Input<string>;
|
|
2004
2028
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ export interface EventOrchestrationGlobalCatchAllActions {
|
|
|
110
110
|
*/
|
|
111
111
|
annotate?: string;
|
|
112
112
|
/**
|
|
113
|
-
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks)
|
|
113
|
+
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) to be run for certain alert states.
|
|
114
114
|
*/
|
|
115
115
|
automationAction?: outputs.EventOrchestrationGlobalCatchAllActionsAutomationAction;
|
|
116
116
|
/**
|
|
@@ -160,7 +160,7 @@ export interface EventOrchestrationGlobalCatchAllActions {
|
|
|
160
160
|
}
|
|
161
161
|
export interface EventOrchestrationGlobalCatchAllActionsAutomationAction {
|
|
162
162
|
/**
|
|
163
|
-
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
163
|
+
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident or alert is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
164
164
|
*/
|
|
165
165
|
autoSend?: boolean;
|
|
166
166
|
/**
|
|
@@ -175,6 +175,10 @@ export interface EventOrchestrationGlobalCatchAllActionsAutomationAction {
|
|
|
175
175
|
* Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
|
|
176
176
|
*/
|
|
177
177
|
parameters?: outputs.EventOrchestrationGlobalCatchAllActionsAutomationActionParameter[];
|
|
178
|
+
/**
|
|
179
|
+
* The Webhook will be associated (or automatically triggered, if `autoSend` is `true`) with the incident or alert, whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`. NOTE: `autoSend` must be `true` for trigger types of `["alertSuspended"]` and `["alertSuppressed"]`
|
|
180
|
+
*/
|
|
181
|
+
triggerTypes?: string;
|
|
178
182
|
/**
|
|
179
183
|
* The API endpoint where PagerDuty's servers will send the webhook request.
|
|
180
184
|
*/
|
|
@@ -283,7 +287,7 @@ export interface EventOrchestrationGlobalSetRuleActions {
|
|
|
283
287
|
*/
|
|
284
288
|
annotate?: string;
|
|
285
289
|
/**
|
|
286
|
-
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks)
|
|
290
|
+
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) to be run for certain alert states.
|
|
287
291
|
*/
|
|
288
292
|
automationAction?: outputs.EventOrchestrationGlobalSetRuleActionsAutomationAction;
|
|
289
293
|
/**
|
|
@@ -333,7 +337,7 @@ export interface EventOrchestrationGlobalSetRuleActions {
|
|
|
333
337
|
}
|
|
334
338
|
export interface EventOrchestrationGlobalSetRuleActionsAutomationAction {
|
|
335
339
|
/**
|
|
336
|
-
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
340
|
+
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident or alert is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
337
341
|
*/
|
|
338
342
|
autoSend?: boolean;
|
|
339
343
|
/**
|
|
@@ -348,6 +352,10 @@ export interface EventOrchestrationGlobalSetRuleActionsAutomationAction {
|
|
|
348
352
|
* Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
|
|
349
353
|
*/
|
|
350
354
|
parameters?: outputs.EventOrchestrationGlobalSetRuleActionsAutomationActionParameter[];
|
|
355
|
+
/**
|
|
356
|
+
* The Webhook will be associated (or automatically triggered, if `autoSend` is `true`) with the incident or alert, whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`. NOTE: `autoSend` must be `true` for trigger types of `["alertSuspended"]` and `["alertSuppressed"]`
|
|
357
|
+
*/
|
|
358
|
+
triggerTypes?: string;
|
|
351
359
|
/**
|
|
352
360
|
* The API endpoint where PagerDuty's servers will send the webhook request.
|
|
353
361
|
*/
|
|
@@ -558,7 +566,7 @@ export interface EventOrchestrationServiceCatchAllActions {
|
|
|
558
566
|
*/
|
|
559
567
|
annotate?: string;
|
|
560
568
|
/**
|
|
561
|
-
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks)
|
|
569
|
+
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) to be run for certain alert states.
|
|
562
570
|
*/
|
|
563
571
|
automationAction?: outputs.EventOrchestrationServiceCatchAllActionsAutomationAction;
|
|
564
572
|
/**
|
|
@@ -578,7 +586,7 @@ export interface EventOrchestrationServiceCatchAllActions {
|
|
|
578
586
|
*/
|
|
579
587
|
incidentCustomFieldUpdates?: outputs.EventOrchestrationServiceCatchAllActionsIncidentCustomFieldUpdate[];
|
|
580
588
|
/**
|
|
581
|
-
* Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation)
|
|
589
|
+
* Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) to be run for certain alert states.
|
|
582
590
|
*/
|
|
583
591
|
pagerdutyAutomationAction?: outputs.EventOrchestrationServiceCatchAllActionsPagerdutyAutomationAction;
|
|
584
592
|
/**
|
|
@@ -610,7 +618,7 @@ export interface EventOrchestrationServiceCatchAllActions {
|
|
|
610
618
|
}
|
|
611
619
|
export interface EventOrchestrationServiceCatchAllActionsAutomationAction {
|
|
612
620
|
/**
|
|
613
|
-
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
621
|
+
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident or alert is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
614
622
|
*/
|
|
615
623
|
autoSend?: boolean;
|
|
616
624
|
/**
|
|
@@ -625,6 +633,10 @@ export interface EventOrchestrationServiceCatchAllActionsAutomationAction {
|
|
|
625
633
|
* Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
|
|
626
634
|
*/
|
|
627
635
|
parameters?: outputs.EventOrchestrationServiceCatchAllActionsAutomationActionParameter[];
|
|
636
|
+
/**
|
|
637
|
+
* The Webhook will be associated (or automatically triggered, if `autoSend` is `true`) with the incident or alert, whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`. NOTE: `autoSend` must be `true` for trigger types of `["alertSuspended"]` and `["alertSuppressed"]`
|
|
638
|
+
*/
|
|
639
|
+
triggerTypes?: string;
|
|
628
640
|
/**
|
|
629
641
|
* The API endpoint where PagerDuty's servers will send the webhook request.
|
|
630
642
|
*/
|
|
@@ -685,6 +697,10 @@ export interface EventOrchestrationServiceCatchAllActionsPagerdutyAutomationActi
|
|
|
685
697
|
* Id of the Process Automation action to be triggered.
|
|
686
698
|
*/
|
|
687
699
|
actionId: string;
|
|
700
|
+
/**
|
|
701
|
+
* The Automation Action will be triggered whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`
|
|
702
|
+
*/
|
|
703
|
+
triggerTypes?: string;
|
|
688
704
|
}
|
|
689
705
|
export interface EventOrchestrationServiceCatchAllActionsVariable {
|
|
690
706
|
/**
|
|
@@ -739,7 +755,7 @@ export interface EventOrchestrationServiceSetRuleActions {
|
|
|
739
755
|
*/
|
|
740
756
|
annotate?: string;
|
|
741
757
|
/**
|
|
742
|
-
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks)
|
|
758
|
+
* Create a [Webhook](https://support.pagerduty.com/docs/event-orchestration#webhooks) to be run for certain alert states.
|
|
743
759
|
*/
|
|
744
760
|
automationAction?: outputs.EventOrchestrationServiceSetRuleActionsAutomationAction;
|
|
745
761
|
/**
|
|
@@ -759,7 +775,7 @@ export interface EventOrchestrationServiceSetRuleActions {
|
|
|
759
775
|
*/
|
|
760
776
|
incidentCustomFieldUpdates?: outputs.EventOrchestrationServiceSetRuleActionsIncidentCustomFieldUpdate[];
|
|
761
777
|
/**
|
|
762
|
-
* Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation)
|
|
778
|
+
* Configure a [Process Automation](https://support.pagerduty.com/docs/event-orchestration#process-automation) to be run for certain alert states.
|
|
763
779
|
*/
|
|
764
780
|
pagerdutyAutomationAction?: outputs.EventOrchestrationServiceSetRuleActionsPagerdutyAutomationAction;
|
|
765
781
|
/**
|
|
@@ -789,7 +805,7 @@ export interface EventOrchestrationServiceSetRuleActions {
|
|
|
789
805
|
}
|
|
790
806
|
export interface EventOrchestrationServiceSetRuleActionsAutomationAction {
|
|
791
807
|
/**
|
|
792
|
-
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
808
|
+
* When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident or alert is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
|
|
793
809
|
*/
|
|
794
810
|
autoSend?: boolean;
|
|
795
811
|
/**
|
|
@@ -804,6 +820,10 @@ export interface EventOrchestrationServiceSetRuleActionsAutomationAction {
|
|
|
804
820
|
* Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
|
|
805
821
|
*/
|
|
806
822
|
parameters?: outputs.EventOrchestrationServiceSetRuleActionsAutomationActionParameter[];
|
|
823
|
+
/**
|
|
824
|
+
* The Webhook will be associated (or automatically triggered, if `autoSend` is `true`) with the incident or alert, whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`. NOTE: `autoSend` must be `true` for trigger types of `["alertSuspended"]` and `["alertSuppressed"]`
|
|
825
|
+
*/
|
|
826
|
+
triggerTypes?: string;
|
|
807
827
|
/**
|
|
808
828
|
* The API endpoint where PagerDuty's servers will send the webhook request.
|
|
809
829
|
*/
|
|
@@ -864,6 +884,10 @@ export interface EventOrchestrationServiceSetRuleActionsPagerdutyAutomationActio
|
|
|
864
884
|
* Id of the Process Automation action to be triggered.
|
|
865
885
|
*/
|
|
866
886
|
actionId: string;
|
|
887
|
+
/**
|
|
888
|
+
* The Automation Action will be triggered whenever an alert reaches the specified state. Allowed values are: `["alertTriggered"]`, `["alertSuspended"]`, `["alertSuppressed"]`
|
|
889
|
+
*/
|
|
890
|
+
triggerTypes?: string;
|
|
867
891
|
}
|
|
868
892
|
export interface EventOrchestrationServiceSetRuleActionsVariable {
|
|
869
893
|
/**
|
|
@@ -2323,7 +2347,7 @@ export interface ServiceIncidentUrgencyRuleOutsideSupportHours {
|
|
|
2323
2347
|
}
|
|
2324
2348
|
export interface ServiceIntegrationEmailFilter {
|
|
2325
2349
|
/**
|
|
2326
|
-
* Can be `always` or `match`.
|
|
2350
|
+
* Can be `always`, `match` or `no-match`.
|
|
2327
2351
|
*/
|
|
2328
2352
|
bodyMode?: string;
|
|
2329
2353
|
/**
|
|
@@ -2331,7 +2355,7 @@ export interface ServiceIntegrationEmailFilter {
|
|
|
2331
2355
|
*/
|
|
2332
2356
|
bodyRegex?: string;
|
|
2333
2357
|
/**
|
|
2334
|
-
* Can be `always` or `match`.
|
|
2358
|
+
* Can be `always`, `match` or `no-match`.
|
|
2335
2359
|
*/
|
|
2336
2360
|
fromEmailMode?: string;
|
|
2337
2361
|
/**
|
|
@@ -2343,7 +2367,7 @@ export interface ServiceIntegrationEmailFilter {
|
|
|
2343
2367
|
*/
|
|
2344
2368
|
id: string;
|
|
2345
2369
|
/**
|
|
2346
|
-
* Can be `always` or `match`.
|
|
2370
|
+
* Can be `always`, `match` or `no-match`.
|
|
2347
2371
|
*/
|
|
2348
2372
|
subjectMode?: string;
|
|
2349
2373
|
/**
|