@checkly/pulumi 1.1.4 → 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 +41 -19
- package/alertChannel.js.map +1 -1
- package/check.d.ts +101 -61
- package/check.js +8 -0
- package/check.js.map +1 -1
- package/checkGroup.d.ts +56 -104
- package/checkGroup.js +8 -87
- package/checkGroup.js.map +1 -1
- package/dashboard.d.ts +29 -9
- package/dashboard.js +12 -6
- package/dashboard.js.map +1 -1
- package/environmentVariable.d.ts +5 -2
- package/environmentVariable.js +4 -2
- 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 +5 -4
- package/maintenanceWindow.js +5 -4
- package/maintenanceWindow.js.map +1 -1
- package/package.json +7 -7
- package/privateLocation.d.ts +2 -2
- package/privateLocation.js +4 -2
- package/privateLocation.js.map +1 -1
- package/provider.js +1 -1
- package/provider.js.map +1 -1
- package/snippet.d.ts +20 -0
- package/snippet.js +20 -0
- package/snippet.js.map +1 -1
- package/triggerCheck.d.ts +2 -2
- package/triggerCheck.js +2 -2
- package/triggerCheckGroup.d.ts +2 -2
- package/triggerCheckGroup.js +2 -2
- package/types/index.js.map +1 -1
- package/types/input.d.ts +275 -7
- package/types/input.js.map +1 -1
- package/types/output.d.ts +281 -13
- package/types/output.js.map +1 -1
- package/utilities.d.ts +4 -0
- package/utilities.js +45 -1
- package/utilities.js.map +1 -1
- package/package.json.bak +0 -29
- package/scripts/install-pulumi-plugin.js +0 -26
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getStaticIps(args?: GetStaticIpsArgs, opts?: pulumi.InvokeOptions): Promise<GetStaticIpsResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getStaticIps.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetStaticIpsArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Specify the IP families you want to get static IPs for. Only `IPv6` or `IPv4` are valid options.
|
|
9
|
+
*/
|
|
10
|
+
ipFamily?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Specify the locations you want to get static IPs for.
|
|
13
|
+
*/
|
|
14
|
+
locations?: string[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getStaticIps.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetStaticIpsResult {
|
|
20
|
+
/**
|
|
21
|
+
* Static IP addresses for Checkly's runner infrastructure.
|
|
22
|
+
*/
|
|
23
|
+
readonly addresses: string[];
|
|
24
|
+
/**
|
|
25
|
+
* ID of the static IPs data source.
|
|
26
|
+
*/
|
|
27
|
+
readonly id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Specify the IP families you want to get static IPs for. Only `IPv6` or `IPv4` are valid options.
|
|
30
|
+
*/
|
|
31
|
+
readonly ipFamily?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Specify the locations you want to get static IPs for.
|
|
34
|
+
*/
|
|
35
|
+
readonly locations?: string[];
|
|
36
|
+
}
|
|
37
|
+
export declare function getStaticIpsOutput(args?: GetStaticIpsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStaticIpsResult>;
|
|
38
|
+
/**
|
|
39
|
+
* A collection of arguments for invoking getStaticIps.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetStaticIpsOutputArgs {
|
|
42
|
+
/**
|
|
43
|
+
* Specify the IP families you want to get static IPs for. Only `IPv6` or `IPv4` are valid options.
|
|
44
|
+
*/
|
|
45
|
+
ipFamily?: pulumi.Input<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Specify the locations you want to get static IPs for.
|
|
48
|
+
*/
|
|
49
|
+
locations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
50
|
+
}
|
package/getStaticIps.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getStaticIpsOutput = exports.getStaticIps = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getStaticIps(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("checkly:index/getStaticIps:getStaticIps", {
|
|
12
|
+
"ipFamily": args.ipFamily,
|
|
13
|
+
"locations": args.locations,
|
|
14
|
+
}, opts);
|
|
15
|
+
}
|
|
16
|
+
exports.getStaticIps = getStaticIps;
|
|
17
|
+
function getStaticIpsOutput(args, opts) {
|
|
18
|
+
args = args || {};
|
|
19
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
20
|
+
return pulumi.runtime.invokeOutput("checkly:index/getStaticIps:getStaticIps", {
|
|
21
|
+
"ipFamily": args.ipFamily,
|
|
22
|
+
"locations": args.locations,
|
|
23
|
+
}, opts);
|
|
24
|
+
}
|
|
25
|
+
exports.getStaticIpsOutput = getStaticIpsOutput;
|
|
26
|
+
//# sourceMappingURL=getStaticIps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStaticIps.js","sourceRoot":"","sources":["../getStaticIps.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAqCD,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yCAAyC,EAAE;QAC1E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Heartbeats allows you to monitor your cron jobs and set up alerting, so you get a notification when things break or slow down.
|
|
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_heartbeat = new checkly.HeartbeatCheck("example-heartbeat", {
|
|
14
|
+
* name: "Example heartbeat",
|
|
15
|
+
* activated: true,
|
|
16
|
+
* heartbeat: {
|
|
17
|
+
* period: 7,
|
|
18
|
+
* periodUnit: "days",
|
|
19
|
+
* grace: 1,
|
|
20
|
+
* graceUnit: "days",
|
|
21
|
+
* },
|
|
22
|
+
* useGlobalAlertSettings: true,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class HeartbeatCheck extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing HeartbeatCheck 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: string, id: pulumi.Input<pulumi.ID>, state?: HeartbeatCheckState, opts?: pulumi.CustomResourceOptions): HeartbeatCheck;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of HeartbeatCheck. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is HeartbeatCheck;
|
|
42
|
+
/**
|
|
43
|
+
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
44
|
+
*/
|
|
45
|
+
readonly activated: pulumi.Output<boolean>;
|
|
46
|
+
readonly alertChannelSubscriptions: pulumi.Output<outputs.HeartbeatCheckAlertChannelSubscription[] | undefined>;
|
|
47
|
+
readonly alertSettings: pulumi.Output<outputs.HeartbeatCheckAlertSettings>;
|
|
48
|
+
readonly heartbeat: pulumi.Output<outputs.HeartbeatCheckHeartbeat>;
|
|
49
|
+
/**
|
|
50
|
+
* Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
|
51
|
+
*/
|
|
52
|
+
readonly muted: pulumi.Output<boolean | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the check.
|
|
55
|
+
*/
|
|
56
|
+
readonly name: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* A list of tags for organizing and filtering checks.
|
|
59
|
+
*/
|
|
60
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check.
|
|
63
|
+
*/
|
|
64
|
+
readonly useGlobalAlertSettings: pulumi.Output<boolean | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a HeartbeatCheck resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: HeartbeatCheckArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering HeartbeatCheck resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface HeartbeatCheckState {
|
|
78
|
+
/**
|
|
79
|
+
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
80
|
+
*/
|
|
81
|
+
activated?: pulumi.Input<boolean>;
|
|
82
|
+
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.HeartbeatCheckAlertChannelSubscription>[]>;
|
|
83
|
+
alertSettings?: pulumi.Input<inputs.HeartbeatCheckAlertSettings>;
|
|
84
|
+
heartbeat?: pulumi.Input<inputs.HeartbeatCheckHeartbeat>;
|
|
85
|
+
/**
|
|
86
|
+
* Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
|
87
|
+
*/
|
|
88
|
+
muted?: pulumi.Input<boolean>;
|
|
89
|
+
/**
|
|
90
|
+
* The name of the check.
|
|
91
|
+
*/
|
|
92
|
+
name?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* A list of tags for organizing and filtering checks.
|
|
95
|
+
*/
|
|
96
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
97
|
+
/**
|
|
98
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check.
|
|
99
|
+
*/
|
|
100
|
+
useGlobalAlertSettings?: pulumi.Input<boolean>;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* The set of arguments for constructing a HeartbeatCheck resource.
|
|
104
|
+
*/
|
|
105
|
+
export interface HeartbeatCheckArgs {
|
|
106
|
+
/**
|
|
107
|
+
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
108
|
+
*/
|
|
109
|
+
activated: pulumi.Input<boolean>;
|
|
110
|
+
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.HeartbeatCheckAlertChannelSubscription>[]>;
|
|
111
|
+
alertSettings?: pulumi.Input<inputs.HeartbeatCheckAlertSettings>;
|
|
112
|
+
heartbeat: pulumi.Input<inputs.HeartbeatCheckHeartbeat>;
|
|
113
|
+
/**
|
|
114
|
+
* Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
|
115
|
+
*/
|
|
116
|
+
muted?: pulumi.Input<boolean>;
|
|
117
|
+
/**
|
|
118
|
+
* The name of the check.
|
|
119
|
+
*/
|
|
120
|
+
name?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* A list of tags for organizing and filtering checks.
|
|
123
|
+
*/
|
|
124
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
125
|
+
/**
|
|
126
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check.
|
|
127
|
+
*/
|
|
128
|
+
useGlobalAlertSettings?: pulumi.Input<boolean>;
|
|
129
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.HeartbeatCheck = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Heartbeats allows you to monitor your cron jobs and set up alerting, so you get a notification when things break or slow down.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as checkly from "@checkly/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const example_heartbeat = new checkly.HeartbeatCheck("example-heartbeat", {
|
|
18
|
+
* name: "Example heartbeat",
|
|
19
|
+
* activated: true,
|
|
20
|
+
* heartbeat: {
|
|
21
|
+
* period: 7,
|
|
22
|
+
* periodUnit: "days",
|
|
23
|
+
* grace: 1,
|
|
24
|
+
* graceUnit: "days",
|
|
25
|
+
* },
|
|
26
|
+
* useGlobalAlertSettings: true,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class HeartbeatCheck extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing HeartbeatCheck 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, id, state, opts) {
|
|
41
|
+
return new HeartbeatCheck(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of HeartbeatCheck. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj) {
|
|
48
|
+
if (obj === undefined || obj === null) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return obj['__pulumiType'] === HeartbeatCheck.__pulumiType;
|
|
52
|
+
}
|
|
53
|
+
constructor(name, argsOrState, opts) {
|
|
54
|
+
let resourceInputs = {};
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
if (opts.id) {
|
|
57
|
+
const state = argsOrState;
|
|
58
|
+
resourceInputs["activated"] = state ? state.activated : undefined;
|
|
59
|
+
resourceInputs["alertChannelSubscriptions"] = state ? state.alertChannelSubscriptions : undefined;
|
|
60
|
+
resourceInputs["alertSettings"] = state ? state.alertSettings : undefined;
|
|
61
|
+
resourceInputs["heartbeat"] = state ? state.heartbeat : undefined;
|
|
62
|
+
resourceInputs["muted"] = state ? state.muted : undefined;
|
|
63
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
64
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
65
|
+
resourceInputs["useGlobalAlertSettings"] = state ? state.useGlobalAlertSettings : undefined;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if ((!args || args.activated === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'activated'");
|
|
71
|
+
}
|
|
72
|
+
if ((!args || args.heartbeat === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'heartbeat'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["activated"] = args ? args.activated : undefined;
|
|
76
|
+
resourceInputs["alertChannelSubscriptions"] = args ? args.alertChannelSubscriptions : undefined;
|
|
77
|
+
resourceInputs["alertSettings"] = args ? args.alertSettings : undefined;
|
|
78
|
+
resourceInputs["heartbeat"] = args ? args.heartbeat : undefined;
|
|
79
|
+
resourceInputs["muted"] = args ? args.muted : undefined;
|
|
80
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
81
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
82
|
+
resourceInputs["useGlobalAlertSettings"] = args ? args.useGlobalAlertSettings : undefined;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(HeartbeatCheck.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.HeartbeatCheck = HeartbeatCheck;
|
|
89
|
+
/** @internal */
|
|
90
|
+
HeartbeatCheck.__pulumiType = 'checkly:index/heartbeatCheck:HeartbeatCheck';
|
|
91
|
+
//# sourceMappingURL=heartbeatCheck.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heartbeatCheck.js","sourceRoot":"","sources":["../heartbeatCheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAkCD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EA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ED
|
@@ -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,QAAA,YAAY,GAAiD,IAAW,CAA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AO,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
|
-
* const
|
|
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,14 +10,15 @@ 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
|
-
* const
|
|
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
|
* ```
|
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,EAAE,IAAG,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;IAuCD,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,QAAQ,C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AC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;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;;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.4"
|
|
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,10 +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", {
|
|
10
|
+
* name: "New Private Location",
|
|
11
11
|
* slugName: "new-private-location",
|
|
12
12
|
* });
|
|
13
13
|
* ```
|