@checkly/pulumi 2.4.0 → 2.5.0-alpha.1759322016
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/alertChannel.js +26 -26
- package/alertChannel.js.map +1 -1
- package/check.d.ts +6 -6
- package/check.js +69 -69
- package/check.js.map +1 -1
- package/checkGroup.d.ts +6 -6
- package/checkGroup.js +45 -45
- package/checkGroup.js.map +1 -1
- package/clientCertificate.js +15 -15
- package/clientCertificate.js.map +1 -1
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.js +1 -1
- package/config/vars.js.map +1 -1
- package/dashboard.js +51 -51
- package/dashboard.js.map +1 -1
- package/environmentVariable.js +12 -12
- package/environmentVariable.js.map +1 -1
- package/getStaticIps.js +1 -1
- package/getStaticIps.js.map +1 -1
- package/heartbeatCheck.js +22 -22
- package/heartbeatCheck.js.map +1 -1
- package/heartbeatMonitor.js +22 -22
- package/heartbeatMonitor.js.map +1 -1
- package/index.d.ts +1 -3
- package/index.js +19 -5
- package/index.js.map +1 -1
- package/maintenanceWindow.js +18 -18
- package/maintenanceWindow.js.map +1 -1
- package/package.json +3 -3
- package/privateLocation.js +10 -10
- package/privateLocation.js.map +1 -1
- package/provider.d.ts +17 -3
- package/provider.js +12 -7
- package/provider.js.map +1 -1
- package/snippet.js +7 -7
- package/snippet.js.map +1 -1
- package/statusPage.js +20 -20
- package/statusPage.js.map +1 -1
- package/statusPageService.js +4 -4
- package/statusPageService.js.map +1 -1
- package/tcpCheck.d.ts +3 -3
- package/tcpCheck.js +47 -47
- package/tcpCheck.js.map +1 -1
- package/tcpMonitor.d.ts +3 -3
- package/tcpMonitor.js +47 -47
- package/tcpMonitor.js.map +1 -1
- package/triggerCheck.js +9 -9
- package/triggerCheck.js.map +1 -1
- package/triggerCheckGroup.js +9 -9
- package/triggerCheckGroup.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +74 -24
- package/types/input.js +5 -3
- package/types/input.js.map +1 -1
- package/types/output.d.ts +74 -24
- package/types/output.js +5 -3
- package/types/output.js.map +1 -1
- package/urlMonitor.d.ts +3 -3
- package/urlMonitor.js +45 -45
- package/urlMonitor.js.map +1 -1
- package/utilities.d.ts +0 -4
- package/utilities.js +20 -30
- package/utilities.js.map +1 -1
package/tcpCheck.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tcpCheck.js","sourceRoot":"","sources":["../tcpCheck.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"tcpCheck.js","sourceRoot":"","sources":["../tcpCheck.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA4FD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,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AE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAnLL,4BAoLC;AAtKG,gBAAgB;AACO,qBAAY,GAAG,iCAAiC,CAAC"}
|
package/tcpMonitor.d.ts
CHANGED
|
@@ -144,7 +144,7 @@ export declare class TcpMonitor extends pulumi.CustomResource {
|
|
|
144
144
|
*/
|
|
145
145
|
readonly request: pulumi.Output<outputs.TcpMonitorRequest>;
|
|
146
146
|
/**
|
|
147
|
-
* A strategy for retrying failed check runs.
|
|
147
|
+
* A strategy for retrying failed check/monitor runs.
|
|
148
148
|
*/
|
|
149
149
|
readonly retryStrategy: pulumi.Output<outputs.TcpMonitorRetryStrategy>;
|
|
150
150
|
/**
|
|
@@ -238,7 +238,7 @@ export interface TcpMonitorState {
|
|
|
238
238
|
*/
|
|
239
239
|
request?: pulumi.Input<inputs.TcpMonitorRequest>;
|
|
240
240
|
/**
|
|
241
|
-
* A strategy for retrying failed check runs.
|
|
241
|
+
* A strategy for retrying failed check/monitor runs.
|
|
242
242
|
*/
|
|
243
243
|
retryStrategy?: pulumi.Input<inputs.TcpMonitorRetryStrategy>;
|
|
244
244
|
/**
|
|
@@ -324,7 +324,7 @@ export interface TcpMonitorArgs {
|
|
|
324
324
|
*/
|
|
325
325
|
request: pulumi.Input<inputs.TcpMonitorRequest>;
|
|
326
326
|
/**
|
|
327
|
-
* A strategy for retrying failed check runs.
|
|
327
|
+
* A strategy for retrying failed check/monitor runs.
|
|
328
328
|
*/
|
|
329
329
|
retryStrategy?: pulumi.Input<inputs.TcpMonitorRetryStrategy>;
|
|
330
330
|
/**
|
package/tcpMonitor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.TcpMonitor = void 0;
|
|
@@ -89,7 +89,7 @@ class TcpMonitor extends pulumi.CustomResource {
|
|
|
89
89
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
90
90
|
*/
|
|
91
91
|
static get(name, id, state, opts) {
|
|
92
|
-
return new TcpMonitor(name, state,
|
|
92
|
+
return new TcpMonitor(name, state, { ...opts, id: id });
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* Returns true if the given object is an instance of TcpMonitor. This is designed to work even
|
|
@@ -106,60 +106,60 @@ class TcpMonitor extends pulumi.CustomResource {
|
|
|
106
106
|
opts = opts || {};
|
|
107
107
|
if (opts.id) {
|
|
108
108
|
const state = argsOrState;
|
|
109
|
-
resourceInputs["activated"] = state
|
|
110
|
-
resourceInputs["alertChannelSubscriptions"] = state
|
|
111
|
-
resourceInputs["alertSettings"] = state
|
|
112
|
-
resourceInputs["degradedResponseTime"] = state
|
|
113
|
-
resourceInputs["frequency"] = state
|
|
114
|
-
resourceInputs["frequencyOffset"] = state
|
|
115
|
-
resourceInputs["groupId"] = state
|
|
116
|
-
resourceInputs["groupOrder"] = state
|
|
117
|
-
resourceInputs["locations"] = state
|
|
118
|
-
resourceInputs["maxResponseTime"] = state
|
|
119
|
-
resourceInputs["muted"] = state
|
|
120
|
-
resourceInputs["name"] = state
|
|
121
|
-
resourceInputs["privateLocations"] = state
|
|
122
|
-
resourceInputs["request"] = state
|
|
123
|
-
resourceInputs["retryStrategy"] = state
|
|
124
|
-
resourceInputs["runParallel"] = state
|
|
125
|
-
resourceInputs["runtimeId"] = state
|
|
126
|
-
resourceInputs["shouldFail"] = state
|
|
127
|
-
resourceInputs["tags"] = state
|
|
128
|
-
resourceInputs["triggerIncident"] = state
|
|
129
|
-
resourceInputs["useGlobalAlertSettings"] = state
|
|
109
|
+
resourceInputs["activated"] = state?.activated;
|
|
110
|
+
resourceInputs["alertChannelSubscriptions"] = state?.alertChannelSubscriptions;
|
|
111
|
+
resourceInputs["alertSettings"] = state?.alertSettings;
|
|
112
|
+
resourceInputs["degradedResponseTime"] = state?.degradedResponseTime;
|
|
113
|
+
resourceInputs["frequency"] = state?.frequency;
|
|
114
|
+
resourceInputs["frequencyOffset"] = state?.frequencyOffset;
|
|
115
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
116
|
+
resourceInputs["groupOrder"] = state?.groupOrder;
|
|
117
|
+
resourceInputs["locations"] = state?.locations;
|
|
118
|
+
resourceInputs["maxResponseTime"] = state?.maxResponseTime;
|
|
119
|
+
resourceInputs["muted"] = state?.muted;
|
|
120
|
+
resourceInputs["name"] = state?.name;
|
|
121
|
+
resourceInputs["privateLocations"] = state?.privateLocations;
|
|
122
|
+
resourceInputs["request"] = state?.request;
|
|
123
|
+
resourceInputs["retryStrategy"] = state?.retryStrategy;
|
|
124
|
+
resourceInputs["runParallel"] = state?.runParallel;
|
|
125
|
+
resourceInputs["runtimeId"] = state?.runtimeId;
|
|
126
|
+
resourceInputs["shouldFail"] = state?.shouldFail;
|
|
127
|
+
resourceInputs["tags"] = state?.tags;
|
|
128
|
+
resourceInputs["triggerIncident"] = state?.triggerIncident;
|
|
129
|
+
resourceInputs["useGlobalAlertSettings"] = state?.useGlobalAlertSettings;
|
|
130
130
|
}
|
|
131
131
|
else {
|
|
132
132
|
const args = argsOrState;
|
|
133
|
-
if (
|
|
133
|
+
if (args?.activated === undefined && !opts.urn) {
|
|
134
134
|
throw new Error("Missing required property 'activated'");
|
|
135
135
|
}
|
|
136
|
-
if (
|
|
136
|
+
if (args?.frequency === undefined && !opts.urn) {
|
|
137
137
|
throw new Error("Missing required property 'frequency'");
|
|
138
138
|
}
|
|
139
|
-
if (
|
|
139
|
+
if (args?.request === undefined && !opts.urn) {
|
|
140
140
|
throw new Error("Missing required property 'request'");
|
|
141
141
|
}
|
|
142
|
-
resourceInputs["activated"] = args
|
|
143
|
-
resourceInputs["alertChannelSubscriptions"] = args
|
|
144
|
-
resourceInputs["alertSettings"] = args
|
|
145
|
-
resourceInputs["degradedResponseTime"] = args
|
|
146
|
-
resourceInputs["frequency"] = args
|
|
147
|
-
resourceInputs["frequencyOffset"] = args
|
|
148
|
-
resourceInputs["groupId"] = args
|
|
149
|
-
resourceInputs["groupOrder"] = args
|
|
150
|
-
resourceInputs["locations"] = args
|
|
151
|
-
resourceInputs["maxResponseTime"] = args
|
|
152
|
-
resourceInputs["muted"] = args
|
|
153
|
-
resourceInputs["name"] = args
|
|
154
|
-
resourceInputs["privateLocations"] = args
|
|
155
|
-
resourceInputs["request"] = args
|
|
156
|
-
resourceInputs["retryStrategy"] = args
|
|
157
|
-
resourceInputs["runParallel"] = args
|
|
158
|
-
resourceInputs["runtimeId"] = args
|
|
159
|
-
resourceInputs["shouldFail"] = args
|
|
160
|
-
resourceInputs["tags"] = args
|
|
161
|
-
resourceInputs["triggerIncident"] = args
|
|
162
|
-
resourceInputs["useGlobalAlertSettings"] = args
|
|
142
|
+
resourceInputs["activated"] = args?.activated;
|
|
143
|
+
resourceInputs["alertChannelSubscriptions"] = args?.alertChannelSubscriptions;
|
|
144
|
+
resourceInputs["alertSettings"] = args?.alertSettings;
|
|
145
|
+
resourceInputs["degradedResponseTime"] = args?.degradedResponseTime;
|
|
146
|
+
resourceInputs["frequency"] = args?.frequency;
|
|
147
|
+
resourceInputs["frequencyOffset"] = args?.frequencyOffset;
|
|
148
|
+
resourceInputs["groupId"] = args?.groupId;
|
|
149
|
+
resourceInputs["groupOrder"] = args?.groupOrder;
|
|
150
|
+
resourceInputs["locations"] = args?.locations;
|
|
151
|
+
resourceInputs["maxResponseTime"] = args?.maxResponseTime;
|
|
152
|
+
resourceInputs["muted"] = args?.muted;
|
|
153
|
+
resourceInputs["name"] = args?.name;
|
|
154
|
+
resourceInputs["privateLocations"] = args?.privateLocations;
|
|
155
|
+
resourceInputs["request"] = args?.request;
|
|
156
|
+
resourceInputs["retryStrategy"] = args?.retryStrategy;
|
|
157
|
+
resourceInputs["runParallel"] = args?.runParallel;
|
|
158
|
+
resourceInputs["runtimeId"] = args?.runtimeId;
|
|
159
|
+
resourceInputs["shouldFail"] = args?.shouldFail;
|
|
160
|
+
resourceInputs["tags"] = args?.tags;
|
|
161
|
+
resourceInputs["triggerIncident"] = args?.triggerIncident;
|
|
162
|
+
resourceInputs["useGlobalAlertSettings"] = args?.useGlobalAlertSettings;
|
|
163
163
|
}
|
|
164
164
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
165
165
|
super(TcpMonitor.__pulumiType, name, resourceInputs, opts);
|
package/tcpMonitor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tcpMonitor.js","sourceRoot":"","sources":["../tcpMonitor.ts"],"names":[],"mappings":";AAAA,
|
|
1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W,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAnLL,gCAoLC;AAtKG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
|
package/triggerCheck.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.TriggerCheck = void 0;
|
|
@@ -27,7 +27,7 @@ class TriggerCheck extends pulumi.CustomResource {
|
|
|
27
27
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
28
|
*/
|
|
29
29
|
static get(name, id, state, opts) {
|
|
30
|
-
return new TriggerCheck(name, state,
|
|
30
|
+
return new TriggerCheck(name, state, { ...opts, id: id });
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Returns true if the given object is an instance of TriggerCheck. This is designed to work even
|
|
@@ -44,18 +44,18 @@ class TriggerCheck extends pulumi.CustomResource {
|
|
|
44
44
|
opts = opts || {};
|
|
45
45
|
if (opts.id) {
|
|
46
46
|
const state = argsOrState;
|
|
47
|
-
resourceInputs["checkId"] = state
|
|
48
|
-
resourceInputs["token"] = state
|
|
49
|
-
resourceInputs["url"] = state
|
|
47
|
+
resourceInputs["checkId"] = state?.checkId;
|
|
48
|
+
resourceInputs["token"] = state?.token;
|
|
49
|
+
resourceInputs["url"] = state?.url;
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
52
|
const args = argsOrState;
|
|
53
|
-
if (
|
|
53
|
+
if (args?.checkId === undefined && !opts.urn) {
|
|
54
54
|
throw new Error("Missing required property 'checkId'");
|
|
55
55
|
}
|
|
56
|
-
resourceInputs["checkId"] = args
|
|
57
|
-
resourceInputs["token"] = args
|
|
58
|
-
resourceInputs["url"] = args
|
|
56
|
+
resourceInputs["checkId"] = args?.checkId;
|
|
57
|
+
resourceInputs["token"] = args?.token;
|
|
58
|
+
resourceInputs["url"] = args?.url;
|
|
59
59
|
}
|
|
60
60
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
61
|
super(TriggerCheck.__pulumiType, name, resourceInputs, opts);
|
package/triggerCheck.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggerCheck.js","sourceRoot":"","sources":["../triggerCheck.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"triggerCheck.js","sourceRoot":"","sources":["../triggerCheck.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,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,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.TriggerCheckGroup = void 0;
|
|
@@ -27,7 +27,7 @@ class TriggerCheckGroup extends pulumi.CustomResource {
|
|
|
27
27
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
28
|
*/
|
|
29
29
|
static get(name, id, state, opts) {
|
|
30
|
-
return new TriggerCheckGroup(name, state,
|
|
30
|
+
return new TriggerCheckGroup(name, state, { ...opts, id: id });
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Returns true if the given object is an instance of TriggerCheckGroup. This is designed to work even
|
|
@@ -44,18 +44,18 @@ class TriggerCheckGroup extends pulumi.CustomResource {
|
|
|
44
44
|
opts = opts || {};
|
|
45
45
|
if (opts.id) {
|
|
46
46
|
const state = argsOrState;
|
|
47
|
-
resourceInputs["groupId"] = state
|
|
48
|
-
resourceInputs["token"] = state
|
|
49
|
-
resourceInputs["url"] = state
|
|
47
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
48
|
+
resourceInputs["token"] = state?.token;
|
|
49
|
+
resourceInputs["url"] = state?.url;
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
52
|
const args = argsOrState;
|
|
53
|
-
if (
|
|
53
|
+
if (args?.groupId === undefined && !opts.urn) {
|
|
54
54
|
throw new Error("Missing required property 'groupId'");
|
|
55
55
|
}
|
|
56
|
-
resourceInputs["groupId"] = args
|
|
57
|
-
resourceInputs["token"] = args
|
|
58
|
-
resourceInputs["url"] = args
|
|
56
|
+
resourceInputs["groupId"] = args?.groupId;
|
|
57
|
+
resourceInputs["token"] = args?.token;
|
|
58
|
+
resourceInputs["url"] = args?.url;
|
|
59
59
|
}
|
|
60
60
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
61
|
super(TriggerCheckGroup.__pulumiType, name, resourceInputs, opts);
|
package/triggerCheckGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggerCheckGroup.js","sourceRoot":"","sources":["../triggerCheckGroup.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"triggerCheckGroup.js","sourceRoot":"","sources":["../triggerCheckGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;SACtC;aAAM;YACH,MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;SACrC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AApEL,8CAqEC;AAvDG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
package/types/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.output = exports.input = void 0;
|
package/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|
package/types/input.d.ts
CHANGED
|
@@ -235,26 +235,36 @@ export interface CheckGroupEnvironmentVariable {
|
|
|
235
235
|
}
|
|
236
236
|
export interface CheckGroupRetryStrategy {
|
|
237
237
|
/**
|
|
238
|
-
* The number of seconds to wait before the first retry attempt.
|
|
238
|
+
* The number of seconds to wait before the first retry attempt. (Default `60`).
|
|
239
239
|
*/
|
|
240
240
|
baseBackoffSeconds?: pulumi.Input<number>;
|
|
241
241
|
/**
|
|
242
|
-
* The total amount of time to continue retrying the check (maximum 600 seconds).
|
|
242
|
+
* The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
|
|
243
243
|
*/
|
|
244
244
|
maxDurationSeconds?: pulumi.Input<number>;
|
|
245
245
|
/**
|
|
246
|
-
* The maximum number of times to retry the check. Value must be between 1 and 10.
|
|
246
|
+
* 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`).
|
|
247
247
|
*/
|
|
248
248
|
maxRetries?: pulumi.Input<number>;
|
|
249
249
|
/**
|
|
250
|
-
*
|
|
250
|
+
* Apply the retry strategy only if the defined conditions match.
|
|
251
|
+
*/
|
|
252
|
+
onlyOn?: pulumi.Input<inputs.CheckGroupRetryStrategyOnlyOn>;
|
|
253
|
+
/**
|
|
254
|
+
* Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
|
|
251
255
|
*/
|
|
252
256
|
sameRegion?: pulumi.Input<boolean>;
|
|
253
257
|
/**
|
|
254
|
-
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`,
|
|
258
|
+
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
|
|
255
259
|
*/
|
|
256
260
|
type: pulumi.Input<string>;
|
|
257
261
|
}
|
|
262
|
+
export interface CheckGroupRetryStrategyOnlyOn {
|
|
263
|
+
/**
|
|
264
|
+
* When `true`, retry only if the cause of the failure is a network error. (Default `false`).
|
|
265
|
+
*/
|
|
266
|
+
networkError?: pulumi.Input<boolean>;
|
|
267
|
+
}
|
|
258
268
|
export interface CheckRequest {
|
|
259
269
|
/**
|
|
260
270
|
* A request can have multiple assertions.
|
|
@@ -308,26 +318,36 @@ export interface CheckRequestBasicAuth {
|
|
|
308
318
|
}
|
|
309
319
|
export interface CheckRetryStrategy {
|
|
310
320
|
/**
|
|
311
|
-
* The number of seconds to wait before the first retry attempt.
|
|
321
|
+
* The number of seconds to wait before the first retry attempt. (Default `60`).
|
|
312
322
|
*/
|
|
313
323
|
baseBackoffSeconds?: pulumi.Input<number>;
|
|
314
324
|
/**
|
|
315
|
-
* The total amount of time to continue retrying the check (maximum 600 seconds).
|
|
325
|
+
* The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
|
|
316
326
|
*/
|
|
317
327
|
maxDurationSeconds?: pulumi.Input<number>;
|
|
318
328
|
/**
|
|
319
|
-
* The maximum number of times to retry the check. Value must be between 1 and 10.
|
|
329
|
+
* 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`).
|
|
320
330
|
*/
|
|
321
331
|
maxRetries?: pulumi.Input<number>;
|
|
322
332
|
/**
|
|
323
|
-
*
|
|
333
|
+
* Apply the retry strategy only if the defined conditions match.
|
|
334
|
+
*/
|
|
335
|
+
onlyOn?: pulumi.Input<inputs.CheckRetryStrategyOnlyOn>;
|
|
336
|
+
/**
|
|
337
|
+
* Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
|
|
324
338
|
*/
|
|
325
339
|
sameRegion?: pulumi.Input<boolean>;
|
|
326
340
|
/**
|
|
327
|
-
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`,
|
|
341
|
+
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
|
|
328
342
|
*/
|
|
329
343
|
type: pulumi.Input<string>;
|
|
330
344
|
}
|
|
345
|
+
export interface CheckRetryStrategyOnlyOn {
|
|
346
|
+
/**
|
|
347
|
+
* When `true`, retry only if the cause of the failure is a network error. (Default `false`).
|
|
348
|
+
*/
|
|
349
|
+
networkError?: pulumi.Input<boolean>;
|
|
350
|
+
}
|
|
331
351
|
export interface CheckTriggerIncident {
|
|
332
352
|
/**
|
|
333
353
|
* A detailed description of the incident.
|
|
@@ -656,26 +676,36 @@ export interface TcpCheckRequestAssertion {
|
|
|
656
676
|
}
|
|
657
677
|
export interface TcpCheckRetryStrategy {
|
|
658
678
|
/**
|
|
659
|
-
* The number of seconds to wait before the first retry attempt.
|
|
679
|
+
* The number of seconds to wait before the first retry attempt. (Default `60`).
|
|
660
680
|
*/
|
|
661
681
|
baseBackoffSeconds?: pulumi.Input<number>;
|
|
662
682
|
/**
|
|
663
|
-
* The total amount of time to continue retrying the check (maximum 600 seconds).
|
|
683
|
+
* The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
|
|
664
684
|
*/
|
|
665
685
|
maxDurationSeconds?: pulumi.Input<number>;
|
|
666
686
|
/**
|
|
667
|
-
* The maximum number of times to retry the check. Value must be between 1 and 10.
|
|
687
|
+
* 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`).
|
|
668
688
|
*/
|
|
669
689
|
maxRetries?: pulumi.Input<number>;
|
|
670
690
|
/**
|
|
671
|
-
*
|
|
691
|
+
* Apply the retry strategy only if the defined conditions match.
|
|
692
|
+
*/
|
|
693
|
+
onlyOn?: pulumi.Input<inputs.TcpCheckRetryStrategyOnlyOn>;
|
|
694
|
+
/**
|
|
695
|
+
* Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
|
|
672
696
|
*/
|
|
673
697
|
sameRegion?: pulumi.Input<boolean>;
|
|
674
698
|
/**
|
|
675
|
-
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`,
|
|
699
|
+
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
|
|
676
700
|
*/
|
|
677
701
|
type: pulumi.Input<string>;
|
|
678
702
|
}
|
|
703
|
+
export interface TcpCheckRetryStrategyOnlyOn {
|
|
704
|
+
/**
|
|
705
|
+
* When `true`, retry only if the cause of the failure is a network error. (Default `false`).
|
|
706
|
+
*/
|
|
707
|
+
networkError?: pulumi.Input<boolean>;
|
|
708
|
+
}
|
|
679
709
|
export interface TcpCheckTriggerIncident {
|
|
680
710
|
/**
|
|
681
711
|
* A detailed description of the incident.
|
|
@@ -780,26 +810,36 @@ export interface TcpMonitorRequestAssertion {
|
|
|
780
810
|
}
|
|
781
811
|
export interface TcpMonitorRetryStrategy {
|
|
782
812
|
/**
|
|
783
|
-
* The number of seconds to wait before the first retry attempt.
|
|
813
|
+
* The number of seconds to wait before the first retry attempt. (Default `60`).
|
|
784
814
|
*/
|
|
785
815
|
baseBackoffSeconds?: pulumi.Input<number>;
|
|
786
816
|
/**
|
|
787
|
-
* The total amount of time to continue retrying the check (maximum 600 seconds).
|
|
817
|
+
* The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
|
|
788
818
|
*/
|
|
789
819
|
maxDurationSeconds?: pulumi.Input<number>;
|
|
790
820
|
/**
|
|
791
|
-
* The maximum number of times to retry the check. Value must be between 1 and 10.
|
|
821
|
+
* 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`).
|
|
792
822
|
*/
|
|
793
823
|
maxRetries?: pulumi.Input<number>;
|
|
794
824
|
/**
|
|
795
|
-
*
|
|
825
|
+
* Apply the retry strategy only if the defined conditions match.
|
|
826
|
+
*/
|
|
827
|
+
onlyOn?: pulumi.Input<inputs.TcpMonitorRetryStrategyOnlyOn>;
|
|
828
|
+
/**
|
|
829
|
+
* Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
|
|
796
830
|
*/
|
|
797
831
|
sameRegion?: pulumi.Input<boolean>;
|
|
798
832
|
/**
|
|
799
|
-
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`,
|
|
833
|
+
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
|
|
800
834
|
*/
|
|
801
835
|
type: pulumi.Input<string>;
|
|
802
836
|
}
|
|
837
|
+
export interface TcpMonitorRetryStrategyOnlyOn {
|
|
838
|
+
/**
|
|
839
|
+
* When `true`, retry only if the cause of the failure is a network error. (Default `false`).
|
|
840
|
+
*/
|
|
841
|
+
networkError?: pulumi.Input<boolean>;
|
|
842
|
+
}
|
|
803
843
|
export interface TcpMonitorTriggerIncident {
|
|
804
844
|
/**
|
|
805
845
|
* A detailed description of the incident.
|
|
@@ -929,22 +969,32 @@ export interface UrlMonitorRetryStrategy {
|
|
|
929
969
|
*/
|
|
930
970
|
baseBackoffSeconds?: pulumi.Input<number>;
|
|
931
971
|
/**
|
|
932
|
-
* The total amount of time to continue retrying the monitor (maximum 600 seconds). (Default `600`).
|
|
972
|
+
* The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
|
|
933
973
|
*/
|
|
934
974
|
maxDurationSeconds?: pulumi.Input<number>;
|
|
935
975
|
/**
|
|
936
|
-
* The maximum number of times to retry the monitor. Value must be between `1` and `10`. (Default `2`).
|
|
976
|
+
* 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`).
|
|
937
977
|
*/
|
|
938
978
|
maxRetries?: pulumi.Input<number>;
|
|
939
979
|
/**
|
|
940
|
-
*
|
|
980
|
+
* Apply the retry strategy only if the defined conditions match.
|
|
981
|
+
*/
|
|
982
|
+
onlyOn?: pulumi.Input<inputs.UrlMonitorRetryStrategyOnlyOn>;
|
|
983
|
+
/**
|
|
984
|
+
* Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
|
|
941
985
|
*/
|
|
942
986
|
sameRegion?: pulumi.Input<boolean>;
|
|
943
987
|
/**
|
|
944
|
-
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, and `
|
|
988
|
+
* Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
|
|
945
989
|
*/
|
|
946
990
|
type: pulumi.Input<string>;
|
|
947
991
|
}
|
|
992
|
+
export interface UrlMonitorRetryStrategyOnlyOn {
|
|
993
|
+
/**
|
|
994
|
+
* When `true`, retry only if the cause of the failure is a network error. (Default `false`).
|
|
995
|
+
*/
|
|
996
|
+
networkError?: pulumi.Input<boolean>;
|
|
997
|
+
}
|
|
948
998
|
export interface UrlMonitorTriggerIncident {
|
|
949
999
|
/**
|
|
950
1000
|
* A detailed description of the incident.
|
package/types/input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.checkGroupApiCheckDefaultsProvideDefaults = void 0;
|
|
@@ -7,8 +7,10 @@ exports.checkGroupApiCheckDefaultsProvideDefaults = void 0;
|
|
|
7
7
|
* checkGroupApiCheckDefaultsProvideDefaults sets the appropriate defaults for CheckGroupApiCheckDefaults
|
|
8
8
|
*/
|
|
9
9
|
function checkGroupApiCheckDefaultsProvideDefaults(val) {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
return {
|
|
11
|
+
...val,
|
|
12
|
+
url: (val.url) ?? "",
|
|
13
|
+
};
|
|
12
14
|
}
|
|
13
15
|
exports.checkGroupApiCheckDefaultsProvideDefaults = checkGroupApiCheckDefaultsProvideDefaults;
|
|
14
16
|
//# sourceMappingURL=input.js.map
|
package/types/input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAqOjF;;GAEG;AACH,SAAgB,yCAAyC,CAAC,GAA+B;IACrF,OAAO;QACH,GAAG,GAAG;QACN,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE;KACvB,CAAC;AACN,CAAC;AALD,8FAKC"}
|