@checkly/pulumi 2.3.0-alpha.1750944663 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types/output.d.ts CHANGED
@@ -409,6 +409,88 @@ export interface HeartbeatCheckHeartbeat {
409
409
  */
410
410
  pingToken: string;
411
411
  }
412
+ export interface HeartbeatMonitorAlertChannelSubscription {
413
+ activated: boolean;
414
+ channelId: number;
415
+ }
416
+ export interface HeartbeatMonitorAlertSettings {
417
+ /**
418
+ * Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
419
+ */
420
+ escalationType?: string;
421
+ parallelRunFailureThresholds: outputs.HeartbeatMonitorAlertSettingsParallelRunFailureThreshold[];
422
+ reminders: outputs.HeartbeatMonitorAlertSettingsReminder[];
423
+ runBasedEscalations: outputs.HeartbeatMonitorAlertSettingsRunBasedEscalation[];
424
+ /**
425
+ * @deprecated This property is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.
426
+ */
427
+ sslCertificates?: outputs.HeartbeatMonitorAlertSettingsSslCertificate[];
428
+ timeBasedEscalations: outputs.HeartbeatMonitorAlertSettingsTimeBasedEscalation[];
429
+ }
430
+ export interface HeartbeatMonitorAlertSettingsParallelRunFailureThreshold {
431
+ /**
432
+ * Applicable only for checks scheduled in parallel in multiple locations.
433
+ */
434
+ enabled?: boolean;
435
+ /**
436
+ * Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
437
+ */
438
+ percentage?: number;
439
+ }
440
+ export interface HeartbeatMonitorAlertSettingsReminder {
441
+ /**
442
+ * How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
443
+ */
444
+ amount?: number;
445
+ /**
446
+ * Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
447
+ */
448
+ interval?: number;
449
+ }
450
+ export interface HeartbeatMonitorAlertSettingsRunBasedEscalation {
451
+ /**
452
+ * After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
453
+ */
454
+ failedRunThreshold?: number;
455
+ }
456
+ export interface HeartbeatMonitorAlertSettingsSslCertificate {
457
+ /**
458
+ * How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
459
+ */
460
+ alertThreshold?: number;
461
+ /**
462
+ * Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
463
+ */
464
+ enabled?: boolean;
465
+ }
466
+ export interface HeartbeatMonitorAlertSettingsTimeBasedEscalation {
467
+ /**
468
+ * After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
469
+ */
470
+ minutesFailingThreshold?: number;
471
+ }
472
+ export interface HeartbeatMonitorHeartbeat {
473
+ /**
474
+ * How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
475
+ */
476
+ grace: number;
477
+ /**
478
+ * Possible values `seconds`, `minutes`, `hours` and `days`.
479
+ */
480
+ graceUnit: string;
481
+ /**
482
+ * How often you expect a ping to the ping URL.
483
+ */
484
+ period: number;
485
+ /**
486
+ * Possible values `seconds`, `minutes`, `hours` and `days`.
487
+ */
488
+ periodUnit: string;
489
+ /**
490
+ * Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
491
+ */
492
+ pingToken: string;
493
+ }
412
494
  export interface StatusPageCard {
413
495
  /**
414
496
  * The name of the card.
@@ -527,3 +609,228 @@ export interface TcpCheckRetryStrategy {
527
609
  */
528
610
  type: string;
529
611
  }
612
+ export interface TcpMonitorAlertChannelSubscription {
613
+ activated: boolean;
614
+ channelId: number;
615
+ }
616
+ export interface TcpMonitorAlertSettings {
617
+ /**
618
+ * Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
619
+ */
620
+ escalationType?: string;
621
+ parallelRunFailureThresholds: outputs.TcpMonitorAlertSettingsParallelRunFailureThreshold[];
622
+ reminders: outputs.TcpMonitorAlertSettingsReminder[];
623
+ runBasedEscalations: outputs.TcpMonitorAlertSettingsRunBasedEscalation[];
624
+ timeBasedEscalations: outputs.TcpMonitorAlertSettingsTimeBasedEscalation[];
625
+ }
626
+ export interface TcpMonitorAlertSettingsParallelRunFailureThreshold {
627
+ /**
628
+ * Applicable only for checks scheduled in parallel in multiple locations.
629
+ */
630
+ enabled?: boolean;
631
+ /**
632
+ * Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
633
+ */
634
+ percentage?: number;
635
+ }
636
+ export interface TcpMonitorAlertSettingsReminder {
637
+ /**
638
+ * How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
639
+ */
640
+ amount?: number;
641
+ /**
642
+ * Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
643
+ */
644
+ interval?: number;
645
+ }
646
+ export interface TcpMonitorAlertSettingsRunBasedEscalation {
647
+ /**
648
+ * After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
649
+ */
650
+ failedRunThreshold?: number;
651
+ }
652
+ export interface TcpMonitorAlertSettingsTimeBasedEscalation {
653
+ /**
654
+ * After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
655
+ */
656
+ minutesFailingThreshold?: number;
657
+ }
658
+ export interface TcpMonitorRequest {
659
+ /**
660
+ * A request can have multiple assertions.
661
+ */
662
+ assertions?: outputs.TcpMonitorRequestAssertion[];
663
+ /**
664
+ * The data to send to the target host.
665
+ */
666
+ data?: string;
667
+ /**
668
+ * The hostname or IP to connect to. Do not include a scheme or a port in this value.
669
+ */
670
+ hostname: string;
671
+ /**
672
+ * The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
673
+ */
674
+ ipFamily?: string;
675
+ /**
676
+ * The port number to connect to.
677
+ */
678
+ port: number;
679
+ }
680
+ export interface TcpMonitorRequestAssertion {
681
+ /**
682
+ * The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
683
+ */
684
+ comparison: string;
685
+ property?: string;
686
+ /**
687
+ * The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
688
+ */
689
+ source: string;
690
+ target?: string;
691
+ }
692
+ export interface TcpMonitorRetryStrategy {
693
+ /**
694
+ * The number of seconds to wait before the first retry attempt.
695
+ */
696
+ baseBackoffSeconds?: number;
697
+ /**
698
+ * The total amount of time to continue retrying the check (maximum 600 seconds).
699
+ */
700
+ maxDurationSeconds?: number;
701
+ /**
702
+ * The maximum number of times to retry the check. Value must be between 1 and 10.
703
+ */
704
+ maxRetries?: number;
705
+ /**
706
+ * Whether retries should be run in the same region as the initial check run.
707
+ */
708
+ sameRegion?: boolean;
709
+ /**
710
+ * Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
711
+ */
712
+ type: string;
713
+ }
714
+ export interface UrlMonitorAlertChannelSubscription {
715
+ /**
716
+ * Whether an alert should be sent to this channel.
717
+ */
718
+ activated: boolean;
719
+ /**
720
+ * The ID of the alert channel.
721
+ */
722
+ channelId: number;
723
+ }
724
+ export interface UrlMonitorAlertSettings {
725
+ /**
726
+ * Determines what type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`.
727
+ */
728
+ escalationType: string;
729
+ /**
730
+ * Configuration for parallel run failure threshold.
731
+ */
732
+ parallelRunFailureThresholds: outputs.UrlMonitorAlertSettingsParallelRunFailureThreshold[];
733
+ /**
734
+ * Defines how often to send reminder notifications after initial alert.
735
+ */
736
+ reminders: outputs.UrlMonitorAlertSettingsReminder[];
737
+ /**
738
+ * Configuration for run-based escalation.
739
+ */
740
+ runBasedEscalations: outputs.UrlMonitorAlertSettingsRunBasedEscalation[];
741
+ /**
742
+ * Configuration for time-based escalation.
743
+ */
744
+ timeBasedEscalations: outputs.UrlMonitorAlertSettingsTimeBasedEscalation[];
745
+ }
746
+ export interface UrlMonitorAlertSettingsParallelRunFailureThreshold {
747
+ /**
748
+ * Whether parallel run failure threshold is enabled. Applicable only for monitors scheduled in parallel in multiple locations. (Default `false`).
749
+ */
750
+ enabled?: boolean;
751
+ /**
752
+ * 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`).
753
+ */
754
+ percentage?: number;
755
+ }
756
+ export interface UrlMonitorAlertSettingsReminder {
757
+ /**
758
+ * 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`).
759
+ */
760
+ amount?: number;
761
+ /**
762
+ * Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
763
+ */
764
+ interval?: number;
765
+ }
766
+ export interface UrlMonitorAlertSettingsRunBasedEscalation {
767
+ /**
768
+ * After how many failed consecutive check runs an alert notification should be sent. Possible values are between `1` and `5`. (Default `1`).
769
+ */
770
+ failedRunThreshold?: number;
771
+ }
772
+ export interface UrlMonitorAlertSettingsTimeBasedEscalation {
773
+ /**
774
+ * After how many minutes after a monitor starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
775
+ */
776
+ minutesFailingThreshold?: number;
777
+ }
778
+ export interface UrlMonitorRequest {
779
+ /**
780
+ * Assertions to validate the HTTP response. URL monitors only support status code assertions.
781
+ */
782
+ assertions?: outputs.UrlMonitorRequestAssertion[];
783
+ /**
784
+ * Whether to follow HTTP redirects automatically. (Default `true`).
785
+ */
786
+ followRedirects?: boolean;
787
+ /**
788
+ * IP family version to use for the connection. The value can be either `IPv4` or `IPv6`. (Default `IPv4`).
789
+ */
790
+ ipFamily?: string;
791
+ /**
792
+ * Whether to skip SSL certificate verification. (Default `false`).
793
+ */
794
+ skipSsl?: boolean;
795
+ /**
796
+ * The URL to monitor. Must be a valid HTTP or HTTPS URL.
797
+ */
798
+ url: string;
799
+ }
800
+ export interface UrlMonitorRequestAssertion {
801
+ /**
802
+ * 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`.
803
+ */
804
+ comparison: string;
805
+ property?: string;
806
+ /**
807
+ * The source of the asserted value. The only allowed value is `STATUS_CODE`.
808
+ */
809
+ source: string;
810
+ /**
811
+ * The target value. Typically `200` when the source is `STATUS_CODE`.
812
+ */
813
+ target: string;
814
+ }
815
+ export interface UrlMonitorRetryStrategy {
816
+ /**
817
+ * The number of seconds to wait before the first retry attempt. (Default `60`).
818
+ */
819
+ baseBackoffSeconds?: number;
820
+ /**
821
+ * The total amount of time to continue retrying the monitor (maximum 600 seconds). (Default `600`).
822
+ */
823
+ maxDurationSeconds?: number;
824
+ /**
825
+ * The maximum number of times to retry the monitor. Value must be between `1` and `10`. (Default `2`).
826
+ */
827
+ maxRetries?: number;
828
+ /**
829
+ * Whether retries should be run in the same region as the initial monitor run. (Default `true`).
830
+ */
831
+ sameRegion?: boolean;
832
+ /**
833
+ * Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, and `EXPONENTIAL`.
834
+ */
835
+ type: string;
836
+ }
@@ -0,0 +1,292 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Creates a URL Monitor to check HTTP endpoint availability and response times.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as checkly from "@checkly/pulumi";
12
+ *
13
+ * const example_url_monitor = new checkly.UrlMonitor("example-url-monitor", {
14
+ * name: "Example URL monitor",
15
+ * activated: true,
16
+ * frequency: 2,
17
+ * useGlobalAlertSettings: true,
18
+ * locations: ["eu-west-1"],
19
+ * request: {
20
+ * url: "https://welcome.checklyhq.com",
21
+ * assertions: [{
22
+ * source: "STATUS_CODE",
23
+ * comparison: "EQUALS",
24
+ * target: "200",
25
+ * }],
26
+ * },
27
+ * });
28
+ * ```
29
+ */
30
+ export declare class UrlMonitor extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing UrlMonitor resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UrlMonitorState, opts?: pulumi.CustomResourceOptions): UrlMonitor;
41
+ /**
42
+ * Returns true if the given object is an instance of UrlMonitor. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is UrlMonitor;
46
+ /**
47
+ * Determines whether the monitor will run periodically or not after being deployed.
48
+ */
49
+ readonly activated: pulumi.Output<boolean>;
50
+ /**
51
+ * An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
52
+ */
53
+ readonly alertChannelSubscriptions: pulumi.Output<outputs.UrlMonitorAlertChannelSubscription[] | undefined>;
54
+ /**
55
+ * Determines the alert escalation policy for the monitor.
56
+ */
57
+ readonly alertSettings: pulumi.Output<outputs.UrlMonitorAlertSettings>;
58
+ /**
59
+ * The response time in milliseconds where the monitor should be considered degraded. Possible values are between `0` and `30000`. (Default `3000`).
60
+ */
61
+ readonly degradedResponseTime: pulumi.Output<number | undefined>;
62
+ /**
63
+ * How often the monitor should run in minutes. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
64
+ */
65
+ readonly frequency: pulumi.Output<number>;
66
+ /**
67
+ * To create a high frequency monitor, set `frequency` to `0` and `frequencyOffset` to `10`, `20`, or `30`.
68
+ */
69
+ readonly frequencyOffset: pulumi.Output<number | undefined>;
70
+ /**
71
+ * The ID of the check group that this monitor is part of.
72
+ */
73
+ readonly groupId: pulumi.Output<number | undefined>;
74
+ /**
75
+ * The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
76
+ */
77
+ readonly groupOrder: pulumi.Output<number | undefined>;
78
+ /**
79
+ * An array of one or more data center locations where to run the this monitor.
80
+ */
81
+ readonly locations: pulumi.Output<string[] | undefined>;
82
+ /**
83
+ * The response time in milliseconds where the monitor should be considered failing. Possible values are between `0` and `30000`. (Default `5000`).
84
+ */
85
+ readonly maxResponseTime: pulumi.Output<number | undefined>;
86
+ /**
87
+ * Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default `false`).
88
+ */
89
+ readonly muted: pulumi.Output<boolean | undefined>;
90
+ /**
91
+ * The name of the monitor.
92
+ */
93
+ readonly name: pulumi.Output<string>;
94
+ /**
95
+ * An array of one or more private locations slugs.
96
+ */
97
+ readonly privateLocations: pulumi.Output<string[] | undefined>;
98
+ /**
99
+ * The parameters of the HTTP request.
100
+ */
101
+ readonly request: pulumi.Output<outputs.UrlMonitorRequest>;
102
+ /**
103
+ * A strategy for retrying failed monitor runs.
104
+ */
105
+ readonly retryStrategy: pulumi.Output<outputs.UrlMonitorRetryStrategy>;
106
+ /**
107
+ * Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default `false`).
108
+ */
109
+ readonly runParallel: pulumi.Output<boolean | undefined>;
110
+ /**
111
+ * Allows to invert the behaviour of when the monitor is considered to fail. (Default `false`).
112
+ */
113
+ readonly shouldFail: pulumi.Output<boolean | undefined>;
114
+ /**
115
+ * A list of tags for organizing and filtering checks and monitors.
116
+ */
117
+ readonly tags: pulumi.Output<string[] | undefined>;
118
+ /**
119
+ * When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default `true`).
120
+ */
121
+ readonly useGlobalAlertSettings: pulumi.Output<boolean | undefined>;
122
+ /**
123
+ * Create a UrlMonitor resource with the given unique name, arguments, and options.
124
+ *
125
+ * @param name The _unique_ name of the resource.
126
+ * @param args The arguments to use to populate this resource's properties.
127
+ * @param opts A bag of options that control this resource's behavior.
128
+ */
129
+ constructor(name: string, args: UrlMonitorArgs, opts?: pulumi.CustomResourceOptions);
130
+ }
131
+ /**
132
+ * Input properties used for looking up and filtering UrlMonitor resources.
133
+ */
134
+ export interface UrlMonitorState {
135
+ /**
136
+ * Determines whether the monitor will run periodically or not after being deployed.
137
+ */
138
+ activated?: pulumi.Input<boolean>;
139
+ /**
140
+ * An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
141
+ */
142
+ alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.UrlMonitorAlertChannelSubscription>[]>;
143
+ /**
144
+ * Determines the alert escalation policy for the monitor.
145
+ */
146
+ alertSettings?: pulumi.Input<inputs.UrlMonitorAlertSettings>;
147
+ /**
148
+ * The response time in milliseconds where the monitor should be considered degraded. Possible values are between `0` and `30000`. (Default `3000`).
149
+ */
150
+ degradedResponseTime?: pulumi.Input<number>;
151
+ /**
152
+ * How often the monitor should run in minutes. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
153
+ */
154
+ frequency?: pulumi.Input<number>;
155
+ /**
156
+ * To create a high frequency monitor, set `frequency` to `0` and `frequencyOffset` to `10`, `20`, or `30`.
157
+ */
158
+ frequencyOffset?: pulumi.Input<number>;
159
+ /**
160
+ * The ID of the check group that this monitor is part of.
161
+ */
162
+ groupId?: pulumi.Input<number>;
163
+ /**
164
+ * The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
165
+ */
166
+ groupOrder?: pulumi.Input<number>;
167
+ /**
168
+ * An array of one or more data center locations where to run the this monitor.
169
+ */
170
+ locations?: pulumi.Input<pulumi.Input<string>[]>;
171
+ /**
172
+ * The response time in milliseconds where the monitor should be considered failing. Possible values are between `0` and `30000`. (Default `5000`).
173
+ */
174
+ maxResponseTime?: pulumi.Input<number>;
175
+ /**
176
+ * Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default `false`).
177
+ */
178
+ muted?: pulumi.Input<boolean>;
179
+ /**
180
+ * The name of the monitor.
181
+ */
182
+ name?: pulumi.Input<string>;
183
+ /**
184
+ * An array of one or more private locations slugs.
185
+ */
186
+ privateLocations?: pulumi.Input<pulumi.Input<string>[]>;
187
+ /**
188
+ * The parameters of the HTTP request.
189
+ */
190
+ request?: pulumi.Input<inputs.UrlMonitorRequest>;
191
+ /**
192
+ * A strategy for retrying failed monitor runs.
193
+ */
194
+ retryStrategy?: pulumi.Input<inputs.UrlMonitorRetryStrategy>;
195
+ /**
196
+ * Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default `false`).
197
+ */
198
+ runParallel?: pulumi.Input<boolean>;
199
+ /**
200
+ * Allows to invert the behaviour of when the monitor is considered to fail. (Default `false`).
201
+ */
202
+ shouldFail?: pulumi.Input<boolean>;
203
+ /**
204
+ * A list of tags for organizing and filtering checks and monitors.
205
+ */
206
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
207
+ /**
208
+ * When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default `true`).
209
+ */
210
+ useGlobalAlertSettings?: pulumi.Input<boolean>;
211
+ }
212
+ /**
213
+ * The set of arguments for constructing a UrlMonitor resource.
214
+ */
215
+ export interface UrlMonitorArgs {
216
+ /**
217
+ * Determines whether the monitor will run periodically or not after being deployed.
218
+ */
219
+ activated: pulumi.Input<boolean>;
220
+ /**
221
+ * An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
222
+ */
223
+ alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.UrlMonitorAlertChannelSubscription>[]>;
224
+ /**
225
+ * Determines the alert escalation policy for the monitor.
226
+ */
227
+ alertSettings?: pulumi.Input<inputs.UrlMonitorAlertSettings>;
228
+ /**
229
+ * The response time in milliseconds where the monitor should be considered degraded. Possible values are between `0` and `30000`. (Default `3000`).
230
+ */
231
+ degradedResponseTime?: pulumi.Input<number>;
232
+ /**
233
+ * How often the monitor should run in minutes. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
234
+ */
235
+ frequency: pulumi.Input<number>;
236
+ /**
237
+ * To create a high frequency monitor, set `frequency` to `0` and `frequencyOffset` to `10`, `20`, or `30`.
238
+ */
239
+ frequencyOffset?: pulumi.Input<number>;
240
+ /**
241
+ * The ID of the check group that this monitor is part of.
242
+ */
243
+ groupId?: pulumi.Input<number>;
244
+ /**
245
+ * The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
246
+ */
247
+ groupOrder?: pulumi.Input<number>;
248
+ /**
249
+ * An array of one or more data center locations where to run the this monitor.
250
+ */
251
+ locations?: pulumi.Input<pulumi.Input<string>[]>;
252
+ /**
253
+ * The response time in milliseconds where the monitor should be considered failing. Possible values are between `0` and `30000`. (Default `5000`).
254
+ */
255
+ maxResponseTime?: pulumi.Input<number>;
256
+ /**
257
+ * Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default `false`).
258
+ */
259
+ muted?: pulumi.Input<boolean>;
260
+ /**
261
+ * The name of the monitor.
262
+ */
263
+ name?: pulumi.Input<string>;
264
+ /**
265
+ * An array of one or more private locations slugs.
266
+ */
267
+ privateLocations?: pulumi.Input<pulumi.Input<string>[]>;
268
+ /**
269
+ * The parameters of the HTTP request.
270
+ */
271
+ request: pulumi.Input<inputs.UrlMonitorRequest>;
272
+ /**
273
+ * A strategy for retrying failed monitor runs.
274
+ */
275
+ retryStrategy?: pulumi.Input<inputs.UrlMonitorRetryStrategy>;
276
+ /**
277
+ * Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default `false`).
278
+ */
279
+ runParallel?: pulumi.Input<boolean>;
280
+ /**
281
+ * Allows to invert the behaviour of when the monitor is considered to fail. (Default `false`).
282
+ */
283
+ shouldFail?: pulumi.Input<boolean>;
284
+ /**
285
+ * A list of tags for organizing and filtering checks and monitors.
286
+ */
287
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
288
+ /**
289
+ * When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default `true`).
290
+ */
291
+ useGlobalAlertSettings?: pulumi.Input<boolean>;
292
+ }