@incident-io/pulumi 0.1.2 → 0.3.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.
Files changed (152) hide show
  1. package/alertRoute.d.ts +12 -0
  2. package/alertRoute.d.ts.map +1 -1
  3. package/alertRoute.js +2 -0
  4. package/alertRoute.js.map +1 -1
  5. package/alertSource.d.ts +15 -3
  6. package/alertSource.d.ts.map +1 -1
  7. package/alertSource.js +2 -0
  8. package/alertSource.js.map +1 -1
  9. package/alertSourceBeta.d.ts +15 -3
  10. package/alertSourceBeta.d.ts.map +1 -1
  11. package/alertSourceBeta.js +2 -0
  12. package/alertSourceBeta.js.map +1 -1
  13. package/announcementRule.d.ts +247 -0
  14. package/announcementRule.d.ts.map +1 -0
  15. package/announcementRule.js +175 -0
  16. package/announcementRule.js.map +1 -0
  17. package/announcementTemplate.d.ts +157 -0
  18. package/announcementTemplate.d.ts.map +1 -0
  19. package/announcementTemplate.js +148 -0
  20. package/announcementTemplate.js.map +1 -0
  21. package/apiKey.d.ts +12 -0
  22. package/apiKey.d.ts.map +1 -1
  23. package/apiKey.js +2 -0
  24. package/apiKey.js.map +1 -1
  25. package/catalogType.d.ts +12 -0
  26. package/catalogType.d.ts.map +1 -1
  27. package/catalogType.js +2 -0
  28. package/catalogType.js.map +1 -1
  29. package/config/vars.d.ts +1 -1
  30. package/escalationPath.d.ts +69 -15
  31. package/escalationPath.d.ts.map +1 -1
  32. package/escalationPath.js +8 -6
  33. package/escalationPath.js.map +1 -1
  34. package/escalationPathBeta.d.ts +69 -15
  35. package/escalationPathBeta.d.ts.map +1 -1
  36. package/escalationPathBeta.js +8 -6
  37. package/escalationPathBeta.js.map +1 -1
  38. package/escalationPathTemplate.d.ts +318 -0
  39. package/escalationPathTemplate.d.ts.map +1 -0
  40. package/escalationPathTemplate.js +253 -0
  41. package/escalationPathTemplate.js.map +1 -0
  42. package/getAlertSource.d.ts +5 -1
  43. package/getAlertSource.d.ts.map +1 -1
  44. package/getAlertSource.js.map +1 -1
  45. package/getAnnouncementRule.d.ts +138 -0
  46. package/getAnnouncementRule.d.ts.map +1 -0
  47. package/getAnnouncementRule.js +99 -0
  48. package/getAnnouncementRule.js.map +1 -0
  49. package/getAnnouncementTemplate.d.ts +148 -0
  50. package/getAnnouncementTemplate.d.ts.map +1 -0
  51. package/getAnnouncementTemplate.js +137 -0
  52. package/getAnnouncementTemplate.js.map +1 -0
  53. package/getCatalogType.d.ts +4 -0
  54. package/getCatalogType.d.ts.map +1 -1
  55. package/getCatalogType.js.map +1 -1
  56. package/getEscalationPath.d.ts +19 -1
  57. package/getEscalationPath.d.ts.map +1 -1
  58. package/getEscalationPath.js.map +1 -1
  59. package/getEscalationPathBeta.d.ts +19 -1
  60. package/getEscalationPathBeta.d.ts.map +1 -1
  61. package/getEscalationPathBeta.js.map +1 -1
  62. package/getIncidentForm.d.ts +96 -0
  63. package/getIncidentForm.d.ts.map +1 -0
  64. package/getIncidentForm.js +89 -0
  65. package/getIncidentForm.js.map +1 -0
  66. package/getIncidentTemplate.d.ts +4 -0
  67. package/getIncidentTemplate.d.ts.map +1 -1
  68. package/getIncidentTemplate.js.map +1 -1
  69. package/getPayConfig.d.ts +130 -0
  70. package/getPayConfig.d.ts.map +1 -0
  71. package/getPayConfig.js +99 -0
  72. package/getPayConfig.js.map +1 -0
  73. package/getPolicy.d.ts +1 -1
  74. package/getScheduleSyncRule.d.ts +4 -0
  75. package/getScheduleSyncRule.d.ts.map +1 -1
  76. package/getScheduleSyncRule.js.map +1 -1
  77. package/getStatusPage.d.ts +95 -0
  78. package/getStatusPage.d.ts.map +1 -0
  79. package/getStatusPage.js +93 -0
  80. package/getStatusPage.js.map +1 -0
  81. package/getStatusPageComponent.d.ts +75 -0
  82. package/getStatusPageComponent.d.ts.map +1 -0
  83. package/getStatusPageComponent.js +81 -0
  84. package/getStatusPageComponent.js.map +1 -0
  85. package/getUser.d.ts +24 -6
  86. package/getUser.d.ts.map +1 -1
  87. package/getUser.js.map +1 -1
  88. package/getWorkflow.d.ts +1 -0
  89. package/getWorkflow.d.ts.map +1 -1
  90. package/getWorkflow.js.map +1 -1
  91. package/incidentForm.d.ts +424 -0
  92. package/incidentForm.d.ts.map +1 -0
  93. package/incidentForm.js +408 -0
  94. package/incidentForm.js.map +1 -0
  95. package/incidentTemplate.d.ts +12 -0
  96. package/incidentTemplate.d.ts.map +1 -1
  97. package/incidentTemplate.js +2 -0
  98. package/incidentTemplate.js.map +1 -1
  99. package/index.d.ts +42 -0
  100. package/index.d.ts.map +1 -1
  101. package/index.js +61 -2
  102. package/index.js.map +1 -1
  103. package/package.json +2 -2
  104. package/payConfig.d.ts +258 -0
  105. package/payConfig.d.ts.map +1 -0
  106. package/payConfig.js +213 -0
  107. package/payConfig.js.map +1 -0
  108. package/policy.d.ts +73 -17
  109. package/policy.d.ts.map +1 -1
  110. package/policy.js +42 -6
  111. package/policy.js.map +1 -1
  112. package/provider.d.ts +1 -1
  113. package/schedule.d.ts +12 -0
  114. package/schedule.d.ts.map +1 -1
  115. package/schedule.js +2 -0
  116. package/schedule.js.map +1 -1
  117. package/scheduleBeta.d.ts +12 -0
  118. package/scheduleBeta.d.ts.map +1 -1
  119. package/scheduleBeta.js +2 -0
  120. package/scheduleBeta.js.map +1 -1
  121. package/scheduleSyncRule.d.ts +12 -0
  122. package/scheduleSyncRule.d.ts.map +1 -1
  123. package/scheduleSyncRule.js +2 -0
  124. package/scheduleSyncRule.js.map +1 -1
  125. package/scheduleSyncTarget.d.ts +12 -0
  126. package/scheduleSyncTarget.d.ts.map +1 -1
  127. package/scheduleSyncTarget.js +2 -0
  128. package/scheduleSyncTarget.js.map +1 -1
  129. package/secret.d.ts +12 -0
  130. package/secret.d.ts.map +1 -1
  131. package/secret.js +2 -0
  132. package/secret.js.map +1 -1
  133. package/statusPageComponent.d.ts +120 -0
  134. package/statusPageComponent.d.ts.map +1 -0
  135. package/statusPageComponent.js +123 -0
  136. package/statusPageComponent.js.map +1 -0
  137. package/statusPageStructure.d.ts +151 -0
  138. package/statusPageStructure.d.ts.map +1 -0
  139. package/statusPageStructure.js +148 -0
  140. package/statusPageStructure.js.map +1 -0
  141. package/teamGroupingPreference.d.ts +164 -0
  142. package/teamGroupingPreference.d.ts.map +1 -0
  143. package/teamGroupingPreference.js +165 -0
  144. package/teamGroupingPreference.js.map +1 -0
  145. package/types/input.d.ts +5722 -4067
  146. package/types/input.d.ts.map +1 -1
  147. package/types/output.d.ts +4932 -2641
  148. package/types/output.d.ts.map +1 -1
  149. package/workflow.d.ts +12 -0
  150. package/workflow.d.ts.map +1 -1
  151. package/workflow.js +2 -0
  152. package/workflow.js.map +1 -1
@@ -0,0 +1,318 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Create and manage escalation path templates: an escalation path with parameters, from which many escalation paths can be built.
6
+ *
7
+ * A template is written the same way as `incident.EscalationPath`, as a flat map of named node sequences, with two additions. It declares `params`, and a level or notifyChannel target may carry a `binding` to one of them instead of naming an `id`. An `incident.EscalationPath` built from the template sets `kind = "templated"` and `templateId`, and binds each parameter in `paramBindings`, and the template's nodes, working hours and repeat config apply to every path built from it.
8
+ *
9
+ * ## Beta, and what happens next
10
+ *
11
+ * This resource is new in this version, so its schema may still change in ways that are not backwards compatible. Pin the provider version if that matters to you.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as incident from "@incident-io/pulumi";
18
+ *
19
+ * // A template pages a team's primary schedule, then their backup, with the schedule and
20
+ * // backup left as parameters for each team to fill in.
21
+ * const teamOncall = new incident.EscalationPathTemplate("team_oncall", {
22
+ * name: "Team on-call",
23
+ * description: "Primary schedule, then a backup responder",
24
+ * params: {
25
+ * primary_schedule: {
26
+ * label: "Primary schedule",
27
+ * type: "CatalogEntry[\"Schedule\"]",
28
+ * },
29
+ * backup: {
30
+ * label: "Backup responder",
31
+ * type: "CatalogEntry[\"User\"]",
32
+ * },
33
+ * },
34
+ * start: "main",
35
+ * sequences: {
36
+ * main: {
37
+ * nodes: [
38
+ * {
39
+ * level: {
40
+ * targets: [{
41
+ * type: "schedule",
42
+ * urgency: "high",
43
+ * binding: {
44
+ * valueReference: "primary_schedule",
45
+ * },
46
+ * }],
47
+ * timeToAckSeconds: 300,
48
+ * },
49
+ * },
50
+ * {
51
+ * level: {
52
+ * targets: [{
53
+ * type: "user",
54
+ * urgency: "high",
55
+ * binding: {
56
+ * valueReference: "backup",
57
+ * },
58
+ * }],
59
+ * timeToAckSeconds: 600,
60
+ * },
61
+ * },
62
+ * ],
63
+ * },
64
+ * },
65
+ * });
66
+ * // The paths built from it. Each names the template and binds its params, and has no
67
+ * // sequences of its own.
68
+ * const payments = new incident.Schedule("payments", {
69
+ * name: "Payments primary",
70
+ * timezone: "Europe/London",
71
+ * });
72
+ * const paymentsLead = incident.getUser({
73
+ * email: "payments-lead@example.com",
74
+ * });
75
+ * const paymentsEscalationPath = new incident.EscalationPath("payments", {
76
+ * name: "Payments on-call",
77
+ * kind: "templated",
78
+ * templateId: teamOncall.id,
79
+ * paramBindings: {
80
+ * primary_schedule: {
81
+ * valueLiteral: payments.id,
82
+ * },
83
+ * backup: {
84
+ * valueLiteral: paymentsLead.then(paymentsLead => paymentsLead.id),
85
+ * },
86
+ * },
87
+ * });
88
+ * // To page one rotation of a bound schedule, bind the target to an expression that
89
+ * // navigates the schedule's rotations and keeps the one with that name.
90
+ * const primaryRotation = new incident.EscalationPathTemplate("primary_rotation", {
91
+ * name: "Primary rotation",
92
+ * params: {
93
+ * schedule: {
94
+ * label: "Schedule",
95
+ * type: "CatalogEntry[\"Schedule\"]",
96
+ * },
97
+ * },
98
+ * expressions: [{
99
+ * label: "Primary rotation",
100
+ * reference: "primary_rotation",
101
+ * rootReference: "schedule",
102
+ * operations: [
103
+ * {
104
+ * operationType: "navigate",
105
+ * navigate: {
106
+ * reference: "rotations",
107
+ * },
108
+ * },
109
+ * {
110
+ * operationType: "filter",
111
+ * filter: {
112
+ * conditionGroups: [{
113
+ * conditions: [{
114
+ * subject: "input.name",
115
+ * operation: "equals",
116
+ * paramBindings: [{
117
+ * value: {
118
+ * literal: "Primary",
119
+ * },
120
+ * }],
121
+ * }],
122
+ * }],
123
+ * },
124
+ * },
125
+ * ],
126
+ * }],
127
+ * start: "main",
128
+ * sequences: {
129
+ * main: {
130
+ * nodes: [{
131
+ * level: {
132
+ * targets: [{
133
+ * type: "schedule",
134
+ * urgency: "high",
135
+ * scheduleMode: "currently_on_call_for_rota",
136
+ * binding: {
137
+ * expressionRef: "primary_rotation",
138
+ * },
139
+ * }],
140
+ * timeToAckSeconds: 300,
141
+ * },
142
+ * }],
143
+ * },
144
+ * },
145
+ * });
146
+ * ```
147
+ *
148
+ * ## Import
149
+ *
150
+ * Import is supported using an `import` block or the `pulumi import` command:
151
+ *
152
+ * The `pulumi import` command can be used, for example:
153
+ *
154
+ * !/bin/bash
155
+ *
156
+ * Import an escalation path template using its ID
157
+ * Replace the ID with a real ID from your incident.io organization
158
+ *
159
+ * ```sh
160
+ * $ pulumi import incident:index/escalationPathTemplate:EscalationPathTemplate team_oncall 01ABC123DEF456GHI789JKL
161
+ * ```
162
+ */
163
+ export declare class EscalationPathTemplate extends pulumi.CustomResource {
164
+ /**
165
+ * Get an existing EscalationPathTemplate resource's state with the given name, ID, and optional extra
166
+ * properties used to qualify the lookup.
167
+ *
168
+ * @param name The _unique_ name of the resulting resource.
169
+ * @param id The _unique_ provider ID of the resource to lookup.
170
+ * @param state Any extra arguments used during the lookup.
171
+ * @param opts Optional settings to control the behavior of the CustomResource.
172
+ */
173
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EscalationPathTemplateState, opts?: pulumi.CustomResourceOptions): EscalationPathTemplate;
174
+ /**
175
+ * Returns true if the given object is an instance of EscalationPathTemplate. This is designed to work even
176
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
177
+ */
178
+ static isInstance(obj: any): obj is EscalationPathTemplate;
179
+ /**
180
+ * A description of what this template is for.
181
+ */
182
+ readonly description: pulumi.Output<string | undefined>;
183
+ /**
184
+ * Expressions a target `binding` can name through `expressionRef`, each starting from one of the template's `params` (its `rootReference`). Use one to page something derived from a parameter, such as a team's lead.
185
+ */
186
+ readonly expressions: pulumi.Output<outputs.EscalationPathTemplateExpression[] | undefined>;
187
+ /**
188
+ * The name of this template.
189
+ */
190
+ readonly name: pulumi.Output<string>;
191
+ /**
192
+ * The parameters declared by this template. Keyed by the parameter's name, which is what a templated path binds it under in `paramBindings` and what a target's `valueReference` names.
193
+ */
194
+ readonly params: pulumi.Output<{
195
+ [key: string]: outputs.EscalationPathTemplateParams;
196
+ } | undefined>;
197
+ /**
198
+ * Controls if an escalation will repeat after acknowledgement, when the alert is unresolved. When configured, it will repeat after the specified delay.
199
+ */
200
+ readonly repeatConfig: pulumi.Output<outputs.EscalationPathTemplateRepeatConfig | undefined>;
201
+ /**
202
+ * Named sequences of nodes, keyed by a name you choose. Each sequence either ends with a `branch` node or runs off the end of the escalation path. Branches reference other sequences by key. A level or notifyChannel target may set `binding` instead of `id`, to be resolved per templated path.
203
+ */
204
+ readonly sequences: pulumi.Output<{
205
+ [key: string]: outputs.EscalationPathTemplateSequences;
206
+ }>;
207
+ /**
208
+ * The key of the sequence this template begins with.
209
+ */
210
+ readonly start: pulumi.Output<string>;
211
+ /**
212
+ * Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
213
+ */
214
+ readonly unlockInDashboard: pulumi.Output<boolean | undefined>;
215
+ /**
216
+ * The working hours for this template.
217
+ */
218
+ readonly workingHours: pulumi.Output<outputs.EscalationPathTemplateWorkingHour[] | undefined>;
219
+ /**
220
+ * Create a EscalationPathTemplate resource with the given unique name, arguments, and options.
221
+ *
222
+ * @param name The _unique_ name of the resource.
223
+ * @param args The arguments to use to populate this resource's properties.
224
+ * @param opts A bag of options that control this resource's behavior.
225
+ */
226
+ constructor(name: string, args: EscalationPathTemplateArgs, opts?: pulumi.CustomResourceOptions);
227
+ }
228
+ /**
229
+ * Input properties used for looking up and filtering EscalationPathTemplate resources.
230
+ */
231
+ export interface EscalationPathTemplateState {
232
+ /**
233
+ * A description of what this template is for.
234
+ */
235
+ description?: pulumi.Input<string | undefined>;
236
+ /**
237
+ * Expressions a target `binding` can name through `expressionRef`, each starting from one of the template's `params` (its `rootReference`). Use one to page something derived from a parameter, such as a team's lead.
238
+ */
239
+ expressions?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpression>[] | undefined>;
240
+ /**
241
+ * The name of this template.
242
+ */
243
+ name?: pulumi.Input<string | undefined>;
244
+ /**
245
+ * The parameters declared by this template. Keyed by the parameter's name, which is what a templated path binds it under in `paramBindings` and what a target's `valueReference` names.
246
+ */
247
+ params?: pulumi.Input<{
248
+ [key: string]: pulumi.Input<inputs.EscalationPathTemplateParams>;
249
+ } | undefined>;
250
+ /**
251
+ * Controls if an escalation will repeat after acknowledgement, when the alert is unresolved. When configured, it will repeat after the specified delay.
252
+ */
253
+ repeatConfig?: pulumi.Input<inputs.EscalationPathTemplateRepeatConfig | undefined>;
254
+ /**
255
+ * Named sequences of nodes, keyed by a name you choose. Each sequence either ends with a `branch` node or runs off the end of the escalation path. Branches reference other sequences by key. A level or notifyChannel target may set `binding` instead of `id`, to be resolved per templated path.
256
+ */
257
+ sequences?: pulumi.Input<{
258
+ [key: string]: pulumi.Input<inputs.EscalationPathTemplateSequences>;
259
+ } | undefined>;
260
+ /**
261
+ * The key of the sequence this template begins with.
262
+ */
263
+ start?: pulumi.Input<string | undefined>;
264
+ /**
265
+ * Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
266
+ */
267
+ unlockInDashboard?: pulumi.Input<boolean | undefined>;
268
+ /**
269
+ * The working hours for this template.
270
+ */
271
+ workingHours?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateWorkingHour>[] | undefined>;
272
+ }
273
+ /**
274
+ * The set of arguments for constructing a EscalationPathTemplate resource.
275
+ */
276
+ export interface EscalationPathTemplateArgs {
277
+ /**
278
+ * A description of what this template is for.
279
+ */
280
+ description?: pulumi.Input<string | undefined>;
281
+ /**
282
+ * Expressions a target `binding` can name through `expressionRef`, each starting from one of the template's `params` (its `rootReference`). Use one to page something derived from a parameter, such as a team's lead.
283
+ */
284
+ expressions?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpression>[] | undefined>;
285
+ /**
286
+ * The name of this template.
287
+ */
288
+ name?: pulumi.Input<string | undefined>;
289
+ /**
290
+ * The parameters declared by this template. Keyed by the parameter's name, which is what a templated path binds it under in `paramBindings` and what a target's `valueReference` names.
291
+ */
292
+ params?: pulumi.Input<{
293
+ [key: string]: pulumi.Input<inputs.EscalationPathTemplateParams>;
294
+ } | undefined>;
295
+ /**
296
+ * Controls if an escalation will repeat after acknowledgement, when the alert is unresolved. When configured, it will repeat after the specified delay.
297
+ */
298
+ repeatConfig?: pulumi.Input<inputs.EscalationPathTemplateRepeatConfig | undefined>;
299
+ /**
300
+ * Named sequences of nodes, keyed by a name you choose. Each sequence either ends with a `branch` node or runs off the end of the escalation path. Branches reference other sequences by key. A level or notifyChannel target may set `binding` instead of `id`, to be resolved per templated path.
301
+ */
302
+ sequences: pulumi.Input<{
303
+ [key: string]: pulumi.Input<inputs.EscalationPathTemplateSequences>;
304
+ }>;
305
+ /**
306
+ * The key of the sequence this template begins with.
307
+ */
308
+ start: pulumi.Input<string>;
309
+ /**
310
+ * Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
311
+ */
312
+ unlockInDashboard?: pulumi.Input<boolean | undefined>;
313
+ /**
314
+ * The working hours for this template.
315
+ */
316
+ workingHours?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateWorkingHour>[] | undefined>;
317
+ }
318
+ //# sourceMappingURL=escalationPathTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escalationPathTemplate.d.ts","sourceRoot":"","sources":["../escalationPathTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8JG;AACH,qBAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,sBAAsB;IAO9J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,sBAAsB;IAOjE;;OA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M,CAAC,gCAAgC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAChG;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACtG;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kCAAkC,GAAG,SAAS,CAAC,CAAC;IACnF;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAAA;KAAC,CAAC,CAAC;IAC/F;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iCAAiC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACrG"}
@@ -0,0 +1,253 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.EscalationPathTemplate = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Create and manage escalation path templates: an escalation path with parameters, from which many escalation paths can be built.
33
+ *
34
+ * A template is written the same way as `incident.EscalationPath`, as a flat map of named node sequences, with two additions. It declares `params`, and a level or notifyChannel target may carry a `binding` to one of them instead of naming an `id`. An `incident.EscalationPath` built from the template sets `kind = "templated"` and `templateId`, and binds each parameter in `paramBindings`, and the template's nodes, working hours and repeat config apply to every path built from it.
35
+ *
36
+ * ## Beta, and what happens next
37
+ *
38
+ * This resource is new in this version, so its schema may still change in ways that are not backwards compatible. Pin the provider version if that matters to you.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as incident from "@incident-io/pulumi";
45
+ *
46
+ * // A template pages a team's primary schedule, then their backup, with the schedule and
47
+ * // backup left as parameters for each team to fill in.
48
+ * const teamOncall = new incident.EscalationPathTemplate("team_oncall", {
49
+ * name: "Team on-call",
50
+ * description: "Primary schedule, then a backup responder",
51
+ * params: {
52
+ * primary_schedule: {
53
+ * label: "Primary schedule",
54
+ * type: "CatalogEntry[\"Schedule\"]",
55
+ * },
56
+ * backup: {
57
+ * label: "Backup responder",
58
+ * type: "CatalogEntry[\"User\"]",
59
+ * },
60
+ * },
61
+ * start: "main",
62
+ * sequences: {
63
+ * main: {
64
+ * nodes: [
65
+ * {
66
+ * level: {
67
+ * targets: [{
68
+ * type: "schedule",
69
+ * urgency: "high",
70
+ * binding: {
71
+ * valueReference: "primary_schedule",
72
+ * },
73
+ * }],
74
+ * timeToAckSeconds: 300,
75
+ * },
76
+ * },
77
+ * {
78
+ * level: {
79
+ * targets: [{
80
+ * type: "user",
81
+ * urgency: "high",
82
+ * binding: {
83
+ * valueReference: "backup",
84
+ * },
85
+ * }],
86
+ * timeToAckSeconds: 600,
87
+ * },
88
+ * },
89
+ * ],
90
+ * },
91
+ * },
92
+ * });
93
+ * // The paths built from it. Each names the template and binds its params, and has no
94
+ * // sequences of its own.
95
+ * const payments = new incident.Schedule("payments", {
96
+ * name: "Payments primary",
97
+ * timezone: "Europe/London",
98
+ * });
99
+ * const paymentsLead = incident.getUser({
100
+ * email: "payments-lead@example.com",
101
+ * });
102
+ * const paymentsEscalationPath = new incident.EscalationPath("payments", {
103
+ * name: "Payments on-call",
104
+ * kind: "templated",
105
+ * templateId: teamOncall.id,
106
+ * paramBindings: {
107
+ * primary_schedule: {
108
+ * valueLiteral: payments.id,
109
+ * },
110
+ * backup: {
111
+ * valueLiteral: paymentsLead.then(paymentsLead => paymentsLead.id),
112
+ * },
113
+ * },
114
+ * });
115
+ * // To page one rotation of a bound schedule, bind the target to an expression that
116
+ * // navigates the schedule's rotations and keeps the one with that name.
117
+ * const primaryRotation = new incident.EscalationPathTemplate("primary_rotation", {
118
+ * name: "Primary rotation",
119
+ * params: {
120
+ * schedule: {
121
+ * label: "Schedule",
122
+ * type: "CatalogEntry[\"Schedule\"]",
123
+ * },
124
+ * },
125
+ * expressions: [{
126
+ * label: "Primary rotation",
127
+ * reference: "primary_rotation",
128
+ * rootReference: "schedule",
129
+ * operations: [
130
+ * {
131
+ * operationType: "navigate",
132
+ * navigate: {
133
+ * reference: "rotations",
134
+ * },
135
+ * },
136
+ * {
137
+ * operationType: "filter",
138
+ * filter: {
139
+ * conditionGroups: [{
140
+ * conditions: [{
141
+ * subject: "input.name",
142
+ * operation: "equals",
143
+ * paramBindings: [{
144
+ * value: {
145
+ * literal: "Primary",
146
+ * },
147
+ * }],
148
+ * }],
149
+ * }],
150
+ * },
151
+ * },
152
+ * ],
153
+ * }],
154
+ * start: "main",
155
+ * sequences: {
156
+ * main: {
157
+ * nodes: [{
158
+ * level: {
159
+ * targets: [{
160
+ * type: "schedule",
161
+ * urgency: "high",
162
+ * scheduleMode: "currently_on_call_for_rota",
163
+ * binding: {
164
+ * expressionRef: "primary_rotation",
165
+ * },
166
+ * }],
167
+ * timeToAckSeconds: 300,
168
+ * },
169
+ * }],
170
+ * },
171
+ * },
172
+ * });
173
+ * ```
174
+ *
175
+ * ## Import
176
+ *
177
+ * Import is supported using an `import` block or the `pulumi import` command:
178
+ *
179
+ * The `pulumi import` command can be used, for example:
180
+ *
181
+ * !/bin/bash
182
+ *
183
+ * Import an escalation path template using its ID
184
+ * Replace the ID with a real ID from your incident.io organization
185
+ *
186
+ * ```sh
187
+ * $ pulumi import incident:index/escalationPathTemplate:EscalationPathTemplate team_oncall 01ABC123DEF456GHI789JKL
188
+ * ```
189
+ */
190
+ class EscalationPathTemplate extends pulumi.CustomResource {
191
+ /**
192
+ * Get an existing EscalationPathTemplate resource's state with the given name, ID, and optional extra
193
+ * properties used to qualify the lookup.
194
+ *
195
+ * @param name The _unique_ name of the resulting resource.
196
+ * @param id The _unique_ provider ID of the resource to lookup.
197
+ * @param state Any extra arguments used during the lookup.
198
+ * @param opts Optional settings to control the behavior of the CustomResource.
199
+ */
200
+ static get(name, id, state, opts) {
201
+ return new EscalationPathTemplate(name, state, { ...opts, id: id });
202
+ }
203
+ /** @internal */
204
+ static __pulumiType = 'incident:index/escalationPathTemplate:EscalationPathTemplate';
205
+ /**
206
+ * Returns true if the given object is an instance of EscalationPathTemplate. This is designed to work even
207
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
208
+ */
209
+ static isInstance(obj) {
210
+ if (obj === undefined || obj === null) {
211
+ return false;
212
+ }
213
+ return obj['__pulumiType'] === EscalationPathTemplate.__pulumiType;
214
+ }
215
+ constructor(name, argsOrState, opts) {
216
+ let resourceInputs = {};
217
+ opts = opts || {};
218
+ if (opts.id) {
219
+ const state = argsOrState;
220
+ resourceInputs["description"] = state?.description;
221
+ resourceInputs["expressions"] = state?.expressions;
222
+ resourceInputs["name"] = state?.name;
223
+ resourceInputs["params"] = state?.params;
224
+ resourceInputs["repeatConfig"] = state?.repeatConfig;
225
+ resourceInputs["sequences"] = state?.sequences;
226
+ resourceInputs["start"] = state?.start;
227
+ resourceInputs["unlockInDashboard"] = state?.unlockInDashboard;
228
+ resourceInputs["workingHours"] = state?.workingHours;
229
+ }
230
+ else {
231
+ const args = argsOrState;
232
+ if (args?.sequences === undefined && !opts.urn) {
233
+ throw new Error("Missing required property 'sequences'");
234
+ }
235
+ if (args?.start === undefined && !opts.urn) {
236
+ throw new Error("Missing required property 'start'");
237
+ }
238
+ resourceInputs["description"] = args?.description;
239
+ resourceInputs["expressions"] = args?.expressions;
240
+ resourceInputs["name"] = args?.name;
241
+ resourceInputs["params"] = args?.params;
242
+ resourceInputs["repeatConfig"] = args?.repeatConfig;
243
+ resourceInputs["sequences"] = args?.sequences;
244
+ resourceInputs["start"] = args?.start;
245
+ resourceInputs["unlockInDashboard"] = args?.unlockInDashboard;
246
+ resourceInputs["workingHours"] = args?.workingHours;
247
+ }
248
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
249
+ super(EscalationPathTemplate.__pulumiType, name, resourceInputs, opts);
250
+ }
251
+ }
252
+ exports.EscalationPathTemplate = EscalationPathTemplate;
253
+ //# sourceMappingURL=escalationPathTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escalationPathTemplate.js","sourceRoot":"","sources":["../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,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA3GL,wDA4GC"}
@@ -112,10 +112,14 @@ export interface GetAlertSourceResult {
112
112
  */
113
113
  readonly secretToken: string;
114
114
  /**
115
- * Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
115
+ * Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
116
116
  */
117
117
  readonly sourceType: string;
118
118
  readonly title: outputs.GetAlertSourceTitle;
119
+ /**
120
+ * Not populated: whether Terraform claims a resource is configuration, and no read endpoint reports it.
121
+ */
122
+ readonly unlockInDashboard: boolean;
119
123
  /**
120
124
  * The source's current version, which increments on every write. Pass it back as expectedVersion to reject a write built from a stale read.
121
125
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getAlertSource.d.ts","sourceRoot":"","sources":["../getAlertSource.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAQpH;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,6BAA6B,EAAE,CAAC;CAC7D;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,yBAAyB,EAAE,OAAO,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,yBAAyB,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,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