@checkly/pulumi 0.0.1-alpha.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.
Files changed (73) hide show
  1. package/Pulumi.yaml +0 -0
  2. package/README.md +4 -0
  3. package/alertChannel.ts +321 -0
  4. package/bin/LICENSE +21 -0
  5. package/bin/README.md +90 -0
  6. package/bin/alertChannel.d.ts +266 -0
  7. package/bin/alertChannel.js +204 -0
  8. package/bin/alertChannel.js.map +1 -0
  9. package/bin/check.d.ts +328 -0
  10. package/bin/check.js +110 -0
  11. package/bin/check.js.map +1 -0
  12. package/bin/checkGroup.d.ts +238 -0
  13. package/bin/checkGroup.js +93 -0
  14. package/bin/checkGroup.js.map +1 -0
  15. package/bin/config/index.d.ts +1 -0
  16. package/bin/config/index.js +21 -0
  17. package/bin/config/index.js.map +1 -0
  18. package/bin/config/vars.d.ts +3 -0
  19. package/bin/config/vars.js +25 -0
  20. package/bin/config/vars.js.map +1 -0
  21. package/bin/dashboard.d.ts +66 -0
  22. package/bin/dashboard.js +93 -0
  23. package/bin/dashboard.js.map +1 -0
  24. package/bin/index.d.ts +12 -0
  25. package/bin/index.js +89 -0
  26. package/bin/index.js.map +1 -0
  27. package/bin/maintenanceWindow.d.ts +157 -0
  28. package/bin/maintenanceWindow.js +115 -0
  29. package/bin/maintenanceWindow.js.map +1 -0
  30. package/bin/package.json +28 -0
  31. package/bin/package.json.bak +28 -0
  32. package/bin/provider.d.ts +33 -0
  33. package/bin/provider.js +52 -0
  34. package/bin/provider.js.map +1 -0
  35. package/bin/snippet.d.ts +60 -0
  36. package/bin/snippet.js +56 -0
  37. package/bin/snippet.js.map +1 -0
  38. package/bin/triggerCheck.d.ts +71 -0
  39. package/bin/triggerCheck.js +75 -0
  40. package/bin/triggerCheck.js.map +1 -0
  41. package/bin/triggerCheckGroup.d.ts +71 -0
  42. package/bin/triggerCheckGroup.js +75 -0
  43. package/bin/triggerCheckGroup.js.map +1 -0
  44. package/bin/types/index.d.ts +3 -0
  45. package/bin/types/index.js +11 -0
  46. package/bin/types/index.js.map +1 -0
  47. package/bin/types/input.d.ts +330 -0
  48. package/bin/types/input.js +14 -0
  49. package/bin/types/input.js.map +1 -0
  50. package/bin/types/output.d.ts +329 -0
  51. package/bin/types/output.js +14 -0
  52. package/bin/types/output.js.map +1 -0
  53. package/bin/utilities.d.ts +4 -0
  54. package/bin/utilities.js +52 -0
  55. package/bin/utilities.js.map +1 -0
  56. package/bin/yarn.lock +743 -0
  57. package/check.ts +416 -0
  58. package/checkGroup.ts +308 -0
  59. package/config/index.ts +5 -0
  60. package/config/vars.ts +33 -0
  61. package/dashboard.ts +143 -0
  62. package/index.ts +81 -0
  63. package/maintenanceWindow.ts +219 -0
  64. package/package.json +28 -0
  65. package/provider.ts +64 -0
  66. package/snippet.ts +100 -0
  67. package/triggerCheck.ts +113 -0
  68. package/triggerCheckGroup.ts +113 -0
  69. package/tsconfig.json +33 -0
  70. package/types/index.ts +11 -0
  71. package/types/input.ts +352 -0
  72. package/types/output.ts +353 -0
  73. package/utilities.ts +49 -0
package/check.ts ADDED
@@ -0,0 +1,416 @@
1
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import { input as inputs, output as outputs } from "./types";
6
+ import * as utilities from "./utilities";
7
+
8
+ export class Check extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing Check resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CheckState, opts?: pulumi.CustomResourceOptions): Check {
19
+ return new Check(name, <any>state, { ...opts, id: id });
20
+ }
21
+
22
+ /** @internal */
23
+ public static readonly __pulumiType = 'checkly:index/check:Check';
24
+
25
+ /**
26
+ * Returns true if the given object is an instance of Check. This is designed to work even
27
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ */
29
+ public static isInstance(obj: any): obj is Check {
30
+ if (obj === undefined || obj === null) {
31
+ return false;
32
+ }
33
+ return obj['__pulumiType'] === Check.__pulumiType;
34
+ }
35
+
36
+ /**
37
+ * Determines if the check is running or not. Possible values `true`, and `false`.
38
+ */
39
+ public readonly activated!: pulumi.Output<boolean>;
40
+ public readonly alertChannelSubscriptions!: pulumi.Output<outputs.CheckAlertChannelSubscription[] | undefined>;
41
+ /**
42
+ * . Supported values documented below.
43
+ */
44
+ public readonly alertSettings!: pulumi.Output<outputs.CheckAlertSettings>;
45
+ /**
46
+ * The response time in milliseconds where a check should be considered degraded. Possible values are between 0 and 30000. Defaults to `15000`.
47
+ */
48
+ public readonly degradedResponseTime!: pulumi.Output<number | undefined>;
49
+ /**
50
+ * Setting this to "true" will trigger a retry when a check fails from the failing region and another, randomly selected region before marking the check as failed. Possible values `true`, and `false`.
51
+ */
52
+ public readonly doubleCheck!: pulumi.Output<boolean | undefined>;
53
+ /**
54
+ * Key/value pairs for setting environment variables during check execution. These are only relevant for Browser checks. Use global environment variables whenever possible.
55
+ */
56
+ public readonly environmentVariables!: pulumi.Output<{[key: string]: any} | undefined>;
57
+ /**
58
+ * The frequency in minutes to run the check. Possible values are `0`, `1`, `5`, `10`, `15`, `30`, `60`, `720`, and `1440`.
59
+ */
60
+ public readonly frequency!: pulumi.Output<number>;
61
+ /**
62
+ * This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must be `0` and `frequencyOffset` could be `10`, `20` or `30`.
63
+ */
64
+ public readonly frequencyOffset!: pulumi.Output<number | undefined>;
65
+ /**
66
+ * . The id of the check group this check is part of.
67
+ */
68
+ public readonly groupId!: pulumi.Output<number | undefined>;
69
+ /**
70
+ * The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
71
+ */
72
+ public readonly groupOrder!: pulumi.Output<number | undefined>;
73
+ /**
74
+ * A valid piece of Node.js code to run in the setup phase.
75
+ */
76
+ public readonly localSetupScript!: pulumi.Output<string | undefined>;
77
+ /**
78
+ * A valid piece of Node.js code to run in the teardown phase.
79
+ */
80
+ public readonly localTeardownScript!: pulumi.Output<string | undefined>;
81
+ /**
82
+ * An array of one or more data center locations where to run the this check. Defaults to["us-east-1"].
83
+ */
84
+ public readonly locations!: pulumi.Output<string[] | undefined>;
85
+ /**
86
+ * The response time in milliseconds where a check should be considered failing. Possible values are between 0 and 30000. Defaults to `30000`.
87
+ */
88
+ public readonly maxResponseTime!: pulumi.Output<number | undefined>;
89
+ /**
90
+ * Determines if any notifications will be sent out when a check fails and/or recovers. Possible values `true`, and `false`.
91
+ */
92
+ public readonly muted!: pulumi.Output<boolean | undefined>;
93
+ /**
94
+ * The name of the check.
95
+ */
96
+ public readonly name!: pulumi.Output<string>;
97
+ /**
98
+ * . An API check might have one request config. Supported values documented below.
99
+ */
100
+ public readonly request!: pulumi.Output<outputs.CheckRequest | undefined>;
101
+ /**
102
+ * . The id of the runtime to use for this check.
103
+ */
104
+ public readonly runtimeId!: pulumi.Output<string | undefined>;
105
+ public readonly script!: pulumi.Output<string | undefined>;
106
+ /**
107
+ * An ID reference to a snippet to use in the setup phase of an API check.
108
+ */
109
+ public readonly setupSnippetId!: pulumi.Output<number | undefined>;
110
+ /**
111
+ * Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404. Possible values `true`, and `false`.
112
+ */
113
+ public readonly shouldFail!: pulumi.Output<boolean | undefined>;
114
+ /**
115
+ * Determines if the SSL certificate should be validated for expiry. Possible values `true`, and `false`.
116
+ */
117
+ public readonly sslCheck!: pulumi.Output<boolean | undefined>;
118
+ public readonly tags!: pulumi.Output<string[] | undefined>;
119
+ /**
120
+ * An ID reference to a snippet to use in the teardown phase of an API check.
121
+ */
122
+ public readonly teardownSnippetId!: pulumi.Output<number | undefined>;
123
+ /**
124
+ * The type of the check. Possible values are `API`, and `BROWSER`.
125
+ */
126
+ public readonly type!: pulumi.Output<string>;
127
+ /**
128
+ * When true, the account level alert setting will be used, not the alert setting defined on this check. Possible values `true`, and `false`.
129
+ */
130
+ public readonly useGlobalAlertSettings!: pulumi.Output<boolean | undefined>;
131
+
132
+ /**
133
+ * Create a Check resource with the given unique name, arguments, and options.
134
+ *
135
+ * @param name The _unique_ name of the resource.
136
+ * @param args The arguments to use to populate this resource's properties.
137
+ * @param opts A bag of options that control this resource's behavior.
138
+ */
139
+ constructor(name: string, args: CheckArgs, opts?: pulumi.CustomResourceOptions)
140
+ constructor(name: string, argsOrState?: CheckArgs | CheckState, opts?: pulumi.CustomResourceOptions) {
141
+ let resourceInputs: pulumi.Inputs = {};
142
+ opts = opts || {};
143
+ if (opts.id) {
144
+ const state = argsOrState as CheckState | undefined;
145
+ resourceInputs["activated"] = state ? state.activated : undefined;
146
+ resourceInputs["alertChannelSubscriptions"] = state ? state.alertChannelSubscriptions : undefined;
147
+ resourceInputs["alertSettings"] = state ? state.alertSettings : undefined;
148
+ resourceInputs["degradedResponseTime"] = state ? state.degradedResponseTime : undefined;
149
+ resourceInputs["doubleCheck"] = state ? state.doubleCheck : undefined;
150
+ resourceInputs["environmentVariables"] = state ? state.environmentVariables : undefined;
151
+ resourceInputs["frequency"] = state ? state.frequency : undefined;
152
+ resourceInputs["frequencyOffset"] = state ? state.frequencyOffset : undefined;
153
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
154
+ resourceInputs["groupOrder"] = state ? state.groupOrder : undefined;
155
+ resourceInputs["localSetupScript"] = state ? state.localSetupScript : undefined;
156
+ resourceInputs["localTeardownScript"] = state ? state.localTeardownScript : undefined;
157
+ resourceInputs["locations"] = state ? state.locations : undefined;
158
+ resourceInputs["maxResponseTime"] = state ? state.maxResponseTime : undefined;
159
+ resourceInputs["muted"] = state ? state.muted : undefined;
160
+ resourceInputs["name"] = state ? state.name : undefined;
161
+ resourceInputs["request"] = state ? state.request : undefined;
162
+ resourceInputs["runtimeId"] = state ? state.runtimeId : undefined;
163
+ resourceInputs["script"] = state ? state.script : undefined;
164
+ resourceInputs["setupSnippetId"] = state ? state.setupSnippetId : undefined;
165
+ resourceInputs["shouldFail"] = state ? state.shouldFail : undefined;
166
+ resourceInputs["sslCheck"] = state ? state.sslCheck : undefined;
167
+ resourceInputs["tags"] = state ? state.tags : undefined;
168
+ resourceInputs["teardownSnippetId"] = state ? state.teardownSnippetId : undefined;
169
+ resourceInputs["type"] = state ? state.type : undefined;
170
+ resourceInputs["useGlobalAlertSettings"] = state ? state.useGlobalAlertSettings : undefined;
171
+ } else {
172
+ const args = argsOrState as CheckArgs | undefined;
173
+ if ((!args || args.activated === undefined) && !opts.urn) {
174
+ throw new Error("Missing required property 'activated'");
175
+ }
176
+ if ((!args || args.frequency === undefined) && !opts.urn) {
177
+ throw new Error("Missing required property 'frequency'");
178
+ }
179
+ if ((!args || args.type === undefined) && !opts.urn) {
180
+ throw new Error("Missing required property 'type'");
181
+ }
182
+ resourceInputs["activated"] = args ? args.activated : undefined;
183
+ resourceInputs["alertChannelSubscriptions"] = args ? args.alertChannelSubscriptions : undefined;
184
+ resourceInputs["alertSettings"] = args ? args.alertSettings : undefined;
185
+ resourceInputs["degradedResponseTime"] = args ? args.degradedResponseTime : undefined;
186
+ resourceInputs["doubleCheck"] = args ? args.doubleCheck : undefined;
187
+ resourceInputs["environmentVariables"] = args ? args.environmentVariables : undefined;
188
+ resourceInputs["frequency"] = args ? args.frequency : undefined;
189
+ resourceInputs["frequencyOffset"] = args ? args.frequencyOffset : undefined;
190
+ resourceInputs["groupId"] = args ? args.groupId : undefined;
191
+ resourceInputs["groupOrder"] = args ? args.groupOrder : undefined;
192
+ resourceInputs["localSetupScript"] = args ? args.localSetupScript : undefined;
193
+ resourceInputs["localTeardownScript"] = args ? args.localTeardownScript : undefined;
194
+ resourceInputs["locations"] = args ? args.locations : undefined;
195
+ resourceInputs["maxResponseTime"] = args ? args.maxResponseTime : undefined;
196
+ resourceInputs["muted"] = args ? args.muted : undefined;
197
+ resourceInputs["name"] = args ? args.name : undefined;
198
+ resourceInputs["request"] = args ? args.request : undefined;
199
+ resourceInputs["runtimeId"] = args ? args.runtimeId : undefined;
200
+ resourceInputs["script"] = args ? args.script : undefined;
201
+ resourceInputs["setupSnippetId"] = args ? args.setupSnippetId : undefined;
202
+ resourceInputs["shouldFail"] = args ? args.shouldFail : undefined;
203
+ resourceInputs["sslCheck"] = args ? args.sslCheck : undefined;
204
+ resourceInputs["tags"] = args ? args.tags : undefined;
205
+ resourceInputs["teardownSnippetId"] = args ? args.teardownSnippetId : undefined;
206
+ resourceInputs["type"] = args ? args.type : undefined;
207
+ resourceInputs["useGlobalAlertSettings"] = args ? args.useGlobalAlertSettings : undefined;
208
+ }
209
+ if (!opts.version) {
210
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()});
211
+ }
212
+ super(Check.__pulumiType, name, resourceInputs, opts);
213
+ }
214
+ }
215
+
216
+ /**
217
+ * Input properties used for looking up and filtering Check resources.
218
+ */
219
+ export interface CheckState {
220
+ /**
221
+ * Determines if the check is running or not. Possible values `true`, and `false`.
222
+ */
223
+ activated?: pulumi.Input<boolean>;
224
+ alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.CheckAlertChannelSubscription>[]>;
225
+ /**
226
+ * . Supported values documented below.
227
+ */
228
+ alertSettings?: pulumi.Input<inputs.CheckAlertSettings>;
229
+ /**
230
+ * The response time in milliseconds where a check should be considered degraded. Possible values are between 0 and 30000. Defaults to `15000`.
231
+ */
232
+ degradedResponseTime?: pulumi.Input<number>;
233
+ /**
234
+ * Setting this to "true" will trigger a retry when a check fails from the failing region and another, randomly selected region before marking the check as failed. Possible values `true`, and `false`.
235
+ */
236
+ doubleCheck?: pulumi.Input<boolean>;
237
+ /**
238
+ * Key/value pairs for setting environment variables during check execution. These are only relevant for Browser checks. Use global environment variables whenever possible.
239
+ */
240
+ environmentVariables?: pulumi.Input<{[key: string]: any}>;
241
+ /**
242
+ * The frequency in minutes to run the check. Possible values are `0`, `1`, `5`, `10`, `15`, `30`, `60`, `720`, and `1440`.
243
+ */
244
+ frequency?: pulumi.Input<number>;
245
+ /**
246
+ * This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must be `0` and `frequencyOffset` could be `10`, `20` or `30`.
247
+ */
248
+ frequencyOffset?: pulumi.Input<number>;
249
+ /**
250
+ * . The id of the check group this check is part of.
251
+ */
252
+ groupId?: pulumi.Input<number>;
253
+ /**
254
+ * The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
255
+ */
256
+ groupOrder?: pulumi.Input<number>;
257
+ /**
258
+ * A valid piece of Node.js code to run in the setup phase.
259
+ */
260
+ localSetupScript?: pulumi.Input<string>;
261
+ /**
262
+ * A valid piece of Node.js code to run in the teardown phase.
263
+ */
264
+ localTeardownScript?: pulumi.Input<string>;
265
+ /**
266
+ * An array of one or more data center locations where to run the this check. Defaults to["us-east-1"].
267
+ */
268
+ locations?: pulumi.Input<pulumi.Input<string>[]>;
269
+ /**
270
+ * The response time in milliseconds where a check should be considered failing. Possible values are between 0 and 30000. Defaults to `30000`.
271
+ */
272
+ maxResponseTime?: pulumi.Input<number>;
273
+ /**
274
+ * Determines if any notifications will be sent out when a check fails and/or recovers. Possible values `true`, and `false`.
275
+ */
276
+ muted?: pulumi.Input<boolean>;
277
+ /**
278
+ * The name of the check.
279
+ */
280
+ name?: pulumi.Input<string>;
281
+ /**
282
+ * . An API check might have one request config. Supported values documented below.
283
+ */
284
+ request?: pulumi.Input<inputs.CheckRequest>;
285
+ /**
286
+ * . The id of the runtime to use for this check.
287
+ */
288
+ runtimeId?: pulumi.Input<string>;
289
+ script?: pulumi.Input<string>;
290
+ /**
291
+ * An ID reference to a snippet to use in the setup phase of an API check.
292
+ */
293
+ setupSnippetId?: pulumi.Input<number>;
294
+ /**
295
+ * Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404. Possible values `true`, and `false`.
296
+ */
297
+ shouldFail?: pulumi.Input<boolean>;
298
+ /**
299
+ * Determines if the SSL certificate should be validated for expiry. Possible values `true`, and `false`.
300
+ */
301
+ sslCheck?: pulumi.Input<boolean>;
302
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
303
+ /**
304
+ * An ID reference to a snippet to use in the teardown phase of an API check.
305
+ */
306
+ teardownSnippetId?: pulumi.Input<number>;
307
+ /**
308
+ * The type of the check. Possible values are `API`, and `BROWSER`.
309
+ */
310
+ type?: pulumi.Input<string>;
311
+ /**
312
+ * When true, the account level alert setting will be used, not the alert setting defined on this check. Possible values `true`, and `false`.
313
+ */
314
+ useGlobalAlertSettings?: pulumi.Input<boolean>;
315
+ }
316
+
317
+ /**
318
+ * The set of arguments for constructing a Check resource.
319
+ */
320
+ export interface CheckArgs {
321
+ /**
322
+ * Determines if the check is running or not. Possible values `true`, and `false`.
323
+ */
324
+ activated: pulumi.Input<boolean>;
325
+ alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.CheckAlertChannelSubscription>[]>;
326
+ /**
327
+ * . Supported values documented below.
328
+ */
329
+ alertSettings?: pulumi.Input<inputs.CheckAlertSettings>;
330
+ /**
331
+ * The response time in milliseconds where a check should be considered degraded. Possible values are between 0 and 30000. Defaults to `15000`.
332
+ */
333
+ degradedResponseTime?: pulumi.Input<number>;
334
+ /**
335
+ * Setting this to "true" will trigger a retry when a check fails from the failing region and another, randomly selected region before marking the check as failed. Possible values `true`, and `false`.
336
+ */
337
+ doubleCheck?: pulumi.Input<boolean>;
338
+ /**
339
+ * Key/value pairs for setting environment variables during check execution. These are only relevant for Browser checks. Use global environment variables whenever possible.
340
+ */
341
+ environmentVariables?: pulumi.Input<{[key: string]: any}>;
342
+ /**
343
+ * The frequency in minutes to run the check. Possible values are `0`, `1`, `5`, `10`, `15`, `30`, `60`, `720`, and `1440`.
344
+ */
345
+ frequency: pulumi.Input<number>;
346
+ /**
347
+ * This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must be `0` and `frequencyOffset` could be `10`, `20` or `30`.
348
+ */
349
+ frequencyOffset?: pulumi.Input<number>;
350
+ /**
351
+ * . The id of the check group this check is part of.
352
+ */
353
+ groupId?: pulumi.Input<number>;
354
+ /**
355
+ * The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
356
+ */
357
+ groupOrder?: pulumi.Input<number>;
358
+ /**
359
+ * A valid piece of Node.js code to run in the setup phase.
360
+ */
361
+ localSetupScript?: pulumi.Input<string>;
362
+ /**
363
+ * A valid piece of Node.js code to run in the teardown phase.
364
+ */
365
+ localTeardownScript?: pulumi.Input<string>;
366
+ /**
367
+ * An array of one or more data center locations where to run the this check. Defaults to["us-east-1"].
368
+ */
369
+ locations?: pulumi.Input<pulumi.Input<string>[]>;
370
+ /**
371
+ * The response time in milliseconds where a check should be considered failing. Possible values are between 0 and 30000. Defaults to `30000`.
372
+ */
373
+ maxResponseTime?: pulumi.Input<number>;
374
+ /**
375
+ * Determines if any notifications will be sent out when a check fails and/or recovers. Possible values `true`, and `false`.
376
+ */
377
+ muted?: pulumi.Input<boolean>;
378
+ /**
379
+ * The name of the check.
380
+ */
381
+ name?: pulumi.Input<string>;
382
+ /**
383
+ * . An API check might have one request config. Supported values documented below.
384
+ */
385
+ request?: pulumi.Input<inputs.CheckRequest>;
386
+ /**
387
+ * . The id of the runtime to use for this check.
388
+ */
389
+ runtimeId?: pulumi.Input<string>;
390
+ script?: pulumi.Input<string>;
391
+ /**
392
+ * An ID reference to a snippet to use in the setup phase of an API check.
393
+ */
394
+ setupSnippetId?: pulumi.Input<number>;
395
+ /**
396
+ * Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404. Possible values `true`, and `false`.
397
+ */
398
+ shouldFail?: pulumi.Input<boolean>;
399
+ /**
400
+ * Determines if the SSL certificate should be validated for expiry. Possible values `true`, and `false`.
401
+ */
402
+ sslCheck?: pulumi.Input<boolean>;
403
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
404
+ /**
405
+ * An ID reference to a snippet to use in the teardown phase of an API check.
406
+ */
407
+ teardownSnippetId?: pulumi.Input<number>;
408
+ /**
409
+ * The type of the check. Possible values are `API`, and `BROWSER`.
410
+ */
411
+ type: pulumi.Input<string>;
412
+ /**
413
+ * When true, the account level alert setting will be used, not the alert setting defined on this check. Possible values `true`, and `false`.
414
+ */
415
+ useGlobalAlertSettings?: pulumi.Input<boolean>;
416
+ }