@pulumi/opsgenie 1.3.9 → 1.3.10-alpha.1722601448
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/apiIntegration.d.ts +3 -0
- package/apiIntegration.js +2 -0
- package/apiIntegration.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +84 -0
- package/types/output.d.ts +84 -0
package/apiIntegration.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare class ApiIntegration extends pulumi.CustomResource {
|
|
|
28
28
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
29
|
*/
|
|
30
30
|
static isInstance(obj: any): obj is ApiIntegration;
|
|
31
|
+
readonly allowConfigurationAccess: pulumi.Output<boolean | undefined>;
|
|
31
32
|
/**
|
|
32
33
|
* This parameter is for configuring the write access of integration. If write access is restricted, the integration will not be authorized to write within any domain. Default: `true`.
|
|
33
34
|
*/
|
|
@@ -84,6 +85,7 @@ export declare class ApiIntegration extends pulumi.CustomResource {
|
|
|
84
85
|
* Input properties used for looking up and filtering ApiIntegration resources.
|
|
85
86
|
*/
|
|
86
87
|
export interface ApiIntegrationState {
|
|
88
|
+
allowConfigurationAccess?: pulumi.Input<boolean>;
|
|
87
89
|
/**
|
|
88
90
|
* This parameter is for configuring the write access of integration. If write access is restricted, the integration will not be authorized to write within any domain. Default: `true`.
|
|
89
91
|
*/
|
|
@@ -132,6 +134,7 @@ export interface ApiIntegrationState {
|
|
|
132
134
|
* The set of arguments for constructing a ApiIntegration resource.
|
|
133
135
|
*/
|
|
134
136
|
export interface ApiIntegrationArgs {
|
|
137
|
+
allowConfigurationAccess?: pulumi.Input<boolean>;
|
|
135
138
|
/**
|
|
136
139
|
* This parameter is for configuring the write access of integration. If write access is restricted, the integration will not be authorized to write within any domain. Default: `true`.
|
|
137
140
|
*/
|
package/apiIntegration.js
CHANGED
|
@@ -44,6 +44,7 @@ class ApiIntegration extends pulumi.CustomResource {
|
|
|
44
44
|
opts = opts || {};
|
|
45
45
|
if (opts.id) {
|
|
46
46
|
const state = argsOrState;
|
|
47
|
+
resourceInputs["allowConfigurationAccess"] = state ? state.allowConfigurationAccess : undefined;
|
|
47
48
|
resourceInputs["allowWriteAccess"] = state ? state.allowWriteAccess : undefined;
|
|
48
49
|
resourceInputs["apiKey"] = state ? state.apiKey : undefined;
|
|
49
50
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
@@ -58,6 +59,7 @@ class ApiIntegration extends pulumi.CustomResource {
|
|
|
58
59
|
}
|
|
59
60
|
else {
|
|
60
61
|
const args = argsOrState;
|
|
62
|
+
resourceInputs["allowConfigurationAccess"] = args ? args.allowConfigurationAccess : undefined;
|
|
61
63
|
resourceInputs["allowWriteAccess"] = args ? args.allowWriteAccess : undefined;
|
|
62
64
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
63
65
|
resourceInputs["headers"] = args ? args.headers : undefined;
|
package/apiIntegration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiIntegration.js","sourceRoot":"","sources":["../apiIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY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AAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAnHL,wCAoHC;AAtGG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/opsgenie",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.10-alpha.1722601448",
|
|
4
4
|
"description": "A Pulumi package for creating and managing opsgenie cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "opsgenie",
|
|
26
|
-
"version": "1.3.
|
|
26
|
+
"version": "1.3.10-alpha.1722601448"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -127,6 +127,9 @@ export interface EmailIntegrationResponder {
|
|
|
127
127
|
* The ID of the Opsgenie Email based Integration.
|
|
128
128
|
*/
|
|
129
129
|
id?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The responder type.
|
|
132
|
+
*/
|
|
130
133
|
type?: pulumi.Input<string>;
|
|
131
134
|
}
|
|
132
135
|
export interface EscalationRepeat {
|
|
@@ -219,6 +222,9 @@ export interface IncidentTemplateStakeholderProperty {
|
|
|
219
222
|
* Description field of the incident template. This field must not be longer than 10000 characters.
|
|
220
223
|
*/
|
|
221
224
|
description?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* Option to enable stakeholder notifications.Default value is true.
|
|
227
|
+
*/
|
|
222
228
|
enable?: pulumi.Input<boolean>;
|
|
223
229
|
/**
|
|
224
230
|
* Message of the related incident template. This field must not be longer than 130 characters.
|
|
@@ -249,6 +255,9 @@ export interface IntegrationActionAcknowledge {
|
|
|
249
255
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
250
256
|
*/
|
|
251
257
|
order?: pulumi.Input<number>;
|
|
258
|
+
/**
|
|
259
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
260
|
+
*/
|
|
252
261
|
type?: pulumi.Input<string>;
|
|
253
262
|
/**
|
|
254
263
|
* Owner of the execution for integration action.
|
|
@@ -257,6 +266,9 @@ export interface IntegrationActionAcknowledge {
|
|
|
257
266
|
}
|
|
258
267
|
export interface IntegrationActionAcknowledgeFilter {
|
|
259
268
|
conditions?: pulumi.Input<pulumi.Input<inputs.IntegrationActionAcknowledgeFilterCondition>[]>;
|
|
269
|
+
/**
|
|
270
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
271
|
+
*/
|
|
260
272
|
type: pulumi.Input<string>;
|
|
261
273
|
}
|
|
262
274
|
export interface IntegrationActionAcknowledgeFilterCondition {
|
|
@@ -294,6 +306,9 @@ export interface IntegrationActionAddNote {
|
|
|
294
306
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
295
307
|
*/
|
|
296
308
|
order?: pulumi.Input<number>;
|
|
309
|
+
/**
|
|
310
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
311
|
+
*/
|
|
297
312
|
type?: pulumi.Input<string>;
|
|
298
313
|
/**
|
|
299
314
|
* Owner of the execution for integration action.
|
|
@@ -302,6 +317,9 @@ export interface IntegrationActionAddNote {
|
|
|
302
317
|
}
|
|
303
318
|
export interface IntegrationActionAddNoteFilter {
|
|
304
319
|
conditions?: pulumi.Input<pulumi.Input<inputs.IntegrationActionAddNoteFilterCondition>[]>;
|
|
320
|
+
/**
|
|
321
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
322
|
+
*/
|
|
305
323
|
type: pulumi.Input<string>;
|
|
306
324
|
}
|
|
307
325
|
export interface IntegrationActionAddNoteFilterCondition {
|
|
@@ -339,6 +357,9 @@ export interface IntegrationActionClose {
|
|
|
339
357
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
340
358
|
*/
|
|
341
359
|
order?: pulumi.Input<number>;
|
|
360
|
+
/**
|
|
361
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
362
|
+
*/
|
|
342
363
|
type?: pulumi.Input<string>;
|
|
343
364
|
/**
|
|
344
365
|
* Owner of the execution for integration action.
|
|
@@ -347,6 +368,9 @@ export interface IntegrationActionClose {
|
|
|
347
368
|
}
|
|
348
369
|
export interface IntegrationActionCloseFilter {
|
|
349
370
|
conditions?: pulumi.Input<pulumi.Input<inputs.IntegrationActionCloseFilterCondition>[]>;
|
|
371
|
+
/**
|
|
372
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
373
|
+
*/
|
|
350
374
|
type: pulumi.Input<string>;
|
|
351
375
|
}
|
|
352
376
|
export interface IntegrationActionCloseFilterCondition {
|
|
@@ -367,9 +391,21 @@ export interface IntegrationActionCreate {
|
|
|
367
391
|
*/
|
|
368
392
|
alias?: pulumi.Input<string>;
|
|
369
393
|
appendAttachments?: pulumi.Input<boolean>;
|
|
394
|
+
/**
|
|
395
|
+
* Custom alert priority. e.g. ``{{message.substring(0,2)}}``
|
|
396
|
+
*/
|
|
370
397
|
customPriority?: pulumi.Input<string>;
|
|
398
|
+
/**
|
|
399
|
+
* Detailed description of the alert, anything that may not have fit in the `message` field.
|
|
400
|
+
*/
|
|
371
401
|
description?: pulumi.Input<string>;
|
|
402
|
+
/**
|
|
403
|
+
* The entity the alert is related to.
|
|
404
|
+
*/
|
|
372
405
|
entity?: pulumi.Input<string>;
|
|
406
|
+
/**
|
|
407
|
+
* Set of user defined properties specified as a map.
|
|
408
|
+
*/
|
|
373
409
|
extraProperties?: pulumi.Input<{
|
|
374
410
|
[key: string]: pulumi.Input<string>;
|
|
375
411
|
}>;
|
|
@@ -382,9 +418,18 @@ export interface IntegrationActionCreate {
|
|
|
382
418
|
filters?: pulumi.Input<pulumi.Input<inputs.IntegrationActionCreateFilter>[]>;
|
|
383
419
|
ignoreAlertActionsFromPayload?: pulumi.Input<boolean>;
|
|
384
420
|
ignoreExtraPropertiesFromPayload?: pulumi.Input<boolean>;
|
|
421
|
+
/**
|
|
422
|
+
* If enabled, the integration will ignore responders sent in request payloads.
|
|
423
|
+
*/
|
|
385
424
|
ignoreRespondersFromPayload?: pulumi.Input<boolean>;
|
|
386
425
|
ignoreTagsFromPayload?: pulumi.Input<boolean>;
|
|
426
|
+
/**
|
|
427
|
+
* If enabled, the integration will ignore teams sent in request payloads.
|
|
428
|
+
*/
|
|
387
429
|
ignoreTeamsFromPayload?: pulumi.Input<boolean>;
|
|
430
|
+
/**
|
|
431
|
+
* Alert text limited to 130 characters.
|
|
432
|
+
*/
|
|
388
433
|
message?: pulumi.Input<string>;
|
|
389
434
|
/**
|
|
390
435
|
* Name of the integration action.
|
|
@@ -398,10 +443,25 @@ export interface IntegrationActionCreate {
|
|
|
398
443
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
399
444
|
*/
|
|
400
445
|
order?: pulumi.Input<number>;
|
|
446
|
+
/**
|
|
447
|
+
* Alert priority.
|
|
448
|
+
*/
|
|
401
449
|
priority?: pulumi.Input<string>;
|
|
450
|
+
/**
|
|
451
|
+
* User, schedule, teams or escalation names to calculate which users will receive notifications of the alert.
|
|
452
|
+
*/
|
|
402
453
|
responders?: pulumi.Input<pulumi.Input<inputs.IntegrationActionCreateResponder>[]>;
|
|
454
|
+
/**
|
|
455
|
+
* User defined field to specify source of action.
|
|
456
|
+
*/
|
|
403
457
|
source?: pulumi.Input<string>;
|
|
458
|
+
/**
|
|
459
|
+
* Comma separated list of labels to be attached to the alert.
|
|
460
|
+
*/
|
|
404
461
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
462
|
+
/**
|
|
463
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
464
|
+
*/
|
|
405
465
|
type?: pulumi.Input<string>;
|
|
406
466
|
/**
|
|
407
467
|
* Owner of the execution for integration action.
|
|
@@ -410,6 +470,9 @@ export interface IntegrationActionCreate {
|
|
|
410
470
|
}
|
|
411
471
|
export interface IntegrationActionCreateFilter {
|
|
412
472
|
conditions?: pulumi.Input<pulumi.Input<inputs.IntegrationActionCreateFilterCondition>[]>;
|
|
473
|
+
/**
|
|
474
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
475
|
+
*/
|
|
413
476
|
type: pulumi.Input<string>;
|
|
414
477
|
}
|
|
415
478
|
export interface IntegrationActionCreateFilterCondition {
|
|
@@ -449,10 +512,16 @@ export interface IntegrationActionIgnore {
|
|
|
449
512
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
450
513
|
*/
|
|
451
514
|
order?: pulumi.Input<number>;
|
|
515
|
+
/**
|
|
516
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
517
|
+
*/
|
|
452
518
|
type?: pulumi.Input<string>;
|
|
453
519
|
}
|
|
454
520
|
export interface IntegrationActionIgnoreFilter {
|
|
455
521
|
conditions?: pulumi.Input<pulumi.Input<inputs.IntegrationActionIgnoreFilterCondition>[]>;
|
|
522
|
+
/**
|
|
523
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
524
|
+
*/
|
|
456
525
|
type: pulumi.Input<string>;
|
|
457
526
|
}
|
|
458
527
|
export interface IntegrationActionIgnoreFilterCondition {
|
|
@@ -487,7 +556,13 @@ export interface MaintenanceRuleEntity {
|
|
|
487
556
|
type?: pulumi.Input<string>;
|
|
488
557
|
}
|
|
489
558
|
export interface MaintenanceTime {
|
|
559
|
+
/**
|
|
560
|
+
* This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00).
|
|
561
|
+
*/
|
|
490
562
|
endDate?: pulumi.Input<string>;
|
|
563
|
+
/**
|
|
564
|
+
* This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00).
|
|
565
|
+
*/
|
|
491
566
|
startDate?: pulumi.Input<string>;
|
|
492
567
|
type: pulumi.Input<string>;
|
|
493
568
|
}
|
|
@@ -721,6 +796,9 @@ export interface NotificationRuleSchedule {
|
|
|
721
796
|
* Name of the notification policy
|
|
722
797
|
*/
|
|
723
798
|
name: pulumi.Input<string>;
|
|
799
|
+
/**
|
|
800
|
+
* Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions`
|
|
801
|
+
*/
|
|
724
802
|
type: pulumi.Input<string>;
|
|
725
803
|
}
|
|
726
804
|
export interface NotificationRuleStep {
|
|
@@ -750,6 +828,9 @@ export interface NotificationRuleStepContact {
|
|
|
750
828
|
export interface NotificationRuleTimeRestriction {
|
|
751
829
|
restriction?: pulumi.Input<pulumi.Input<inputs.NotificationRuleTimeRestrictionRestriction>[]>;
|
|
752
830
|
restrictions?: pulumi.Input<pulumi.Input<inputs.NotificationRuleTimeRestrictionRestriction>[]>;
|
|
831
|
+
/**
|
|
832
|
+
* Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions`
|
|
833
|
+
*/
|
|
753
834
|
type: pulumi.Input<string>;
|
|
754
835
|
}
|
|
755
836
|
export interface NotificationRuleTimeRestrictionRestriction {
|
|
@@ -775,6 +856,9 @@ export interface ScheduleRotationTimeRestriction {
|
|
|
775
856
|
* It is a restriction object which is described below. In this case startDay/endDay fields are not supported. This can be used only if time restriction type is `time-of-day`.
|
|
776
857
|
*/
|
|
777
858
|
restriction?: pulumi.Input<pulumi.Input<inputs.ScheduleRotationTimeRestrictionRestriction>[]>;
|
|
859
|
+
/**
|
|
860
|
+
* It is a restriction object which is described below. This can be used only if time restriction type is `weekday-and-time-of-day`.
|
|
861
|
+
*/
|
|
778
862
|
restrictionList?: pulumi.Input<pulumi.Input<inputs.ScheduleRotationTimeRestrictionRestrictionList>[]>;
|
|
779
863
|
/**
|
|
780
864
|
* This parameter should be set to `time-of-day` or `weekday-and-time-of-day`.
|
package/types/output.d.ts
CHANGED
|
@@ -126,6 +126,9 @@ export interface EmailIntegrationResponder {
|
|
|
126
126
|
* The ID of the Opsgenie Email based Integration.
|
|
127
127
|
*/
|
|
128
128
|
id?: string;
|
|
129
|
+
/**
|
|
130
|
+
* The responder type.
|
|
131
|
+
*/
|
|
129
132
|
type?: string;
|
|
130
133
|
}
|
|
131
134
|
export interface EscalationRepeat {
|
|
@@ -191,6 +194,9 @@ export interface IncidentTemplateStakeholderProperty {
|
|
|
191
194
|
* Description field of the incident template. This field must not be longer than 10000 characters.
|
|
192
195
|
*/
|
|
193
196
|
description?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Option to enable stakeholder notifications.Default value is true.
|
|
199
|
+
*/
|
|
194
200
|
enable?: boolean;
|
|
195
201
|
/**
|
|
196
202
|
* Message of the related incident template. This field must not be longer than 130 characters.
|
|
@@ -221,6 +227,9 @@ export interface IntegrationActionAcknowledge {
|
|
|
221
227
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
222
228
|
*/
|
|
223
229
|
order?: number;
|
|
230
|
+
/**
|
|
231
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
232
|
+
*/
|
|
224
233
|
type?: string;
|
|
225
234
|
/**
|
|
226
235
|
* Owner of the execution for integration action.
|
|
@@ -229,6 +238,9 @@ export interface IntegrationActionAcknowledge {
|
|
|
229
238
|
}
|
|
230
239
|
export interface IntegrationActionAcknowledgeFilter {
|
|
231
240
|
conditions?: outputs.IntegrationActionAcknowledgeFilterCondition[];
|
|
241
|
+
/**
|
|
242
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
243
|
+
*/
|
|
232
244
|
type: string;
|
|
233
245
|
}
|
|
234
246
|
export interface IntegrationActionAcknowledgeFilterCondition {
|
|
@@ -266,6 +278,9 @@ export interface IntegrationActionAddNote {
|
|
|
266
278
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
267
279
|
*/
|
|
268
280
|
order?: number;
|
|
281
|
+
/**
|
|
282
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
283
|
+
*/
|
|
269
284
|
type?: string;
|
|
270
285
|
/**
|
|
271
286
|
* Owner of the execution for integration action.
|
|
@@ -274,6 +289,9 @@ export interface IntegrationActionAddNote {
|
|
|
274
289
|
}
|
|
275
290
|
export interface IntegrationActionAddNoteFilter {
|
|
276
291
|
conditions?: outputs.IntegrationActionAddNoteFilterCondition[];
|
|
292
|
+
/**
|
|
293
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
294
|
+
*/
|
|
277
295
|
type: string;
|
|
278
296
|
}
|
|
279
297
|
export interface IntegrationActionAddNoteFilterCondition {
|
|
@@ -311,6 +329,9 @@ export interface IntegrationActionClose {
|
|
|
311
329
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
312
330
|
*/
|
|
313
331
|
order?: number;
|
|
332
|
+
/**
|
|
333
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
334
|
+
*/
|
|
314
335
|
type?: string;
|
|
315
336
|
/**
|
|
316
337
|
* Owner of the execution for integration action.
|
|
@@ -319,6 +340,9 @@ export interface IntegrationActionClose {
|
|
|
319
340
|
}
|
|
320
341
|
export interface IntegrationActionCloseFilter {
|
|
321
342
|
conditions?: outputs.IntegrationActionCloseFilterCondition[];
|
|
343
|
+
/**
|
|
344
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
345
|
+
*/
|
|
322
346
|
type: string;
|
|
323
347
|
}
|
|
324
348
|
export interface IntegrationActionCloseFilterCondition {
|
|
@@ -339,9 +363,21 @@ export interface IntegrationActionCreate {
|
|
|
339
363
|
*/
|
|
340
364
|
alias?: string;
|
|
341
365
|
appendAttachments?: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* Custom alert priority. e.g. ``{{message.substring(0,2)}}``
|
|
368
|
+
*/
|
|
342
369
|
customPriority?: string;
|
|
370
|
+
/**
|
|
371
|
+
* Detailed description of the alert, anything that may not have fit in the `message` field.
|
|
372
|
+
*/
|
|
343
373
|
description?: string;
|
|
374
|
+
/**
|
|
375
|
+
* The entity the alert is related to.
|
|
376
|
+
*/
|
|
344
377
|
entity?: string;
|
|
378
|
+
/**
|
|
379
|
+
* Set of user defined properties specified as a map.
|
|
380
|
+
*/
|
|
345
381
|
extraProperties?: {
|
|
346
382
|
[key: string]: string;
|
|
347
383
|
};
|
|
@@ -354,9 +390,18 @@ export interface IntegrationActionCreate {
|
|
|
354
390
|
filters?: outputs.IntegrationActionCreateFilter[];
|
|
355
391
|
ignoreAlertActionsFromPayload?: boolean;
|
|
356
392
|
ignoreExtraPropertiesFromPayload?: boolean;
|
|
393
|
+
/**
|
|
394
|
+
* If enabled, the integration will ignore responders sent in request payloads.
|
|
395
|
+
*/
|
|
357
396
|
ignoreRespondersFromPayload?: boolean;
|
|
358
397
|
ignoreTagsFromPayload?: boolean;
|
|
398
|
+
/**
|
|
399
|
+
* If enabled, the integration will ignore teams sent in request payloads.
|
|
400
|
+
*/
|
|
359
401
|
ignoreTeamsFromPayload?: boolean;
|
|
402
|
+
/**
|
|
403
|
+
* Alert text limited to 130 characters.
|
|
404
|
+
*/
|
|
360
405
|
message?: string;
|
|
361
406
|
/**
|
|
362
407
|
* Name of the integration action.
|
|
@@ -370,10 +415,25 @@ export interface IntegrationActionCreate {
|
|
|
370
415
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
371
416
|
*/
|
|
372
417
|
order?: number;
|
|
418
|
+
/**
|
|
419
|
+
* Alert priority.
|
|
420
|
+
*/
|
|
373
421
|
priority?: string;
|
|
422
|
+
/**
|
|
423
|
+
* User, schedule, teams or escalation names to calculate which users will receive notifications of the alert.
|
|
424
|
+
*/
|
|
374
425
|
responders?: outputs.IntegrationActionCreateResponder[];
|
|
426
|
+
/**
|
|
427
|
+
* User defined field to specify source of action.
|
|
428
|
+
*/
|
|
375
429
|
source?: string;
|
|
430
|
+
/**
|
|
431
|
+
* Comma separated list of labels to be attached to the alert.
|
|
432
|
+
*/
|
|
376
433
|
tags?: string[];
|
|
434
|
+
/**
|
|
435
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
436
|
+
*/
|
|
377
437
|
type?: string;
|
|
378
438
|
/**
|
|
379
439
|
* Owner of the execution for integration action.
|
|
@@ -382,6 +442,9 @@ export interface IntegrationActionCreate {
|
|
|
382
442
|
}
|
|
383
443
|
export interface IntegrationActionCreateFilter {
|
|
384
444
|
conditions?: outputs.IntegrationActionCreateFilterCondition[];
|
|
445
|
+
/**
|
|
446
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
447
|
+
*/
|
|
385
448
|
type: string;
|
|
386
449
|
}
|
|
387
450
|
export interface IntegrationActionCreateFilterCondition {
|
|
@@ -421,10 +484,16 @@ export interface IntegrationActionIgnore {
|
|
|
421
484
|
* Integer value that defines in which order the action will be performed. Default: `1`.
|
|
422
485
|
*/
|
|
423
486
|
order?: number;
|
|
487
|
+
/**
|
|
488
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
489
|
+
*/
|
|
424
490
|
type?: string;
|
|
425
491
|
}
|
|
426
492
|
export interface IntegrationActionIgnoreFilter {
|
|
427
493
|
conditions?: outputs.IntegrationActionIgnoreFilterCondition[];
|
|
494
|
+
/**
|
|
495
|
+
* The responder type - can be `escalation`, `team` or `user`.
|
|
496
|
+
*/
|
|
428
497
|
type: string;
|
|
429
498
|
}
|
|
430
499
|
export interface IntegrationActionIgnoreFilterCondition {
|
|
@@ -459,7 +528,13 @@ export interface MaintenanceRuleEntity {
|
|
|
459
528
|
type?: string;
|
|
460
529
|
}
|
|
461
530
|
export interface MaintenanceTime {
|
|
531
|
+
/**
|
|
532
|
+
* This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00).
|
|
533
|
+
*/
|
|
462
534
|
endDate?: string;
|
|
535
|
+
/**
|
|
536
|
+
* This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00).
|
|
537
|
+
*/
|
|
463
538
|
startDate?: string;
|
|
464
539
|
type: string;
|
|
465
540
|
}
|
|
@@ -693,6 +768,9 @@ export interface NotificationRuleSchedule {
|
|
|
693
768
|
* Name of the notification policy
|
|
694
769
|
*/
|
|
695
770
|
name: string;
|
|
771
|
+
/**
|
|
772
|
+
* Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions`
|
|
773
|
+
*/
|
|
696
774
|
type: string;
|
|
697
775
|
}
|
|
698
776
|
export interface NotificationRuleStep {
|
|
@@ -722,6 +800,9 @@ export interface NotificationRuleStepContact {
|
|
|
722
800
|
export interface NotificationRuleTimeRestriction {
|
|
723
801
|
restriction?: outputs.NotificationRuleTimeRestrictionRestriction[];
|
|
724
802
|
restrictions?: outputs.NotificationRuleTimeRestrictionRestriction[];
|
|
803
|
+
/**
|
|
804
|
+
* Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions`
|
|
805
|
+
*/
|
|
725
806
|
type: string;
|
|
726
807
|
}
|
|
727
808
|
export interface NotificationRuleTimeRestrictionRestriction {
|
|
@@ -747,6 +828,9 @@ export interface ScheduleRotationTimeRestriction {
|
|
|
747
828
|
* It is a restriction object which is described below. In this case startDay/endDay fields are not supported. This can be used only if time restriction type is `time-of-day`.
|
|
748
829
|
*/
|
|
749
830
|
restriction?: outputs.ScheduleRotationTimeRestrictionRestriction[];
|
|
831
|
+
/**
|
|
832
|
+
* It is a restriction object which is described below. This can be used only if time restriction type is `weekday-and-time-of-day`.
|
|
833
|
+
*/
|
|
750
834
|
restrictionList?: outputs.ScheduleRotationTimeRestrictionRestrictionList[];
|
|
751
835
|
/**
|
|
752
836
|
* This parameter should be set to `time-of-day` or `weekday-and-time-of-day`.
|