@pulumi/pagerduty 4.2.0-alpha.1700615419 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/incidentWorkflowTrigger.d.ts +3 -3
- package/package.json +1 -1
- package/serviceIntegration.d.ts +9 -4
- package/serviceIntegration.js +0 -1
- package/serviceIntegration.js.map +1 -1
- package/types/input.d.ts +44 -1
- package/types/output.d.ts +44 -1
|
@@ -76,7 +76,7 @@ export declare class IncidentWorkflowTrigger extends pulumi.CustomResource {
|
|
|
76
76
|
*/
|
|
77
77
|
readonly subscribedToAllServices: pulumi.Output<boolean>;
|
|
78
78
|
/**
|
|
79
|
-
* May be either `manual` or `conditional`.
|
|
79
|
+
* [Updating causes resource replacement] May be either `manual` or `conditional`.
|
|
80
80
|
*/
|
|
81
81
|
readonly type: pulumi.Output<string>;
|
|
82
82
|
/**
|
|
@@ -109,7 +109,7 @@ export interface IncidentWorkflowTriggerState {
|
|
|
109
109
|
*/
|
|
110
110
|
subscribedToAllServices?: pulumi.Input<boolean>;
|
|
111
111
|
/**
|
|
112
|
-
* May be either `manual` or `conditional`.
|
|
112
|
+
* [Updating causes resource replacement] May be either `manual` or `conditional`.
|
|
113
113
|
*/
|
|
114
114
|
type?: pulumi.Input<string>;
|
|
115
115
|
/**
|
|
@@ -134,7 +134,7 @@ export interface IncidentWorkflowTriggerArgs {
|
|
|
134
134
|
*/
|
|
135
135
|
subscribedToAllServices: pulumi.Input<boolean>;
|
|
136
136
|
/**
|
|
137
|
-
* May be either `manual` or `conditional`.
|
|
137
|
+
* [Updating causes resource replacement] May be either `manual` or `conditional`.
|
|
138
138
|
*/
|
|
139
139
|
type: pulumi.Input<string>;
|
|
140
140
|
/**
|
package/package.json
CHANGED
package/serviceIntegration.d.ts
CHANGED
|
@@ -35,7 +35,6 @@ import * as outputs from "./types/output";
|
|
|
35
35
|
* });
|
|
36
36
|
* const apiv2 = new pagerduty.ServiceIntegration("apiv2", {
|
|
37
37
|
* type: "events_api_v2_inbound_integration",
|
|
38
|
-
* integrationKey: "12345678910testtesttesttesttes",
|
|
39
38
|
* service: exampleService.id,
|
|
40
39
|
* });
|
|
41
40
|
* const emailX = new pagerduty.ServiceIntegration("emailX", {
|
|
@@ -171,7 +170,9 @@ export declare class ServiceIntegration extends pulumi.CustomResource {
|
|
|
171
170
|
*/
|
|
172
171
|
readonly integrationEmail: pulumi.Output<string>;
|
|
173
172
|
/**
|
|
174
|
-
* This is the unique key used to route events to this integration when received via the PagerDuty Events API.
|
|
173
|
+
* (Deprecated) This is the unique key used to route events to this integration when received via the PagerDuty Events API.
|
|
174
|
+
*
|
|
175
|
+
* @deprecated Assignments or updates to this attribute are not supported by Service Integrations API, it is a read-only value. Input support will be dropped in upcomming major release
|
|
175
176
|
*/
|
|
176
177
|
readonly integrationKey: pulumi.Output<string>;
|
|
177
178
|
/**
|
|
@@ -238,7 +239,9 @@ export interface ServiceIntegrationState {
|
|
|
238
239
|
*/
|
|
239
240
|
integrationEmail?: pulumi.Input<string>;
|
|
240
241
|
/**
|
|
241
|
-
* This is the unique key used to route events to this integration when received via the PagerDuty Events API.
|
|
242
|
+
* (Deprecated) This is the unique key used to route events to this integration when received via the PagerDuty Events API.
|
|
243
|
+
*
|
|
244
|
+
* @deprecated Assignments or updates to this attribute are not supported by Service Integrations API, it is a read-only value. Input support will be dropped in upcomming major release
|
|
242
245
|
*/
|
|
243
246
|
integrationKey?: pulumi.Input<string>;
|
|
244
247
|
/**
|
|
@@ -293,7 +296,9 @@ export interface ServiceIntegrationArgs {
|
|
|
293
296
|
*/
|
|
294
297
|
integrationEmail?: pulumi.Input<string>;
|
|
295
298
|
/**
|
|
296
|
-
* This is the unique key used to route events to this integration when received via the PagerDuty Events API.
|
|
299
|
+
* (Deprecated) This is the unique key used to route events to this integration when received via the PagerDuty Events API.
|
|
300
|
+
*
|
|
301
|
+
* @deprecated Assignments or updates to this attribute are not supported by Service Integrations API, it is a read-only value. Input support will be dropped in upcomming major release
|
|
297
302
|
*/
|
|
298
303
|
integrationKey?: pulumi.Input<string>;
|
|
299
304
|
/**
|
package/serviceIntegration.js
CHANGED
|
@@ -39,7 +39,6 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* });
|
|
40
40
|
* const apiv2 = new pagerduty.ServiceIntegration("apiv2", {
|
|
41
41
|
* type: "events_api_v2_inbound_integration",
|
|
42
|
-
* integrationKey: "12345678910testtesttesttesttes",
|
|
43
42
|
* service: exampleService.id,
|
|
44
43
|
* });
|
|
45
44
|
* const emailX = new pagerduty.ServiceIntegration("emailX", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceIntegration.js","sourceRoot":"","sources":["../serviceIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"serviceIntegration.js","sourceRoot":"","sources":["../serviceIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiIG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,C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B,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAlIL,gDAmIC;AArHG,gBAAgB;AACO,+BAAY,GAAG,uDAAuD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -990,7 +990,11 @@ export interface IncidentWorkflowStep {
|
|
|
990
990
|
*/
|
|
991
991
|
id?: pulumi.Input<string>;
|
|
992
992
|
/**
|
|
993
|
-
* The list of inputs for the workflow action.
|
|
993
|
+
* The list of inputs that contain a series of inline steps for the workflow action.
|
|
994
|
+
*/
|
|
995
|
+
inlineStepsInputs?: pulumi.Input<pulumi.Input<inputs.IncidentWorkflowStepInlineStepsInput>[]>;
|
|
996
|
+
/**
|
|
997
|
+
* The list of standard inputs for the workflow action.
|
|
994
998
|
*/
|
|
995
999
|
inputs?: pulumi.Input<pulumi.Input<inputs.IncidentWorkflowStepInput>[]>;
|
|
996
1000
|
/**
|
|
@@ -998,6 +1002,41 @@ export interface IncidentWorkflowStep {
|
|
|
998
1002
|
*/
|
|
999
1003
|
name: pulumi.Input<string>;
|
|
1000
1004
|
}
|
|
1005
|
+
export interface IncidentWorkflowStepInlineStepsInput {
|
|
1006
|
+
/**
|
|
1007
|
+
* The name of the input.
|
|
1008
|
+
*/
|
|
1009
|
+
name: pulumi.Input<string>;
|
|
1010
|
+
/**
|
|
1011
|
+
* The inline steps of the input. An inline step adheres to the step schema described above.
|
|
1012
|
+
*/
|
|
1013
|
+
steps?: pulumi.Input<pulumi.Input<inputs.IncidentWorkflowStepInlineStepsInputStep>[]>;
|
|
1014
|
+
}
|
|
1015
|
+
export interface IncidentWorkflowStepInlineStepsInputStep {
|
|
1016
|
+
/**
|
|
1017
|
+
* The action id for the workflow step, including the version. A list of actions available can be retrieved using the [PagerDuty API](https://developer.pagerduty.com/api-reference/aa192a25fac39-list-actions).
|
|
1018
|
+
*/
|
|
1019
|
+
action: pulumi.Input<string>;
|
|
1020
|
+
/**
|
|
1021
|
+
* The list of standard inputs for the workflow action.
|
|
1022
|
+
*/
|
|
1023
|
+
inputs?: pulumi.Input<pulumi.Input<inputs.IncidentWorkflowStepInlineStepsInputStepInput>[]>;
|
|
1024
|
+
/**
|
|
1025
|
+
* The name of the workflow step.
|
|
1026
|
+
*/
|
|
1027
|
+
name: pulumi.Input<string>;
|
|
1028
|
+
}
|
|
1029
|
+
export interface IncidentWorkflowStepInlineStepsInputStepInput {
|
|
1030
|
+
generated?: pulumi.Input<boolean>;
|
|
1031
|
+
/**
|
|
1032
|
+
* The name of the input.
|
|
1033
|
+
*/
|
|
1034
|
+
name: pulumi.Input<string>;
|
|
1035
|
+
/**
|
|
1036
|
+
* The value of the input.
|
|
1037
|
+
*/
|
|
1038
|
+
value: pulumi.Input<string>;
|
|
1039
|
+
}
|
|
1001
1040
|
export interface IncidentWorkflowStepInput {
|
|
1002
1041
|
generated?: pulumi.Input<boolean>;
|
|
1003
1042
|
/**
|
|
@@ -1375,6 +1414,10 @@ export interface ServiceAlertGroupingParametersConfig {
|
|
|
1375
1414
|
* Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`.
|
|
1376
1415
|
*/
|
|
1377
1416
|
fields?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1417
|
+
/**
|
|
1418
|
+
* The maximum amount of time allowed between Alerts. Value must be between `300` and `3600`. Any Alerts arriving greater than `timeWindow` seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.
|
|
1419
|
+
*/
|
|
1420
|
+
timeWindow?: pulumi.Input<number>;
|
|
1378
1421
|
/**
|
|
1379
1422
|
* The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`.
|
|
1380
1423
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -1022,7 +1022,11 @@ export interface IncidentWorkflowStep {
|
|
|
1022
1022
|
*/
|
|
1023
1023
|
id: string;
|
|
1024
1024
|
/**
|
|
1025
|
-
* The list of inputs for the workflow action.
|
|
1025
|
+
* The list of inputs that contain a series of inline steps for the workflow action.
|
|
1026
|
+
*/
|
|
1027
|
+
inlineStepsInputs?: outputs.IncidentWorkflowStepInlineStepsInput[];
|
|
1028
|
+
/**
|
|
1029
|
+
* The list of standard inputs for the workflow action.
|
|
1026
1030
|
*/
|
|
1027
1031
|
inputs: outputs.IncidentWorkflowStepInput[];
|
|
1028
1032
|
/**
|
|
@@ -1030,6 +1034,41 @@ export interface IncidentWorkflowStep {
|
|
|
1030
1034
|
*/
|
|
1031
1035
|
name: string;
|
|
1032
1036
|
}
|
|
1037
|
+
export interface IncidentWorkflowStepInlineStepsInput {
|
|
1038
|
+
/**
|
|
1039
|
+
* The name of the input.
|
|
1040
|
+
*/
|
|
1041
|
+
name: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* The inline steps of the input. An inline step adheres to the step schema described above.
|
|
1044
|
+
*/
|
|
1045
|
+
steps: outputs.IncidentWorkflowStepInlineStepsInputStep[];
|
|
1046
|
+
}
|
|
1047
|
+
export interface IncidentWorkflowStepInlineStepsInputStep {
|
|
1048
|
+
/**
|
|
1049
|
+
* The action id for the workflow step, including the version. A list of actions available can be retrieved using the [PagerDuty API](https://developer.pagerduty.com/api-reference/aa192a25fac39-list-actions).
|
|
1050
|
+
*/
|
|
1051
|
+
action: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* The list of standard inputs for the workflow action.
|
|
1054
|
+
*/
|
|
1055
|
+
inputs: outputs.IncidentWorkflowStepInlineStepsInputStepInput[];
|
|
1056
|
+
/**
|
|
1057
|
+
* The name of the workflow step.
|
|
1058
|
+
*/
|
|
1059
|
+
name: string;
|
|
1060
|
+
}
|
|
1061
|
+
export interface IncidentWorkflowStepInlineStepsInputStepInput {
|
|
1062
|
+
generated: boolean;
|
|
1063
|
+
/**
|
|
1064
|
+
* The name of the input.
|
|
1065
|
+
*/
|
|
1066
|
+
name: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* The value of the input.
|
|
1069
|
+
*/
|
|
1070
|
+
value: string;
|
|
1071
|
+
}
|
|
1033
1072
|
export interface IncidentWorkflowStepInput {
|
|
1034
1073
|
generated: boolean;
|
|
1035
1074
|
/**
|
|
@@ -1402,6 +1441,10 @@ export interface ServiceAlertGroupingParametersConfig {
|
|
|
1402
1441
|
* Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`.
|
|
1403
1442
|
*/
|
|
1404
1443
|
fields?: string[];
|
|
1444
|
+
/**
|
|
1445
|
+
* The maximum amount of time allowed between Alerts. Value must be between `300` and `3600`. Any Alerts arriving greater than `timeWindow` seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.
|
|
1446
|
+
*/
|
|
1447
|
+
timeWindow: number;
|
|
1405
1448
|
/**
|
|
1406
1449
|
* The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`.
|
|
1407
1450
|
*/
|