@checkly/pulumi 2.6.0 → 2.7.0-alpha.1762247191
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/check.d.ts +9 -0
- package/check.js.map +1 -1
- package/checkGroup.d.ts +9 -0
- package/checkGroup.js.map +1 -1
- package/dnsMonitor.d.ts +285 -0
- package/dnsMonitor.js +123 -0
- package/dnsMonitor.js.map +1 -0
- package/heartbeatCheck.d.ts +9 -0
- package/heartbeatCheck.js.map +1 -1
- package/heartbeatMonitor.d.ts +9 -0
- package/heartbeatMonitor.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/tcpCheck.d.ts +9 -0
- package/tcpCheck.js.map +1 -1
- package/tcpMonitor.d.ts +9 -0
- package/tcpMonitor.js.map +1 -1
- package/types/input.d.ts +296 -59
- package/types/input.js.map +1 -1
- package/types/output.d.ts +296 -59
- package/types/output.js.map +1 -1
package/types/input.d.ts
CHANGED
|
@@ -73,57 +73,69 @@ export interface CheckAlertChannelSubscription {
|
|
|
73
73
|
}
|
|
74
74
|
export interface CheckAlertSettings {
|
|
75
75
|
/**
|
|
76
|
-
* Determines
|
|
76
|
+
* Determines the type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`. (Default `RUN_BASED`).
|
|
77
77
|
*/
|
|
78
78
|
escalationType?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Configuration for parallel run failure threshold.
|
|
81
|
+
*/
|
|
79
82
|
parallelRunFailureThresholds?: pulumi.Input<pulumi.Input<inputs.CheckAlertSettingsParallelRunFailureThreshold>[]>;
|
|
83
|
+
/**
|
|
84
|
+
* Defines how often to send reminder notifications after initial alert.
|
|
85
|
+
*/
|
|
80
86
|
reminders?: pulumi.Input<pulumi.Input<inputs.CheckAlertSettingsReminder>[]>;
|
|
87
|
+
/**
|
|
88
|
+
* Configuration for run-based escalation.
|
|
89
|
+
*/
|
|
81
90
|
runBasedEscalations?: pulumi.Input<pulumi.Input<inputs.CheckAlertSettingsRunBasedEscalation>[]>;
|
|
82
91
|
/**
|
|
83
|
-
* @deprecated This
|
|
92
|
+
* @deprecated This legacy attribute is no longer available and even if set, does not affect behavior. It will be removed in the next major version.
|
|
84
93
|
*/
|
|
85
94
|
sslCertificates?: pulumi.Input<pulumi.Input<inputs.CheckAlertSettingsSslCertificate>[]>;
|
|
95
|
+
/**
|
|
96
|
+
* Configuration for time-based escalation.
|
|
97
|
+
*/
|
|
86
98
|
timeBasedEscalations?: pulumi.Input<pulumi.Input<inputs.CheckAlertSettingsTimeBasedEscalation>[]>;
|
|
87
99
|
}
|
|
88
100
|
export interface CheckAlertSettingsParallelRunFailureThreshold {
|
|
89
101
|
/**
|
|
90
|
-
*
|
|
102
|
+
* Whether parallel run failure threshold is enabled. Only applies if the check is scheduled for multiple locations in parallel. (Default `false`).
|
|
91
103
|
*/
|
|
92
104
|
enabled?: pulumi.Input<boolean>;
|
|
93
105
|
/**
|
|
94
|
-
* Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `
|
|
106
|
+
* Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
|
95
107
|
*/
|
|
96
108
|
percentage?: pulumi.Input<number>;
|
|
97
109
|
}
|
|
98
110
|
export interface CheckAlertSettingsReminder {
|
|
99
111
|
/**
|
|
100
|
-
*
|
|
112
|
+
* Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
|
101
113
|
*/
|
|
102
114
|
amount?: pulumi.Input<number>;
|
|
103
115
|
/**
|
|
104
|
-
* Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
116
|
+
* Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
105
117
|
*/
|
|
106
118
|
interval?: pulumi.Input<number>;
|
|
107
119
|
}
|
|
108
120
|
export interface CheckAlertSettingsRunBasedEscalation {
|
|
109
121
|
/**
|
|
110
|
-
*
|
|
122
|
+
* Send an alert notification after the given number of consecutive check runs have failed. Possible values are between `1` and `5`. (Default `1`).
|
|
111
123
|
*/
|
|
112
124
|
failedRunThreshold?: pulumi.Input<number>;
|
|
113
125
|
}
|
|
114
126
|
export interface CheckAlertSettingsSslCertificate {
|
|
115
127
|
/**
|
|
116
|
-
*
|
|
128
|
+
* No longer available.
|
|
117
129
|
*/
|
|
118
130
|
alertThreshold?: pulumi.Input<number>;
|
|
119
131
|
/**
|
|
120
|
-
*
|
|
132
|
+
* No longer available.
|
|
121
133
|
*/
|
|
122
134
|
enabled?: pulumi.Input<boolean>;
|
|
123
135
|
}
|
|
124
136
|
export interface CheckAlertSettingsTimeBasedEscalation {
|
|
125
137
|
/**
|
|
126
|
-
*
|
|
138
|
+
* Send an alert notification after the check has been failing for the given amount of time (in minutes). Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
127
139
|
*/
|
|
128
140
|
minutesFailingThreshold?: pulumi.Input<number>;
|
|
129
141
|
}
|
|
@@ -139,57 +151,69 @@ export interface CheckGroupAlertChannelSubscription {
|
|
|
139
151
|
}
|
|
140
152
|
export interface CheckGroupAlertSettings {
|
|
141
153
|
/**
|
|
142
|
-
* Determines
|
|
154
|
+
* Determines the type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`. (Default `RUN_BASED`).
|
|
143
155
|
*/
|
|
144
156
|
escalationType?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Configuration for parallel run failure threshold.
|
|
159
|
+
*/
|
|
145
160
|
parallelRunFailureThresholds?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertSettingsParallelRunFailureThreshold>[]>;
|
|
161
|
+
/**
|
|
162
|
+
* Defines how often to send reminder notifications after initial alert.
|
|
163
|
+
*/
|
|
146
164
|
reminders?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertSettingsReminder>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* Configuration for run-based escalation.
|
|
167
|
+
*/
|
|
147
168
|
runBasedEscalations?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertSettingsRunBasedEscalation>[]>;
|
|
148
169
|
/**
|
|
149
|
-
* @deprecated This
|
|
170
|
+
* @deprecated This legacy attribute is no longer available and even if set, does not affect behavior. It will be removed in the next major version.
|
|
150
171
|
*/
|
|
151
172
|
sslCertificates?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertSettingsSslCertificate>[]>;
|
|
173
|
+
/**
|
|
174
|
+
* Configuration for time-based escalation.
|
|
175
|
+
*/
|
|
152
176
|
timeBasedEscalations?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertSettingsTimeBasedEscalation>[]>;
|
|
153
177
|
}
|
|
154
178
|
export interface CheckGroupAlertSettingsParallelRunFailureThreshold {
|
|
155
179
|
/**
|
|
156
|
-
*
|
|
180
|
+
* Whether parallel run failure threshold is enabled. Only applies if the check is scheduled for multiple locations in parallel. (Default `false`).
|
|
157
181
|
*/
|
|
158
182
|
enabled?: pulumi.Input<boolean>;
|
|
159
183
|
/**
|
|
160
|
-
* Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `
|
|
184
|
+
* Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
|
161
185
|
*/
|
|
162
186
|
percentage?: pulumi.Input<number>;
|
|
163
187
|
}
|
|
164
188
|
export interface CheckGroupAlertSettingsReminder {
|
|
165
189
|
/**
|
|
166
|
-
*
|
|
190
|
+
* Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
|
167
191
|
*/
|
|
168
192
|
amount?: pulumi.Input<number>;
|
|
169
193
|
/**
|
|
170
|
-
* Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
194
|
+
* Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
171
195
|
*/
|
|
172
196
|
interval?: pulumi.Input<number>;
|
|
173
197
|
}
|
|
174
198
|
export interface CheckGroupAlertSettingsRunBasedEscalation {
|
|
175
199
|
/**
|
|
176
|
-
*
|
|
200
|
+
* Send an alert notification after the given number of consecutive check runs have failed. Possible values are between `1` and `5`. (Default `1`).
|
|
177
201
|
*/
|
|
178
202
|
failedRunThreshold?: pulumi.Input<number>;
|
|
179
203
|
}
|
|
180
204
|
export interface CheckGroupAlertSettingsSslCertificate {
|
|
181
205
|
/**
|
|
182
|
-
*
|
|
206
|
+
* No longer available.
|
|
183
207
|
*/
|
|
184
208
|
alertThreshold?: pulumi.Input<number>;
|
|
185
209
|
/**
|
|
186
|
-
*
|
|
210
|
+
* No longer available.
|
|
187
211
|
*/
|
|
188
212
|
enabled?: pulumi.Input<boolean>;
|
|
189
213
|
}
|
|
190
214
|
export interface CheckGroupAlertSettingsTimeBasedEscalation {
|
|
191
215
|
/**
|
|
192
|
-
*
|
|
216
|
+
* Send an alert notification after the check has been failing for the given amount of time (in minutes). Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
193
217
|
*/
|
|
194
218
|
minutesFailingThreshold?: pulumi.Input<number>;
|
|
195
219
|
}
|
|
@@ -370,63 +394,240 @@ export interface CheckTriggerIncident {
|
|
|
370
394
|
*/
|
|
371
395
|
severity: pulumi.Input<string>;
|
|
372
396
|
}
|
|
397
|
+
export interface DnsMonitorAlertChannelSubscription {
|
|
398
|
+
/**
|
|
399
|
+
* Whether an alert should be sent to this channel.
|
|
400
|
+
*/
|
|
401
|
+
activated: pulumi.Input<boolean>;
|
|
402
|
+
/**
|
|
403
|
+
* The ID of the alert channel.
|
|
404
|
+
*/
|
|
405
|
+
channelId: pulumi.Input<number>;
|
|
406
|
+
}
|
|
407
|
+
export interface DnsMonitorAlertSettings {
|
|
408
|
+
/**
|
|
409
|
+
* Determines the type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`. (Default `RUN_BASED`).
|
|
410
|
+
*/
|
|
411
|
+
escalationType?: pulumi.Input<string>;
|
|
412
|
+
/**
|
|
413
|
+
* Configuration for parallel run failure threshold.
|
|
414
|
+
*/
|
|
415
|
+
parallelRunFailureThresholds?: pulumi.Input<pulumi.Input<inputs.DnsMonitorAlertSettingsParallelRunFailureThreshold>[]>;
|
|
416
|
+
/**
|
|
417
|
+
* Defines how often to send reminder notifications after initial alert.
|
|
418
|
+
*/
|
|
419
|
+
reminders?: pulumi.Input<pulumi.Input<inputs.DnsMonitorAlertSettingsReminder>[]>;
|
|
420
|
+
/**
|
|
421
|
+
* Configuration for run-based escalation.
|
|
422
|
+
*/
|
|
423
|
+
runBasedEscalations?: pulumi.Input<pulumi.Input<inputs.DnsMonitorAlertSettingsRunBasedEscalation>[]>;
|
|
424
|
+
/**
|
|
425
|
+
* Configuration for time-based escalation.
|
|
426
|
+
*/
|
|
427
|
+
timeBasedEscalations?: pulumi.Input<pulumi.Input<inputs.DnsMonitorAlertSettingsTimeBasedEscalation>[]>;
|
|
428
|
+
}
|
|
429
|
+
export interface DnsMonitorAlertSettingsParallelRunFailureThreshold {
|
|
430
|
+
/**
|
|
431
|
+
* Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default `false`).
|
|
432
|
+
*/
|
|
433
|
+
enabled?: pulumi.Input<boolean>;
|
|
434
|
+
/**
|
|
435
|
+
* Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
|
436
|
+
*/
|
|
437
|
+
percentage?: pulumi.Input<number>;
|
|
438
|
+
}
|
|
439
|
+
export interface DnsMonitorAlertSettingsReminder {
|
|
440
|
+
/**
|
|
441
|
+
* Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
|
442
|
+
*/
|
|
443
|
+
amount?: pulumi.Input<number>;
|
|
444
|
+
/**
|
|
445
|
+
* Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
446
|
+
*/
|
|
447
|
+
interval?: pulumi.Input<number>;
|
|
448
|
+
}
|
|
449
|
+
export interface DnsMonitorAlertSettingsRunBasedEscalation {
|
|
450
|
+
/**
|
|
451
|
+
* Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between `1` and `5`. (Default `1`).
|
|
452
|
+
*/
|
|
453
|
+
failedRunThreshold?: pulumi.Input<number>;
|
|
454
|
+
}
|
|
455
|
+
export interface DnsMonitorAlertSettingsTimeBasedEscalation {
|
|
456
|
+
/**
|
|
457
|
+
* Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
458
|
+
*/
|
|
459
|
+
minutesFailingThreshold?: pulumi.Input<number>;
|
|
460
|
+
}
|
|
461
|
+
export interface DnsMonitorRequest {
|
|
462
|
+
/**
|
|
463
|
+
* Assertions to validate the HTTP response. DNS monitors only support status code assertions.
|
|
464
|
+
*/
|
|
465
|
+
assertions?: pulumi.Input<pulumi.Input<inputs.DnsMonitorRequestAssertion>[]>;
|
|
466
|
+
/**
|
|
467
|
+
* The name server to use.
|
|
468
|
+
*/
|
|
469
|
+
nameServer?: pulumi.Input<inputs.DnsMonitorRequestNameServer>;
|
|
470
|
+
/**
|
|
471
|
+
* The protocol used to communicate with the name server. Possible values are `UDP` and `TCP`. (Default `UDP`).
|
|
472
|
+
*/
|
|
473
|
+
protocol?: pulumi.Input<string>;
|
|
474
|
+
/**
|
|
475
|
+
* The DNS record to query.
|
|
476
|
+
*/
|
|
477
|
+
query: pulumi.Input<string>;
|
|
478
|
+
/**
|
|
479
|
+
* The DNS record type. Possible values are `A`, `AAAA`, `CNAME`, `MX`, `NS`, `TXT` and `SOA`.
|
|
480
|
+
*/
|
|
481
|
+
recordType: pulumi.Input<string>;
|
|
482
|
+
}
|
|
483
|
+
export interface DnsMonitorRequestAssertion {
|
|
484
|
+
/**
|
|
485
|
+
* The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `GREATER_THAN` and `LESS_THAN`.
|
|
486
|
+
*/
|
|
487
|
+
comparison: pulumi.Input<string>;
|
|
488
|
+
property?: pulumi.Input<string>;
|
|
489
|
+
/**
|
|
490
|
+
* The source of the asserted value. Possible values are `RESPONSE_CODE`, `RESPONSE_TIME`, `TEXT_ANSWER` and `JSON_ANSWER`.
|
|
491
|
+
*/
|
|
492
|
+
source: pulumi.Input<string>;
|
|
493
|
+
/**
|
|
494
|
+
* The target value. Typically `NOERROR` when the source is `RESPONSE_CODE`.
|
|
495
|
+
*/
|
|
496
|
+
target: pulumi.Input<string>;
|
|
497
|
+
}
|
|
498
|
+
export interface DnsMonitorRequestNameServer {
|
|
499
|
+
/**
|
|
500
|
+
* The name server host.
|
|
501
|
+
*/
|
|
502
|
+
host?: pulumi.Input<string>;
|
|
503
|
+
/**
|
|
504
|
+
* The name server port.
|
|
505
|
+
*/
|
|
506
|
+
port?: pulumi.Input<number>;
|
|
507
|
+
}
|
|
508
|
+
export interface DnsMonitorRetryStrategy {
|
|
509
|
+
/**
|
|
510
|
+
* The number of seconds to wait before the first retry attempt. (Default `60`).
|
|
511
|
+
*/
|
|
512
|
+
baseBackoffSeconds?: pulumi.Input<number>;
|
|
513
|
+
/**
|
|
514
|
+
* The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
|
|
515
|
+
*/
|
|
516
|
+
maxDurationSeconds?: pulumi.Input<number>;
|
|
517
|
+
/**
|
|
518
|
+
* The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
|
|
519
|
+
*/
|
|
520
|
+
maxRetries?: pulumi.Input<number>;
|
|
521
|
+
/**
|
|
522
|
+
* Apply the retry strategy only if the defined conditions match.
|
|
523
|
+
*/
|
|
524
|
+
onlyOn?: pulumi.Input<inputs.DnsMonitorRetryStrategyOnlyOn>;
|
|
525
|
+
/**
|
|
526
|
+
* Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
|
|
527
|
+
*/
|
|
528
|
+
sameRegion?: pulumi.Input<boolean>;
|
|
529
|
+
/**
|
|
530
|
+
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
|
|
531
|
+
*/
|
|
532
|
+
type: pulumi.Input<string>;
|
|
533
|
+
}
|
|
534
|
+
export interface DnsMonitorRetryStrategyOnlyOn {
|
|
535
|
+
/**
|
|
536
|
+
* When `true`, retry only if the cause of the failure is a network error. (Default `false`).
|
|
537
|
+
*/
|
|
538
|
+
networkError?: pulumi.Input<boolean>;
|
|
539
|
+
}
|
|
540
|
+
export interface DnsMonitorTriggerIncident {
|
|
541
|
+
/**
|
|
542
|
+
* A detailed description of the incident.
|
|
543
|
+
*/
|
|
544
|
+
description: pulumi.Input<string>;
|
|
545
|
+
/**
|
|
546
|
+
* The name of the incident.
|
|
547
|
+
*/
|
|
548
|
+
name: pulumi.Input<string>;
|
|
549
|
+
/**
|
|
550
|
+
* Whether to notify subscribers when the incident is triggered.
|
|
551
|
+
*/
|
|
552
|
+
notifySubscribers: pulumi.Input<boolean>;
|
|
553
|
+
/**
|
|
554
|
+
* The status page service that this incident will be associated with.
|
|
555
|
+
*/
|
|
556
|
+
serviceId: pulumi.Input<string>;
|
|
557
|
+
/**
|
|
558
|
+
* The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
|
|
559
|
+
*/
|
|
560
|
+
severity: pulumi.Input<string>;
|
|
561
|
+
}
|
|
373
562
|
export interface HeartbeatCheckAlertChannelSubscription {
|
|
374
563
|
activated: pulumi.Input<boolean>;
|
|
375
564
|
channelId: pulumi.Input<number>;
|
|
376
565
|
}
|
|
377
566
|
export interface HeartbeatCheckAlertSettings {
|
|
378
567
|
/**
|
|
379
|
-
* Determines
|
|
568
|
+
* Determines the type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`. (Default `RUN_BASED`).
|
|
380
569
|
*/
|
|
381
570
|
escalationType?: pulumi.Input<string>;
|
|
571
|
+
/**
|
|
572
|
+
* Configuration for parallel run failure threshold.
|
|
573
|
+
*/
|
|
382
574
|
parallelRunFailureThresholds?: pulumi.Input<pulumi.Input<inputs.HeartbeatCheckAlertSettingsParallelRunFailureThreshold>[]>;
|
|
575
|
+
/**
|
|
576
|
+
* Defines how often to send reminder notifications after initial alert.
|
|
577
|
+
*/
|
|
383
578
|
reminders?: pulumi.Input<pulumi.Input<inputs.HeartbeatCheckAlertSettingsReminder>[]>;
|
|
579
|
+
/**
|
|
580
|
+
* Configuration for run-based escalation.
|
|
581
|
+
*/
|
|
384
582
|
runBasedEscalations?: pulumi.Input<pulumi.Input<inputs.HeartbeatCheckAlertSettingsRunBasedEscalation>[]>;
|
|
385
583
|
/**
|
|
386
|
-
* @deprecated This
|
|
584
|
+
* @deprecated This legacy attribute is no longer available and even if set, does not affect behavior. It will be removed in the next major version.
|
|
387
585
|
*/
|
|
388
586
|
sslCertificates?: pulumi.Input<pulumi.Input<inputs.HeartbeatCheckAlertSettingsSslCertificate>[]>;
|
|
587
|
+
/**
|
|
588
|
+
* Configuration for time-based escalation.
|
|
589
|
+
*/
|
|
389
590
|
timeBasedEscalations?: pulumi.Input<pulumi.Input<inputs.HeartbeatCheckAlertSettingsTimeBasedEscalation>[]>;
|
|
390
591
|
}
|
|
391
592
|
export interface HeartbeatCheckAlertSettingsParallelRunFailureThreshold {
|
|
392
593
|
/**
|
|
393
|
-
*
|
|
594
|
+
* Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default `false`).
|
|
394
595
|
*/
|
|
395
596
|
enabled?: pulumi.Input<boolean>;
|
|
396
597
|
/**
|
|
397
|
-
* Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `
|
|
598
|
+
* Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
|
398
599
|
*/
|
|
399
600
|
percentage?: pulumi.Input<number>;
|
|
400
601
|
}
|
|
401
602
|
export interface HeartbeatCheckAlertSettingsReminder {
|
|
402
603
|
/**
|
|
403
|
-
*
|
|
604
|
+
* Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
|
404
605
|
*/
|
|
405
606
|
amount?: pulumi.Input<number>;
|
|
406
607
|
/**
|
|
407
|
-
* Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
608
|
+
* Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
408
609
|
*/
|
|
409
610
|
interval?: pulumi.Input<number>;
|
|
410
611
|
}
|
|
411
612
|
export interface HeartbeatCheckAlertSettingsRunBasedEscalation {
|
|
412
613
|
/**
|
|
413
|
-
*
|
|
614
|
+
* Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between `1` and `5`. (Default `1`).
|
|
414
615
|
*/
|
|
415
616
|
failedRunThreshold?: pulumi.Input<number>;
|
|
416
617
|
}
|
|
417
618
|
export interface HeartbeatCheckAlertSettingsSslCertificate {
|
|
418
619
|
/**
|
|
419
|
-
*
|
|
620
|
+
* No longer available.
|
|
420
621
|
*/
|
|
421
622
|
alertThreshold?: pulumi.Input<number>;
|
|
422
623
|
/**
|
|
423
|
-
*
|
|
624
|
+
* No longer available.
|
|
424
625
|
*/
|
|
425
626
|
enabled?: pulumi.Input<boolean>;
|
|
426
627
|
}
|
|
427
628
|
export interface HeartbeatCheckAlertSettingsTimeBasedEscalation {
|
|
428
629
|
/**
|
|
429
|
-
*
|
|
630
|
+
* Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
430
631
|
*/
|
|
431
632
|
minutesFailingThreshold?: pulumi.Input<number>;
|
|
432
633
|
}
|
|
@@ -480,57 +681,69 @@ export interface HeartbeatMonitorAlertChannelSubscription {
|
|
|
480
681
|
}
|
|
481
682
|
export interface HeartbeatMonitorAlertSettings {
|
|
482
683
|
/**
|
|
483
|
-
* Determines
|
|
684
|
+
* Determines the type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`. (Default `RUN_BASED`).
|
|
484
685
|
*/
|
|
485
686
|
escalationType?: pulumi.Input<string>;
|
|
687
|
+
/**
|
|
688
|
+
* Configuration for parallel run failure threshold.
|
|
689
|
+
*/
|
|
486
690
|
parallelRunFailureThresholds?: pulumi.Input<pulumi.Input<inputs.HeartbeatMonitorAlertSettingsParallelRunFailureThreshold>[]>;
|
|
691
|
+
/**
|
|
692
|
+
* Defines how often to send reminder notifications after initial alert.
|
|
693
|
+
*/
|
|
487
694
|
reminders?: pulumi.Input<pulumi.Input<inputs.HeartbeatMonitorAlertSettingsReminder>[]>;
|
|
695
|
+
/**
|
|
696
|
+
* Configuration for run-based escalation.
|
|
697
|
+
*/
|
|
488
698
|
runBasedEscalations?: pulumi.Input<pulumi.Input<inputs.HeartbeatMonitorAlertSettingsRunBasedEscalation>[]>;
|
|
489
699
|
/**
|
|
490
|
-
* @deprecated This
|
|
700
|
+
* @deprecated This legacy attribute is no longer available and even if set, does not affect behavior. It will be removed in the next major version.
|
|
491
701
|
*/
|
|
492
702
|
sslCertificates?: pulumi.Input<pulumi.Input<inputs.HeartbeatMonitorAlertSettingsSslCertificate>[]>;
|
|
703
|
+
/**
|
|
704
|
+
* Configuration for time-based escalation.
|
|
705
|
+
*/
|
|
493
706
|
timeBasedEscalations?: pulumi.Input<pulumi.Input<inputs.HeartbeatMonitorAlertSettingsTimeBasedEscalation>[]>;
|
|
494
707
|
}
|
|
495
708
|
export interface HeartbeatMonitorAlertSettingsParallelRunFailureThreshold {
|
|
496
709
|
/**
|
|
497
|
-
*
|
|
710
|
+
* Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default `false`).
|
|
498
711
|
*/
|
|
499
712
|
enabled?: pulumi.Input<boolean>;
|
|
500
713
|
/**
|
|
501
|
-
* Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `
|
|
714
|
+
* Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
|
502
715
|
*/
|
|
503
716
|
percentage?: pulumi.Input<number>;
|
|
504
717
|
}
|
|
505
718
|
export interface HeartbeatMonitorAlertSettingsReminder {
|
|
506
719
|
/**
|
|
507
|
-
*
|
|
720
|
+
* Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
|
508
721
|
*/
|
|
509
722
|
amount?: pulumi.Input<number>;
|
|
510
723
|
/**
|
|
511
|
-
* Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
724
|
+
* Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
512
725
|
*/
|
|
513
726
|
interval?: pulumi.Input<number>;
|
|
514
727
|
}
|
|
515
728
|
export interface HeartbeatMonitorAlertSettingsRunBasedEscalation {
|
|
516
729
|
/**
|
|
517
|
-
*
|
|
730
|
+
* Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between `1` and `5`. (Default `1`).
|
|
518
731
|
*/
|
|
519
732
|
failedRunThreshold?: pulumi.Input<number>;
|
|
520
733
|
}
|
|
521
734
|
export interface HeartbeatMonitorAlertSettingsSslCertificate {
|
|
522
735
|
/**
|
|
523
|
-
*
|
|
736
|
+
* No longer available.
|
|
524
737
|
*/
|
|
525
738
|
alertThreshold?: pulumi.Input<number>;
|
|
526
739
|
/**
|
|
527
|
-
*
|
|
740
|
+
* No longer available.
|
|
528
741
|
*/
|
|
529
742
|
enabled?: pulumi.Input<boolean>;
|
|
530
743
|
}
|
|
531
744
|
export interface HeartbeatMonitorAlertSettingsTimeBasedEscalation {
|
|
532
745
|
/**
|
|
533
|
-
*
|
|
746
|
+
* Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
534
747
|
*/
|
|
535
748
|
minutesFailingThreshold?: pulumi.Input<number>;
|
|
536
749
|
}
|
|
@@ -600,43 +813,55 @@ export interface TcpCheckAlertChannelSubscription {
|
|
|
600
813
|
}
|
|
601
814
|
export interface TcpCheckAlertSettings {
|
|
602
815
|
/**
|
|
603
|
-
* Determines
|
|
816
|
+
* Determines the type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`. (Default `RUN_BASED`).
|
|
604
817
|
*/
|
|
605
818
|
escalationType?: pulumi.Input<string>;
|
|
819
|
+
/**
|
|
820
|
+
* Configuration for parallel run failure threshold.
|
|
821
|
+
*/
|
|
606
822
|
parallelRunFailureThresholds?: pulumi.Input<pulumi.Input<inputs.TcpCheckAlertSettingsParallelRunFailureThreshold>[]>;
|
|
823
|
+
/**
|
|
824
|
+
* Defines how often to send reminder notifications after initial alert.
|
|
825
|
+
*/
|
|
607
826
|
reminders?: pulumi.Input<pulumi.Input<inputs.TcpCheckAlertSettingsReminder>[]>;
|
|
827
|
+
/**
|
|
828
|
+
* Configuration for run-based escalation.
|
|
829
|
+
*/
|
|
608
830
|
runBasedEscalations?: pulumi.Input<pulumi.Input<inputs.TcpCheckAlertSettingsRunBasedEscalation>[]>;
|
|
831
|
+
/**
|
|
832
|
+
* Configuration for time-based escalation.
|
|
833
|
+
*/
|
|
609
834
|
timeBasedEscalations?: pulumi.Input<pulumi.Input<inputs.TcpCheckAlertSettingsTimeBasedEscalation>[]>;
|
|
610
835
|
}
|
|
611
836
|
export interface TcpCheckAlertSettingsParallelRunFailureThreshold {
|
|
612
837
|
/**
|
|
613
|
-
*
|
|
838
|
+
* Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default `false`).
|
|
614
839
|
*/
|
|
615
840
|
enabled?: pulumi.Input<boolean>;
|
|
616
841
|
/**
|
|
617
|
-
* Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `
|
|
842
|
+
* Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
|
618
843
|
*/
|
|
619
844
|
percentage?: pulumi.Input<number>;
|
|
620
845
|
}
|
|
621
846
|
export interface TcpCheckAlertSettingsReminder {
|
|
622
847
|
/**
|
|
623
|
-
*
|
|
848
|
+
* Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
|
624
849
|
*/
|
|
625
850
|
amount?: pulumi.Input<number>;
|
|
626
851
|
/**
|
|
627
|
-
* Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
852
|
+
* Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
628
853
|
*/
|
|
629
854
|
interval?: pulumi.Input<number>;
|
|
630
855
|
}
|
|
631
856
|
export interface TcpCheckAlertSettingsRunBasedEscalation {
|
|
632
857
|
/**
|
|
633
|
-
*
|
|
858
|
+
* Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between `1` and `5`. (Default `1`).
|
|
634
859
|
*/
|
|
635
860
|
failedRunThreshold?: pulumi.Input<number>;
|
|
636
861
|
}
|
|
637
862
|
export interface TcpCheckAlertSettingsTimeBasedEscalation {
|
|
638
863
|
/**
|
|
639
|
-
*
|
|
864
|
+
* Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
640
865
|
*/
|
|
641
866
|
minutesFailingThreshold?: pulumi.Input<number>;
|
|
642
867
|
}
|
|
@@ -734,43 +959,55 @@ export interface TcpMonitorAlertChannelSubscription {
|
|
|
734
959
|
}
|
|
735
960
|
export interface TcpMonitorAlertSettings {
|
|
736
961
|
/**
|
|
737
|
-
* Determines
|
|
962
|
+
* Determines the type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`. (Default `RUN_BASED`).
|
|
738
963
|
*/
|
|
739
964
|
escalationType?: pulumi.Input<string>;
|
|
965
|
+
/**
|
|
966
|
+
* Configuration for parallel run failure threshold.
|
|
967
|
+
*/
|
|
740
968
|
parallelRunFailureThresholds?: pulumi.Input<pulumi.Input<inputs.TcpMonitorAlertSettingsParallelRunFailureThreshold>[]>;
|
|
969
|
+
/**
|
|
970
|
+
* Defines how often to send reminder notifications after initial alert.
|
|
971
|
+
*/
|
|
741
972
|
reminders?: pulumi.Input<pulumi.Input<inputs.TcpMonitorAlertSettingsReminder>[]>;
|
|
973
|
+
/**
|
|
974
|
+
* Configuration for run-based escalation.
|
|
975
|
+
*/
|
|
742
976
|
runBasedEscalations?: pulumi.Input<pulumi.Input<inputs.TcpMonitorAlertSettingsRunBasedEscalation>[]>;
|
|
977
|
+
/**
|
|
978
|
+
* Configuration for time-based escalation.
|
|
979
|
+
*/
|
|
743
980
|
timeBasedEscalations?: pulumi.Input<pulumi.Input<inputs.TcpMonitorAlertSettingsTimeBasedEscalation>[]>;
|
|
744
981
|
}
|
|
745
982
|
export interface TcpMonitorAlertSettingsParallelRunFailureThreshold {
|
|
746
983
|
/**
|
|
747
|
-
*
|
|
984
|
+
* Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default `false`).
|
|
748
985
|
*/
|
|
749
986
|
enabled?: pulumi.Input<boolean>;
|
|
750
987
|
/**
|
|
751
|
-
* Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `
|
|
988
|
+
* Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
|
752
989
|
*/
|
|
753
990
|
percentage?: pulumi.Input<number>;
|
|
754
991
|
}
|
|
755
992
|
export interface TcpMonitorAlertSettingsReminder {
|
|
756
993
|
/**
|
|
757
|
-
*
|
|
994
|
+
* Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
|
758
995
|
*/
|
|
759
996
|
amount?: pulumi.Input<number>;
|
|
760
997
|
/**
|
|
761
|
-
* Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
998
|
+
* Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
762
999
|
*/
|
|
763
1000
|
interval?: pulumi.Input<number>;
|
|
764
1001
|
}
|
|
765
1002
|
export interface TcpMonitorAlertSettingsRunBasedEscalation {
|
|
766
1003
|
/**
|
|
767
|
-
*
|
|
1004
|
+
* Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between `1` and `5`. (Default `1`).
|
|
768
1005
|
*/
|
|
769
1006
|
failedRunThreshold?: pulumi.Input<number>;
|
|
770
1007
|
}
|
|
771
1008
|
export interface TcpMonitorAlertSettingsTimeBasedEscalation {
|
|
772
1009
|
/**
|
|
773
|
-
*
|
|
1010
|
+
* Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
774
1011
|
*/
|
|
775
1012
|
minutesFailingThreshold?: pulumi.Input<number>;
|
|
776
1013
|
}
|
|
@@ -874,9 +1111,9 @@ export interface UrlMonitorAlertChannelSubscription {
|
|
|
874
1111
|
}
|
|
875
1112
|
export interface UrlMonitorAlertSettings {
|
|
876
1113
|
/**
|
|
877
|
-
* Determines
|
|
1114
|
+
* Determines the type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`. (Default `RUN_BASED`).
|
|
878
1115
|
*/
|
|
879
|
-
escalationType
|
|
1116
|
+
escalationType?: pulumi.Input<string>;
|
|
880
1117
|
/**
|
|
881
1118
|
* Configuration for parallel run failure threshold.
|
|
882
1119
|
*/
|
|
@@ -896,7 +1133,7 @@ export interface UrlMonitorAlertSettings {
|
|
|
896
1133
|
}
|
|
897
1134
|
export interface UrlMonitorAlertSettingsParallelRunFailureThreshold {
|
|
898
1135
|
/**
|
|
899
|
-
* Whether parallel run failure threshold is enabled.
|
|
1136
|
+
* Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default `false`).
|
|
900
1137
|
*/
|
|
901
1138
|
enabled?: pulumi.Input<boolean>;
|
|
902
1139
|
/**
|
|
@@ -916,13 +1153,13 @@ export interface UrlMonitorAlertSettingsReminder {
|
|
|
916
1153
|
}
|
|
917
1154
|
export interface UrlMonitorAlertSettingsRunBasedEscalation {
|
|
918
1155
|
/**
|
|
919
|
-
*
|
|
1156
|
+
* Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between `1` and `5`. (Default `1`).
|
|
920
1157
|
*/
|
|
921
1158
|
failedRunThreshold?: pulumi.Input<number>;
|
|
922
1159
|
}
|
|
923
1160
|
export interface UrlMonitorAlertSettingsTimeBasedEscalation {
|
|
924
1161
|
/**
|
|
925
|
-
*
|
|
1162
|
+
* Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
|
926
1163
|
*/
|
|
927
1164
|
minutesFailingThreshold?: pulumi.Input<number>;
|
|
928
1165
|
}
|