@incident-io/pulumi 0.1.1 → 0.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/alertRoute.d.ts +12 -0
- package/alertRoute.d.ts.map +1 -1
- package/alertRoute.js +2 -0
- package/alertRoute.js.map +1 -1
- package/alertSource.d.ts +15 -3
- package/alertSource.d.ts.map +1 -1
- package/alertSource.js +2 -0
- package/alertSource.js.map +1 -1
- package/alertSourceBeta.d.ts +15 -3
- package/alertSourceBeta.d.ts.map +1 -1
- package/alertSourceBeta.js +2 -0
- package/alertSourceBeta.js.map +1 -1
- package/announcementRule.d.ts +247 -0
- package/announcementRule.d.ts.map +1 -0
- package/announcementRule.js +175 -0
- package/announcementRule.js.map +1 -0
- package/announcementTemplate.d.ts +157 -0
- package/announcementTemplate.d.ts.map +1 -0
- package/announcementTemplate.js +148 -0
- package/announcementTemplate.js.map +1 -0
- package/apiKey.d.ts +12 -0
- package/apiKey.d.ts.map +1 -1
- package/apiKey.js +2 -0
- package/apiKey.js.map +1 -1
- package/catalogType.d.ts +12 -0
- package/catalogType.d.ts.map +1 -1
- package/catalogType.js +2 -0
- package/catalogType.js.map +1 -1
- package/config/vars.d.ts +1 -1
- package/escalationPath.d.ts +69 -15
- package/escalationPath.d.ts.map +1 -1
- package/escalationPath.js +8 -6
- package/escalationPath.js.map +1 -1
- package/escalationPathBeta.d.ts +69 -15
- package/escalationPathBeta.d.ts.map +1 -1
- package/escalationPathBeta.js +8 -6
- package/escalationPathBeta.js.map +1 -1
- package/escalationPathTemplate.d.ts +318 -0
- package/escalationPathTemplate.d.ts.map +1 -0
- package/escalationPathTemplate.js +253 -0
- package/escalationPathTemplate.js.map +1 -0
- package/getAlertSource.d.ts +5 -1
- package/getAlertSource.d.ts.map +1 -1
- package/getAlertSource.js.map +1 -1
- package/getAnnouncementRule.d.ts +138 -0
- package/getAnnouncementRule.d.ts.map +1 -0
- package/getAnnouncementRule.js +99 -0
- package/getAnnouncementRule.js.map +1 -0
- package/getAnnouncementTemplate.d.ts +148 -0
- package/getAnnouncementTemplate.d.ts.map +1 -0
- package/getAnnouncementTemplate.js +137 -0
- package/getAnnouncementTemplate.js.map +1 -0
- package/getCatalogType.d.ts +4 -0
- package/getCatalogType.d.ts.map +1 -1
- package/getCatalogType.js.map +1 -1
- package/getEscalationPath.d.ts +19 -1
- package/getEscalationPath.d.ts.map +1 -1
- package/getEscalationPath.js.map +1 -1
- package/getEscalationPathBeta.d.ts +19 -1
- package/getEscalationPathBeta.d.ts.map +1 -1
- package/getEscalationPathBeta.js.map +1 -1
- package/getIncidentTemplate.d.ts +4 -0
- package/getIncidentTemplate.d.ts.map +1 -1
- package/getIncidentTemplate.js.map +1 -1
- package/getPayConfig.d.ts +130 -0
- package/getPayConfig.d.ts.map +1 -0
- package/getPayConfig.js +99 -0
- package/getPayConfig.js.map +1 -0
- package/getPolicy.d.ts +1 -1
- package/getScheduleSyncRule.d.ts +4 -0
- package/getScheduleSyncRule.d.ts.map +1 -1
- package/getScheduleSyncRule.js.map +1 -1
- package/getStatusPage.d.ts +95 -0
- package/getStatusPage.d.ts.map +1 -0
- package/getStatusPage.js +93 -0
- package/getStatusPage.js.map +1 -0
- package/getUser.d.ts +24 -6
- package/getUser.d.ts.map +1 -1
- package/getUser.js.map +1 -1
- package/getWorkflow.d.ts +1 -0
- package/getWorkflow.d.ts.map +1 -1
- package/getWorkflow.js.map +1 -1
- package/incidentTemplate.d.ts +12 -0
- package/incidentTemplate.d.ts.map +1 -1
- package/incidentTemplate.js +2 -0
- package/incidentTemplate.js.map +1 -1
- package/index.d.ts +27 -0
- package/index.d.ts.map +1 -1
- package/index.js +40 -2
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/payConfig.d.ts +258 -0
- package/payConfig.d.ts.map +1 -0
- package/payConfig.js +213 -0
- package/payConfig.js.map +1 -0
- package/policy.d.ts +33 -15
- package/policy.d.ts.map +1 -1
- package/policy.js +12 -4
- package/policy.js.map +1 -1
- package/provider.d.ts +1 -1
- package/schedule.d.ts +12 -0
- package/schedule.d.ts.map +1 -1
- package/schedule.js +2 -0
- package/schedule.js.map +1 -1
- package/scheduleBeta.d.ts +12 -0
- package/scheduleBeta.d.ts.map +1 -1
- package/scheduleBeta.js +2 -0
- package/scheduleBeta.js.map +1 -1
- package/scheduleSyncRule.d.ts +12 -0
- package/scheduleSyncRule.d.ts.map +1 -1
- package/scheduleSyncRule.js +2 -0
- package/scheduleSyncRule.js.map +1 -1
- package/scheduleSyncTarget.d.ts +12 -0
- package/scheduleSyncTarget.d.ts.map +1 -1
- package/scheduleSyncTarget.js +2 -0
- package/scheduleSyncTarget.js.map +1 -1
- package/secret.d.ts +12 -0
- package/secret.d.ts.map +1 -1
- package/secret.js +2 -0
- package/secret.js.map +1 -1
- package/teamGroupingPreference.d.ts +164 -0
- package/teamGroupingPreference.d.ts.map +1 -0
- package/teamGroupingPreference.js +165 -0
- package/teamGroupingPreference.js.map +1 -0
- package/types/input.d.ts +1069 -77
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1255 -60
- package/types/output.d.ts.map +1 -1
- package/workflow.d.ts +12 -0
- package/workflow.d.ts.map +1 -1
- package/workflow.js +2 -0
- package/workflow.js.map +1 -1
package/types/input.d.ts
CHANGED
|
@@ -331,6 +331,9 @@ export interface AlertRouteEscalationConfig {
|
|
|
331
331
|
* Targets for escalation
|
|
332
332
|
*/
|
|
333
333
|
escalationTargets: pulumi.Input<pulumi.Input<inputs.AlertRouteEscalationConfigEscalationTarget>[]>;
|
|
334
|
+
/**
|
|
335
|
+
* How to escalate when an alert joins a group. Applies whether or not this route groups alerts, because a team's grouping preference can group its alerts on any route.
|
|
336
|
+
*/
|
|
334
337
|
whenAlertJoinsGroup?: pulumi.Input<inputs.AlertRouteEscalationConfigWhenAlertJoinsGroup | undefined>;
|
|
335
338
|
}
|
|
336
339
|
export interface AlertRouteEscalationConfigEscalationTarget {
|
|
@@ -9276,6 +9279,118 @@ export interface AlertSourceVisibleToTeamsValue {
|
|
|
9276
9279
|
*/
|
|
9277
9280
|
reference?: pulumi.Input<string | undefined>;
|
|
9278
9281
|
}
|
|
9282
|
+
export interface AnnouncementRuleConditionGroup {
|
|
9283
|
+
/**
|
|
9284
|
+
* The prerequisite conditions that must all be satisfied
|
|
9285
|
+
*/
|
|
9286
|
+
conditions: pulumi.Input<pulumi.Input<inputs.AnnouncementRuleConditionGroupCondition>[]>;
|
|
9287
|
+
}
|
|
9288
|
+
export interface AnnouncementRuleConditionGroupCondition {
|
|
9289
|
+
/**
|
|
9290
|
+
* The logical operation to be applied
|
|
9291
|
+
*/
|
|
9292
|
+
operation: pulumi.Input<string>;
|
|
9293
|
+
/**
|
|
9294
|
+
* Bindings for the operation parameters
|
|
9295
|
+
*/
|
|
9296
|
+
paramBindings: pulumi.Input<pulumi.Input<inputs.AnnouncementRuleConditionGroupConditionParamBinding>[]>;
|
|
9297
|
+
/**
|
|
9298
|
+
* The subject of the condition, on which the operation is applied
|
|
9299
|
+
*/
|
|
9300
|
+
subject: pulumi.Input<string>;
|
|
9301
|
+
}
|
|
9302
|
+
export interface AnnouncementRuleConditionGroupConditionParamBinding {
|
|
9303
|
+
/**
|
|
9304
|
+
* The array of literal or reference parameter values
|
|
9305
|
+
*/
|
|
9306
|
+
arrayValues?: pulumi.Input<pulumi.Input<inputs.AnnouncementRuleConditionGroupConditionParamBindingArrayValue>[] | undefined>;
|
|
9307
|
+
/**
|
|
9308
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
9309
|
+
*/
|
|
9310
|
+
expressionRef?: pulumi.Input<string | undefined>;
|
|
9311
|
+
/**
|
|
9312
|
+
* The literal or reference parameter value
|
|
9313
|
+
*/
|
|
9314
|
+
value?: pulumi.Input<inputs.AnnouncementRuleConditionGroupConditionParamBindingValue | undefined>;
|
|
9315
|
+
/**
|
|
9316
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
9317
|
+
*/
|
|
9318
|
+
valueLiteral?: pulumi.Input<string | undefined>;
|
|
9319
|
+
/**
|
|
9320
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
9321
|
+
*/
|
|
9322
|
+
valueReference?: pulumi.Input<string | undefined>;
|
|
9323
|
+
/**
|
|
9324
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
9325
|
+
*/
|
|
9326
|
+
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
9327
|
+
}
|
|
9328
|
+
export interface AnnouncementRuleConditionGroupConditionParamBindingArrayValue {
|
|
9329
|
+
/**
|
|
9330
|
+
* If set, this is the literal value of the step parameter
|
|
9331
|
+
*/
|
|
9332
|
+
literal?: pulumi.Input<string | undefined>;
|
|
9333
|
+
/**
|
|
9334
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9335
|
+
*/
|
|
9336
|
+
reference?: pulumi.Input<string | undefined>;
|
|
9337
|
+
}
|
|
9338
|
+
export interface AnnouncementRuleConditionGroupConditionParamBindingValue {
|
|
9339
|
+
/**
|
|
9340
|
+
* If set, this is the literal value of the step parameter
|
|
9341
|
+
*/
|
|
9342
|
+
literal?: pulumi.Input<string | undefined>;
|
|
9343
|
+
/**
|
|
9344
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9345
|
+
*/
|
|
9346
|
+
reference?: pulumi.Input<string | undefined>;
|
|
9347
|
+
}
|
|
9348
|
+
export interface AnnouncementTemplateAction {
|
|
9349
|
+
/**
|
|
9350
|
+
* Type of this action. Possible values are: `announcementPostActionsHomepage`, `announcementPostActionsSubscribe`, `announcementPostActionsJoinCall`, `announcementPostActionsJiraTicket`, `announcementPostActionsInternalStatusPage`, `announcementPostActionsPublicStatusPage`, `announcementPostActionsPostmortem`, `announcementPostActionsCreateChannel`, `announcementPostActionsViewAlert`, `announcementPostActionsTriage`, `announcementPostActionsEscalate`, `announcementPostActionsShareUpdate`, `announcementPostActionsUpdateStatus`, `announcementPostActionsRequestAccess`.
|
|
9351
|
+
*/
|
|
9352
|
+
actionType: pulumi.Input<string>;
|
|
9353
|
+
/**
|
|
9354
|
+
* Emoji shown on this action's button, as a Slack emoji name
|
|
9355
|
+
*/
|
|
9356
|
+
emoji?: pulumi.Input<string | undefined>;
|
|
9357
|
+
}
|
|
9358
|
+
export interface AnnouncementTemplateField {
|
|
9359
|
+
/**
|
|
9360
|
+
* ID of the custom field to show. Required for custom field fields.
|
|
9361
|
+
*/
|
|
9362
|
+
customFieldId?: pulumi.Input<string | undefined>;
|
|
9363
|
+
/**
|
|
9364
|
+
* Emoji shown next to this field, as a Slack emoji name
|
|
9365
|
+
*/
|
|
9366
|
+
emoji?: pulumi.Input<string | undefined>;
|
|
9367
|
+
/**
|
|
9368
|
+
* Type of this field. Possible values are: `announcementPostFieldsStatus`, `announcementPostFieldsIncidentType`, `announcementPostFieldsSeverity`, `announcementPostFieldsRole`, `announcementPostFieldsDescription`, `announcementPostFieldsCustomField`, `announcementPostFieldsTimestamp`, `announcementPostFieldsCreator`, `announcementPostFieldsSlack`, `announcementPostFieldsRichText`.
|
|
9369
|
+
*/
|
|
9370
|
+
fieldType: pulumi.Input<string>;
|
|
9371
|
+
/**
|
|
9372
|
+
* ID of the incident role to show. Required for incident role fields.
|
|
9373
|
+
*/
|
|
9374
|
+
incidentRoleId?: pulumi.Input<string | undefined>;
|
|
9375
|
+
/**
|
|
9376
|
+
* ID of the incident timestamp to show. Required for incident timestamp fields.
|
|
9377
|
+
*/
|
|
9378
|
+
incidentTimestampId?: pulumi.Input<string | undefined>;
|
|
9379
|
+
/**
|
|
9380
|
+
* Content of a rich text field. The type says how contents is written.
|
|
9381
|
+
*/
|
|
9382
|
+
richText?: pulumi.Input<inputs.AnnouncementTemplateFieldRichText | undefined>;
|
|
9383
|
+
}
|
|
9384
|
+
export interface AnnouncementTemplateFieldRichText {
|
|
9385
|
+
/**
|
|
9386
|
+
* The content, as markdown. Write incident variables as {{name}}, e.g. {{incident.reference}}.
|
|
9387
|
+
*/
|
|
9388
|
+
contents: pulumi.Input<string>;
|
|
9389
|
+
/**
|
|
9390
|
+
* How contents is written. Only markdown is supported today. Possible values are: `markdown`.
|
|
9391
|
+
*/
|
|
9392
|
+
type: pulumi.Input<string>;
|
|
9393
|
+
}
|
|
9279
9394
|
export interface CatalogEntriesEntries {
|
|
9280
9395
|
/**
|
|
9281
9396
|
* Optional aliases that can be used to reference this entry
|
|
@@ -9344,6 +9459,52 @@ export interface CustomFieldFixedFilter {
|
|
|
9344
9459
|
*/
|
|
9345
9460
|
values: pulumi.Input<pulumi.Input<string>[]>;
|
|
9346
9461
|
}
|
|
9462
|
+
export interface EscalationPathBetaParamBindings {
|
|
9463
|
+
/**
|
|
9464
|
+
* The array of literal or reference parameter values
|
|
9465
|
+
*/
|
|
9466
|
+
arrayValues?: pulumi.Input<pulumi.Input<inputs.EscalationPathBetaParamBindingsArrayValue>[] | undefined>;
|
|
9467
|
+
/**
|
|
9468
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
9469
|
+
*/
|
|
9470
|
+
expressionRef?: pulumi.Input<string | undefined>;
|
|
9471
|
+
/**
|
|
9472
|
+
* The literal or reference parameter value
|
|
9473
|
+
*/
|
|
9474
|
+
value?: pulumi.Input<inputs.EscalationPathBetaParamBindingsValue | undefined>;
|
|
9475
|
+
/**
|
|
9476
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
9477
|
+
*/
|
|
9478
|
+
valueLiteral?: pulumi.Input<string | undefined>;
|
|
9479
|
+
/**
|
|
9480
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
9481
|
+
*/
|
|
9482
|
+
valueReference?: pulumi.Input<string | undefined>;
|
|
9483
|
+
/**
|
|
9484
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
9485
|
+
*/
|
|
9486
|
+
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
9487
|
+
}
|
|
9488
|
+
export interface EscalationPathBetaParamBindingsArrayValue {
|
|
9489
|
+
/**
|
|
9490
|
+
* If set, this is the literal value of the step parameter
|
|
9491
|
+
*/
|
|
9492
|
+
literal?: pulumi.Input<string | undefined>;
|
|
9493
|
+
/**
|
|
9494
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9495
|
+
*/
|
|
9496
|
+
reference?: pulumi.Input<string | undefined>;
|
|
9497
|
+
}
|
|
9498
|
+
export interface EscalationPathBetaParamBindingsValue {
|
|
9499
|
+
/**
|
|
9500
|
+
* If set, this is the literal value of the step parameter
|
|
9501
|
+
*/
|
|
9502
|
+
literal?: pulumi.Input<string | undefined>;
|
|
9503
|
+
/**
|
|
9504
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9505
|
+
*/
|
|
9506
|
+
reference?: pulumi.Input<string | undefined>;
|
|
9507
|
+
}
|
|
9347
9508
|
export interface EscalationPathBetaRepeatConfig {
|
|
9348
9509
|
/**
|
|
9349
9510
|
* When true, incident activity resets the repeat timer.
|
|
@@ -9376,7 +9537,7 @@ export interface EscalationPathBetaSequencesNode {
|
|
|
9376
9537
|
id?: pulumi.Input<string | undefined>;
|
|
9377
9538
|
level?: pulumi.Input<inputs.EscalationPathBetaSequencesNodeLevel | undefined>;
|
|
9378
9539
|
/**
|
|
9379
|
-
* Go back to an earlier node and run from there again.
|
|
9540
|
+
* Go back to an earlier node and run from there again. A loop must be the last node in its sequence, or be followed by a single `escalationPath` node to reassign to once it has run out of repeats.
|
|
9380
9541
|
*/
|
|
9381
9542
|
loop?: pulumi.Input<inputs.EscalationPathBetaSequencesNodeLoop | undefined>;
|
|
9382
9543
|
notifyChannel?: pulumi.Input<inputs.EscalationPathBetaSequencesNodeNotifyChannel | undefined>;
|
|
@@ -9505,72 +9666,700 @@ export interface EscalationPathBetaSequencesNodeNotifyChannel {
|
|
|
9505
9666
|
/**
|
|
9506
9667
|
* The targets (Slack channels) for this level
|
|
9507
9668
|
*/
|
|
9508
|
-
targets: pulumi.Input<pulumi.Input<inputs.EscalationPathBetaSequencesNodeNotifyChannelTarget>[]>;
|
|
9669
|
+
targets: pulumi.Input<pulumi.Input<inputs.EscalationPathBetaSequencesNodeNotifyChannelTarget>[]>;
|
|
9670
|
+
/**
|
|
9671
|
+
* If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive. Possible values are: `active`, `inactive`.
|
|
9672
|
+
*/
|
|
9673
|
+
timeToAckIntervalCondition?: pulumi.Input<string | undefined>;
|
|
9674
|
+
/**
|
|
9675
|
+
* How long should we wait for this level to acknowledge before moving on to the next node in the path?
|
|
9676
|
+
*/
|
|
9677
|
+
timeToAckSeconds?: pulumi.Input<number | undefined>;
|
|
9678
|
+
/**
|
|
9679
|
+
* If the time to ack is relative to a time window, this identifies which window it is relative to
|
|
9680
|
+
*/
|
|
9681
|
+
timeToAckWeekdayIntervalConfigId?: pulumi.Input<string | undefined>;
|
|
9682
|
+
}
|
|
9683
|
+
export interface EscalationPathBetaSequencesNodeNotifyChannelTarget {
|
|
9684
|
+
/**
|
|
9685
|
+
* Uniquely identifies an entity of this type
|
|
9686
|
+
*/
|
|
9687
|
+
id: pulumi.Input<string>;
|
|
9688
|
+
/**
|
|
9689
|
+
* Only set for schedule targets, this specifies which users to fetch from the schedule. Use currently*on*call to notify whoever is on call right now across the schedule, all*users to notify every user attached to the schedule, or all*users*for*rota / currently*on*call*for*rota / next*on*call*for*rota to scope to a specific rota (in which case selected*rota*id is required). next*on*call notifies whoever is next on call across the schedule. Possible values are: `currentlyOnCall`, `allUsersForRota`, `allUsers`, `currentlyOnCallForRota`, `nextOnCallForRota`, `nextOnCall`.
|
|
9690
|
+
*/
|
|
9691
|
+
scheduleMode?: pulumi.Input<string | undefined>;
|
|
9692
|
+
/**
|
|
9693
|
+
* For schedule targets, identifies which rota on the schedule the schedule*mode applies to. Required when schedule*mode is all*users*for*rota, currently*on*call*for*rota, or next*on*call*for*rota; must be omitted for other schedule*mode values.
|
|
9694
|
+
*/
|
|
9695
|
+
selectedRotaId?: pulumi.Input<string | undefined>;
|
|
9696
|
+
/**
|
|
9697
|
+
* Controls what type of entity this target identifies, such as EscalationPolicy or User. Possible values are: `schedule`, `user`, `slackChannel`, `msteamsChannel`.
|
|
9698
|
+
*/
|
|
9699
|
+
type: pulumi.Input<string>;
|
|
9700
|
+
/**
|
|
9701
|
+
* The urgency of this escalation path target. Possible values are: `high`, `low`.
|
|
9702
|
+
*/
|
|
9703
|
+
urgency: pulumi.Input<string>;
|
|
9704
|
+
}
|
|
9705
|
+
export interface EscalationPathBetaWorkingHour {
|
|
9706
|
+
/**
|
|
9707
|
+
* The unique identifier for this set of working intervals
|
|
9708
|
+
*/
|
|
9709
|
+
id: pulumi.Input<string>;
|
|
9710
|
+
/**
|
|
9711
|
+
* A human readable label for this set of working intervals
|
|
9712
|
+
*/
|
|
9713
|
+
name: pulumi.Input<string>;
|
|
9714
|
+
/**
|
|
9715
|
+
* How to interpret all the intervals
|
|
9716
|
+
*/
|
|
9717
|
+
timezone: pulumi.Input<string>;
|
|
9718
|
+
weekdayIntervals: pulumi.Input<pulumi.Input<inputs.EscalationPathBetaWorkingHourWeekdayInterval>[]>;
|
|
9719
|
+
}
|
|
9720
|
+
export interface EscalationPathBetaWorkingHourWeekdayInterval {
|
|
9721
|
+
/**
|
|
9722
|
+
* End time of the interval, in 24hr format
|
|
9723
|
+
*/
|
|
9724
|
+
endTime: pulumi.Input<string>;
|
|
9725
|
+
/**
|
|
9726
|
+
* Start time of the interval, in 24hr format
|
|
9727
|
+
*/
|
|
9728
|
+
startTime: pulumi.Input<string>;
|
|
9729
|
+
/**
|
|
9730
|
+
* Weekdays for use within a schedule or escalation path. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
|
|
9731
|
+
*/
|
|
9732
|
+
weekday: pulumi.Input<string>;
|
|
9733
|
+
}
|
|
9734
|
+
export interface EscalationPathParamBindings {
|
|
9735
|
+
/**
|
|
9736
|
+
* The array of literal or reference parameter values
|
|
9737
|
+
*/
|
|
9738
|
+
arrayValues?: pulumi.Input<pulumi.Input<inputs.EscalationPathParamBindingsArrayValue>[] | undefined>;
|
|
9739
|
+
/**
|
|
9740
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
9741
|
+
*/
|
|
9742
|
+
expressionRef?: pulumi.Input<string | undefined>;
|
|
9743
|
+
/**
|
|
9744
|
+
* The literal or reference parameter value
|
|
9745
|
+
*/
|
|
9746
|
+
value?: pulumi.Input<inputs.EscalationPathParamBindingsValue | undefined>;
|
|
9747
|
+
/**
|
|
9748
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
9749
|
+
*/
|
|
9750
|
+
valueLiteral?: pulumi.Input<string | undefined>;
|
|
9751
|
+
/**
|
|
9752
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
9753
|
+
*/
|
|
9754
|
+
valueReference?: pulumi.Input<string | undefined>;
|
|
9755
|
+
/**
|
|
9756
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
9757
|
+
*/
|
|
9758
|
+
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
9759
|
+
}
|
|
9760
|
+
export interface EscalationPathParamBindingsArrayValue {
|
|
9761
|
+
/**
|
|
9762
|
+
* If set, this is the literal value of the step parameter
|
|
9763
|
+
*/
|
|
9764
|
+
literal?: pulumi.Input<string | undefined>;
|
|
9765
|
+
/**
|
|
9766
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9767
|
+
*/
|
|
9768
|
+
reference?: pulumi.Input<string | undefined>;
|
|
9769
|
+
}
|
|
9770
|
+
export interface EscalationPathParamBindingsValue {
|
|
9771
|
+
/**
|
|
9772
|
+
* If set, this is the literal value of the step parameter
|
|
9773
|
+
*/
|
|
9774
|
+
literal?: pulumi.Input<string | undefined>;
|
|
9775
|
+
/**
|
|
9776
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9777
|
+
*/
|
|
9778
|
+
reference?: pulumi.Input<string | undefined>;
|
|
9779
|
+
}
|
|
9780
|
+
export interface EscalationPathRepeatConfig {
|
|
9781
|
+
/**
|
|
9782
|
+
* When true, incident activity resets the repeat timer.
|
|
9783
|
+
*/
|
|
9784
|
+
delayRepeatOnActivity: pulumi.Input<boolean>;
|
|
9785
|
+
/**
|
|
9786
|
+
* Number of seconds we'll wait before repeating an escalation.
|
|
9787
|
+
*/
|
|
9788
|
+
repeatAfterSeconds: pulumi.Input<number>;
|
|
9789
|
+
}
|
|
9790
|
+
export interface EscalationPathSequences {
|
|
9791
|
+
/**
|
|
9792
|
+
* The nodes in this sequence, in the order they run.
|
|
9793
|
+
*/
|
|
9794
|
+
nodes: pulumi.Input<pulumi.Input<inputs.EscalationPathSequencesNode>[]>;
|
|
9795
|
+
}
|
|
9796
|
+
export interface EscalationPathSequencesNode {
|
|
9797
|
+
/**
|
|
9798
|
+
* Send the escalation down one of two sequences, depending on what `if` tests. A branch must be the last node in its sequence.
|
|
9799
|
+
*/
|
|
9800
|
+
branch?: pulumi.Input<inputs.EscalationPathSequencesNodeBranch | undefined>;
|
|
9801
|
+
delay?: pulumi.Input<inputs.EscalationPathSequencesNodeDelay | undefined>;
|
|
9802
|
+
/**
|
|
9803
|
+
* Reassign the escalation to another escalation path, continuing from that path's first node.
|
|
9804
|
+
*/
|
|
9805
|
+
escalationPath?: pulumi.Input<inputs.EscalationPathSequencesNodeEscalationPath | undefined>;
|
|
9806
|
+
/**
|
|
9807
|
+
* An id for this node, unique within the escalation path, so a `loop` can name it. Leave it unset unless something loops back here: we derive one from the node's position, which keeps it stable across applies.
|
|
9808
|
+
*/
|
|
9809
|
+
id?: pulumi.Input<string | undefined>;
|
|
9810
|
+
level?: pulumi.Input<inputs.EscalationPathSequencesNodeLevel | undefined>;
|
|
9811
|
+
/**
|
|
9812
|
+
* Go back to an earlier node and run from there again. A loop must be the last node in its sequence, or be followed by a single `escalationPath` node to reassign to once it has run out of repeats.
|
|
9813
|
+
*/
|
|
9814
|
+
loop?: pulumi.Input<inputs.EscalationPathSequencesNodeLoop | undefined>;
|
|
9815
|
+
notifyChannel?: pulumi.Input<inputs.EscalationPathSequencesNodeNotifyChannel | undefined>;
|
|
9816
|
+
}
|
|
9817
|
+
export interface EscalationPathSequencesNodeBranch {
|
|
9818
|
+
/**
|
|
9819
|
+
* The key of the sequence to continue down when the condition is not met. Leave unset to end the escalation path instead.
|
|
9820
|
+
*/
|
|
9821
|
+
else?: pulumi.Input<string | undefined>;
|
|
9822
|
+
/**
|
|
9823
|
+
* What the branch tests. Set exactly one of these: a branch tests one thing, so combining them means nesting a second branch inside the first.
|
|
9824
|
+
*/
|
|
9825
|
+
if: pulumi.Input<inputs.EscalationPathSequencesNodeBranchIf>;
|
|
9826
|
+
/**
|
|
9827
|
+
* The key of the sequence to continue down when the condition is met.
|
|
9828
|
+
*/
|
|
9829
|
+
then: pulumi.Input<string>;
|
|
9830
|
+
}
|
|
9831
|
+
export interface EscalationPathSequencesNodeBranchIf {
|
|
9832
|
+
/**
|
|
9833
|
+
* Alert priority ids, met when the escalation came in at one of them.
|
|
9834
|
+
*/
|
|
9835
|
+
priorityOneOfs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
9836
|
+
/**
|
|
9837
|
+
* The `id` of one of this escalation path's `workingHours`, met while those hours are active.
|
|
9838
|
+
*/
|
|
9839
|
+
workingHoursActive?: pulumi.Input<string | undefined>;
|
|
9840
|
+
}
|
|
9841
|
+
export interface EscalationPathSequencesNodeDelay {
|
|
9842
|
+
/**
|
|
9843
|
+
* If the delay is relative to a time window, this defines whether we advance when the window is active or inactive. Possible values are: `active`, `inactive`.
|
|
9844
|
+
*/
|
|
9845
|
+
delayIntervalCondition?: pulumi.Input<string | undefined>;
|
|
9846
|
+
/**
|
|
9847
|
+
* How long to delay before advancing to the next node in the path, in seconds
|
|
9848
|
+
*/
|
|
9849
|
+
delaySeconds?: pulumi.Input<number | undefined>;
|
|
9850
|
+
/**
|
|
9851
|
+
* If the delay is relative to a time window, this identifies which window it is relative to
|
|
9852
|
+
*/
|
|
9853
|
+
delayWeekdayIntervalConfigId?: pulumi.Input<string | undefined>;
|
|
9854
|
+
}
|
|
9855
|
+
export interface EscalationPathSequencesNodeEscalationPath {
|
|
9856
|
+
/**
|
|
9857
|
+
* The ID of the escalation path to reassign to
|
|
9858
|
+
*/
|
|
9859
|
+
escalationPathId: pulumi.Input<string>;
|
|
9860
|
+
}
|
|
9861
|
+
export interface EscalationPathSequencesNodeLevel {
|
|
9862
|
+
/**
|
|
9863
|
+
* Controls the behaviour of acknowledgements for this level, with 'first' cancelling all other escalations on the same level when someone acks. Possible values are: `all`, `first`.
|
|
9864
|
+
*/
|
|
9865
|
+
ackMode?: pulumi.Input<string | undefined>;
|
|
9866
|
+
retryConfig?: pulumi.Input<inputs.EscalationPathSequencesNodeLevelRetryConfig | undefined>;
|
|
9867
|
+
roundRobinConfig?: pulumi.Input<inputs.EscalationPathSequencesNodeLevelRoundRobinConfig | undefined>;
|
|
9868
|
+
/**
|
|
9869
|
+
* The targets (users or schedules) for this level
|
|
9870
|
+
*/
|
|
9871
|
+
targets: pulumi.Input<pulumi.Input<inputs.EscalationPathSequencesNodeLevelTarget>[]>;
|
|
9872
|
+
/**
|
|
9873
|
+
* If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive. Possible values are: `active`, `inactive`.
|
|
9874
|
+
*/
|
|
9875
|
+
timeToAckIntervalCondition?: pulumi.Input<string | undefined>;
|
|
9876
|
+
/**
|
|
9877
|
+
* How long should we wait for this level to acknowledge before proceeding to the next node in the path?
|
|
9878
|
+
*/
|
|
9879
|
+
timeToAckSeconds?: pulumi.Input<number | undefined>;
|
|
9880
|
+
/**
|
|
9881
|
+
* If the time to ack is relative to a time window, this identifies which window it is relative to
|
|
9882
|
+
*/
|
|
9883
|
+
timeToAckWeekdayIntervalConfigId?: pulumi.Input<string | undefined>;
|
|
9884
|
+
}
|
|
9885
|
+
export interface EscalationPathSequencesNodeLevelRetryConfig {
|
|
9886
|
+
/**
|
|
9887
|
+
* The total number of times we page this level, counting the initial page. For example, 3 means three notifications in total. Must be between 2 and 10.
|
|
9888
|
+
*/
|
|
9889
|
+
attempts: pulumi.Input<number>;
|
|
9890
|
+
/**
|
|
9891
|
+
* How long we wait between attempts at this level, in seconds. Must be a whole number of minutes (divisible by 60).
|
|
9892
|
+
*/
|
|
9893
|
+
intervalSeconds: pulumi.Input<number>;
|
|
9894
|
+
}
|
|
9895
|
+
export interface EscalationPathSequencesNodeLevelRoundRobinConfig {
|
|
9896
|
+
/**
|
|
9897
|
+
* Whether round robin is enabled for this level
|
|
9898
|
+
*/
|
|
9899
|
+
enabled: pulumi.Input<boolean>;
|
|
9900
|
+
/**
|
|
9901
|
+
* How long should we wait before rotating to the next target in a round robin, if not set will stick with a single target per level.
|
|
9902
|
+
*/
|
|
9903
|
+
rotateAfterSeconds?: pulumi.Input<number | undefined>;
|
|
9904
|
+
}
|
|
9905
|
+
export interface EscalationPathSequencesNodeLevelTarget {
|
|
9906
|
+
/**
|
|
9907
|
+
* Uniquely identifies an entity of this type
|
|
9908
|
+
*/
|
|
9909
|
+
id: pulumi.Input<string>;
|
|
9910
|
+
/**
|
|
9911
|
+
* Only set for schedule targets, this specifies which users to fetch from the schedule. Use currently*on*call to notify whoever is on call right now across the schedule, all*users to notify every user attached to the schedule, or all*users*for*rota / currently*on*call*for*rota / next*on*call*for*rota to scope to a specific rota (in which case selected*rota*id is required). next*on*call notifies whoever is next on call across the schedule. Possible values are: `currentlyOnCall`, `allUsersForRota`, `allUsers`, `currentlyOnCallForRota`, `nextOnCallForRota`, `nextOnCall`.
|
|
9912
|
+
*/
|
|
9913
|
+
scheduleMode?: pulumi.Input<string | undefined>;
|
|
9914
|
+
/**
|
|
9915
|
+
* For schedule targets, identifies which rota on the schedule the schedule*mode applies to. Required when schedule*mode is all*users*for*rota, currently*on*call*for*rota, or next*on*call*for*rota; must be omitted for other schedule*mode values.
|
|
9916
|
+
*/
|
|
9917
|
+
selectedRotaId?: pulumi.Input<string | undefined>;
|
|
9918
|
+
/**
|
|
9919
|
+
* Controls what type of entity this target identifies, such as EscalationPolicy or User. Possible values are: `schedule`, `user`, `slackChannel`, `msteamsChannel`.
|
|
9920
|
+
*/
|
|
9921
|
+
type: pulumi.Input<string>;
|
|
9922
|
+
/**
|
|
9923
|
+
* The urgency of this escalation path target. Possible values are: `high`, `low`.
|
|
9924
|
+
*/
|
|
9925
|
+
urgency: pulumi.Input<string>;
|
|
9926
|
+
}
|
|
9927
|
+
export interface EscalationPathSequencesNodeLoop {
|
|
9928
|
+
/**
|
|
9929
|
+
* The `id` of the node to repeat from.
|
|
9930
|
+
*/
|
|
9931
|
+
backTo: pulumi.Input<string>;
|
|
9932
|
+
/**
|
|
9933
|
+
* How many times to repeat these nodes
|
|
9934
|
+
*/
|
|
9935
|
+
times: pulumi.Input<number>;
|
|
9936
|
+
}
|
|
9937
|
+
export interface EscalationPathSequencesNodeNotifyChannel {
|
|
9938
|
+
/**
|
|
9939
|
+
* The targets (Slack channels) for this level
|
|
9940
|
+
*/
|
|
9941
|
+
targets: pulumi.Input<pulumi.Input<inputs.EscalationPathSequencesNodeNotifyChannelTarget>[]>;
|
|
9942
|
+
/**
|
|
9943
|
+
* If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive. Possible values are: `active`, `inactive`.
|
|
9944
|
+
*/
|
|
9945
|
+
timeToAckIntervalCondition?: pulumi.Input<string | undefined>;
|
|
9946
|
+
/**
|
|
9947
|
+
* How long should we wait for this level to acknowledge before moving on to the next node in the path?
|
|
9948
|
+
*/
|
|
9949
|
+
timeToAckSeconds?: pulumi.Input<number | undefined>;
|
|
9950
|
+
/**
|
|
9951
|
+
* If the time to ack is relative to a time window, this identifies which window it is relative to
|
|
9952
|
+
*/
|
|
9953
|
+
timeToAckWeekdayIntervalConfigId?: pulumi.Input<string | undefined>;
|
|
9954
|
+
}
|
|
9955
|
+
export interface EscalationPathSequencesNodeNotifyChannelTarget {
|
|
9956
|
+
/**
|
|
9957
|
+
* Uniquely identifies an entity of this type
|
|
9958
|
+
*/
|
|
9959
|
+
id: pulumi.Input<string>;
|
|
9960
|
+
/**
|
|
9961
|
+
* Only set for schedule targets, this specifies which users to fetch from the schedule. Use currently*on*call to notify whoever is on call right now across the schedule, all*users to notify every user attached to the schedule, or all*users*for*rota / currently*on*call*for*rota / next*on*call*for*rota to scope to a specific rota (in which case selected*rota*id is required). next*on*call notifies whoever is next on call across the schedule. Possible values are: `currentlyOnCall`, `allUsersForRota`, `allUsers`, `currentlyOnCallForRota`, `nextOnCallForRota`, `nextOnCall`.
|
|
9962
|
+
*/
|
|
9963
|
+
scheduleMode?: pulumi.Input<string | undefined>;
|
|
9964
|
+
/**
|
|
9965
|
+
* For schedule targets, identifies which rota on the schedule the schedule*mode applies to. Required when schedule*mode is all*users*for*rota, currently*on*call*for*rota, or next*on*call*for*rota; must be omitted for other schedule*mode values.
|
|
9966
|
+
*/
|
|
9967
|
+
selectedRotaId?: pulumi.Input<string | undefined>;
|
|
9968
|
+
/**
|
|
9969
|
+
* Controls what type of entity this target identifies, such as EscalationPolicy or User. Possible values are: `schedule`, `user`, `slackChannel`, `msteamsChannel`.
|
|
9970
|
+
*/
|
|
9971
|
+
type: pulumi.Input<string>;
|
|
9972
|
+
/**
|
|
9973
|
+
* The urgency of this escalation path target. Possible values are: `high`, `low`.
|
|
9974
|
+
*/
|
|
9975
|
+
urgency: pulumi.Input<string>;
|
|
9976
|
+
}
|
|
9977
|
+
export interface EscalationPathTemplateExpression {
|
|
9978
|
+
/**
|
|
9979
|
+
* The else branch to resort to if all operations fail
|
|
9980
|
+
*/
|
|
9981
|
+
elseBranch?: pulumi.Input<inputs.EscalationPathTemplateExpressionElseBranch | undefined>;
|
|
9982
|
+
/**
|
|
9983
|
+
* The human readable label of the expression
|
|
9984
|
+
*/
|
|
9985
|
+
label: pulumi.Input<string>;
|
|
9986
|
+
/**
|
|
9987
|
+
* The operations to execute in sequence for this expression
|
|
9988
|
+
*/
|
|
9989
|
+
operations: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperation>[]>;
|
|
9990
|
+
/**
|
|
9991
|
+
* A short ID that can be used to reference the expression
|
|
9992
|
+
*/
|
|
9993
|
+
reference: pulumi.Input<string>;
|
|
9994
|
+
/**
|
|
9995
|
+
* The root reference for this expression (i.e. where the expression starts)
|
|
9996
|
+
*/
|
|
9997
|
+
rootReference: pulumi.Input<string>;
|
|
9998
|
+
}
|
|
9999
|
+
export interface EscalationPathTemplateExpressionElseBranch {
|
|
10000
|
+
/**
|
|
10001
|
+
* The result assumed if the else branch is reached
|
|
10002
|
+
*/
|
|
10003
|
+
result: pulumi.Input<inputs.EscalationPathTemplateExpressionElseBranchResult>;
|
|
10004
|
+
}
|
|
10005
|
+
export interface EscalationPathTemplateExpressionElseBranchResult {
|
|
10006
|
+
/**
|
|
10007
|
+
* The array of literal or reference parameter values
|
|
10008
|
+
*/
|
|
10009
|
+
arrayValues?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionElseBranchResultArrayValue>[] | undefined>;
|
|
10010
|
+
/**
|
|
10011
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10012
|
+
*/
|
|
10013
|
+
expressionRef?: pulumi.Input<string | undefined>;
|
|
10014
|
+
/**
|
|
10015
|
+
* The literal or reference parameter value
|
|
10016
|
+
*/
|
|
10017
|
+
value?: pulumi.Input<inputs.EscalationPathTemplateExpressionElseBranchResultValue | undefined>;
|
|
10018
|
+
/**
|
|
10019
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10020
|
+
*/
|
|
10021
|
+
valueLiteral?: pulumi.Input<string | undefined>;
|
|
10022
|
+
/**
|
|
10023
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10024
|
+
*/
|
|
10025
|
+
valueReference?: pulumi.Input<string | undefined>;
|
|
10026
|
+
/**
|
|
10027
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10028
|
+
*/
|
|
10029
|
+
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
10030
|
+
}
|
|
10031
|
+
export interface EscalationPathTemplateExpressionElseBranchResultArrayValue {
|
|
10032
|
+
/**
|
|
10033
|
+
* If set, this is the literal value of the step parameter
|
|
10034
|
+
*/
|
|
10035
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10036
|
+
/**
|
|
10037
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10038
|
+
*/
|
|
10039
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10040
|
+
}
|
|
10041
|
+
export interface EscalationPathTemplateExpressionElseBranchResultValue {
|
|
10042
|
+
/**
|
|
10043
|
+
* If set, this is the literal value of the step parameter
|
|
10044
|
+
*/
|
|
10045
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10046
|
+
/**
|
|
10047
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10048
|
+
*/
|
|
10049
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10050
|
+
}
|
|
10051
|
+
export interface EscalationPathTemplateExpressionOperation {
|
|
10052
|
+
/**
|
|
10053
|
+
* An operation type that allows for a value to be set conditionally by a series of logical branches
|
|
10054
|
+
*/
|
|
10055
|
+
branches?: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranches | undefined>;
|
|
10056
|
+
/**
|
|
10057
|
+
* An operation type that converts a value into another type. Only valid on values that can be represented as text. The returned `array` follows the value being cast, so it must match the cardinality of the previous operation
|
|
10058
|
+
*/
|
|
10059
|
+
cast?: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationCast | undefined>;
|
|
10060
|
+
/**
|
|
10061
|
+
* An operation type that adds the values behind another reference to the current value, keeping each value once. There is no delimiter, despite the name
|
|
10062
|
+
*/
|
|
10063
|
+
concatenate?: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationConcatenate | undefined>;
|
|
10064
|
+
/**
|
|
10065
|
+
* An operation type that allows values to be filtered out by conditions
|
|
10066
|
+
*/
|
|
10067
|
+
filter?: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationFilter | undefined>;
|
|
10068
|
+
/**
|
|
10069
|
+
* An operation type that allows attributes of a type to be accessed by reference
|
|
10070
|
+
*/
|
|
10071
|
+
navigate?: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationNavigate | undefined>;
|
|
10072
|
+
/**
|
|
10073
|
+
* Indicates which operation type to execute. Possible values are: `navigate`, `filter`, `concatenate`, `count`, `min`, `max`, `sum`, `random`, `first`, `parse`, `branches`, `cast`.
|
|
10074
|
+
*/
|
|
10075
|
+
operationType: pulumi.Input<string>;
|
|
10076
|
+
/**
|
|
10077
|
+
* An operation type that allows a value to parsed from within a JSON object
|
|
10078
|
+
*/
|
|
10079
|
+
parse?: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationParse | undefined>;
|
|
10080
|
+
}
|
|
10081
|
+
export interface EscalationPathTemplateExpressionOperationBranches {
|
|
10082
|
+
/**
|
|
10083
|
+
* The branches to apply for this operation
|
|
10084
|
+
*/
|
|
10085
|
+
branches: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesBranch>[]>;
|
|
10086
|
+
/**
|
|
10087
|
+
* The return type of an operation
|
|
10088
|
+
*/
|
|
10089
|
+
returns: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesReturns>;
|
|
10090
|
+
}
|
|
10091
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranch {
|
|
10092
|
+
/**
|
|
10093
|
+
* Groups of prerequisite conditions. All conditions in at least one group must be satisfied
|
|
10094
|
+
*/
|
|
10095
|
+
conditionGroups: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroup>[]>;
|
|
10096
|
+
/**
|
|
10097
|
+
* The result assumed if the condition groups are satisfied
|
|
10098
|
+
*/
|
|
10099
|
+
result: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesBranchResult>;
|
|
10100
|
+
}
|
|
10101
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroup {
|
|
10102
|
+
/**
|
|
10103
|
+
* The prerequisite conditions that must all be satisfied
|
|
10104
|
+
*/
|
|
10105
|
+
conditions: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupCondition>[]>;
|
|
10106
|
+
}
|
|
10107
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupCondition {
|
|
10108
|
+
/**
|
|
10109
|
+
* The logical operation to be applied
|
|
10110
|
+
*/
|
|
10111
|
+
operation: pulumi.Input<string>;
|
|
10112
|
+
/**
|
|
10113
|
+
* Bindings for the operation parameters
|
|
10114
|
+
*/
|
|
10115
|
+
paramBindings: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding>[]>;
|
|
10116
|
+
/**
|
|
10117
|
+
* The subject of the condition, on which the operation is applied
|
|
10118
|
+
*/
|
|
10119
|
+
subject: pulumi.Input<string>;
|
|
10120
|
+
}
|
|
10121
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding {
|
|
10122
|
+
/**
|
|
10123
|
+
* The array of literal or reference parameter values
|
|
10124
|
+
*/
|
|
10125
|
+
arrayValues?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue>[] | undefined>;
|
|
10126
|
+
/**
|
|
10127
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10128
|
+
*/
|
|
10129
|
+
expressionRef?: pulumi.Input<string | undefined>;
|
|
10130
|
+
/**
|
|
10131
|
+
* The literal or reference parameter value
|
|
10132
|
+
*/
|
|
10133
|
+
value?: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue | undefined>;
|
|
10134
|
+
/**
|
|
10135
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10136
|
+
*/
|
|
10137
|
+
valueLiteral?: pulumi.Input<string | undefined>;
|
|
10138
|
+
/**
|
|
10139
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10140
|
+
*/
|
|
10141
|
+
valueReference?: pulumi.Input<string | undefined>;
|
|
10142
|
+
/**
|
|
10143
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10144
|
+
*/
|
|
10145
|
+
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
10146
|
+
}
|
|
10147
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue {
|
|
10148
|
+
/**
|
|
10149
|
+
* If set, this is the literal value of the step parameter
|
|
10150
|
+
*/
|
|
10151
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10152
|
+
/**
|
|
10153
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10154
|
+
*/
|
|
10155
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10156
|
+
}
|
|
10157
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue {
|
|
10158
|
+
/**
|
|
10159
|
+
* If set, this is the literal value of the step parameter
|
|
10160
|
+
*/
|
|
10161
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10162
|
+
/**
|
|
10163
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10164
|
+
*/
|
|
10165
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10166
|
+
}
|
|
10167
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchResult {
|
|
10168
|
+
/**
|
|
10169
|
+
* The array of literal or reference parameter values
|
|
10170
|
+
*/
|
|
10171
|
+
arrayValues?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesBranchResultArrayValue>[] | undefined>;
|
|
10172
|
+
/**
|
|
10173
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10174
|
+
*/
|
|
10175
|
+
expressionRef?: pulumi.Input<string | undefined>;
|
|
10176
|
+
/**
|
|
10177
|
+
* The literal or reference parameter value
|
|
10178
|
+
*/
|
|
10179
|
+
value?: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationBranchesBranchResultValue | undefined>;
|
|
10180
|
+
/**
|
|
10181
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10182
|
+
*/
|
|
10183
|
+
valueLiteral?: pulumi.Input<string | undefined>;
|
|
10184
|
+
/**
|
|
10185
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10186
|
+
*/
|
|
10187
|
+
valueReference?: pulumi.Input<string | undefined>;
|
|
10188
|
+
/**
|
|
10189
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10190
|
+
*/
|
|
10191
|
+
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
10192
|
+
}
|
|
10193
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchResultArrayValue {
|
|
10194
|
+
/**
|
|
10195
|
+
* If set, this is the literal value of the step parameter
|
|
10196
|
+
*/
|
|
10197
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10198
|
+
/**
|
|
10199
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10200
|
+
*/
|
|
10201
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10202
|
+
}
|
|
10203
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchResultValue {
|
|
10204
|
+
/**
|
|
10205
|
+
* If set, this is the literal value of the step parameter
|
|
10206
|
+
*/
|
|
10207
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10208
|
+
/**
|
|
10209
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10210
|
+
*/
|
|
10211
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10212
|
+
}
|
|
10213
|
+
export interface EscalationPathTemplateExpressionOperationBranchesReturns {
|
|
10214
|
+
/**
|
|
10215
|
+
* Whether the return value should be single or multi-value
|
|
10216
|
+
*/
|
|
10217
|
+
array: pulumi.Input<boolean>;
|
|
10218
|
+
/**
|
|
10219
|
+
* Expected return type of this expression (what to try casting the result to)
|
|
10220
|
+
*/
|
|
10221
|
+
type: pulumi.Input<string>;
|
|
10222
|
+
}
|
|
10223
|
+
export interface EscalationPathTemplateExpressionOperationCast {
|
|
10224
|
+
/**
|
|
10225
|
+
* The return type of an operation
|
|
10226
|
+
*/
|
|
10227
|
+
returns: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationCastReturns>;
|
|
10228
|
+
}
|
|
10229
|
+
export interface EscalationPathTemplateExpressionOperationCastReturns {
|
|
10230
|
+
/**
|
|
10231
|
+
* Whether the return value should be single or multi-value
|
|
10232
|
+
*/
|
|
10233
|
+
array: pulumi.Input<boolean>;
|
|
10234
|
+
/**
|
|
10235
|
+
* Expected return type of this expression (what to try casting the result to)
|
|
10236
|
+
*/
|
|
10237
|
+
type: pulumi.Input<string>;
|
|
10238
|
+
}
|
|
10239
|
+
export interface EscalationPathTemplateExpressionOperationConcatenate {
|
|
10240
|
+
/**
|
|
10241
|
+
* The reference within the scope to concatenate with
|
|
10242
|
+
*/
|
|
10243
|
+
reference: pulumi.Input<string>;
|
|
10244
|
+
}
|
|
10245
|
+
export interface EscalationPathTemplateExpressionOperationFilter {
|
|
10246
|
+
/**
|
|
10247
|
+
* Groups of prerequisite conditions. All conditions in at least one group must be satisfied
|
|
10248
|
+
*/
|
|
10249
|
+
conditionGroups: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationFilterConditionGroup>[]>;
|
|
10250
|
+
}
|
|
10251
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroup {
|
|
10252
|
+
/**
|
|
10253
|
+
* The prerequisite conditions that must all be satisfied
|
|
10254
|
+
*/
|
|
10255
|
+
conditions: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationFilterConditionGroupCondition>[]>;
|
|
10256
|
+
}
|
|
10257
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroupCondition {
|
|
10258
|
+
/**
|
|
10259
|
+
* The logical operation to be applied
|
|
10260
|
+
*/
|
|
10261
|
+
operation: pulumi.Input<string>;
|
|
10262
|
+
/**
|
|
10263
|
+
* Bindings for the operation parameters
|
|
10264
|
+
*/
|
|
10265
|
+
paramBindings: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBinding>[]>;
|
|
10266
|
+
/**
|
|
10267
|
+
* The subject of the condition, on which the operation is applied
|
|
10268
|
+
*/
|
|
10269
|
+
subject: pulumi.Input<string>;
|
|
10270
|
+
}
|
|
10271
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBinding {
|
|
10272
|
+
/**
|
|
10273
|
+
* The array of literal or reference parameter values
|
|
10274
|
+
*/
|
|
10275
|
+
arrayValues?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValue>[] | undefined>;
|
|
10276
|
+
/**
|
|
10277
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10278
|
+
*/
|
|
10279
|
+
expressionRef?: pulumi.Input<string | undefined>;
|
|
10280
|
+
/**
|
|
10281
|
+
* The literal or reference parameter value
|
|
10282
|
+
*/
|
|
10283
|
+
value?: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBindingValue | undefined>;
|
|
10284
|
+
/**
|
|
10285
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10286
|
+
*/
|
|
10287
|
+
valueLiteral?: pulumi.Input<string | undefined>;
|
|
10288
|
+
/**
|
|
10289
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10290
|
+
*/
|
|
10291
|
+
valueReference?: pulumi.Input<string | undefined>;
|
|
10292
|
+
/**
|
|
10293
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10294
|
+
*/
|
|
10295
|
+
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
10296
|
+
}
|
|
10297
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValue {
|
|
10298
|
+
/**
|
|
10299
|
+
* If set, this is the literal value of the step parameter
|
|
10300
|
+
*/
|
|
10301
|
+
literal?: pulumi.Input<string | undefined>;
|
|
9509
10302
|
/**
|
|
9510
|
-
* If
|
|
10303
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9511
10304
|
*/
|
|
9512
|
-
|
|
10305
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10306
|
+
}
|
|
10307
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBindingValue {
|
|
9513
10308
|
/**
|
|
9514
|
-
*
|
|
10309
|
+
* If set, this is the literal value of the step parameter
|
|
9515
10310
|
*/
|
|
9516
|
-
|
|
10311
|
+
literal?: pulumi.Input<string | undefined>;
|
|
9517
10312
|
/**
|
|
9518
|
-
* If
|
|
10313
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9519
10314
|
*/
|
|
9520
|
-
|
|
10315
|
+
reference?: pulumi.Input<string | undefined>;
|
|
9521
10316
|
}
|
|
9522
|
-
export interface
|
|
10317
|
+
export interface EscalationPathTemplateExpressionOperationNavigate {
|
|
10318
|
+
reference: pulumi.Input<string>;
|
|
10319
|
+
}
|
|
10320
|
+
export interface EscalationPathTemplateExpressionOperationParse {
|
|
9523
10321
|
/**
|
|
9524
|
-
*
|
|
10322
|
+
* The return type of an operation
|
|
9525
10323
|
*/
|
|
9526
|
-
|
|
10324
|
+
returns: pulumi.Input<inputs.EscalationPathTemplateExpressionOperationParseReturns>;
|
|
9527
10325
|
/**
|
|
9528
|
-
*
|
|
10326
|
+
* The ES5 Javascript expression to execute
|
|
9529
10327
|
*/
|
|
9530
|
-
|
|
10328
|
+
source: pulumi.Input<string>;
|
|
10329
|
+
}
|
|
10330
|
+
export interface EscalationPathTemplateExpressionOperationParseReturns {
|
|
9531
10331
|
/**
|
|
9532
|
-
*
|
|
10332
|
+
* Whether the return value should be single or multi-value
|
|
9533
10333
|
*/
|
|
9534
|
-
|
|
10334
|
+
array: pulumi.Input<boolean>;
|
|
9535
10335
|
/**
|
|
9536
|
-
*
|
|
10336
|
+
* Expected return type of this expression (what to try casting the result to)
|
|
9537
10337
|
*/
|
|
9538
10338
|
type: pulumi.Input<string>;
|
|
9539
|
-
/**
|
|
9540
|
-
* The urgency of this escalation path target. Possible values are: `high`, `low`.
|
|
9541
|
-
*/
|
|
9542
|
-
urgency: pulumi.Input<string>;
|
|
9543
10339
|
}
|
|
9544
|
-
export interface
|
|
9545
|
-
/**
|
|
9546
|
-
* The unique identifier for this set of working intervals
|
|
9547
|
-
*/
|
|
9548
|
-
id: pulumi.Input<string>;
|
|
10340
|
+
export interface EscalationPathTemplateParams {
|
|
9549
10341
|
/**
|
|
9550
|
-
*
|
|
10342
|
+
* Whether this parameter is an array
|
|
9551
10343
|
*/
|
|
9552
|
-
|
|
10344
|
+
array?: pulumi.Input<boolean | undefined>;
|
|
9553
10345
|
/**
|
|
9554
|
-
*
|
|
10346
|
+
* A string describing the param
|
|
9555
10347
|
*/
|
|
9556
|
-
|
|
9557
|
-
weekdayIntervals: pulumi.Input<pulumi.Input<inputs.EscalationPathBetaWorkingHourWeekdayInterval>[]>;
|
|
9558
|
-
}
|
|
9559
|
-
export interface EscalationPathBetaWorkingHourWeekdayInterval {
|
|
10348
|
+
description?: pulumi.Input<string | undefined>;
|
|
9560
10349
|
/**
|
|
9561
|
-
*
|
|
10350
|
+
* Human readable label for this parameter
|
|
9562
10351
|
*/
|
|
9563
|
-
|
|
10352
|
+
label: pulumi.Input<string>;
|
|
9564
10353
|
/**
|
|
9565
|
-
*
|
|
10354
|
+
* Whether this parameter is optional
|
|
9566
10355
|
*/
|
|
9567
|
-
|
|
10356
|
+
optional?: pulumi.Input<boolean | undefined>;
|
|
9568
10357
|
/**
|
|
9569
|
-
*
|
|
10358
|
+
* The type of the parameter A schedule is `CatalogEntry["Schedule"]`, a user `CatalogEntry["User"]`, and a catalog type is `CatalogEntry["<type id>"]`.
|
|
9570
10359
|
*/
|
|
9571
|
-
|
|
10360
|
+
type: pulumi.Input<string>;
|
|
9572
10361
|
}
|
|
9573
|
-
export interface
|
|
10362
|
+
export interface EscalationPathTemplateRepeatConfig {
|
|
9574
10363
|
/**
|
|
9575
10364
|
* When true, incident activity resets the repeat timer.
|
|
9576
10365
|
*/
|
|
@@ -9580,34 +10369,34 @@ export interface EscalationPathRepeatConfig {
|
|
|
9580
10369
|
*/
|
|
9581
10370
|
repeatAfterSeconds: pulumi.Input<number>;
|
|
9582
10371
|
}
|
|
9583
|
-
export interface
|
|
10372
|
+
export interface EscalationPathTemplateSequences {
|
|
9584
10373
|
/**
|
|
9585
10374
|
* The nodes in this sequence, in the order they run.
|
|
9586
10375
|
*/
|
|
9587
|
-
nodes: pulumi.Input<pulumi.Input<inputs.
|
|
10376
|
+
nodes: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateSequencesNode>[]>;
|
|
9588
10377
|
}
|
|
9589
|
-
export interface
|
|
10378
|
+
export interface EscalationPathTemplateSequencesNode {
|
|
9590
10379
|
/**
|
|
9591
10380
|
* Send the escalation down one of two sequences, depending on what `if` tests. A branch must be the last node in its sequence.
|
|
9592
10381
|
*/
|
|
9593
|
-
branch?: pulumi.Input<inputs.
|
|
9594
|
-
delay?: pulumi.Input<inputs.
|
|
10382
|
+
branch?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeBranch | undefined>;
|
|
10383
|
+
delay?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeDelay | undefined>;
|
|
9595
10384
|
/**
|
|
9596
10385
|
* Reassign the escalation to another escalation path, continuing from that path's first node.
|
|
9597
10386
|
*/
|
|
9598
|
-
escalationPath?: pulumi.Input<inputs.
|
|
10387
|
+
escalationPath?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeEscalationPath | undefined>;
|
|
9599
10388
|
/**
|
|
9600
10389
|
* An id for this node, unique within the escalation path, so a `loop` can name it. Leave it unset unless something loops back here: we derive one from the node's position, which keeps it stable across applies.
|
|
9601
10390
|
*/
|
|
9602
10391
|
id?: pulumi.Input<string | undefined>;
|
|
9603
|
-
level?: pulumi.Input<inputs.
|
|
10392
|
+
level?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeLevel | undefined>;
|
|
9604
10393
|
/**
|
|
9605
|
-
* Go back to an earlier node and run from there again.
|
|
10394
|
+
* Go back to an earlier node and run from there again. A loop must be the last node in its sequence, or be followed by a single `escalationPath` node to reassign to once it has run out of repeats.
|
|
9606
10395
|
*/
|
|
9607
|
-
loop?: pulumi.Input<inputs.
|
|
9608
|
-
notifyChannel?: pulumi.Input<inputs.
|
|
10396
|
+
loop?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeLoop | undefined>;
|
|
10397
|
+
notifyChannel?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeNotifyChannel | undefined>;
|
|
9609
10398
|
}
|
|
9610
|
-
export interface
|
|
10399
|
+
export interface EscalationPathTemplateSequencesNodeBranch {
|
|
9611
10400
|
/**
|
|
9612
10401
|
* The key of the sequence to continue down when the condition is not met. Leave unset to end the escalation path instead.
|
|
9613
10402
|
*/
|
|
@@ -9615,13 +10404,13 @@ export interface EscalationPathSequencesNodeBranch {
|
|
|
9615
10404
|
/**
|
|
9616
10405
|
* What the branch tests. Set exactly one of these: a branch tests one thing, so combining them means nesting a second branch inside the first.
|
|
9617
10406
|
*/
|
|
9618
|
-
if: pulumi.Input<inputs.
|
|
10407
|
+
if: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeBranchIf>;
|
|
9619
10408
|
/**
|
|
9620
10409
|
* The key of the sequence to continue down when the condition is met.
|
|
9621
10410
|
*/
|
|
9622
10411
|
then: pulumi.Input<string>;
|
|
9623
10412
|
}
|
|
9624
|
-
export interface
|
|
10413
|
+
export interface EscalationPathTemplateSequencesNodeBranchIf {
|
|
9625
10414
|
/**
|
|
9626
10415
|
* Alert priority ids, met when the escalation came in at one of them.
|
|
9627
10416
|
*/
|
|
@@ -9631,7 +10420,7 @@ export interface EscalationPathSequencesNodeBranchIf {
|
|
|
9631
10420
|
*/
|
|
9632
10421
|
workingHoursActive?: pulumi.Input<string | undefined>;
|
|
9633
10422
|
}
|
|
9634
|
-
export interface
|
|
10423
|
+
export interface EscalationPathTemplateSequencesNodeDelay {
|
|
9635
10424
|
/**
|
|
9636
10425
|
* If the delay is relative to a time window, this defines whether we advance when the window is active or inactive. Possible values are: `active`, `inactive`.
|
|
9637
10426
|
*/
|
|
@@ -9645,23 +10434,23 @@ export interface EscalationPathSequencesNodeDelay {
|
|
|
9645
10434
|
*/
|
|
9646
10435
|
delayWeekdayIntervalConfigId?: pulumi.Input<string | undefined>;
|
|
9647
10436
|
}
|
|
9648
|
-
export interface
|
|
10437
|
+
export interface EscalationPathTemplateSequencesNodeEscalationPath {
|
|
9649
10438
|
/**
|
|
9650
10439
|
* The ID of the escalation path to reassign to
|
|
9651
10440
|
*/
|
|
9652
10441
|
escalationPathId: pulumi.Input<string>;
|
|
9653
10442
|
}
|
|
9654
|
-
export interface
|
|
10443
|
+
export interface EscalationPathTemplateSequencesNodeLevel {
|
|
9655
10444
|
/**
|
|
9656
10445
|
* Controls the behaviour of acknowledgements for this level, with 'first' cancelling all other escalations on the same level when someone acks. Possible values are: `all`, `first`.
|
|
9657
10446
|
*/
|
|
9658
10447
|
ackMode?: pulumi.Input<string | undefined>;
|
|
9659
|
-
retryConfig?: pulumi.Input<inputs.
|
|
9660
|
-
roundRobinConfig?: pulumi.Input<inputs.
|
|
10448
|
+
retryConfig?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeLevelRetryConfig | undefined>;
|
|
10449
|
+
roundRobinConfig?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeLevelRoundRobinConfig | undefined>;
|
|
9661
10450
|
/**
|
|
9662
|
-
* The targets (users or schedules)
|
|
10451
|
+
* The targets (users or schedules), each concrete or a parameter binding.
|
|
9663
10452
|
*/
|
|
9664
|
-
targets: pulumi.Input<pulumi.Input<inputs.
|
|
10453
|
+
targets: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateSequencesNodeLevelTarget>[]>;
|
|
9665
10454
|
/**
|
|
9666
10455
|
* If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive. Possible values are: `active`, `inactive`.
|
|
9667
10456
|
*/
|
|
@@ -9675,7 +10464,7 @@ export interface EscalationPathSequencesNodeLevel {
|
|
|
9675
10464
|
*/
|
|
9676
10465
|
timeToAckWeekdayIntervalConfigId?: pulumi.Input<string | undefined>;
|
|
9677
10466
|
}
|
|
9678
|
-
export interface
|
|
10467
|
+
export interface EscalationPathTemplateSequencesNodeLevelRetryConfig {
|
|
9679
10468
|
/**
|
|
9680
10469
|
* The total number of times we page this level, counting the initial page. For example, 3 means three notifications in total. Must be between 2 and 10.
|
|
9681
10470
|
*/
|
|
@@ -9685,7 +10474,7 @@ export interface EscalationPathSequencesNodeLevelRetryConfig {
|
|
|
9685
10474
|
*/
|
|
9686
10475
|
intervalSeconds: pulumi.Input<number>;
|
|
9687
10476
|
}
|
|
9688
|
-
export interface
|
|
10477
|
+
export interface EscalationPathTemplateSequencesNodeLevelRoundRobinConfig {
|
|
9689
10478
|
/**
|
|
9690
10479
|
* Whether round robin is enabled for this level
|
|
9691
10480
|
*/
|
|
@@ -9695,17 +10484,21 @@ export interface EscalationPathSequencesNodeLevelRoundRobinConfig {
|
|
|
9695
10484
|
*/
|
|
9696
10485
|
rotateAfterSeconds?: pulumi.Input<number | undefined>;
|
|
9697
10486
|
}
|
|
9698
|
-
export interface
|
|
10487
|
+
export interface EscalationPathTemplateSequencesNodeLevelTarget {
|
|
9699
10488
|
/**
|
|
9700
|
-
*
|
|
10489
|
+
* Who this target resolves to, decided per templated path. `valueReference` names one of the template's `params`, and `expressionRef` one of its `expressions`. Set exactly one of `id` and `binding`.
|
|
9701
10490
|
*/
|
|
9702
|
-
|
|
10491
|
+
binding?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeLevelTargetBinding | undefined>;
|
|
9703
10492
|
/**
|
|
9704
|
-
*
|
|
10493
|
+
* Uniquely identifies a concrete target. Omitted when binding is set. Set exactly one of `id` and `binding`.
|
|
10494
|
+
*/
|
|
10495
|
+
id?: pulumi.Input<string | undefined>;
|
|
10496
|
+
/**
|
|
10497
|
+
* Only set for schedule targets, this specifies which users to fetch from the schedule. Possible values are: `currentlyOnCall`, `allUsersForRota`, `allUsers`, `currentlyOnCallForRota`, `nextOnCallForRota`, `nextOnCall`.
|
|
9705
10498
|
*/
|
|
9706
10499
|
scheduleMode?: pulumi.Input<string | undefined>;
|
|
9707
10500
|
/**
|
|
9708
|
-
* For schedule
|
|
10501
|
+
* For a schedule target with a rota-scoped `scheduleMode`, the rota to page. A bound target can leave this unset and bind to an expression that navigates the schedule's `rotations` and filters them by name instead.
|
|
9709
10502
|
*/
|
|
9710
10503
|
selectedRotaId?: pulumi.Input<string | undefined>;
|
|
9711
10504
|
/**
|
|
@@ -9717,7 +10510,53 @@ export interface EscalationPathSequencesNodeLevelTarget {
|
|
|
9717
10510
|
*/
|
|
9718
10511
|
urgency: pulumi.Input<string>;
|
|
9719
10512
|
}
|
|
9720
|
-
export interface
|
|
10513
|
+
export interface EscalationPathTemplateSequencesNodeLevelTargetBinding {
|
|
10514
|
+
/**
|
|
10515
|
+
* The array of literal or reference parameter values
|
|
10516
|
+
*/
|
|
10517
|
+
arrayValues?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateSequencesNodeLevelTargetBindingArrayValue>[] | undefined>;
|
|
10518
|
+
/**
|
|
10519
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10520
|
+
*/
|
|
10521
|
+
expressionRef?: pulumi.Input<string | undefined>;
|
|
10522
|
+
/**
|
|
10523
|
+
* The literal or reference parameter value
|
|
10524
|
+
*/
|
|
10525
|
+
value?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeLevelTargetBindingValue | undefined>;
|
|
10526
|
+
/**
|
|
10527
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10528
|
+
*/
|
|
10529
|
+
valueLiteral?: pulumi.Input<string | undefined>;
|
|
10530
|
+
/**
|
|
10531
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10532
|
+
*/
|
|
10533
|
+
valueReference?: pulumi.Input<string | undefined>;
|
|
10534
|
+
/**
|
|
10535
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10536
|
+
*/
|
|
10537
|
+
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
10538
|
+
}
|
|
10539
|
+
export interface EscalationPathTemplateSequencesNodeLevelTargetBindingArrayValue {
|
|
10540
|
+
/**
|
|
10541
|
+
* If set, this is the literal value of the step parameter
|
|
10542
|
+
*/
|
|
10543
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10544
|
+
/**
|
|
10545
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10546
|
+
*/
|
|
10547
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10548
|
+
}
|
|
10549
|
+
export interface EscalationPathTemplateSequencesNodeLevelTargetBindingValue {
|
|
10550
|
+
/**
|
|
10551
|
+
* If set, this is the literal value of the step parameter
|
|
10552
|
+
*/
|
|
10553
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10554
|
+
/**
|
|
10555
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10556
|
+
*/
|
|
10557
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10558
|
+
}
|
|
10559
|
+
export interface EscalationPathTemplateSequencesNodeLoop {
|
|
9721
10560
|
/**
|
|
9722
10561
|
* The `id` of the node to repeat from.
|
|
9723
10562
|
*/
|
|
@@ -9727,11 +10566,11 @@ export interface EscalationPathSequencesNodeLoop {
|
|
|
9727
10566
|
*/
|
|
9728
10567
|
times: pulumi.Input<number>;
|
|
9729
10568
|
}
|
|
9730
|
-
export interface
|
|
10569
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannel {
|
|
9731
10570
|
/**
|
|
9732
|
-
* The
|
|
10571
|
+
* The channels to notify, each concrete or a parameter binding.
|
|
9733
10572
|
*/
|
|
9734
|
-
targets: pulumi.Input<pulumi.Input<inputs.
|
|
10573
|
+
targets: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateSequencesNodeNotifyChannelTarget>[]>;
|
|
9735
10574
|
/**
|
|
9736
10575
|
* If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive. Possible values are: `active`, `inactive`.
|
|
9737
10576
|
*/
|
|
@@ -9745,17 +10584,21 @@ export interface EscalationPathSequencesNodeNotifyChannel {
|
|
|
9745
10584
|
*/
|
|
9746
10585
|
timeToAckWeekdayIntervalConfigId?: pulumi.Input<string | undefined>;
|
|
9747
10586
|
}
|
|
9748
|
-
export interface
|
|
10587
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannelTarget {
|
|
9749
10588
|
/**
|
|
9750
|
-
*
|
|
10589
|
+
* Who this target resolves to, decided per templated path. `valueReference` names one of the template's `params`, and `expressionRef` one of its `expressions`. Set exactly one of `id` and `binding`.
|
|
9751
10590
|
*/
|
|
9752
|
-
|
|
10591
|
+
binding?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeNotifyChannelTargetBinding | undefined>;
|
|
9753
10592
|
/**
|
|
9754
|
-
*
|
|
10593
|
+
* Uniquely identifies a concrete target. Omitted when binding is set. Set exactly one of `id` and `binding`.
|
|
10594
|
+
*/
|
|
10595
|
+
id?: pulumi.Input<string | undefined>;
|
|
10596
|
+
/**
|
|
10597
|
+
* Only set for schedule targets, this specifies which users to fetch from the schedule. Possible values are: `currentlyOnCall`, `allUsersForRota`, `allUsers`, `currentlyOnCallForRota`, `nextOnCallForRota`, `nextOnCall`.
|
|
9755
10598
|
*/
|
|
9756
10599
|
scheduleMode?: pulumi.Input<string | undefined>;
|
|
9757
10600
|
/**
|
|
9758
|
-
* For schedule
|
|
10601
|
+
* For a schedule target with a rota-scoped `scheduleMode`, the rota to page. A bound target can leave this unset and bind to an expression that navigates the schedule's `rotations` and filters them by name instead.
|
|
9759
10602
|
*/
|
|
9760
10603
|
selectedRotaId?: pulumi.Input<string | undefined>;
|
|
9761
10604
|
/**
|
|
@@ -9767,6 +10610,81 @@ export interface EscalationPathSequencesNodeNotifyChannelTarget {
|
|
|
9767
10610
|
*/
|
|
9768
10611
|
urgency: pulumi.Input<string>;
|
|
9769
10612
|
}
|
|
10613
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannelTargetBinding {
|
|
10614
|
+
/**
|
|
10615
|
+
* The array of literal or reference parameter values
|
|
10616
|
+
*/
|
|
10617
|
+
arrayValues?: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateSequencesNodeNotifyChannelTargetBindingArrayValue>[] | undefined>;
|
|
10618
|
+
/**
|
|
10619
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10620
|
+
*/
|
|
10621
|
+
expressionRef?: pulumi.Input<string | undefined>;
|
|
10622
|
+
/**
|
|
10623
|
+
* The literal or reference parameter value
|
|
10624
|
+
*/
|
|
10625
|
+
value?: pulumi.Input<inputs.EscalationPathTemplateSequencesNodeNotifyChannelTargetBindingValue | undefined>;
|
|
10626
|
+
/**
|
|
10627
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10628
|
+
*/
|
|
10629
|
+
valueLiteral?: pulumi.Input<string | undefined>;
|
|
10630
|
+
/**
|
|
10631
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10632
|
+
*/
|
|
10633
|
+
valueReference?: pulumi.Input<string | undefined>;
|
|
10634
|
+
/**
|
|
10635
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10636
|
+
*/
|
|
10637
|
+
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
10638
|
+
}
|
|
10639
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannelTargetBindingArrayValue {
|
|
10640
|
+
/**
|
|
10641
|
+
* If set, this is the literal value of the step parameter
|
|
10642
|
+
*/
|
|
10643
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10644
|
+
/**
|
|
10645
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10646
|
+
*/
|
|
10647
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10648
|
+
}
|
|
10649
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannelTargetBindingValue {
|
|
10650
|
+
/**
|
|
10651
|
+
* If set, this is the literal value of the step parameter
|
|
10652
|
+
*/
|
|
10653
|
+
literal?: pulumi.Input<string | undefined>;
|
|
10654
|
+
/**
|
|
10655
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10656
|
+
*/
|
|
10657
|
+
reference?: pulumi.Input<string | undefined>;
|
|
10658
|
+
}
|
|
10659
|
+
export interface EscalationPathTemplateWorkingHour {
|
|
10660
|
+
/**
|
|
10661
|
+
* The unique identifier for this set of working intervals
|
|
10662
|
+
*/
|
|
10663
|
+
id: pulumi.Input<string>;
|
|
10664
|
+
/**
|
|
10665
|
+
* A human readable label for this set of working intervals
|
|
10666
|
+
*/
|
|
10667
|
+
name: pulumi.Input<string>;
|
|
10668
|
+
/**
|
|
10669
|
+
* How to interpret all the intervals
|
|
10670
|
+
*/
|
|
10671
|
+
timezone: pulumi.Input<string>;
|
|
10672
|
+
weekdayIntervals: pulumi.Input<pulumi.Input<inputs.EscalationPathTemplateWorkingHourWeekdayInterval>[]>;
|
|
10673
|
+
}
|
|
10674
|
+
export interface EscalationPathTemplateWorkingHourWeekdayInterval {
|
|
10675
|
+
/**
|
|
10676
|
+
* End time of the interval, in 24hr format
|
|
10677
|
+
*/
|
|
10678
|
+
endTime: pulumi.Input<string>;
|
|
10679
|
+
/**
|
|
10680
|
+
* Start time of the interval, in 24hr format
|
|
10681
|
+
*/
|
|
10682
|
+
startTime: pulumi.Input<string>;
|
|
10683
|
+
/**
|
|
10684
|
+
* Weekdays for use within a schedule or escalation path. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
|
|
10685
|
+
*/
|
|
10686
|
+
weekday: pulumi.Input<string>;
|
|
10687
|
+
}
|
|
9770
10688
|
export interface EscalationPathWorkingHour {
|
|
9771
10689
|
/**
|
|
9772
10690
|
* The unique identifier for this set of working intervals
|
|
@@ -22024,11 +22942,55 @@ export interface MaintenanceWindowNotifyChannel {
|
|
|
22024
22942
|
*/
|
|
22025
22943
|
channelType: pulumi.Input<string>;
|
|
22026
22944
|
}
|
|
22945
|
+
export interface PayConfigOneOffRule {
|
|
22946
|
+
/**
|
|
22947
|
+
* When this rule stops applying, as an RFC 3339 timestamp.
|
|
22948
|
+
*/
|
|
22949
|
+
endAt: pulumi.Input<string>;
|
|
22950
|
+
/**
|
|
22951
|
+
* Unique identifier for this rule, stable across edits to the config
|
|
22952
|
+
*/
|
|
22953
|
+
id?: pulumi.Input<string | undefined>;
|
|
22954
|
+
/**
|
|
22955
|
+
* Human readable name for this rule
|
|
22956
|
+
*/
|
|
22957
|
+
name: pulumi.Input<string>;
|
|
22958
|
+
/**
|
|
22959
|
+
* Rate paid while this rule applies, in the lowest denomination of the config's currency
|
|
22960
|
+
*/
|
|
22961
|
+
rateCents: pulumi.Input<number>;
|
|
22962
|
+
/**
|
|
22963
|
+
* When this rule starts applying, as an RFC 3339 timestamp. Any offset works: the API reports the same moment in UTC, and that is not a change.
|
|
22964
|
+
*/
|
|
22965
|
+
startAt: pulumi.Input<string>;
|
|
22966
|
+
}
|
|
22967
|
+
export interface PayConfigWeeklyRule {
|
|
22968
|
+
/**
|
|
22969
|
+
* Time of day this rule ends, in 24 hour format, as `HH:MM`. It is read on the same day as `startTime`, so it must be later in that day, or `00:00` for midnight at the end of it — `00:00` to `00:00` is the whole day. A rule that runs past midnight is written as two: one ending at `00:00`, and one starting there on the following days.
|
|
22970
|
+
*/
|
|
22971
|
+
endTime: pulumi.Input<string>;
|
|
22972
|
+
/**
|
|
22973
|
+
* Unique identifier for this rule, stable across edits to the config
|
|
22974
|
+
*/
|
|
22975
|
+
id?: pulumi.Input<string | undefined>;
|
|
22976
|
+
/**
|
|
22977
|
+
* Rate paid while this rule applies, in the lowest denomination of the config's currency
|
|
22978
|
+
*/
|
|
22979
|
+
rateCents: pulumi.Input<number>;
|
|
22980
|
+
/**
|
|
22981
|
+
* Time of day this rule starts, in 24 hour format, as `HH:MM`.
|
|
22982
|
+
*/
|
|
22983
|
+
startTime: pulumi.Input<string>;
|
|
22984
|
+
/**
|
|
22985
|
+
* Days of the week this rule applies on. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
|
|
22986
|
+
*/
|
|
22987
|
+
weekdays: pulumi.Input<pulumi.Input<string>[]>;
|
|
22988
|
+
}
|
|
22027
22989
|
export interface PolicyAssignmentRules {
|
|
22028
22990
|
/**
|
|
22029
|
-
* Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
|
|
22991
|
+
* Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values. Required, except on a policy type that assigns the user the finding is about, where it cannot be set.
|
|
22030
22992
|
*/
|
|
22031
|
-
bindings
|
|
22993
|
+
bindings?: pulumi.Input<pulumi.Input<inputs.PolicyAssignmentRulesBinding>[] | undefined>;
|
|
22032
22994
|
/**
|
|
22033
22995
|
* A recurring reminder, which repeats once per interval until the finding is resolved.
|
|
22034
22996
|
*/
|
|
@@ -23103,6 +24065,36 @@ export interface ScheduleSyncTargetNewSlackUserGroup {
|
|
|
23103
24065
|
*/
|
|
23104
24066
|
slackTeamId?: pulumi.Input<string | undefined>;
|
|
23105
24067
|
}
|
|
24068
|
+
export interface TeamGroupingPreferenceDefault {
|
|
24069
|
+
/**
|
|
24070
|
+
* How a team's alerts are grouped together, on every alert route
|
|
24071
|
+
*/
|
|
24072
|
+
settings: pulumi.Input<inputs.TeamGroupingPreferenceDefaultSettings>;
|
|
24073
|
+
}
|
|
24074
|
+
export interface TeamGroupingPreferenceDefaultSettings {
|
|
24075
|
+
/**
|
|
24076
|
+
* Whether the team's alerts are grouped. When false, none of the team's alerts are grouped, regardless of any alert route grouping config.
|
|
24077
|
+
*/
|
|
24078
|
+
enabled: pulumi.Input<boolean>;
|
|
24079
|
+
/**
|
|
24080
|
+
* Which alert attributes the team's alerts are grouped by. Only set when grouping is enabled.
|
|
24081
|
+
*/
|
|
24082
|
+
groupingKeys?: pulumi.Input<pulumi.Input<inputs.TeamGroupingPreferenceDefaultSettingsGroupingKey>[] | undefined>;
|
|
24083
|
+
/**
|
|
24084
|
+
* How long the grouping window is, in seconds. Must be between 60 (1 minute) and 172800 (48 hours). Only set when grouping is enabled.
|
|
24085
|
+
*/
|
|
24086
|
+
windowSeconds?: pulumi.Input<number | undefined>;
|
|
24087
|
+
/**
|
|
24088
|
+
* How the grouping window behaves. 'rolling' keeps the window open for window*seconds after the most recent alert, so the group stays open as long as alerts keep arriving. 'fixed' opens the window when the first alert arrives and always closes window*seconds later. Only set when grouping is enabled. Possible values are: `rolling`, `fixed`.
|
|
24089
|
+
*/
|
|
24090
|
+
windowType?: pulumi.Input<string | undefined>;
|
|
24091
|
+
}
|
|
24092
|
+
export interface TeamGroupingPreferenceDefaultSettingsGroupingKey {
|
|
24093
|
+
/**
|
|
24094
|
+
* A reference to a property of the alert to group on
|
|
24095
|
+
*/
|
|
24096
|
+
reference: pulumi.Input<string>;
|
|
24097
|
+
}
|
|
23106
24098
|
export interface WorkflowConditionGroup {
|
|
23107
24099
|
/**
|
|
23108
24100
|
* The prerequisite conditions that must all be satisfied
|