@checkly/pulumi 1.1.2 → 2.0.0-alpha.1738251430
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/LICENSE +202 -21
- package/README.md +39 -137
- package/alertChannel.d.ts +44 -20
- package/alertChannel.js +63 -41
- package/alertChannel.js.map +1 -1
- package/check.d.ts +104 -58
- package/check.js +30 -22
- package/check.js.map +1 -1
- package/checkGroup.d.ts +59 -101
- package/checkGroup.js +30 -109
- package/checkGroup.js.map +1 -1
- package/dashboard.d.ts +90 -10
- package/dashboard.js +45 -29
- package/dashboard.js.map +1 -1
- package/environmentVariable.d.ts +7 -4
- package/environmentVariable.js +28 -26
- package/environmentVariable.js.map +1 -1
- package/getStaticIps.d.ts +50 -0
- package/getStaticIps.js +26 -0
- package/getStaticIps.js.map +1 -0
- package/heartbeatCheck.d.ts +129 -0
- package/heartbeatCheck.js +91 -0
- package/heartbeatCheck.js.map +1 -0
- package/index.d.ts +39 -11
- package/index.js +42 -50
- package/index.js.map +1 -1
- package/maintenanceWindow.d.ts +4 -3
- package/maintenanceWindow.js +26 -25
- package/maintenanceWindow.js.map +1 -1
- package/package.json +7 -7
- package/privateLocation.d.ts +2 -3
- package/privateLocation.js +26 -25
- package/privateLocation.js.map +1 -1
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/snippet.d.ts +20 -0
- package/snippet.js +39 -19
- package/snippet.js.map +1 -1
- package/triggerCheck.d.ts +3 -3
- package/triggerCheck.js +24 -24
- package/triggerCheck.js.map +1 -1
- package/triggerCheckGroup.d.ts +3 -3
- package/triggerCheckGroup.js +24 -24
- package/triggerCheckGroup.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +277 -9
- package/types/input.js.map +1 -1
- package/types/output.d.ts +283 -15
- package/types/output.js.map +1 -1
- package/utilities.d.ts +4 -0
- package/utilities.js +46 -2
- package/utilities.js.map +1 -1
- package/package.json.bak +0 -29
- package/scripts/install-pulumi-plugin.js +0 -26
package/index.d.ts
CHANGED
|
@@ -1,14 +1,42 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
1
|
+
export { AlertChannelArgs, AlertChannelState } from "./alertChannel";
|
|
2
|
+
export type AlertChannel = import("./alertChannel").AlertChannel;
|
|
3
|
+
export declare const AlertChannel: typeof import("./alertChannel").AlertChannel;
|
|
4
|
+
export { CheckArgs, CheckState } from "./check";
|
|
5
|
+
export type Check = import("./check").Check;
|
|
6
|
+
export declare const Check: typeof import("./check").Check;
|
|
7
|
+
export { CheckGroupArgs, CheckGroupState } from "./checkGroup";
|
|
8
|
+
export type CheckGroup = import("./checkGroup").CheckGroup;
|
|
9
|
+
export declare const CheckGroup: typeof import("./checkGroup").CheckGroup;
|
|
10
|
+
export { DashboardArgs, DashboardState } from "./dashboard";
|
|
11
|
+
export type Dashboard = import("./dashboard").Dashboard;
|
|
12
|
+
export declare const Dashboard: typeof import("./dashboard").Dashboard;
|
|
13
|
+
export { EnvironmentVariableArgs, EnvironmentVariableState } from "./environmentVariable";
|
|
14
|
+
export type EnvironmentVariable = import("./environmentVariable").EnvironmentVariable;
|
|
15
|
+
export declare const EnvironmentVariable: typeof import("./environmentVariable").EnvironmentVariable;
|
|
16
|
+
export { GetStaticIpsArgs, GetStaticIpsResult, GetStaticIpsOutputArgs } from "./getStaticIps";
|
|
17
|
+
export declare const getStaticIps: typeof import("./getStaticIps").getStaticIps;
|
|
18
|
+
export declare const getStaticIpsOutput: typeof import("./getStaticIps").getStaticIpsOutput;
|
|
19
|
+
export { HeartbeatCheckArgs, HeartbeatCheckState } from "./heartbeatCheck";
|
|
20
|
+
export type HeartbeatCheck = import("./heartbeatCheck").HeartbeatCheck;
|
|
21
|
+
export declare const HeartbeatCheck: typeof import("./heartbeatCheck").HeartbeatCheck;
|
|
22
|
+
export { MaintenanceWindowArgs, MaintenanceWindowState } from "./maintenanceWindow";
|
|
23
|
+
export type MaintenanceWindow = import("./maintenanceWindow").MaintenanceWindow;
|
|
24
|
+
export declare const MaintenanceWindow: typeof import("./maintenanceWindow").MaintenanceWindow;
|
|
25
|
+
export { PrivateLocationArgs, PrivateLocationState } from "./privateLocation";
|
|
26
|
+
export type PrivateLocation = import("./privateLocation").PrivateLocation;
|
|
27
|
+
export declare const PrivateLocation: typeof import("./privateLocation").PrivateLocation;
|
|
28
|
+
export { ProviderArgs } from "./provider";
|
|
29
|
+
export type Provider = import("./provider").Provider;
|
|
30
|
+
export declare const Provider: typeof import("./provider").Provider;
|
|
31
|
+
export { SnippetArgs, SnippetState } from "./snippet";
|
|
32
|
+
export type Snippet = import("./snippet").Snippet;
|
|
33
|
+
export declare const Snippet: typeof import("./snippet").Snippet;
|
|
34
|
+
export { TriggerCheckArgs, TriggerCheckState } from "./triggerCheck";
|
|
35
|
+
export type TriggerCheck = import("./triggerCheck").TriggerCheck;
|
|
36
|
+
export declare const TriggerCheck: typeof import("./triggerCheck").TriggerCheck;
|
|
37
|
+
export { TriggerCheckGroupArgs, TriggerCheckGroupState } from "./triggerCheckGroup";
|
|
38
|
+
export type TriggerCheckGroup = import("./triggerCheckGroup").TriggerCheckGroup;
|
|
39
|
+
export declare const TriggerCheckGroup: typeof import("./triggerCheckGroup").TriggerCheckGroup;
|
|
12
40
|
import * as config from "./config";
|
|
13
41
|
import * as types from "./types";
|
|
14
42
|
export { config, types, };
|
package/index.js
CHANGED
|
@@ -1,76 +1,68 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.types = exports.config = void 0;
|
|
5
|
+
exports.types = exports.config = exports.TriggerCheckGroup = exports.TriggerCheck = exports.Snippet = exports.Provider = exports.PrivateLocation = exports.MaintenanceWindow = exports.HeartbeatCheck = exports.getStaticIpsOutput = exports.getStaticIps = exports.EnvironmentVariable = exports.Dashboard = exports.CheckGroup = exports.Check = exports.AlertChannel = void 0;
|
|
20
6
|
const pulumi = require("@pulumi/pulumi");
|
|
21
7
|
const utilities = require("./utilities");
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
8
|
+
exports.AlertChannel = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["AlertChannel"], () => require("./alertChannel"));
|
|
10
|
+
exports.Check = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["Check"], () => require("./check"));
|
|
12
|
+
exports.CheckGroup = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["CheckGroup"], () => require("./checkGroup"));
|
|
14
|
+
exports.Dashboard = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["Dashboard"], () => require("./dashboard"));
|
|
16
|
+
exports.EnvironmentVariable = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["EnvironmentVariable"], () => require("./environmentVariable"));
|
|
18
|
+
exports.getStaticIps = null;
|
|
19
|
+
exports.getStaticIpsOutput = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["getStaticIps", "getStaticIpsOutput"], () => require("./getStaticIps"));
|
|
21
|
+
exports.HeartbeatCheck = null;
|
|
22
|
+
utilities.lazyLoad(exports, ["HeartbeatCheck"], () => require("./heartbeatCheck"));
|
|
23
|
+
exports.MaintenanceWindow = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["MaintenanceWindow"], () => require("./maintenanceWindow"));
|
|
25
|
+
exports.PrivateLocation = null;
|
|
26
|
+
utilities.lazyLoad(exports, ["PrivateLocation"], () => require("./privateLocation"));
|
|
27
|
+
exports.Provider = null;
|
|
28
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
29
|
+
exports.Snippet = null;
|
|
30
|
+
utilities.lazyLoad(exports, ["Snippet"], () => require("./snippet"));
|
|
31
|
+
exports.TriggerCheck = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["TriggerCheck"], () => require("./triggerCheck"));
|
|
33
|
+
exports.TriggerCheckGroup = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["TriggerCheckGroup"], () => require("./triggerCheckGroup"));
|
|
34
35
|
// Export sub-modules:
|
|
35
36
|
const config = require("./config");
|
|
36
37
|
exports.config = config;
|
|
37
38
|
const types = require("./types");
|
|
38
39
|
exports.types = types;
|
|
39
|
-
// Import resources to register:
|
|
40
|
-
const alertChannel_1 = require("./alertChannel");
|
|
41
|
-
const check_1 = require("./check");
|
|
42
|
-
const checkGroup_1 = require("./checkGroup");
|
|
43
|
-
const dashboard_1 = require("./dashboard");
|
|
44
|
-
const environmentVariable_1 = require("./environmentVariable");
|
|
45
|
-
const maintenanceWindow_1 = require("./maintenanceWindow");
|
|
46
|
-
const privateLocation_1 = require("./privateLocation");
|
|
47
|
-
const snippet_1 = require("./snippet");
|
|
48
|
-
const triggerCheck_1 = require("./triggerCheck");
|
|
49
|
-
const triggerCheckGroup_1 = require("./triggerCheckGroup");
|
|
50
40
|
const _module = {
|
|
51
41
|
version: utilities.getVersion(),
|
|
52
42
|
construct: (name, type, urn) => {
|
|
53
43
|
switch (type) {
|
|
54
44
|
case "checkly:index/alertChannel:AlertChannel":
|
|
55
|
-
return new
|
|
45
|
+
return new exports.AlertChannel(name, undefined, { urn });
|
|
56
46
|
case "checkly:index/check:Check":
|
|
57
|
-
return new
|
|
47
|
+
return new exports.Check(name, undefined, { urn });
|
|
58
48
|
case "checkly:index/checkGroup:CheckGroup":
|
|
59
|
-
return new
|
|
49
|
+
return new exports.CheckGroup(name, undefined, { urn });
|
|
60
50
|
case "checkly:index/dashboard:Dashboard":
|
|
61
|
-
return new
|
|
51
|
+
return new exports.Dashboard(name, undefined, { urn });
|
|
62
52
|
case "checkly:index/environmentVariable:EnvironmentVariable":
|
|
63
|
-
return new
|
|
53
|
+
return new exports.EnvironmentVariable(name, undefined, { urn });
|
|
54
|
+
case "checkly:index/heartbeatCheck:HeartbeatCheck":
|
|
55
|
+
return new exports.HeartbeatCheck(name, undefined, { urn });
|
|
64
56
|
case "checkly:index/maintenanceWindow:MaintenanceWindow":
|
|
65
|
-
return new
|
|
57
|
+
return new exports.MaintenanceWindow(name, undefined, { urn });
|
|
66
58
|
case "checkly:index/privateLocation:PrivateLocation":
|
|
67
|
-
return new
|
|
59
|
+
return new exports.PrivateLocation(name, undefined, { urn });
|
|
68
60
|
case "checkly:index/snippet:Snippet":
|
|
69
|
-
return new
|
|
61
|
+
return new exports.Snippet(name, undefined, { urn });
|
|
70
62
|
case "checkly:index/triggerCheck:TriggerCheck":
|
|
71
|
-
return new
|
|
63
|
+
return new exports.TriggerCheck(name, undefined, { urn });
|
|
72
64
|
case "checkly:index/triggerCheckGroup:TriggerCheckGroup":
|
|
73
|
-
return new
|
|
65
|
+
return new exports.TriggerCheckGroup(name, undefined, { urn });
|
|
74
66
|
default:
|
|
75
67
|
throw new Error(`unknown resource type ${type}`);
|
|
76
68
|
}
|
|
@@ -81,19 +73,19 @@ pulumi.runtime.registerResourceModule("checkly", "index/check", _module);
|
|
|
81
73
|
pulumi.runtime.registerResourceModule("checkly", "index/checkGroup", _module);
|
|
82
74
|
pulumi.runtime.registerResourceModule("checkly", "index/dashboard", _module);
|
|
83
75
|
pulumi.runtime.registerResourceModule("checkly", "index/environmentVariable", _module);
|
|
76
|
+
pulumi.runtime.registerResourceModule("checkly", "index/heartbeatCheck", _module);
|
|
84
77
|
pulumi.runtime.registerResourceModule("checkly", "index/maintenanceWindow", _module);
|
|
85
78
|
pulumi.runtime.registerResourceModule("checkly", "index/privateLocation", _module);
|
|
86
79
|
pulumi.runtime.registerResourceModule("checkly", "index/snippet", _module);
|
|
87
80
|
pulumi.runtime.registerResourceModule("checkly", "index/triggerCheck", _module);
|
|
88
81
|
pulumi.runtime.registerResourceModule("checkly", "index/triggerCheckGroup", _module);
|
|
89
|
-
const provider_1 = require("./provider");
|
|
90
82
|
pulumi.runtime.registerResourcePackage("checkly", {
|
|
91
83
|
version: utilities.getVersion(),
|
|
92
84
|
constructProvider: (name, type, urn) => {
|
|
93
85
|
if (type !== "pulumi:providers:checkly") {
|
|
94
86
|
throw new Error(`unknown provider type ${type}`);
|
|
95
87
|
}
|
|
96
|
-
return new
|
|
88
|
+
return new exports.Provider(name, undefined, { urn });
|
|
97
89
|
},
|
|
98
90
|
});
|
|
99
91
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAA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CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/maintenanceWindow.d.ts
CHANGED
|
@@ -4,14 +4,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ```typescript
|
|
6
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as checkly from "@pulumi
|
|
7
|
+
* import * as checkly from "@checkly/pulumi";
|
|
8
8
|
*
|
|
9
9
|
* const maintenance_1 = new checkly.MaintenanceWindow("maintenance-1", {
|
|
10
|
+
* name: "Maintenance Windows",
|
|
11
|
+
* startsAt: "2014-08-24T00:00:00.000Z",
|
|
10
12
|
* endsAt: "2014-08-25T00:00:00.000Z",
|
|
13
|
+
* repeatUnit: "MONTH",
|
|
11
14
|
* repeatEndsAt: "2014-08-24T00:00:00.000Z",
|
|
12
15
|
* repeatInterval: 1,
|
|
13
|
-
* repeatUnit: "MONTH",
|
|
14
|
-
* startsAt: "2014-08-24T00:00:00.000Z",
|
|
15
16
|
* tags: ["production"],
|
|
16
17
|
* });
|
|
17
18
|
* ```
|
package/maintenanceWindow.js
CHANGED
|
@@ -10,19 +10,42 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ```typescript
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as checkly from "@pulumi
|
|
13
|
+
* import * as checkly from "@checkly/pulumi";
|
|
14
14
|
*
|
|
15
15
|
* const maintenance_1 = new checkly.MaintenanceWindow("maintenance-1", {
|
|
16
|
+
* name: "Maintenance Windows",
|
|
17
|
+
* startsAt: "2014-08-24T00:00:00.000Z",
|
|
16
18
|
* endsAt: "2014-08-25T00:00:00.000Z",
|
|
19
|
+
* repeatUnit: "MONTH",
|
|
17
20
|
* repeatEndsAt: "2014-08-24T00:00:00.000Z",
|
|
18
21
|
* repeatInterval: 1,
|
|
19
|
-
* repeatUnit: "MONTH",
|
|
20
|
-
* startsAt: "2014-08-24T00:00:00.000Z",
|
|
21
22
|
* tags: ["production"],
|
|
22
23
|
* });
|
|
23
24
|
* ```
|
|
24
25
|
*/
|
|
25
26
|
class MaintenanceWindow extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing MaintenanceWindow resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name, id, state, opts) {
|
|
37
|
+
return new MaintenanceWindow(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of MaintenanceWindow. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj) {
|
|
44
|
+
if (obj === undefined || obj === null) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return obj['__pulumiType'] === MaintenanceWindow.__pulumiType;
|
|
48
|
+
}
|
|
26
49
|
constructor(name, argsOrState, opts) {
|
|
27
50
|
let resourceInputs = {};
|
|
28
51
|
opts = opts || {};
|
|
@@ -55,28 +78,6 @@ class MaintenanceWindow extends pulumi.CustomResource {
|
|
|
55
78
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
79
|
super(MaintenanceWindow.__pulumiType, name, resourceInputs, opts);
|
|
57
80
|
}
|
|
58
|
-
/**
|
|
59
|
-
* Get an existing MaintenanceWindow resource's state with the given name, ID, and optional extra
|
|
60
|
-
* properties used to qualify the lookup.
|
|
61
|
-
*
|
|
62
|
-
* @param name The _unique_ name of the resulting resource.
|
|
63
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
-
* @param state Any extra arguments used during the lookup.
|
|
65
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
-
*/
|
|
67
|
-
static get(name, id, state, opts) {
|
|
68
|
-
return new MaintenanceWindow(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Returns true if the given object is an instance of MaintenanceWindow. This is designed to work even
|
|
72
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
-
*/
|
|
74
|
-
static isInstance(obj) {
|
|
75
|
-
if (obj === undefined || obj === null) {
|
|
76
|
-
return false;
|
|
77
|
-
}
|
|
78
|
-
return obj['__pulumiType'] === MaintenanceWindow.__pulumiType;
|
|
79
|
-
}
|
|
80
81
|
}
|
|
81
82
|
exports.MaintenanceWindow = MaintenanceWindow;
|
|
82
83
|
/** @internal */
|
package/maintenanceWindow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenanceWindow.js","sourceRoot":"","sources":["../maintenanceWindow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"maintenanceWindow.js","sourceRoot":"","sources":["../maintenanceWindow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,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E,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA/FL,8CAgGC;AAlFG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkly/pulumi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.1738251430",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Checkly monitoring resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
],
|
|
10
10
|
"homepage": "https://www.pulumi.com/registry/packages/checkly",
|
|
11
11
|
"repository": "https://github.com/checkly/pulumi-checkly",
|
|
12
|
-
"license": "
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "tsc"
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource checkly 1.1.2"
|
|
14
|
+
"build": "tsc"
|
|
16
15
|
},
|
|
17
16
|
"dependencies": {
|
|
18
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
19
18
|
},
|
|
20
19
|
"devDependencies": {
|
|
21
|
-
"@types/
|
|
22
|
-
"@types/node": "^10.0.0",
|
|
20
|
+
"@types/node": "^14",
|
|
23
21
|
"typescript": "^4.3.5"
|
|
24
22
|
},
|
|
25
23
|
"pulumi": {
|
|
26
24
|
"resource": true,
|
|
27
|
-
"
|
|
25
|
+
"name": "checkly",
|
|
26
|
+
"version": "2.0.0-alpha.1738251430",
|
|
27
|
+
"server": "github://api.github.com/checkly"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/privateLocation.d.ts
CHANGED
|
@@ -4,11 +4,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ```typescript
|
|
6
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as checkly from "@pulumi
|
|
7
|
+
* import * as checkly from "@checkly/pulumi";
|
|
8
8
|
*
|
|
9
|
-
* // Simple Private Location example
|
|
10
9
|
* const location = new checkly.PrivateLocation("location", {
|
|
11
|
-
*
|
|
10
|
+
* name: "New Private Location",
|
|
12
11
|
* slugName: "new-private-location",
|
|
13
12
|
* });
|
|
14
13
|
* ```
|
package/privateLocation.js
CHANGED
|
@@ -10,16 +10,37 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ```typescript
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as checkly from "@pulumi
|
|
13
|
+
* import * as checkly from "@checkly/pulumi";
|
|
14
14
|
*
|
|
15
|
-
* // Simple Private Location example
|
|
16
15
|
* const location = new checkly.PrivateLocation("location", {
|
|
17
|
-
*
|
|
16
|
+
* name: "New Private Location",
|
|
18
17
|
* slugName: "new-private-location",
|
|
19
18
|
* });
|
|
20
19
|
* ```
|
|
21
20
|
*/
|
|
22
21
|
class PrivateLocation extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing PrivateLocation resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name, id, state, opts) {
|
|
32
|
+
return new PrivateLocation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of PrivateLocation. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj) {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === PrivateLocation.__pulumiType;
|
|
43
|
+
}
|
|
23
44
|
constructor(name, argsOrState, opts) {
|
|
24
45
|
let resourceInputs = {};
|
|
25
46
|
opts = opts || {};
|
|
@@ -41,30 +62,10 @@ class PrivateLocation extends pulumi.CustomResource {
|
|
|
41
62
|
resourceInputs["keys"] = undefined /*out*/;
|
|
42
63
|
}
|
|
43
64
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
const secretOpts = { additionalSecretOutputs: ["keys"] };
|
|
66
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
44
67
|
super(PrivateLocation.__pulumiType, name, resourceInputs, opts);
|
|
45
68
|
}
|
|
46
|
-
/**
|
|
47
|
-
* Get an existing PrivateLocation resource's state with the given name, ID, and optional extra
|
|
48
|
-
* properties used to qualify the lookup.
|
|
49
|
-
*
|
|
50
|
-
* @param name The _unique_ name of the resulting resource.
|
|
51
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
-
* @param state Any extra arguments used during the lookup.
|
|
53
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
-
*/
|
|
55
|
-
static get(name, id, state, opts) {
|
|
56
|
-
return new PrivateLocation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Returns true if the given object is an instance of PrivateLocation. This is designed to work even
|
|
60
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
-
*/
|
|
62
|
-
static isInstance(obj) {
|
|
63
|
-
if (obj === undefined || obj === null) {
|
|
64
|
-
return false;
|
|
65
|
-
}
|
|
66
|
-
return obj['__pulumiType'] === PrivateLocation.__pulumiType;
|
|
67
|
-
}
|
|
68
69
|
}
|
|
69
70
|
exports.PrivateLocation = PrivateLocation;
|
|
70
71
|
/** @internal */
|
package/privateLocation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLocation.js","sourceRoot":"","sources":["../privateLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"privateLocation.js","sourceRoot":"","sources":["../privateLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CA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GED
|
@@ -12,6 +12,16 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
13
13
|
*/
|
|
14
14
|
class Provider extends pulumi.ProviderResource {
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj) {
|
|
20
|
+
if (obj === undefined || obj === null) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
24
|
+
}
|
|
15
25
|
/**
|
|
16
26
|
* Create a Provider resource with the given unique name, arguments, and options.
|
|
17
27
|
*
|
|
@@ -33,16 +43,6 @@ class Provider extends pulumi.ProviderResource {
|
|
|
33
43
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
34
44
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
35
45
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
38
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
-
*/
|
|
40
|
-
static isInstance(obj) {
|
|
41
|
-
if (obj === undefined || obj === null) {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
45
|
-
}
|
|
46
46
|
}
|
|
47
47
|
exports.Provider = Provider;
|
|
48
48
|
/** @internal */
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;
|
|
1
|
+
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C,CAAC;IAC7D,CAAC;;AAvCL,4BAwCC;AAvCG,gBAAgB;AACO,qBAAY,GAAG,SAAS,CAAC"}
|
package/snippet.d.ts
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as checkly from "@checkly/pulumi";
|
|
8
|
+
*
|
|
9
|
+
* const example1 = new checkly.Snippet("example_1", {
|
|
10
|
+
* name: "Example 1",
|
|
11
|
+
* script: "console.log('test');",
|
|
12
|
+
* });
|
|
13
|
+
* // An alternative way to use multi-line script.
|
|
14
|
+
* const example2 = new checkly.Snippet("example_2", {
|
|
15
|
+
* name: "Example 2",
|
|
16
|
+
* script: ` console.log('test1');
|
|
17
|
+
* console.log('test2');
|
|
18
|
+
* `,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
2
22
|
export declare class Snippet extends pulumi.CustomResource {
|
|
3
23
|
/**
|
|
4
24
|
* Get an existing Snippet resource's state with the given name, ID, and optional extra
|
package/snippet.js
CHANGED
|
@@ -5,26 +5,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Snippet = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as checkly from "@checkly/pulumi";
|
|
14
|
+
*
|
|
15
|
+
* const example1 = new checkly.Snippet("example_1", {
|
|
16
|
+
* name: "Example 1",
|
|
17
|
+
* script: "console.log('test');",
|
|
18
|
+
* });
|
|
19
|
+
* // An alternative way to use multi-line script.
|
|
20
|
+
* const example2 = new checkly.Snippet("example_2", {
|
|
21
|
+
* name: "Example 2",
|
|
22
|
+
* script: ` console.log('test1');
|
|
23
|
+
* console.log('test2');
|
|
24
|
+
* `,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
8
28
|
class Snippet extends pulumi.CustomResource {
|
|
9
|
-
constructor(name, argsOrState, opts) {
|
|
10
|
-
let resourceInputs = {};
|
|
11
|
-
opts = opts || {};
|
|
12
|
-
if (opts.id) {
|
|
13
|
-
const state = argsOrState;
|
|
14
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
15
|
-
resourceInputs["script"] = state ? state.script : undefined;
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
const args = argsOrState;
|
|
19
|
-
if ((!args || args.script === undefined) && !opts.urn) {
|
|
20
|
-
throw new Error("Missing required property 'script'");
|
|
21
|
-
}
|
|
22
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
23
|
-
resourceInputs["script"] = args ? args.script : undefined;
|
|
24
|
-
}
|
|
25
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
-
super(Snippet.__pulumiType, name, resourceInputs, opts);
|
|
27
|
-
}
|
|
28
29
|
/**
|
|
29
30
|
* Get an existing Snippet resource's state with the given name, ID, and optional extra
|
|
30
31
|
* properties used to qualify the lookup.
|
|
@@ -47,6 +48,25 @@ class Snippet extends pulumi.CustomResource {
|
|
|
47
48
|
}
|
|
48
49
|
return obj['__pulumiType'] === Snippet.__pulumiType;
|
|
49
50
|
}
|
|
51
|
+
constructor(name, argsOrState, opts) {
|
|
52
|
+
let resourceInputs = {};
|
|
53
|
+
opts = opts || {};
|
|
54
|
+
if (opts.id) {
|
|
55
|
+
const state = argsOrState;
|
|
56
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
+
resourceInputs["script"] = state ? state.script : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.script === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'script'");
|
|
63
|
+
}
|
|
64
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
65
|
+
resourceInputs["script"] = args ? args.script : undefined;
|
|
66
|
+
}
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
|
+
super(Snippet.__pulumiType, name, resourceInputs, opts);
|
|
69
|
+
}
|
|
50
70
|
}
|
|
51
71
|
exports.Snippet = Snippet;
|
|
52
72
|
/** @internal */
|
package/snippet.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippet.js","sourceRoot":"","sources":["../snippet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"snippet.js","sourceRoot":"","sources":["../snippet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA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
|
7
|
-
* import * as
|
|
7
|
+
* import * as checkly from "@checkly/pulumi";
|
|
8
8
|
*
|
|
9
|
-
* const
|
|
10
|
-
* export const
|
|
9
|
+
* const testTriggerCheck = new checkly.TriggerCheck("test_trigger_check", {checkId: "c1ff95c5-d7f6-4a90-9ce2-1e605f117592"});
|
|
10
|
+
* export const testTriggerCheckUrl = testTriggerCheck.url;
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export declare class TriggerCheck extends pulumi.CustomResource {
|