@incident-io/pulumi 0.1.2 → 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/output.d.ts
CHANGED
|
@@ -330,6 +330,9 @@ export interface AlertRouteEscalationConfig {
|
|
|
330
330
|
* Targets for escalation
|
|
331
331
|
*/
|
|
332
332
|
escalationTargets: outputs.AlertRouteEscalationConfigEscalationTarget[];
|
|
333
|
+
/**
|
|
334
|
+
* 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.
|
|
335
|
+
*/
|
|
333
336
|
whenAlertJoinsGroup: outputs.AlertRouteEscalationConfigWhenAlertJoinsGroup;
|
|
334
337
|
}
|
|
335
338
|
export interface AlertRouteEscalationConfigEscalationTarget {
|
|
@@ -9275,6 +9278,118 @@ export interface AlertSourceVisibleToTeamsValue {
|
|
|
9275
9278
|
*/
|
|
9276
9279
|
reference?: string;
|
|
9277
9280
|
}
|
|
9281
|
+
export interface AnnouncementRuleConditionGroup {
|
|
9282
|
+
/**
|
|
9283
|
+
* The prerequisite conditions that must all be satisfied
|
|
9284
|
+
*/
|
|
9285
|
+
conditions: outputs.AnnouncementRuleConditionGroupCondition[];
|
|
9286
|
+
}
|
|
9287
|
+
export interface AnnouncementRuleConditionGroupCondition {
|
|
9288
|
+
/**
|
|
9289
|
+
* The logical operation to be applied
|
|
9290
|
+
*/
|
|
9291
|
+
operation: string;
|
|
9292
|
+
/**
|
|
9293
|
+
* Bindings for the operation parameters
|
|
9294
|
+
*/
|
|
9295
|
+
paramBindings: outputs.AnnouncementRuleConditionGroupConditionParamBinding[];
|
|
9296
|
+
/**
|
|
9297
|
+
* The subject of the condition, on which the operation is applied
|
|
9298
|
+
*/
|
|
9299
|
+
subject: string;
|
|
9300
|
+
}
|
|
9301
|
+
export interface AnnouncementRuleConditionGroupConditionParamBinding {
|
|
9302
|
+
/**
|
|
9303
|
+
* The array of literal or reference parameter values
|
|
9304
|
+
*/
|
|
9305
|
+
arrayValues?: outputs.AnnouncementRuleConditionGroupConditionParamBindingArrayValue[];
|
|
9306
|
+
/**
|
|
9307
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
9308
|
+
*/
|
|
9309
|
+
expressionRef?: string;
|
|
9310
|
+
/**
|
|
9311
|
+
* The literal or reference parameter value
|
|
9312
|
+
*/
|
|
9313
|
+
value?: outputs.AnnouncementRuleConditionGroupConditionParamBindingValue;
|
|
9314
|
+
/**
|
|
9315
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
9316
|
+
*/
|
|
9317
|
+
valueLiteral?: string;
|
|
9318
|
+
/**
|
|
9319
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
9320
|
+
*/
|
|
9321
|
+
valueReference?: string;
|
|
9322
|
+
/**
|
|
9323
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
9324
|
+
*/
|
|
9325
|
+
values?: string[];
|
|
9326
|
+
}
|
|
9327
|
+
export interface AnnouncementRuleConditionGroupConditionParamBindingArrayValue {
|
|
9328
|
+
/**
|
|
9329
|
+
* If set, this is the literal value of the step parameter
|
|
9330
|
+
*/
|
|
9331
|
+
literal?: string;
|
|
9332
|
+
/**
|
|
9333
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9334
|
+
*/
|
|
9335
|
+
reference?: string;
|
|
9336
|
+
}
|
|
9337
|
+
export interface AnnouncementRuleConditionGroupConditionParamBindingValue {
|
|
9338
|
+
/**
|
|
9339
|
+
* If set, this is the literal value of the step parameter
|
|
9340
|
+
*/
|
|
9341
|
+
literal?: string;
|
|
9342
|
+
/**
|
|
9343
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9344
|
+
*/
|
|
9345
|
+
reference?: string;
|
|
9346
|
+
}
|
|
9347
|
+
export interface AnnouncementTemplateAction {
|
|
9348
|
+
/**
|
|
9349
|
+
* Type of this action. Possible values are: `announcementPostActionsHomepage`, `announcementPostActionsSubscribe`, `announcementPostActionsJoinCall`, `announcementPostActionsJiraTicket`, `announcementPostActionsInternalStatusPage`, `announcementPostActionsPublicStatusPage`, `announcementPostActionsPostmortem`, `announcementPostActionsCreateChannel`, `announcementPostActionsViewAlert`, `announcementPostActionsTriage`, `announcementPostActionsEscalate`, `announcementPostActionsShareUpdate`, `announcementPostActionsUpdateStatus`, `announcementPostActionsRequestAccess`.
|
|
9350
|
+
*/
|
|
9351
|
+
actionType: string;
|
|
9352
|
+
/**
|
|
9353
|
+
* Emoji shown on this action's button, as a Slack emoji name
|
|
9354
|
+
*/
|
|
9355
|
+
emoji?: string;
|
|
9356
|
+
}
|
|
9357
|
+
export interface AnnouncementTemplateField {
|
|
9358
|
+
/**
|
|
9359
|
+
* ID of the custom field to show. Required for custom field fields.
|
|
9360
|
+
*/
|
|
9361
|
+
customFieldId?: string;
|
|
9362
|
+
/**
|
|
9363
|
+
* Emoji shown next to this field, as a Slack emoji name
|
|
9364
|
+
*/
|
|
9365
|
+
emoji?: string;
|
|
9366
|
+
/**
|
|
9367
|
+
* Type of this field. Possible values are: `announcementPostFieldsStatus`, `announcementPostFieldsIncidentType`, `announcementPostFieldsSeverity`, `announcementPostFieldsRole`, `announcementPostFieldsDescription`, `announcementPostFieldsCustomField`, `announcementPostFieldsTimestamp`, `announcementPostFieldsCreator`, `announcementPostFieldsSlack`, `announcementPostFieldsRichText`.
|
|
9368
|
+
*/
|
|
9369
|
+
fieldType: string;
|
|
9370
|
+
/**
|
|
9371
|
+
* ID of the incident role to show. Required for incident role fields.
|
|
9372
|
+
*/
|
|
9373
|
+
incidentRoleId?: string;
|
|
9374
|
+
/**
|
|
9375
|
+
* ID of the incident timestamp to show. Required for incident timestamp fields.
|
|
9376
|
+
*/
|
|
9377
|
+
incidentTimestampId?: string;
|
|
9378
|
+
/**
|
|
9379
|
+
* Content of a rich text field. The type says how contents is written.
|
|
9380
|
+
*/
|
|
9381
|
+
richText?: outputs.AnnouncementTemplateFieldRichText;
|
|
9382
|
+
}
|
|
9383
|
+
export interface AnnouncementTemplateFieldRichText {
|
|
9384
|
+
/**
|
|
9385
|
+
* The content, as markdown. Write incident variables as {{name}}, e.g. {{incident.reference}}.
|
|
9386
|
+
*/
|
|
9387
|
+
contents: string;
|
|
9388
|
+
/**
|
|
9389
|
+
* How contents is written. Only markdown is supported today. Possible values are: `markdown`.
|
|
9390
|
+
*/
|
|
9391
|
+
type: string;
|
|
9392
|
+
}
|
|
9278
9393
|
export interface CatalogEntriesEntries {
|
|
9279
9394
|
/**
|
|
9280
9395
|
* Optional aliases that can be used to reference this entry
|
|
@@ -9343,6 +9458,52 @@ export interface CustomFieldFixedFilter {
|
|
|
9343
9458
|
*/
|
|
9344
9459
|
values: string[];
|
|
9345
9460
|
}
|
|
9461
|
+
export interface EscalationPathBetaParamBindings {
|
|
9462
|
+
/**
|
|
9463
|
+
* The array of literal or reference parameter values
|
|
9464
|
+
*/
|
|
9465
|
+
arrayValues?: outputs.EscalationPathBetaParamBindingsArrayValue[];
|
|
9466
|
+
/**
|
|
9467
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
9468
|
+
*/
|
|
9469
|
+
expressionRef?: string;
|
|
9470
|
+
/**
|
|
9471
|
+
* The literal or reference parameter value
|
|
9472
|
+
*/
|
|
9473
|
+
value?: outputs.EscalationPathBetaParamBindingsValue;
|
|
9474
|
+
/**
|
|
9475
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
9476
|
+
*/
|
|
9477
|
+
valueLiteral?: string;
|
|
9478
|
+
/**
|
|
9479
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
9480
|
+
*/
|
|
9481
|
+
valueReference?: string;
|
|
9482
|
+
/**
|
|
9483
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
9484
|
+
*/
|
|
9485
|
+
values?: string[];
|
|
9486
|
+
}
|
|
9487
|
+
export interface EscalationPathBetaParamBindingsArrayValue {
|
|
9488
|
+
/**
|
|
9489
|
+
* If set, this is the literal value of the step parameter
|
|
9490
|
+
*/
|
|
9491
|
+
literal?: string;
|
|
9492
|
+
/**
|
|
9493
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9494
|
+
*/
|
|
9495
|
+
reference?: string;
|
|
9496
|
+
}
|
|
9497
|
+
export interface EscalationPathBetaParamBindingsValue {
|
|
9498
|
+
/**
|
|
9499
|
+
* If set, this is the literal value of the step parameter
|
|
9500
|
+
*/
|
|
9501
|
+
literal?: string;
|
|
9502
|
+
/**
|
|
9503
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9504
|
+
*/
|
|
9505
|
+
reference?: string;
|
|
9506
|
+
}
|
|
9346
9507
|
export interface EscalationPathBetaRepeatConfig {
|
|
9347
9508
|
/**
|
|
9348
9509
|
* When true, incident activity resets the repeat timer.
|
|
@@ -9375,7 +9536,7 @@ export interface EscalationPathBetaSequencesNode {
|
|
|
9375
9536
|
id?: string;
|
|
9376
9537
|
level?: outputs.EscalationPathBetaSequencesNodeLevel;
|
|
9377
9538
|
/**
|
|
9378
|
-
* Go back to an earlier node and run from there again.
|
|
9539
|
+
* 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.
|
|
9379
9540
|
*/
|
|
9380
9541
|
loop?: outputs.EscalationPathBetaSequencesNodeLoop;
|
|
9381
9542
|
notifyChannel?: outputs.EscalationPathBetaSequencesNodeNotifyChannel;
|
|
@@ -9569,6 +9730,52 @@ export interface EscalationPathBetaWorkingHourWeekdayInterval {
|
|
|
9569
9730
|
*/
|
|
9570
9731
|
weekday: string;
|
|
9571
9732
|
}
|
|
9733
|
+
export interface EscalationPathParamBindings {
|
|
9734
|
+
/**
|
|
9735
|
+
* The array of literal or reference parameter values
|
|
9736
|
+
*/
|
|
9737
|
+
arrayValues?: outputs.EscalationPathParamBindingsArrayValue[];
|
|
9738
|
+
/**
|
|
9739
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
9740
|
+
*/
|
|
9741
|
+
expressionRef?: string;
|
|
9742
|
+
/**
|
|
9743
|
+
* The literal or reference parameter value
|
|
9744
|
+
*/
|
|
9745
|
+
value?: outputs.EscalationPathParamBindingsValue;
|
|
9746
|
+
/**
|
|
9747
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
9748
|
+
*/
|
|
9749
|
+
valueLiteral?: string;
|
|
9750
|
+
/**
|
|
9751
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
9752
|
+
*/
|
|
9753
|
+
valueReference?: string;
|
|
9754
|
+
/**
|
|
9755
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
9756
|
+
*/
|
|
9757
|
+
values?: string[];
|
|
9758
|
+
}
|
|
9759
|
+
export interface EscalationPathParamBindingsArrayValue {
|
|
9760
|
+
/**
|
|
9761
|
+
* If set, this is the literal value of the step parameter
|
|
9762
|
+
*/
|
|
9763
|
+
literal?: string;
|
|
9764
|
+
/**
|
|
9765
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9766
|
+
*/
|
|
9767
|
+
reference?: string;
|
|
9768
|
+
}
|
|
9769
|
+
export interface EscalationPathParamBindingsValue {
|
|
9770
|
+
/**
|
|
9771
|
+
* If set, this is the literal value of the step parameter
|
|
9772
|
+
*/
|
|
9773
|
+
literal?: string;
|
|
9774
|
+
/**
|
|
9775
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9776
|
+
*/
|
|
9777
|
+
reference?: string;
|
|
9778
|
+
}
|
|
9572
9779
|
export interface EscalationPathRepeatConfig {
|
|
9573
9780
|
/**
|
|
9574
9781
|
* When true, incident activity resets the repeat timer.
|
|
@@ -9601,7 +9808,7 @@ export interface EscalationPathSequencesNode {
|
|
|
9601
9808
|
id?: string;
|
|
9602
9809
|
level?: outputs.EscalationPathSequencesNodeLevel;
|
|
9603
9810
|
/**
|
|
9604
|
-
* Go back to an earlier node and run from there again.
|
|
9811
|
+
* 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.
|
|
9605
9812
|
*/
|
|
9606
9813
|
loop?: outputs.EscalationPathSequencesNodeLoop;
|
|
9607
9814
|
notifyChannel?: outputs.EscalationPathSequencesNodeNotifyChannel;
|
|
@@ -9766,102 +9973,813 @@ export interface EscalationPathSequencesNodeNotifyChannelTarget {
|
|
|
9766
9973
|
*/
|
|
9767
9974
|
urgency: string;
|
|
9768
9975
|
}
|
|
9769
|
-
export interface
|
|
9976
|
+
export interface EscalationPathTemplateExpression {
|
|
9770
9977
|
/**
|
|
9771
|
-
* The
|
|
9978
|
+
* The else branch to resort to if all operations fail
|
|
9772
9979
|
*/
|
|
9773
|
-
|
|
9980
|
+
elseBranch?: outputs.EscalationPathTemplateExpressionElseBranch;
|
|
9774
9981
|
/**
|
|
9775
|
-
*
|
|
9982
|
+
* The human readable label of the expression
|
|
9776
9983
|
*/
|
|
9777
|
-
|
|
9984
|
+
label: string;
|
|
9778
9985
|
/**
|
|
9779
|
-
*
|
|
9986
|
+
* The operations to execute in sequence for this expression
|
|
9780
9987
|
*/
|
|
9781
|
-
|
|
9782
|
-
weekdayIntervals: outputs.EscalationPathWorkingHourWeekdayInterval[];
|
|
9783
|
-
}
|
|
9784
|
-
export interface EscalationPathWorkingHourWeekdayInterval {
|
|
9988
|
+
operations: outputs.EscalationPathTemplateExpressionOperation[];
|
|
9785
9989
|
/**
|
|
9786
|
-
*
|
|
9990
|
+
* A short ID that can be used to reference the expression
|
|
9787
9991
|
*/
|
|
9788
|
-
|
|
9992
|
+
reference: string;
|
|
9789
9993
|
/**
|
|
9790
|
-
*
|
|
9994
|
+
* The root reference for this expression (i.e. where the expression starts)
|
|
9791
9995
|
*/
|
|
9792
|
-
|
|
9996
|
+
rootReference: string;
|
|
9997
|
+
}
|
|
9998
|
+
export interface EscalationPathTemplateExpressionElseBranch {
|
|
9793
9999
|
/**
|
|
9794
|
-
*
|
|
10000
|
+
* The result assumed if the else branch is reached
|
|
9795
10001
|
*/
|
|
9796
|
-
|
|
10002
|
+
result: outputs.EscalationPathTemplateExpressionElseBranchResult;
|
|
9797
10003
|
}
|
|
9798
|
-
export interface
|
|
10004
|
+
export interface EscalationPathTemplateExpressionElseBranchResult {
|
|
9799
10005
|
/**
|
|
9800
|
-
*
|
|
10006
|
+
* The array of literal or reference parameter values
|
|
9801
10007
|
*/
|
|
9802
|
-
|
|
10008
|
+
arrayValues?: outputs.EscalationPathTemplateExpressionElseBranchResultArrayValue[];
|
|
9803
10009
|
/**
|
|
9804
|
-
*
|
|
10010
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
9805
10011
|
*/
|
|
9806
|
-
|
|
9807
|
-
}
|
|
9808
|
-
export interface GetAlertSourceAttributeBetaArrayValue {
|
|
10012
|
+
expressionRef?: string;
|
|
9809
10013
|
/**
|
|
9810
|
-
*
|
|
10014
|
+
* The literal or reference parameter value
|
|
9811
10015
|
*/
|
|
9812
|
-
|
|
10016
|
+
value?: outputs.EscalationPathTemplateExpressionElseBranchResultValue;
|
|
9813
10017
|
/**
|
|
9814
|
-
* A
|
|
10018
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
9815
10019
|
*/
|
|
9816
|
-
|
|
9817
|
-
}
|
|
9818
|
-
export interface GetAlertSourceAttributeBetaExpression {
|
|
10020
|
+
valueLiteral?: string;
|
|
9819
10021
|
/**
|
|
9820
|
-
*
|
|
10022
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
9821
10023
|
*/
|
|
9822
|
-
|
|
10024
|
+
valueReference?: string;
|
|
9823
10025
|
/**
|
|
9824
|
-
*
|
|
10026
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
9825
10027
|
*/
|
|
9826
|
-
|
|
10028
|
+
values?: string[];
|
|
10029
|
+
}
|
|
10030
|
+
export interface EscalationPathTemplateExpressionElseBranchResultArrayValue {
|
|
9827
10031
|
/**
|
|
9828
|
-
*
|
|
10032
|
+
* If set, this is the literal value of the step parameter
|
|
9829
10033
|
*/
|
|
9830
|
-
|
|
10034
|
+
literal?: string;
|
|
10035
|
+
/**
|
|
10036
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10037
|
+
*/
|
|
10038
|
+
reference?: string;
|
|
9831
10039
|
}
|
|
9832
|
-
export interface
|
|
10040
|
+
export interface EscalationPathTemplateExpressionElseBranchResultValue {
|
|
9833
10041
|
/**
|
|
9834
|
-
*
|
|
10042
|
+
* If set, this is the literal value of the step parameter
|
|
9835
10043
|
*/
|
|
9836
|
-
|
|
10044
|
+
literal?: string;
|
|
9837
10045
|
/**
|
|
9838
|
-
*
|
|
10046
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
9839
10047
|
*/
|
|
9840
|
-
|
|
10048
|
+
reference?: string;
|
|
10049
|
+
}
|
|
10050
|
+
export interface EscalationPathTemplateExpressionOperation {
|
|
9841
10051
|
/**
|
|
9842
|
-
*
|
|
10052
|
+
* An operation type that allows for a value to be set conditionally by a series of logical branches
|
|
9843
10053
|
*/
|
|
9844
|
-
|
|
10054
|
+
branches?: outputs.EscalationPathTemplateExpressionOperationBranches;
|
|
9845
10055
|
/**
|
|
9846
|
-
*
|
|
10056
|
+
* 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
|
|
9847
10057
|
*/
|
|
9848
|
-
|
|
10058
|
+
cast?: outputs.EscalationPathTemplateExpressionOperationCast;
|
|
9849
10059
|
/**
|
|
9850
|
-
*
|
|
10060
|
+
* 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
|
|
9851
10061
|
*/
|
|
9852
|
-
|
|
9853
|
-
}
|
|
9854
|
-
export interface GetAlertSourceAttributeBetaExpressionFallbackElse {
|
|
10062
|
+
concatenate?: outputs.EscalationPathTemplateExpressionOperationConcatenate;
|
|
9855
10063
|
/**
|
|
9856
|
-
*
|
|
10064
|
+
* An operation type that allows values to be filtered out by conditions
|
|
9857
10065
|
*/
|
|
9858
|
-
|
|
9859
|
-
}
|
|
9860
|
-
export interface GetAlertSourceAttributeBetaExpressionFallbackElseIf {
|
|
10066
|
+
filter?: outputs.EscalationPathTemplateExpressionOperationFilter;
|
|
9861
10067
|
/**
|
|
9862
|
-
*
|
|
10068
|
+
* An operation type that allows attributes of a type to be accessed by reference
|
|
9863
10069
|
*/
|
|
9864
|
-
|
|
10070
|
+
navigate?: outputs.EscalationPathTemplateExpressionOperationNavigate;
|
|
10071
|
+
/**
|
|
10072
|
+
* Indicates which operation type to execute. Possible values are: `navigate`, `filter`, `concatenate`, `count`, `min`, `max`, `sum`, `random`, `first`, `parse`, `branches`, `cast`.
|
|
10073
|
+
*/
|
|
10074
|
+
operationType: string;
|
|
10075
|
+
/**
|
|
10076
|
+
* An operation type that allows a value to parsed from within a JSON object
|
|
10077
|
+
*/
|
|
10078
|
+
parse?: outputs.EscalationPathTemplateExpressionOperationParse;
|
|
10079
|
+
}
|
|
10080
|
+
export interface EscalationPathTemplateExpressionOperationBranches {
|
|
10081
|
+
/**
|
|
10082
|
+
* The branches to apply for this operation
|
|
10083
|
+
*/
|
|
10084
|
+
branches: outputs.EscalationPathTemplateExpressionOperationBranchesBranch[];
|
|
10085
|
+
/**
|
|
10086
|
+
* The return type of an operation
|
|
10087
|
+
*/
|
|
10088
|
+
returns: outputs.EscalationPathTemplateExpressionOperationBranchesReturns;
|
|
10089
|
+
}
|
|
10090
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranch {
|
|
10091
|
+
/**
|
|
10092
|
+
* Groups of prerequisite conditions. All conditions in at least one group must be satisfied
|
|
10093
|
+
*/
|
|
10094
|
+
conditionGroups: outputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroup[];
|
|
10095
|
+
/**
|
|
10096
|
+
* The result assumed if the condition groups are satisfied
|
|
10097
|
+
*/
|
|
10098
|
+
result: outputs.EscalationPathTemplateExpressionOperationBranchesBranchResult;
|
|
10099
|
+
}
|
|
10100
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroup {
|
|
10101
|
+
/**
|
|
10102
|
+
* The prerequisite conditions that must all be satisfied
|
|
10103
|
+
*/
|
|
10104
|
+
conditions: outputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupCondition[];
|
|
10105
|
+
}
|
|
10106
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupCondition {
|
|
10107
|
+
/**
|
|
10108
|
+
* The logical operation to be applied
|
|
10109
|
+
*/
|
|
10110
|
+
operation: string;
|
|
10111
|
+
/**
|
|
10112
|
+
* Bindings for the operation parameters
|
|
10113
|
+
*/
|
|
10114
|
+
paramBindings: outputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding[];
|
|
10115
|
+
/**
|
|
10116
|
+
* The subject of the condition, on which the operation is applied
|
|
10117
|
+
*/
|
|
10118
|
+
subject: string;
|
|
10119
|
+
}
|
|
10120
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding {
|
|
10121
|
+
/**
|
|
10122
|
+
* The array of literal or reference parameter values
|
|
10123
|
+
*/
|
|
10124
|
+
arrayValues?: outputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue[];
|
|
10125
|
+
/**
|
|
10126
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10127
|
+
*/
|
|
10128
|
+
expressionRef?: string;
|
|
10129
|
+
/**
|
|
10130
|
+
* The literal or reference parameter value
|
|
10131
|
+
*/
|
|
10132
|
+
value?: outputs.EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue;
|
|
10133
|
+
/**
|
|
10134
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10135
|
+
*/
|
|
10136
|
+
valueLiteral?: string;
|
|
10137
|
+
/**
|
|
10138
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10139
|
+
*/
|
|
10140
|
+
valueReference?: string;
|
|
10141
|
+
/**
|
|
10142
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10143
|
+
*/
|
|
10144
|
+
values?: string[];
|
|
10145
|
+
}
|
|
10146
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue {
|
|
10147
|
+
/**
|
|
10148
|
+
* If set, this is the literal value of the step parameter
|
|
10149
|
+
*/
|
|
10150
|
+
literal?: string;
|
|
10151
|
+
/**
|
|
10152
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10153
|
+
*/
|
|
10154
|
+
reference?: string;
|
|
10155
|
+
}
|
|
10156
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue {
|
|
10157
|
+
/**
|
|
10158
|
+
* If set, this is the literal value of the step parameter
|
|
10159
|
+
*/
|
|
10160
|
+
literal?: string;
|
|
10161
|
+
/**
|
|
10162
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10163
|
+
*/
|
|
10164
|
+
reference?: string;
|
|
10165
|
+
}
|
|
10166
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchResult {
|
|
10167
|
+
/**
|
|
10168
|
+
* The array of literal or reference parameter values
|
|
10169
|
+
*/
|
|
10170
|
+
arrayValues?: outputs.EscalationPathTemplateExpressionOperationBranchesBranchResultArrayValue[];
|
|
10171
|
+
/**
|
|
10172
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10173
|
+
*/
|
|
10174
|
+
expressionRef?: string;
|
|
10175
|
+
/**
|
|
10176
|
+
* The literal or reference parameter value
|
|
10177
|
+
*/
|
|
10178
|
+
value?: outputs.EscalationPathTemplateExpressionOperationBranchesBranchResultValue;
|
|
10179
|
+
/**
|
|
10180
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10181
|
+
*/
|
|
10182
|
+
valueLiteral?: string;
|
|
10183
|
+
/**
|
|
10184
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10185
|
+
*/
|
|
10186
|
+
valueReference?: string;
|
|
10187
|
+
/**
|
|
10188
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10189
|
+
*/
|
|
10190
|
+
values?: string[];
|
|
10191
|
+
}
|
|
10192
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchResultArrayValue {
|
|
10193
|
+
/**
|
|
10194
|
+
* If set, this is the literal value of the step parameter
|
|
10195
|
+
*/
|
|
10196
|
+
literal?: string;
|
|
10197
|
+
/**
|
|
10198
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10199
|
+
*/
|
|
10200
|
+
reference?: string;
|
|
10201
|
+
}
|
|
10202
|
+
export interface EscalationPathTemplateExpressionOperationBranchesBranchResultValue {
|
|
10203
|
+
/**
|
|
10204
|
+
* If set, this is the literal value of the step parameter
|
|
10205
|
+
*/
|
|
10206
|
+
literal?: string;
|
|
10207
|
+
/**
|
|
10208
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10209
|
+
*/
|
|
10210
|
+
reference?: string;
|
|
10211
|
+
}
|
|
10212
|
+
export interface EscalationPathTemplateExpressionOperationBranchesReturns {
|
|
10213
|
+
/**
|
|
10214
|
+
* Whether the return value should be single or multi-value
|
|
10215
|
+
*/
|
|
10216
|
+
array: boolean;
|
|
10217
|
+
/**
|
|
10218
|
+
* Expected return type of this expression (what to try casting the result to)
|
|
10219
|
+
*/
|
|
10220
|
+
type: string;
|
|
10221
|
+
}
|
|
10222
|
+
export interface EscalationPathTemplateExpressionOperationCast {
|
|
10223
|
+
/**
|
|
10224
|
+
* The return type of an operation
|
|
10225
|
+
*/
|
|
10226
|
+
returns: outputs.EscalationPathTemplateExpressionOperationCastReturns;
|
|
10227
|
+
}
|
|
10228
|
+
export interface EscalationPathTemplateExpressionOperationCastReturns {
|
|
10229
|
+
/**
|
|
10230
|
+
* Whether the return value should be single or multi-value
|
|
10231
|
+
*/
|
|
10232
|
+
array: boolean;
|
|
10233
|
+
/**
|
|
10234
|
+
* Expected return type of this expression (what to try casting the result to)
|
|
10235
|
+
*/
|
|
10236
|
+
type: string;
|
|
10237
|
+
}
|
|
10238
|
+
export interface EscalationPathTemplateExpressionOperationConcatenate {
|
|
10239
|
+
/**
|
|
10240
|
+
* The reference within the scope to concatenate with
|
|
10241
|
+
*/
|
|
10242
|
+
reference: string;
|
|
10243
|
+
}
|
|
10244
|
+
export interface EscalationPathTemplateExpressionOperationFilter {
|
|
10245
|
+
/**
|
|
10246
|
+
* Groups of prerequisite conditions. All conditions in at least one group must be satisfied
|
|
10247
|
+
*/
|
|
10248
|
+
conditionGroups: outputs.EscalationPathTemplateExpressionOperationFilterConditionGroup[];
|
|
10249
|
+
}
|
|
10250
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroup {
|
|
10251
|
+
/**
|
|
10252
|
+
* The prerequisite conditions that must all be satisfied
|
|
10253
|
+
*/
|
|
10254
|
+
conditions: outputs.EscalationPathTemplateExpressionOperationFilterConditionGroupCondition[];
|
|
10255
|
+
}
|
|
10256
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroupCondition {
|
|
10257
|
+
/**
|
|
10258
|
+
* The logical operation to be applied
|
|
10259
|
+
*/
|
|
10260
|
+
operation: string;
|
|
10261
|
+
/**
|
|
10262
|
+
* Bindings for the operation parameters
|
|
10263
|
+
*/
|
|
10264
|
+
paramBindings: outputs.EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBinding[];
|
|
10265
|
+
/**
|
|
10266
|
+
* The subject of the condition, on which the operation is applied
|
|
10267
|
+
*/
|
|
10268
|
+
subject: string;
|
|
10269
|
+
}
|
|
10270
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBinding {
|
|
10271
|
+
/**
|
|
10272
|
+
* The array of literal or reference parameter values
|
|
10273
|
+
*/
|
|
10274
|
+
arrayValues?: outputs.EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValue[];
|
|
10275
|
+
/**
|
|
10276
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10277
|
+
*/
|
|
10278
|
+
expressionRef?: string;
|
|
10279
|
+
/**
|
|
10280
|
+
* The literal or reference parameter value
|
|
10281
|
+
*/
|
|
10282
|
+
value?: outputs.EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBindingValue;
|
|
10283
|
+
/**
|
|
10284
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10285
|
+
*/
|
|
10286
|
+
valueLiteral?: string;
|
|
10287
|
+
/**
|
|
10288
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10289
|
+
*/
|
|
10290
|
+
valueReference?: string;
|
|
10291
|
+
/**
|
|
10292
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10293
|
+
*/
|
|
10294
|
+
values?: string[];
|
|
10295
|
+
}
|
|
10296
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValue {
|
|
10297
|
+
/**
|
|
10298
|
+
* If set, this is the literal value of the step parameter
|
|
10299
|
+
*/
|
|
10300
|
+
literal?: string;
|
|
10301
|
+
/**
|
|
10302
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10303
|
+
*/
|
|
10304
|
+
reference?: string;
|
|
10305
|
+
}
|
|
10306
|
+
export interface EscalationPathTemplateExpressionOperationFilterConditionGroupConditionParamBindingValue {
|
|
10307
|
+
/**
|
|
10308
|
+
* If set, this is the literal value of the step parameter
|
|
10309
|
+
*/
|
|
10310
|
+
literal?: string;
|
|
10311
|
+
/**
|
|
10312
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10313
|
+
*/
|
|
10314
|
+
reference?: string;
|
|
10315
|
+
}
|
|
10316
|
+
export interface EscalationPathTemplateExpressionOperationNavigate {
|
|
10317
|
+
reference: string;
|
|
10318
|
+
}
|
|
10319
|
+
export interface EscalationPathTemplateExpressionOperationParse {
|
|
10320
|
+
/**
|
|
10321
|
+
* The return type of an operation
|
|
10322
|
+
*/
|
|
10323
|
+
returns: outputs.EscalationPathTemplateExpressionOperationParseReturns;
|
|
10324
|
+
/**
|
|
10325
|
+
* The ES5 Javascript expression to execute
|
|
10326
|
+
*/
|
|
10327
|
+
source: string;
|
|
10328
|
+
}
|
|
10329
|
+
export interface EscalationPathTemplateExpressionOperationParseReturns {
|
|
10330
|
+
/**
|
|
10331
|
+
* Whether the return value should be single or multi-value
|
|
10332
|
+
*/
|
|
10333
|
+
array: boolean;
|
|
10334
|
+
/**
|
|
10335
|
+
* Expected return type of this expression (what to try casting the result to)
|
|
10336
|
+
*/
|
|
10337
|
+
type: string;
|
|
10338
|
+
}
|
|
10339
|
+
export interface EscalationPathTemplateParams {
|
|
10340
|
+
/**
|
|
10341
|
+
* Whether this parameter is an array
|
|
10342
|
+
*/
|
|
10343
|
+
array: boolean;
|
|
10344
|
+
/**
|
|
10345
|
+
* A string describing the param
|
|
10346
|
+
*/
|
|
10347
|
+
description: string;
|
|
10348
|
+
/**
|
|
10349
|
+
* Human readable label for this parameter
|
|
10350
|
+
*/
|
|
10351
|
+
label: string;
|
|
10352
|
+
/**
|
|
10353
|
+
* Whether this parameter is optional
|
|
10354
|
+
*/
|
|
10355
|
+
optional: boolean;
|
|
10356
|
+
/**
|
|
10357
|
+
* The type of the parameter A schedule is `CatalogEntry["Schedule"]`, a user `CatalogEntry["User"]`, and a catalog type is `CatalogEntry["<type id>"]`.
|
|
10358
|
+
*/
|
|
10359
|
+
type: string;
|
|
10360
|
+
}
|
|
10361
|
+
export interface EscalationPathTemplateRepeatConfig {
|
|
10362
|
+
/**
|
|
10363
|
+
* When true, incident activity resets the repeat timer.
|
|
10364
|
+
*/
|
|
10365
|
+
delayRepeatOnActivity: boolean;
|
|
10366
|
+
/**
|
|
10367
|
+
* Number of seconds we'll wait before repeating an escalation.
|
|
10368
|
+
*/
|
|
10369
|
+
repeatAfterSeconds: number;
|
|
10370
|
+
}
|
|
10371
|
+
export interface EscalationPathTemplateSequences {
|
|
10372
|
+
/**
|
|
10373
|
+
* The nodes in this sequence, in the order they run.
|
|
10374
|
+
*/
|
|
10375
|
+
nodes: outputs.EscalationPathTemplateSequencesNode[];
|
|
10376
|
+
}
|
|
10377
|
+
export interface EscalationPathTemplateSequencesNode {
|
|
10378
|
+
/**
|
|
10379
|
+
* Send the escalation down one of two sequences, depending on what `if` tests. A branch must be the last node in its sequence.
|
|
10380
|
+
*/
|
|
10381
|
+
branch?: outputs.EscalationPathTemplateSequencesNodeBranch;
|
|
10382
|
+
delay?: outputs.EscalationPathTemplateSequencesNodeDelay;
|
|
10383
|
+
/**
|
|
10384
|
+
* Reassign the escalation to another escalation path, continuing from that path's first node.
|
|
10385
|
+
*/
|
|
10386
|
+
escalationPath?: outputs.EscalationPathTemplateSequencesNodeEscalationPath;
|
|
10387
|
+
/**
|
|
10388
|
+
* 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.
|
|
10389
|
+
*/
|
|
10390
|
+
id?: string;
|
|
10391
|
+
level?: outputs.EscalationPathTemplateSequencesNodeLevel;
|
|
10392
|
+
/**
|
|
10393
|
+
* 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.
|
|
10394
|
+
*/
|
|
10395
|
+
loop?: outputs.EscalationPathTemplateSequencesNodeLoop;
|
|
10396
|
+
notifyChannel?: outputs.EscalationPathTemplateSequencesNodeNotifyChannel;
|
|
10397
|
+
}
|
|
10398
|
+
export interface EscalationPathTemplateSequencesNodeBranch {
|
|
10399
|
+
/**
|
|
10400
|
+
* The key of the sequence to continue down when the condition is not met. Leave unset to end the escalation path instead.
|
|
10401
|
+
*/
|
|
10402
|
+
else?: string;
|
|
10403
|
+
/**
|
|
10404
|
+
* 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.
|
|
10405
|
+
*/
|
|
10406
|
+
if: outputs.EscalationPathTemplateSequencesNodeBranchIf;
|
|
10407
|
+
/**
|
|
10408
|
+
* The key of the sequence to continue down when the condition is met.
|
|
10409
|
+
*/
|
|
10410
|
+
then: string;
|
|
10411
|
+
}
|
|
10412
|
+
export interface EscalationPathTemplateSequencesNodeBranchIf {
|
|
10413
|
+
/**
|
|
10414
|
+
* Alert priority ids, met when the escalation came in at one of them.
|
|
10415
|
+
*/
|
|
10416
|
+
priorityOneOfs?: string[];
|
|
10417
|
+
/**
|
|
10418
|
+
* The `id` of one of this escalation path's `workingHours`, met while those hours are active.
|
|
10419
|
+
*/
|
|
10420
|
+
workingHoursActive?: string;
|
|
10421
|
+
}
|
|
10422
|
+
export interface EscalationPathTemplateSequencesNodeDelay {
|
|
10423
|
+
/**
|
|
10424
|
+
* 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`.
|
|
10425
|
+
*/
|
|
10426
|
+
delayIntervalCondition?: string;
|
|
10427
|
+
/**
|
|
10428
|
+
* How long to delay before advancing to the next node in the path, in seconds
|
|
10429
|
+
*/
|
|
10430
|
+
delaySeconds?: number;
|
|
10431
|
+
/**
|
|
10432
|
+
* If the delay is relative to a time window, this identifies which window it is relative to
|
|
10433
|
+
*/
|
|
10434
|
+
delayWeekdayIntervalConfigId?: string;
|
|
10435
|
+
}
|
|
10436
|
+
export interface EscalationPathTemplateSequencesNodeEscalationPath {
|
|
10437
|
+
/**
|
|
10438
|
+
* The ID of the escalation path to reassign to
|
|
10439
|
+
*/
|
|
10440
|
+
escalationPathId: string;
|
|
10441
|
+
}
|
|
10442
|
+
export interface EscalationPathTemplateSequencesNodeLevel {
|
|
10443
|
+
/**
|
|
10444
|
+
* 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`.
|
|
10445
|
+
*/
|
|
10446
|
+
ackMode: string;
|
|
10447
|
+
retryConfig?: outputs.EscalationPathTemplateSequencesNodeLevelRetryConfig;
|
|
10448
|
+
roundRobinConfig?: outputs.EscalationPathTemplateSequencesNodeLevelRoundRobinConfig;
|
|
10449
|
+
/**
|
|
10450
|
+
* The targets (users or schedules), each concrete or a parameter binding.
|
|
10451
|
+
*/
|
|
10452
|
+
targets: outputs.EscalationPathTemplateSequencesNodeLevelTarget[];
|
|
10453
|
+
/**
|
|
10454
|
+
* 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`.
|
|
10455
|
+
*/
|
|
10456
|
+
timeToAckIntervalCondition?: string;
|
|
10457
|
+
/**
|
|
10458
|
+
* How long should we wait for this level to acknowledge before proceeding to the next node in the path?
|
|
10459
|
+
*/
|
|
10460
|
+
timeToAckSeconds?: number;
|
|
10461
|
+
/**
|
|
10462
|
+
* If the time to ack is relative to a time window, this identifies which window it is relative to
|
|
10463
|
+
*/
|
|
10464
|
+
timeToAckWeekdayIntervalConfigId?: string;
|
|
10465
|
+
}
|
|
10466
|
+
export interface EscalationPathTemplateSequencesNodeLevelRetryConfig {
|
|
10467
|
+
/**
|
|
10468
|
+
* 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.
|
|
10469
|
+
*/
|
|
10470
|
+
attempts: number;
|
|
10471
|
+
/**
|
|
10472
|
+
* How long we wait between attempts at this level, in seconds. Must be a whole number of minutes (divisible by 60).
|
|
10473
|
+
*/
|
|
10474
|
+
intervalSeconds: number;
|
|
10475
|
+
}
|
|
10476
|
+
export interface EscalationPathTemplateSequencesNodeLevelRoundRobinConfig {
|
|
10477
|
+
/**
|
|
10478
|
+
* Whether round robin is enabled for this level
|
|
10479
|
+
*/
|
|
10480
|
+
enabled: boolean;
|
|
10481
|
+
/**
|
|
10482
|
+
* 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.
|
|
10483
|
+
*/
|
|
10484
|
+
rotateAfterSeconds?: number;
|
|
10485
|
+
}
|
|
10486
|
+
export interface EscalationPathTemplateSequencesNodeLevelTarget {
|
|
10487
|
+
/**
|
|
10488
|
+
* 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`.
|
|
10489
|
+
*/
|
|
10490
|
+
binding?: outputs.EscalationPathTemplateSequencesNodeLevelTargetBinding;
|
|
10491
|
+
/**
|
|
10492
|
+
* Uniquely identifies a concrete target. Omitted when binding is set. Set exactly one of `id` and `binding`.
|
|
10493
|
+
*/
|
|
10494
|
+
id?: string;
|
|
10495
|
+
/**
|
|
10496
|
+
* Only set for schedule targets, this specifies which users to fetch from the schedule. Possible values are: `currentlyOnCall`, `allUsersForRota`, `allUsers`, `currentlyOnCallForRota`, `nextOnCallForRota`, `nextOnCall`.
|
|
10497
|
+
*/
|
|
10498
|
+
scheduleMode: string;
|
|
10499
|
+
/**
|
|
10500
|
+
* 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.
|
|
10501
|
+
*/
|
|
10502
|
+
selectedRotaId?: string;
|
|
10503
|
+
/**
|
|
10504
|
+
* Controls what type of entity this target identifies, such as EscalationPolicy or User. Possible values are: `schedule`, `user`, `slackChannel`, `msteamsChannel`.
|
|
10505
|
+
*/
|
|
10506
|
+
type: string;
|
|
10507
|
+
/**
|
|
10508
|
+
* The urgency of this escalation path target. Possible values are: `high`, `low`.
|
|
10509
|
+
*/
|
|
10510
|
+
urgency: string;
|
|
10511
|
+
}
|
|
10512
|
+
export interface EscalationPathTemplateSequencesNodeLevelTargetBinding {
|
|
10513
|
+
/**
|
|
10514
|
+
* The array of literal or reference parameter values
|
|
10515
|
+
*/
|
|
10516
|
+
arrayValues?: outputs.EscalationPathTemplateSequencesNodeLevelTargetBindingArrayValue[];
|
|
10517
|
+
/**
|
|
10518
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10519
|
+
*/
|
|
10520
|
+
expressionRef?: string;
|
|
10521
|
+
/**
|
|
10522
|
+
* The literal or reference parameter value
|
|
10523
|
+
*/
|
|
10524
|
+
value?: outputs.EscalationPathTemplateSequencesNodeLevelTargetBindingValue;
|
|
10525
|
+
/**
|
|
10526
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10527
|
+
*/
|
|
10528
|
+
valueLiteral?: string;
|
|
10529
|
+
/**
|
|
10530
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10531
|
+
*/
|
|
10532
|
+
valueReference?: string;
|
|
10533
|
+
/**
|
|
10534
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10535
|
+
*/
|
|
10536
|
+
values?: string[];
|
|
10537
|
+
}
|
|
10538
|
+
export interface EscalationPathTemplateSequencesNodeLevelTargetBindingArrayValue {
|
|
10539
|
+
/**
|
|
10540
|
+
* If set, this is the literal value of the step parameter
|
|
10541
|
+
*/
|
|
10542
|
+
literal?: string;
|
|
10543
|
+
/**
|
|
10544
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10545
|
+
*/
|
|
10546
|
+
reference?: string;
|
|
10547
|
+
}
|
|
10548
|
+
export interface EscalationPathTemplateSequencesNodeLevelTargetBindingValue {
|
|
10549
|
+
/**
|
|
10550
|
+
* If set, this is the literal value of the step parameter
|
|
10551
|
+
*/
|
|
10552
|
+
literal?: string;
|
|
10553
|
+
/**
|
|
10554
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10555
|
+
*/
|
|
10556
|
+
reference?: string;
|
|
10557
|
+
}
|
|
10558
|
+
export interface EscalationPathTemplateSequencesNodeLoop {
|
|
10559
|
+
/**
|
|
10560
|
+
* The `id` of the node to repeat from.
|
|
10561
|
+
*/
|
|
10562
|
+
backTo: string;
|
|
10563
|
+
/**
|
|
10564
|
+
* How many times to repeat these nodes
|
|
10565
|
+
*/
|
|
10566
|
+
times: number;
|
|
10567
|
+
}
|
|
10568
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannel {
|
|
10569
|
+
/**
|
|
10570
|
+
* The channels to notify, each concrete or a parameter binding.
|
|
10571
|
+
*/
|
|
10572
|
+
targets: outputs.EscalationPathTemplateSequencesNodeNotifyChannelTarget[];
|
|
10573
|
+
/**
|
|
10574
|
+
* 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`.
|
|
10575
|
+
*/
|
|
10576
|
+
timeToAckIntervalCondition?: string;
|
|
10577
|
+
/**
|
|
10578
|
+
* How long should we wait for this level to acknowledge before moving on to the next node in the path?
|
|
10579
|
+
*/
|
|
10580
|
+
timeToAckSeconds?: number;
|
|
10581
|
+
/**
|
|
10582
|
+
* If the time to ack is relative to a time window, this identifies which window it is relative to
|
|
10583
|
+
*/
|
|
10584
|
+
timeToAckWeekdayIntervalConfigId?: string;
|
|
10585
|
+
}
|
|
10586
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannelTarget {
|
|
10587
|
+
/**
|
|
10588
|
+
* 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`.
|
|
10589
|
+
*/
|
|
10590
|
+
binding?: outputs.EscalationPathTemplateSequencesNodeNotifyChannelTargetBinding;
|
|
10591
|
+
/**
|
|
10592
|
+
* Uniquely identifies a concrete target. Omitted when binding is set. Set exactly one of `id` and `binding`.
|
|
10593
|
+
*/
|
|
10594
|
+
id?: string;
|
|
10595
|
+
/**
|
|
10596
|
+
* Only set for schedule targets, this specifies which users to fetch from the schedule. Possible values are: `currentlyOnCall`, `allUsersForRota`, `allUsers`, `currentlyOnCallForRota`, `nextOnCallForRota`, `nextOnCall`.
|
|
10597
|
+
*/
|
|
10598
|
+
scheduleMode: string;
|
|
10599
|
+
/**
|
|
10600
|
+
* 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.
|
|
10601
|
+
*/
|
|
10602
|
+
selectedRotaId?: string;
|
|
10603
|
+
/**
|
|
10604
|
+
* Controls what type of entity this target identifies, such as EscalationPolicy or User. Possible values are: `schedule`, `user`, `slackChannel`, `msteamsChannel`.
|
|
10605
|
+
*/
|
|
10606
|
+
type: string;
|
|
10607
|
+
/**
|
|
10608
|
+
* The urgency of this escalation path target. Possible values are: `high`, `low`.
|
|
10609
|
+
*/
|
|
10610
|
+
urgency: string;
|
|
10611
|
+
}
|
|
10612
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannelTargetBinding {
|
|
10613
|
+
/**
|
|
10614
|
+
* The array of literal or reference parameter values
|
|
10615
|
+
*/
|
|
10616
|
+
arrayValues?: outputs.EscalationPathTemplateSequencesNodeNotifyChannelTargetBindingArrayValue[];
|
|
10617
|
+
/**
|
|
10618
|
+
* The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
|
|
10619
|
+
*/
|
|
10620
|
+
expressionRef?: string;
|
|
10621
|
+
/**
|
|
10622
|
+
* The literal or reference parameter value
|
|
10623
|
+
*/
|
|
10624
|
+
value?: outputs.EscalationPathTemplateSequencesNodeNotifyChannelTargetBindingValue;
|
|
10625
|
+
/**
|
|
10626
|
+
* A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
|
|
10627
|
+
*/
|
|
10628
|
+
valueLiteral?: string;
|
|
10629
|
+
/**
|
|
10630
|
+
* A reference into the scope, shorthand for `value = { reference = ... }`.
|
|
10631
|
+
*/
|
|
10632
|
+
valueReference?: string;
|
|
10633
|
+
/**
|
|
10634
|
+
* Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
|
|
10635
|
+
*/
|
|
10636
|
+
values?: string[];
|
|
10637
|
+
}
|
|
10638
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannelTargetBindingArrayValue {
|
|
10639
|
+
/**
|
|
10640
|
+
* If set, this is the literal value of the step parameter
|
|
10641
|
+
*/
|
|
10642
|
+
literal?: string;
|
|
10643
|
+
/**
|
|
10644
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10645
|
+
*/
|
|
10646
|
+
reference?: string;
|
|
10647
|
+
}
|
|
10648
|
+
export interface EscalationPathTemplateSequencesNodeNotifyChannelTargetBindingValue {
|
|
10649
|
+
/**
|
|
10650
|
+
* If set, this is the literal value of the step parameter
|
|
10651
|
+
*/
|
|
10652
|
+
literal?: string;
|
|
10653
|
+
/**
|
|
10654
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
10655
|
+
*/
|
|
10656
|
+
reference?: string;
|
|
10657
|
+
}
|
|
10658
|
+
export interface EscalationPathTemplateWorkingHour {
|
|
10659
|
+
/**
|
|
10660
|
+
* The unique identifier for this set of working intervals
|
|
10661
|
+
*/
|
|
10662
|
+
id: string;
|
|
10663
|
+
/**
|
|
10664
|
+
* A human readable label for this set of working intervals
|
|
10665
|
+
*/
|
|
10666
|
+
name: string;
|
|
10667
|
+
/**
|
|
10668
|
+
* How to interpret all the intervals
|
|
10669
|
+
*/
|
|
10670
|
+
timezone: string;
|
|
10671
|
+
weekdayIntervals: outputs.EscalationPathTemplateWorkingHourWeekdayInterval[];
|
|
10672
|
+
}
|
|
10673
|
+
export interface EscalationPathTemplateWorkingHourWeekdayInterval {
|
|
10674
|
+
/**
|
|
10675
|
+
* End time of the interval, in 24hr format
|
|
10676
|
+
*/
|
|
10677
|
+
endTime: string;
|
|
10678
|
+
/**
|
|
10679
|
+
* Start time of the interval, in 24hr format
|
|
10680
|
+
*/
|
|
10681
|
+
startTime: string;
|
|
10682
|
+
/**
|
|
10683
|
+
* Weekdays for use within a schedule or escalation path. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
|
|
10684
|
+
*/
|
|
10685
|
+
weekday: string;
|
|
10686
|
+
}
|
|
10687
|
+
export interface EscalationPathWorkingHour {
|
|
10688
|
+
/**
|
|
10689
|
+
* The unique identifier for this set of working intervals
|
|
10690
|
+
*/
|
|
10691
|
+
id: string;
|
|
10692
|
+
/**
|
|
10693
|
+
* A human readable label for this set of working intervals
|
|
10694
|
+
*/
|
|
10695
|
+
name: string;
|
|
10696
|
+
/**
|
|
10697
|
+
* How to interpret all the intervals
|
|
10698
|
+
*/
|
|
10699
|
+
timezone: string;
|
|
10700
|
+
weekdayIntervals: outputs.EscalationPathWorkingHourWeekdayInterval[];
|
|
10701
|
+
}
|
|
10702
|
+
export interface EscalationPathWorkingHourWeekdayInterval {
|
|
10703
|
+
/**
|
|
10704
|
+
* End time of the interval, in 24hr format
|
|
10705
|
+
*/
|
|
10706
|
+
endTime: string;
|
|
10707
|
+
/**
|
|
10708
|
+
* Start time of the interval, in 24hr format
|
|
10709
|
+
*/
|
|
10710
|
+
startTime: string;
|
|
10711
|
+
/**
|
|
10712
|
+
* Weekdays for use within a schedule or escalation path. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
|
|
10713
|
+
*/
|
|
10714
|
+
weekday: string;
|
|
10715
|
+
}
|
|
10716
|
+
export interface GetAlertSourceAttributeArrayValue {
|
|
10717
|
+
/**
|
|
10718
|
+
* A fixed value. A catalog entry ID is a literal, not a reference.
|
|
10719
|
+
*/
|
|
10720
|
+
literal: string;
|
|
10721
|
+
/**
|
|
10722
|
+
* A reference into the scope, such as `payload.team`.
|
|
10723
|
+
*/
|
|
10724
|
+
reference: string;
|
|
10725
|
+
}
|
|
10726
|
+
export interface GetAlertSourceAttributeBetaArrayValue {
|
|
10727
|
+
/**
|
|
10728
|
+
* A fixed value. A catalog entry ID is a literal, not a reference.
|
|
10729
|
+
*/
|
|
10730
|
+
literal: string;
|
|
10731
|
+
/**
|
|
10732
|
+
* A reference into the scope, such as `payload.team`.
|
|
10733
|
+
*/
|
|
10734
|
+
reference: string;
|
|
10735
|
+
}
|
|
10736
|
+
export interface GetAlertSourceAttributeBetaExpression {
|
|
10737
|
+
/**
|
|
10738
|
+
* What this expression produces when nothing else matched.
|
|
10739
|
+
*/
|
|
10740
|
+
fallback?: outputs.GetAlertSourceAttributeBetaExpressionFallback;
|
|
10741
|
+
/**
|
|
10742
|
+
* An ordered pipeline. Each operation feeds the next.
|
|
10743
|
+
*/
|
|
10744
|
+
operations?: outputs.GetAlertSourceAttributeBetaExpressionOperation[];
|
|
10745
|
+
/**
|
|
10746
|
+
* Where the expression starts: "payload", "alert", "." for a branches-only expression, or a scope path.
|
|
10747
|
+
*/
|
|
10748
|
+
startFrom: string;
|
|
10749
|
+
}
|
|
10750
|
+
export interface GetAlertSourceAttributeBetaExpressionFallback {
|
|
10751
|
+
/**
|
|
10752
|
+
* The unconditional default for the shorthand above.
|
|
10753
|
+
*/
|
|
10754
|
+
else?: outputs.GetAlertSourceAttributeBetaExpressionFallbackElse;
|
|
10755
|
+
/**
|
|
10756
|
+
* Tried in order, after if.
|
|
10757
|
+
*/
|
|
10758
|
+
elseIfs?: outputs.GetAlertSourceAttributeBetaExpressionFallbackElseIf[];
|
|
10759
|
+
/**
|
|
10760
|
+
* The name of a namedExpression in this resource.
|
|
10761
|
+
*/
|
|
10762
|
+
expressionRef: string;
|
|
10763
|
+
/**
|
|
10764
|
+
* Shorthand for a branching fallback.
|
|
10765
|
+
*/
|
|
10766
|
+
if?: outputs.GetAlertSourceAttributeBetaExpressionFallbackIf;
|
|
10767
|
+
/**
|
|
10768
|
+
* A flat, unconditional value.
|
|
10769
|
+
*/
|
|
10770
|
+
result: outputs.GetAlertSourceAttributeBetaExpressionFallbackResult;
|
|
10771
|
+
}
|
|
10772
|
+
export interface GetAlertSourceAttributeBetaExpressionFallbackElse {
|
|
10773
|
+
/**
|
|
10774
|
+
* The value to fall back to.
|
|
10775
|
+
*/
|
|
10776
|
+
result: outputs.GetAlertSourceAttributeBetaExpressionFallbackElseResult;
|
|
10777
|
+
}
|
|
10778
|
+
export interface GetAlertSourceAttributeBetaExpressionFallbackElseIf {
|
|
10779
|
+
/**
|
|
10780
|
+
* Groups are OR'd; conditions within a group are AND'd.
|
|
10781
|
+
*/
|
|
10782
|
+
conditionGroups: outputs.GetAlertSourceAttributeBetaExpressionFallbackElseIfConditionGroup[];
|
|
9865
10783
|
/**
|
|
9866
10784
|
* All of these must hold. Sugar for a single condition group.
|
|
9867
10785
|
*/
|
|
@@ -15696,6 +16614,97 @@ export interface GetAlertSourceVisibleToTeamsValue {
|
|
|
15696
16614
|
*/
|
|
15697
16615
|
reference: string;
|
|
15698
16616
|
}
|
|
16617
|
+
export interface GetAnnouncementRuleConditionGroup {
|
|
16618
|
+
/**
|
|
16619
|
+
* All conditions in this list must be satisfied for the group to be satisfied
|
|
16620
|
+
*/
|
|
16621
|
+
conditions: outputs.GetAnnouncementRuleConditionGroupCondition[];
|
|
16622
|
+
}
|
|
16623
|
+
export interface GetAnnouncementRuleConditionGroupCondition {
|
|
16624
|
+
operation: string;
|
|
16625
|
+
/**
|
|
16626
|
+
* Bindings for the operation parameters
|
|
16627
|
+
*/
|
|
16628
|
+
paramBindings: outputs.GetAnnouncementRuleConditionGroupConditionParamBinding[];
|
|
16629
|
+
subject: string;
|
|
16630
|
+
}
|
|
16631
|
+
export interface GetAnnouncementRuleConditionGroupConditionParamBinding {
|
|
16632
|
+
/**
|
|
16633
|
+
* If array*value is set, this helps render the values
|
|
16634
|
+
*/
|
|
16635
|
+
arrayValues: outputs.GetAnnouncementRuleConditionGroupConditionParamBindingArrayValue[];
|
|
16636
|
+
expressionRef: string;
|
|
16637
|
+
value: outputs.GetAnnouncementRuleConditionGroupConditionParamBindingValue;
|
|
16638
|
+
valueLiteral: string;
|
|
16639
|
+
valueReference: string;
|
|
16640
|
+
values: string[];
|
|
16641
|
+
}
|
|
16642
|
+
export interface GetAnnouncementRuleConditionGroupConditionParamBindingArrayValue {
|
|
16643
|
+
/**
|
|
16644
|
+
* If set, this is the literal value of the step parameter
|
|
16645
|
+
*/
|
|
16646
|
+
literal: string;
|
|
16647
|
+
/**
|
|
16648
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
16649
|
+
*/
|
|
16650
|
+
reference: string;
|
|
16651
|
+
}
|
|
16652
|
+
export interface GetAnnouncementRuleConditionGroupConditionParamBindingValue {
|
|
16653
|
+
/**
|
|
16654
|
+
* If set, this is the literal value of the step parameter
|
|
16655
|
+
*/
|
|
16656
|
+
literal: string;
|
|
16657
|
+
/**
|
|
16658
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
16659
|
+
*/
|
|
16660
|
+
reference: string;
|
|
16661
|
+
}
|
|
16662
|
+
export interface GetAnnouncementTemplateAction {
|
|
16663
|
+
/**
|
|
16664
|
+
* Type of this action. Possible values are: `announcementPostActionsHomepage`, `announcementPostActionsSubscribe`, `announcementPostActionsJoinCall`, `announcementPostActionsJiraTicket`, `announcementPostActionsInternalStatusPage`, `announcementPostActionsPublicStatusPage`, `announcementPostActionsPostmortem`, `announcementPostActionsCreateChannel`, `announcementPostActionsViewAlert`, `announcementPostActionsTriage`, `announcementPostActionsEscalate`, `announcementPostActionsShareUpdate`, `announcementPostActionsUpdateStatus`, `announcementPostActionsRequestAccess`.
|
|
16665
|
+
*/
|
|
16666
|
+
actionType: string;
|
|
16667
|
+
/**
|
|
16668
|
+
* Emoji shown on this action's button
|
|
16669
|
+
*/
|
|
16670
|
+
emoji: string;
|
|
16671
|
+
}
|
|
16672
|
+
export interface GetAnnouncementTemplateField {
|
|
16673
|
+
/**
|
|
16674
|
+
* ID of the custom field to show, for custom field fields
|
|
16675
|
+
*/
|
|
16676
|
+
customFieldId: string;
|
|
16677
|
+
/**
|
|
16678
|
+
* Emoji shown next to this field
|
|
16679
|
+
*/
|
|
16680
|
+
emoji: string;
|
|
16681
|
+
/**
|
|
16682
|
+
* Type of this field. Possible values are: `announcementPostFieldsStatus`, `announcementPostFieldsIncidentType`, `announcementPostFieldsSeverity`, `announcementPostFieldsRole`, `announcementPostFieldsDescription`, `announcementPostFieldsCustomField`, `announcementPostFieldsTimestamp`, `announcementPostFieldsCreator`, `announcementPostFieldsSlack`, `announcementPostFieldsRichText`.
|
|
16683
|
+
*/
|
|
16684
|
+
fieldType: string;
|
|
16685
|
+
/**
|
|
16686
|
+
* ID of the incident role to show, for incident role fields
|
|
16687
|
+
*/
|
|
16688
|
+
incidentRoleId: string;
|
|
16689
|
+
/**
|
|
16690
|
+
* ID of the incident timestamp to show, for incident timestamp fields
|
|
16691
|
+
*/
|
|
16692
|
+
incidentTimestampId: string;
|
|
16693
|
+
/**
|
|
16694
|
+
* Content of a rich text field. The type says how contents is written.
|
|
16695
|
+
*/
|
|
16696
|
+
richText: outputs.GetAnnouncementTemplateFieldRichText;
|
|
16697
|
+
}
|
|
16698
|
+
export interface GetAnnouncementTemplateFieldRichText {
|
|
16699
|
+
/**
|
|
16700
|
+
* The content, as markdown. Write incident variables as {{name}}, e.g. {{incident.reference}}.
|
|
16701
|
+
*/
|
|
16702
|
+
contents: string;
|
|
16703
|
+
/**
|
|
16704
|
+
* How contents is written. Only markdown is supported today. Possible values are: `markdown`.
|
|
16705
|
+
*/
|
|
16706
|
+
type: string;
|
|
16707
|
+
}
|
|
15699
16708
|
export interface GetCatalogEntryAttributeValue {
|
|
15700
16709
|
/**
|
|
15701
16710
|
* The value of this element of the array, in a format suitable for this attribute type.
|
|
@@ -15730,6 +16739,40 @@ export interface GetCustomFieldFixedFilter {
|
|
|
15730
16739
|
*/
|
|
15731
16740
|
values: string[];
|
|
15732
16741
|
}
|
|
16742
|
+
export interface GetEscalationPathBetaParamBindings {
|
|
16743
|
+
/**
|
|
16744
|
+
* The array of literal or reference parameter values
|
|
16745
|
+
*/
|
|
16746
|
+
arrayValues: outputs.GetEscalationPathBetaParamBindingsArrayValue[];
|
|
16747
|
+
expressionRef: string;
|
|
16748
|
+
/**
|
|
16749
|
+
* The literal or reference parameter value
|
|
16750
|
+
*/
|
|
16751
|
+
value: outputs.GetEscalationPathBetaParamBindingsValue;
|
|
16752
|
+
valueLiteral: string;
|
|
16753
|
+
valueReference: string;
|
|
16754
|
+
values: string[];
|
|
16755
|
+
}
|
|
16756
|
+
export interface GetEscalationPathBetaParamBindingsArrayValue {
|
|
16757
|
+
/**
|
|
16758
|
+
* If set, this is the literal value of the step parameter
|
|
16759
|
+
*/
|
|
16760
|
+
literal: string;
|
|
16761
|
+
/**
|
|
16762
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
16763
|
+
*/
|
|
16764
|
+
reference: string;
|
|
16765
|
+
}
|
|
16766
|
+
export interface GetEscalationPathBetaParamBindingsValue {
|
|
16767
|
+
/**
|
|
16768
|
+
* If set, this is the literal value of the step parameter
|
|
16769
|
+
*/
|
|
16770
|
+
literal: string;
|
|
16771
|
+
/**
|
|
16772
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
16773
|
+
*/
|
|
16774
|
+
reference: string;
|
|
16775
|
+
}
|
|
15733
16776
|
export interface GetEscalationPathBetaRepeatConfig {
|
|
15734
16777
|
/**
|
|
15735
16778
|
* When true, incident activity resets the repeat timer.
|
|
@@ -15762,7 +16805,7 @@ export interface GetEscalationPathBetaSequencesNode {
|
|
|
15762
16805
|
id: string;
|
|
15763
16806
|
level: outputs.GetEscalationPathBetaSequencesNodeLevel;
|
|
15764
16807
|
/**
|
|
15765
|
-
* Go back to an earlier node and run from there again.
|
|
16808
|
+
* 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.
|
|
15766
16809
|
*/
|
|
15767
16810
|
loop: outputs.GetEscalationPathBetaSequencesNodeLoop;
|
|
15768
16811
|
notifyChannel: outputs.GetEscalationPathBetaSequencesNodeNotifyChannel;
|
|
@@ -15956,6 +16999,40 @@ export interface GetEscalationPathBetaWorkingHourWeekdayInterval {
|
|
|
15956
16999
|
*/
|
|
15957
17000
|
weekday: string;
|
|
15958
17001
|
}
|
|
17002
|
+
export interface GetEscalationPathParamBindings {
|
|
17003
|
+
/**
|
|
17004
|
+
* The array of literal or reference parameter values
|
|
17005
|
+
*/
|
|
17006
|
+
arrayValues: outputs.GetEscalationPathParamBindingsArrayValue[];
|
|
17007
|
+
expressionRef: string;
|
|
17008
|
+
/**
|
|
17009
|
+
* The literal or reference parameter value
|
|
17010
|
+
*/
|
|
17011
|
+
value: outputs.GetEscalationPathParamBindingsValue;
|
|
17012
|
+
valueLiteral: string;
|
|
17013
|
+
valueReference: string;
|
|
17014
|
+
values: string[];
|
|
17015
|
+
}
|
|
17016
|
+
export interface GetEscalationPathParamBindingsArrayValue {
|
|
17017
|
+
/**
|
|
17018
|
+
* If set, this is the literal value of the step parameter
|
|
17019
|
+
*/
|
|
17020
|
+
literal: string;
|
|
17021
|
+
/**
|
|
17022
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
17023
|
+
*/
|
|
17024
|
+
reference: string;
|
|
17025
|
+
}
|
|
17026
|
+
export interface GetEscalationPathParamBindingsValue {
|
|
17027
|
+
/**
|
|
17028
|
+
* If set, this is the literal value of the step parameter
|
|
17029
|
+
*/
|
|
17030
|
+
literal: string;
|
|
17031
|
+
/**
|
|
17032
|
+
* If set, this is the reference into the trigger scope that is the value of this parameter
|
|
17033
|
+
*/
|
|
17034
|
+
reference: string;
|
|
17035
|
+
}
|
|
15959
17036
|
export interface GetEscalationPathRepeatConfig {
|
|
15960
17037
|
/**
|
|
15961
17038
|
* When true, incident activity resets the repeat timer.
|
|
@@ -15988,7 +17065,7 @@ export interface GetEscalationPathSequencesNode {
|
|
|
15988
17065
|
id: string;
|
|
15989
17066
|
level: outputs.GetEscalationPathSequencesNodeLevel;
|
|
15990
17067
|
/**
|
|
15991
|
-
* Go back to an earlier node and run from there again.
|
|
17068
|
+
* 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.
|
|
15992
17069
|
*/
|
|
15993
17070
|
loop: outputs.GetEscalationPathSequencesNodeLoop;
|
|
15994
17071
|
notifyChannel: outputs.GetEscalationPathSequencesNodeNotifyChannel;
|
|
@@ -16735,6 +17812,50 @@ export interface GetIpAllowlistAllowlist {
|
|
|
16735
17812
|
*/
|
|
16736
17813
|
value: string;
|
|
16737
17814
|
}
|
|
17815
|
+
export interface GetPayConfigOneOffRule {
|
|
17816
|
+
/**
|
|
17817
|
+
* When this rule stops applying
|
|
17818
|
+
*/
|
|
17819
|
+
endAt: string;
|
|
17820
|
+
/**
|
|
17821
|
+
* Unique identifier for this rule, stable across edits to the config
|
|
17822
|
+
*/
|
|
17823
|
+
id: string;
|
|
17824
|
+
/**
|
|
17825
|
+
* Human readable name for this rule
|
|
17826
|
+
*/
|
|
17827
|
+
name: string;
|
|
17828
|
+
/**
|
|
17829
|
+
* Rate paid while this rule applies, in the lowest denomination of the config's currency
|
|
17830
|
+
*/
|
|
17831
|
+
rateCents: number;
|
|
17832
|
+
/**
|
|
17833
|
+
* When this rule starts applying
|
|
17834
|
+
*/
|
|
17835
|
+
startAt: string;
|
|
17836
|
+
}
|
|
17837
|
+
export interface GetPayConfigWeeklyRule {
|
|
17838
|
+
/**
|
|
17839
|
+
* Time of day this rule ends, in 24 hour format. Equal to startTime means it runs for the whole day. Written as `HH:MM`.
|
|
17840
|
+
*/
|
|
17841
|
+
endTime: string;
|
|
17842
|
+
/**
|
|
17843
|
+
* Unique identifier for this rule, stable across edits to the config
|
|
17844
|
+
*/
|
|
17845
|
+
id: string;
|
|
17846
|
+
/**
|
|
17847
|
+
* Rate paid while this rule applies, in the lowest denomination of the config's currency
|
|
17848
|
+
*/
|
|
17849
|
+
rateCents: number;
|
|
17850
|
+
/**
|
|
17851
|
+
* Time of day this rule starts, in 24 hour format, as `HH:MM`.
|
|
17852
|
+
*/
|
|
17853
|
+
startTime: string;
|
|
17854
|
+
/**
|
|
17855
|
+
* Days of the week this rule applies on. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
|
|
17856
|
+
*/
|
|
17857
|
+
weekdays: string[];
|
|
17858
|
+
}
|
|
16738
17859
|
export interface GetScheduleReplicaSource {
|
|
16739
17860
|
/**
|
|
16740
17861
|
* The ID of the layer within the rotation to replicate. Rotations can have multiple layers that stack on top of each other, and you must specify which layer to replicate.
|
|
@@ -18120,11 +19241,55 @@ export interface MaintenanceWindowNotifyChannel {
|
|
|
18120
19241
|
*/
|
|
18121
19242
|
channelType: string;
|
|
18122
19243
|
}
|
|
19244
|
+
export interface PayConfigOneOffRule {
|
|
19245
|
+
/**
|
|
19246
|
+
* When this rule stops applying, as an RFC 3339 timestamp.
|
|
19247
|
+
*/
|
|
19248
|
+
endAt: string;
|
|
19249
|
+
/**
|
|
19250
|
+
* Unique identifier for this rule, stable across edits to the config
|
|
19251
|
+
*/
|
|
19252
|
+
id: string;
|
|
19253
|
+
/**
|
|
19254
|
+
* Human readable name for this rule
|
|
19255
|
+
*/
|
|
19256
|
+
name: string;
|
|
19257
|
+
/**
|
|
19258
|
+
* Rate paid while this rule applies, in the lowest denomination of the config's currency
|
|
19259
|
+
*/
|
|
19260
|
+
rateCents: number;
|
|
19261
|
+
/**
|
|
19262
|
+
* 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.
|
|
19263
|
+
*/
|
|
19264
|
+
startAt: string;
|
|
19265
|
+
}
|
|
19266
|
+
export interface PayConfigWeeklyRule {
|
|
19267
|
+
/**
|
|
19268
|
+
* 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.
|
|
19269
|
+
*/
|
|
19270
|
+
endTime: string;
|
|
19271
|
+
/**
|
|
19272
|
+
* Unique identifier for this rule, stable across edits to the config
|
|
19273
|
+
*/
|
|
19274
|
+
id: string;
|
|
19275
|
+
/**
|
|
19276
|
+
* Rate paid while this rule applies, in the lowest denomination of the config's currency
|
|
19277
|
+
*/
|
|
19278
|
+
rateCents: number;
|
|
19279
|
+
/**
|
|
19280
|
+
* Time of day this rule starts, in 24 hour format, as `HH:MM`.
|
|
19281
|
+
*/
|
|
19282
|
+
startTime: string;
|
|
19283
|
+
/**
|
|
19284
|
+
* Days of the week this rule applies on. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
|
|
19285
|
+
*/
|
|
19286
|
+
weekdays: string[];
|
|
19287
|
+
}
|
|
18123
19288
|
export interface PolicyAssignmentRules {
|
|
18124
19289
|
/**
|
|
18125
|
-
* Bindings which define the user to be assigned. We will assign the first user which evaluates; the rest are fallback values
|
|
19290
|
+
* 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.
|
|
18126
19291
|
*/
|
|
18127
|
-
bindings
|
|
19292
|
+
bindings?: outputs.PolicyAssignmentRulesBinding[];
|
|
18128
19293
|
/**
|
|
18129
19294
|
* A recurring reminder, which repeats once per interval until the finding is resolved.
|
|
18130
19295
|
*/
|
|
@@ -19199,6 +20364,36 @@ export interface ScheduleSyncTargetNewSlackUserGroup {
|
|
|
19199
20364
|
*/
|
|
19200
20365
|
slackTeamId?: string;
|
|
19201
20366
|
}
|
|
20367
|
+
export interface TeamGroupingPreferenceDefault {
|
|
20368
|
+
/**
|
|
20369
|
+
* How a team's alerts are grouped together, on every alert route
|
|
20370
|
+
*/
|
|
20371
|
+
settings: outputs.TeamGroupingPreferenceDefaultSettings;
|
|
20372
|
+
}
|
|
20373
|
+
export interface TeamGroupingPreferenceDefaultSettings {
|
|
20374
|
+
/**
|
|
20375
|
+
* Whether the team's alerts are grouped. When false, none of the team's alerts are grouped, regardless of any alert route grouping config.
|
|
20376
|
+
*/
|
|
20377
|
+
enabled: boolean;
|
|
20378
|
+
/**
|
|
20379
|
+
* Which alert attributes the team's alerts are grouped by. Only set when grouping is enabled.
|
|
20380
|
+
*/
|
|
20381
|
+
groupingKeys?: outputs.TeamGroupingPreferenceDefaultSettingsGroupingKey[];
|
|
20382
|
+
/**
|
|
20383
|
+
* How long the grouping window is, in seconds. Must be between 60 (1 minute) and 172800 (48 hours). Only set when grouping is enabled.
|
|
20384
|
+
*/
|
|
20385
|
+
windowSeconds?: number;
|
|
20386
|
+
/**
|
|
20387
|
+
* 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`.
|
|
20388
|
+
*/
|
|
20389
|
+
windowType?: string;
|
|
20390
|
+
}
|
|
20391
|
+
export interface TeamGroupingPreferenceDefaultSettingsGroupingKey {
|
|
20392
|
+
/**
|
|
20393
|
+
* A reference to a property of the alert to group on
|
|
20394
|
+
*/
|
|
20395
|
+
reference: string;
|
|
20396
|
+
}
|
|
19202
20397
|
export interface WorkflowConditionGroup {
|
|
19203
20398
|
/**
|
|
19204
20399
|
* The prerequisite conditions that must all be satisfied
|