@checkly/pulumi 0.0.1-alpha.2 → 0.0.1-alpha.6
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/README.md +70 -44
- package/alertChannel.ts +56 -141
- package/bin/README.md +102 -41
- package/bin/alertChannel.d.ts +55 -138
- package/bin/alertChannel.js +41 -108
- package/bin/alertChannel.js.map +1 -1
- package/bin/check.d.ts +90 -51
- package/bin/check.js +4 -3
- package/bin/check.js.map +1 -1
- package/bin/checkGroup.d.ts +112 -36
- package/bin/checkGroup.js +89 -3
- package/bin/checkGroup.js.map +1 -1
- package/bin/dashboard.d.ts +125 -14
- package/bin/dashboard.js +22 -24
- package/bin/dashboard.js.map +1 -1
- package/bin/environmentVariable.d.ts +64 -0
- package/bin/environmentVariable.js +78 -0
- package/bin/environmentVariable.js.map +1 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +5 -0
- package/bin/index.js.map +1 -1
- package/bin/maintenanceWindow.d.ts +16 -36
- package/bin/maintenanceWindow.js +2 -33
- package/bin/maintenanceWindow.js.map +1 -1
- package/bin/package.json +4 -3
- package/bin/package.json.bak +2 -1
- package/bin/provider.js +1 -3
- package/bin/provider.js.map +1 -1
- package/bin/snippet.d.ts +3 -3
- package/bin/snippet.js +1 -3
- package/bin/snippet.js.map +1 -1
- package/bin/triggerCheck.d.ts +19 -7
- package/bin/triggerCheck.js +2 -10
- package/bin/triggerCheck.js.map +1 -1
- package/bin/triggerCheckGroup.d.ts +19 -7
- package/bin/triggerCheckGroup.js +2 -10
- package/bin/triggerCheckGroup.js.map +1 -1
- package/bin/types/input.d.ts +2 -188
- package/bin/types/input.js.map +1 -1
- package/bin/types/output.d.ts +2 -188
- package/bin/types/output.js.map +1 -1
- package/bin/utilities.js +6 -1
- package/bin/utilities.js.map +1 -1
- package/bin/yarn.lock +179 -117
- package/check.ts +91 -54
- package/checkGroup.ts +113 -39
- package/dashboard.ts +126 -38
- package/environmentVariable.ts +107 -0
- package/index.ts +5 -0
- package/maintenanceWindow.ts +17 -48
- package/package.json +7 -6
- package/provider.ts +1 -3
- package/scripts/install-pulumi-plugin.js +26 -0
- package/snippet.ts +4 -6
- package/triggerCheck.ts +20 -10
- package/triggerCheckGroup.ts +20 -10
- package/tsconfig.json +1 -0
- package/types/input.ts +2 -188
- package/types/output.ts +2 -188
- package/utilities.ts +5 -0
|
@@ -0,0 +1,64 @@
|
|
|
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 "@pulumi/checkly";
|
|
8
|
+
*
|
|
9
|
+
* // Simple Enviroment Variable example
|
|
10
|
+
* const variable_1 = new checkly.EnvironmentVariable("variable-1", {
|
|
11
|
+
* key: "API_KEY",
|
|
12
|
+
* locked: true,
|
|
13
|
+
* value: "loZd9hOGHDUrGvmW",
|
|
14
|
+
* });
|
|
15
|
+
* const variable_2 = new checkly.EnvironmentVariable("variable-2", {
|
|
16
|
+
* key: "API_URL",
|
|
17
|
+
* value: "http://localhost:3000",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare class EnvironmentVariable extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing EnvironmentVariable 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: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentVariableState, opts?: pulumi.CustomResourceOptions): EnvironmentVariable;
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of EnvironmentVariable. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj: any): obj is EnvironmentVariable;
|
|
37
|
+
readonly key: pulumi.Output<string>;
|
|
38
|
+
readonly locked: pulumi.Output<boolean | undefined>;
|
|
39
|
+
readonly value: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a EnvironmentVariable resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args: EnvironmentVariableArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Input properties used for looking up and filtering EnvironmentVariable resources.
|
|
51
|
+
*/
|
|
52
|
+
export interface EnvironmentVariableState {
|
|
53
|
+
key?: pulumi.Input<string>;
|
|
54
|
+
locked?: pulumi.Input<boolean>;
|
|
55
|
+
value?: pulumi.Input<string>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The set of arguments for constructing a EnvironmentVariable resource.
|
|
59
|
+
*/
|
|
60
|
+
export interface EnvironmentVariableArgs {
|
|
61
|
+
key: pulumi.Input<string>;
|
|
62
|
+
locked?: pulumi.Input<boolean>;
|
|
63
|
+
value: pulumi.Input<string>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.EnvironmentVariable = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as checkly from "@pulumi/checkly";
|
|
14
|
+
*
|
|
15
|
+
* // Simple Enviroment Variable example
|
|
16
|
+
* const variable_1 = new checkly.EnvironmentVariable("variable-1", {
|
|
17
|
+
* key: "API_KEY",
|
|
18
|
+
* locked: true,
|
|
19
|
+
* value: "loZd9hOGHDUrGvmW",
|
|
20
|
+
* });
|
|
21
|
+
* const variable_2 = new checkly.EnvironmentVariable("variable-2", {
|
|
22
|
+
* key: "API_URL",
|
|
23
|
+
* value: "http://localhost:3000",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
class EnvironmentVariable extends pulumi.CustomResource {
|
|
28
|
+
constructor(name, argsOrState, opts) {
|
|
29
|
+
let resourceInputs = {};
|
|
30
|
+
opts = opts || {};
|
|
31
|
+
if (opts.id) {
|
|
32
|
+
const state = argsOrState;
|
|
33
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
34
|
+
resourceInputs["locked"] = state ? state.locked : undefined;
|
|
35
|
+
resourceInputs["value"] = state ? state.value : undefined;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
const args = argsOrState;
|
|
39
|
+
if ((!args || args.key === undefined) && !opts.urn) {
|
|
40
|
+
throw new Error("Missing required property 'key'");
|
|
41
|
+
}
|
|
42
|
+
if ((!args || args.value === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'value'");
|
|
44
|
+
}
|
|
45
|
+
resourceInputs["key"] = args ? args.key : undefined;
|
|
46
|
+
resourceInputs["locked"] = args ? args.locked : undefined;
|
|
47
|
+
resourceInputs["value"] = args ? args.value : undefined;
|
|
48
|
+
}
|
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
50
|
+
super(EnvironmentVariable.__pulumiType, name, resourceInputs, opts);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing EnvironmentVariable resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name, id, state, opts) {
|
|
62
|
+
return new EnvironmentVariable(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of EnvironmentVariable. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj) {
|
|
69
|
+
if (obj === undefined || obj === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return obj['__pulumiType'] === EnvironmentVariable.__pulumiType;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.EnvironmentVariable = EnvironmentVariable;
|
|
76
|
+
/** @internal */
|
|
77
|
+
EnvironmentVariable.__pulumiType = 'checkly:index/environmentVariable:EnvironmentVariable';
|
|
78
|
+
//# sourceMappingURL=environmentVariable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentVariable.js","sourceRoot":"","sources":["../environmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAwC1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI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AC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;IA7DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDA+DC;AAjDG,gBAAgB;AACO,gCAAY,GAAG,uDAAuD,CAAC"}
|
package/bin/index.d.ts
CHANGED
package/bin/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./alertChannel"), exports);
|
|
|
24
24
|
__exportStar(require("./check"), exports);
|
|
25
25
|
__exportStar(require("./checkGroup"), exports);
|
|
26
26
|
__exportStar(require("./dashboard"), exports);
|
|
27
|
+
__exportStar(require("./environmentVariable"), exports);
|
|
27
28
|
__exportStar(require("./maintenanceWindow"), exports);
|
|
28
29
|
__exportStar(require("./provider"), exports);
|
|
29
30
|
__exportStar(require("./snippet"), exports);
|
|
@@ -39,6 +40,7 @@ const alertChannel_1 = require("./alertChannel");
|
|
|
39
40
|
const check_1 = require("./check");
|
|
40
41
|
const checkGroup_1 = require("./checkGroup");
|
|
41
42
|
const dashboard_1 = require("./dashboard");
|
|
43
|
+
const environmentVariable_1 = require("./environmentVariable");
|
|
42
44
|
const maintenanceWindow_1 = require("./maintenanceWindow");
|
|
43
45
|
const snippet_1 = require("./snippet");
|
|
44
46
|
const triggerCheck_1 = require("./triggerCheck");
|
|
@@ -55,6 +57,8 @@ const _module = {
|
|
|
55
57
|
return new checkGroup_1.CheckGroup(name, undefined, { urn });
|
|
56
58
|
case "checkly:index/dashboard:Dashboard":
|
|
57
59
|
return new dashboard_1.Dashboard(name, undefined, { urn });
|
|
60
|
+
case "checkly:index/environmentVariable:EnvironmentVariable":
|
|
61
|
+
return new environmentVariable_1.EnvironmentVariable(name, undefined, { urn });
|
|
58
62
|
case "checkly:index/maintenanceWindow:MaintenanceWindow":
|
|
59
63
|
return new maintenanceWindow_1.MaintenanceWindow(name, undefined, { urn });
|
|
60
64
|
case "checkly:index/snippet:Snippet":
|
|
@@ -72,6 +76,7 @@ pulumi.runtime.registerResourceModule("checkly", "index/alertChannel", _module);
|
|
|
72
76
|
pulumi.runtime.registerResourceModule("checkly", "index/check", _module);
|
|
73
77
|
pulumi.runtime.registerResourceModule("checkly", "index/checkGroup", _module);
|
|
74
78
|
pulumi.runtime.registerResourceModule("checkly", "index/dashboard", _module);
|
|
79
|
+
pulumi.runtime.registerResourceModule("checkly", "index/environmentVariable", _module);
|
|
75
80
|
pulumi.runtime.registerResourceModule("checkly", "index/maintenanceWindow", _module);
|
|
76
81
|
pulumi.runtime.registerResourceModule("checkly", "index/snippet", _module);
|
|
77
82
|
pulumi.runtime.registerResourceModule("checkly", "index/triggerCheck", _module);
|
package/bin/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,iDAA+B;AAC/B,0CAAwB;AACxB,+CAA6B;AAC7B,8CAA4B;AAC5B,sDAAoC;AACpC,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,sDAAoC;AAEpC,sBAAsB;AACtB,mCAAmC;AAI/B,wBAAM;AAHV,iCAAiC;AAI7B,sB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EAAE,OAAO,CAAC,CAAA;AAEpF,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,0BAA0B,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -1,27 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # checkly.MaintenanceWindow
|
|
4
|
-
*
|
|
5
|
-
* `checkly.MaintenanceWindow` allows users to manage Checkly maintenance windows. Add a `checkly.MaintenanceWindow` resource to your resource file.
|
|
6
|
-
*
|
|
7
3
|
* ## Example Usage
|
|
8
4
|
*
|
|
9
|
-
* Minimal maintenance windows example
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as checkly from "@pulumi/checkly";
|
|
14
|
-
*
|
|
15
|
-
* const maintenance_1 = new checkly.MaintenanceWindow("maintenance-1", {
|
|
16
|
-
* endsAt: "2014-08-25T00:00:00.000Z",
|
|
17
|
-
* repeatUnit: "MONTH",
|
|
18
|
-
* startsAt: "2014-08-24T00:00:00.000Z",
|
|
19
|
-
* tags: ["auto"],
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* Full maintenance windows example (includes optional fields)
|
|
24
|
-
*
|
|
25
5
|
* ```typescript
|
|
26
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
7
|
* import * as checkly from "@pulumi/checkly";
|
|
@@ -32,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
32
12
|
* repeatInterval: 1,
|
|
33
13
|
* repeatUnit: "MONTH",
|
|
34
14
|
* startsAt: "2014-08-24T00:00:00.000Z",
|
|
35
|
-
* tags: ["
|
|
15
|
+
* tags: ["production"],
|
|
36
16
|
* });
|
|
37
17
|
* ```
|
|
38
18
|
*/
|
|
@@ -61,17 +41,17 @@ export declare class MaintenanceWindow extends pulumi.CustomResource {
|
|
|
61
41
|
*/
|
|
62
42
|
readonly name: pulumi.Output<string>;
|
|
63
43
|
/**
|
|
64
|
-
* The
|
|
44
|
+
* The date on which the maintenance window should stop repeating.
|
|
65
45
|
*/
|
|
66
|
-
readonly repeatEndsAt: pulumi.Output<string>;
|
|
46
|
+
readonly repeatEndsAt: pulumi.Output<string | undefined>;
|
|
67
47
|
/**
|
|
68
|
-
* The repeat interval of the maintenance window from the first
|
|
48
|
+
* The repeat interval of the maintenance window from the first occurrence.
|
|
69
49
|
*/
|
|
70
|
-
readonly repeatInterval: pulumi.Output<number>;
|
|
50
|
+
readonly repeatInterval: pulumi.Output<number | undefined>;
|
|
71
51
|
/**
|
|
72
|
-
* The repeat
|
|
52
|
+
* The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
|
73
53
|
*/
|
|
74
|
-
readonly repeatUnit: pulumi.Output<string>;
|
|
54
|
+
readonly repeatUnit: pulumi.Output<string | undefined>;
|
|
75
55
|
/**
|
|
76
56
|
* The start date of the maintenance window.
|
|
77
57
|
*/
|
|
@@ -102,15 +82,15 @@ export interface MaintenanceWindowState {
|
|
|
102
82
|
*/
|
|
103
83
|
name?: pulumi.Input<string>;
|
|
104
84
|
/**
|
|
105
|
-
* The
|
|
85
|
+
* The date on which the maintenance window should stop repeating.
|
|
106
86
|
*/
|
|
107
87
|
repeatEndsAt?: pulumi.Input<string>;
|
|
108
88
|
/**
|
|
109
|
-
* The repeat interval of the maintenance window from the first
|
|
89
|
+
* The repeat interval of the maintenance window from the first occurrence.
|
|
110
90
|
*/
|
|
111
91
|
repeatInterval?: pulumi.Input<number>;
|
|
112
92
|
/**
|
|
113
|
-
* The repeat
|
|
93
|
+
* The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
|
114
94
|
*/
|
|
115
95
|
repeatUnit?: pulumi.Input<string>;
|
|
116
96
|
/**
|
|
@@ -135,17 +115,17 @@ export interface MaintenanceWindowArgs {
|
|
|
135
115
|
*/
|
|
136
116
|
name?: pulumi.Input<string>;
|
|
137
117
|
/**
|
|
138
|
-
* The
|
|
118
|
+
* The date on which the maintenance window should stop repeating.
|
|
139
119
|
*/
|
|
140
|
-
repeatEndsAt
|
|
120
|
+
repeatEndsAt?: pulumi.Input<string>;
|
|
141
121
|
/**
|
|
142
|
-
* The repeat interval of the maintenance window from the first
|
|
122
|
+
* The repeat interval of the maintenance window from the first occurrence.
|
|
143
123
|
*/
|
|
144
|
-
repeatInterval
|
|
124
|
+
repeatInterval?: pulumi.Input<number>;
|
|
145
125
|
/**
|
|
146
|
-
* The repeat
|
|
126
|
+
* The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
|
147
127
|
*/
|
|
148
|
-
repeatUnit
|
|
128
|
+
repeatUnit?: pulumi.Input<string>;
|
|
149
129
|
/**
|
|
150
130
|
* The start date of the maintenance window.
|
|
151
131
|
*/
|
package/bin/maintenanceWindow.js
CHANGED
|
@@ -6,28 +6,8 @@ exports.MaintenanceWindow = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # checkly.MaintenanceWindow
|
|
10
|
-
*
|
|
11
|
-
* `checkly.MaintenanceWindow` allows users to manage Checkly maintenance windows. Add a `checkly.MaintenanceWindow` resource to your resource file.
|
|
12
|
-
*
|
|
13
9
|
* ## Example Usage
|
|
14
10
|
*
|
|
15
|
-
* Minimal maintenance windows example
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as checkly from "@pulumi/checkly";
|
|
20
|
-
*
|
|
21
|
-
* const maintenance_1 = new checkly.MaintenanceWindow("maintenance-1", {
|
|
22
|
-
* endsAt: "2014-08-25T00:00:00.000Z",
|
|
23
|
-
* repeatUnit: "MONTH",
|
|
24
|
-
* startsAt: "2014-08-24T00:00:00.000Z",
|
|
25
|
-
* tags: ["auto"],
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* Full maintenance windows example (includes optional fields)
|
|
30
|
-
*
|
|
31
11
|
* ```typescript
|
|
32
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
33
13
|
* import * as checkly from "@pulumi/checkly";
|
|
@@ -38,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
38
18
|
* repeatInterval: 1,
|
|
39
19
|
* repeatUnit: "MONTH",
|
|
40
20
|
* startsAt: "2014-08-24T00:00:00.000Z",
|
|
41
|
-
* tags: ["
|
|
21
|
+
* tags: ["production"],
|
|
42
22
|
* });
|
|
43
23
|
* ```
|
|
44
24
|
*/
|
|
@@ -61,15 +41,6 @@ class MaintenanceWindow extends pulumi.CustomResource {
|
|
|
61
41
|
if ((!args || args.endsAt === undefined) && !opts.urn) {
|
|
62
42
|
throw new Error("Missing required property 'endsAt'");
|
|
63
43
|
}
|
|
64
|
-
if ((!args || args.repeatEndsAt === undefined) && !opts.urn) {
|
|
65
|
-
throw new Error("Missing required property 'repeatEndsAt'");
|
|
66
|
-
}
|
|
67
|
-
if ((!args || args.repeatInterval === undefined) && !opts.urn) {
|
|
68
|
-
throw new Error("Missing required property 'repeatInterval'");
|
|
69
|
-
}
|
|
70
|
-
if ((!args || args.repeatUnit === undefined) && !opts.urn) {
|
|
71
|
-
throw new Error("Missing required property 'repeatUnit'");
|
|
72
|
-
}
|
|
73
44
|
if ((!args || args.startsAt === undefined) && !opts.urn) {
|
|
74
45
|
throw new Error("Missing required property 'startsAt'");
|
|
75
46
|
}
|
|
@@ -81,9 +52,7 @@ class MaintenanceWindow extends pulumi.CustomResource {
|
|
|
81
52
|
resourceInputs["startsAt"] = args ? args.startsAt : undefined;
|
|
82
53
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
83
54
|
}
|
|
84
|
-
|
|
85
|
-
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
86
|
-
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
56
|
super(MaintenanceWindow.__pulumiType, name, resourceInputs, opts);
|
|
88
57
|
}
|
|
89
58
|
/**
|
|
@@ -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;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAiExD,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,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,S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2
2
|
"name": "@checkly/pulumi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v0.0.1-alpha.6",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Checkly monitoring resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"repository": "https://github.com/checkly/pulumi-checkly",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "tsc"
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource checkly v0.0.1-alpha.6"
|
|
15
16
|
},
|
|
16
17
|
"dependencies": {
|
|
17
18
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -23,6 +24,6 @@
|
|
|
23
24
|
},
|
|
24
25
|
"pulumi": {
|
|
25
26
|
"resource": true,
|
|
26
|
-
"pluginDownloadURL": "https://github.com/checkly/pulumi-checkly/releases/
|
|
27
|
+
"pluginDownloadURL": "https://github.com/checkly/pulumi-checkly/releases/v0.0.1-alpha.6"
|
|
27
28
|
}
|
|
28
29
|
}
|
package/bin/package.json.bak
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"repository": "https://github.com/checkly/pulumi-checkly",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "tsc"
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource checkly ${VERSION}"
|
|
15
16
|
},
|
|
16
17
|
"dependencies": {
|
|
17
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/bin/provider.js
CHANGED
|
@@ -30,9 +30,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
30
30
|
resourceInputs["apiKey"] = args ? args.apiKey : undefined;
|
|
31
31
|
resourceInputs["apiUrl"] = args ? args.apiUrl : undefined;
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
35
|
-
}
|
|
33
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
36
34
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
37
35
|
}
|
|
38
36
|
/**
|
package/bin/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;IAmBjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAA6B;QACvE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,
|
|
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,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17
|
static isInstance(obj: any): obj is Snippet;
|
|
18
18
|
/**
|
|
19
|
-
* The name of the snippet
|
|
19
|
+
* The name of the snippet
|
|
20
20
|
*/
|
|
21
21
|
readonly name: pulumi.Output<string>;
|
|
22
22
|
/**
|
|
@@ -37,7 +37,7 @@ export declare class Snippet extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
export interface SnippetState {
|
|
39
39
|
/**
|
|
40
|
-
* The name of the snippet
|
|
40
|
+
* The name of the snippet
|
|
41
41
|
*/
|
|
42
42
|
name?: pulumi.Input<string>;
|
|
43
43
|
/**
|
|
@@ -50,7 +50,7 @@ export interface SnippetState {
|
|
|
50
50
|
*/
|
|
51
51
|
export interface SnippetArgs {
|
|
52
52
|
/**
|
|
53
|
-
* The name of the snippet
|
|
53
|
+
* The name of the snippet
|
|
54
54
|
*/
|
|
55
55
|
name?: pulumi.Input<string>;
|
|
56
56
|
/**
|
package/bin/snippet.js
CHANGED
|
@@ -22,9 +22,7 @@ class Snippet extends pulumi.CustomResource {
|
|
|
22
22
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
23
23
|
resourceInputs["script"] = args ? args.script : undefined;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
27
|
-
}
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
26
|
super(Snippet.__pulumiType, name, resourceInputs, opts);
|
|
29
27
|
}
|
|
30
28
|
/**
|
package/bin/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;IA6C9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GA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;AAjDG,gBAAgB;AACO,oBAAY,GAAG,+BAA+B,CAAC"}
|
package/bin/triggerCheck.d.ts
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # checkly.TriggerCheck
|
|
4
|
-
*
|
|
5
|
-
* `checkly.TriggerCheck` allows users to manage Checkly trigger checks. Add a `checkly.TriggerCheck` resource to your resource file.
|
|
6
|
-
*
|
|
7
3
|
* ## Example Usage
|
|
8
4
|
*
|
|
9
|
-
* Trigger check example
|
|
10
|
-
*
|
|
11
5
|
* ```typescript
|
|
12
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as
|
|
7
|
+
* import * as pulumi from "@checkly/pulumi";
|
|
14
8
|
*
|
|
15
9
|
* const test_trigger_check = new checkly.TriggerCheck("test-trigger-check", {checkId: "c1ff95c5-d7f6-4a90-9ce2-1e605f117592"});
|
|
16
10
|
* export const test_trigger_check_url = test_trigger_check.url;
|
|
@@ -36,7 +30,13 @@ export declare class TriggerCheck extends pulumi.CustomResource {
|
|
|
36
30
|
* The id of the check that you want to attach the trigger to.
|
|
37
31
|
*/
|
|
38
32
|
readonly checkId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The token value created to trigger the check
|
|
35
|
+
*/
|
|
39
36
|
readonly token: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The request URL to trigger the check run.
|
|
39
|
+
*/
|
|
40
40
|
readonly url: pulumi.Output<string>;
|
|
41
41
|
/**
|
|
42
42
|
* Create a TriggerCheck resource with the given unique name, arguments, and options.
|
|
@@ -55,7 +55,13 @@ export interface TriggerCheckState {
|
|
|
55
55
|
* The id of the check that you want to attach the trigger to.
|
|
56
56
|
*/
|
|
57
57
|
checkId?: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The token value created to trigger the check
|
|
60
|
+
*/
|
|
58
61
|
token?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The request URL to trigger the check run.
|
|
64
|
+
*/
|
|
59
65
|
url?: pulumi.Input<string>;
|
|
60
66
|
}
|
|
61
67
|
/**
|
|
@@ -66,6 +72,12 @@ export interface TriggerCheckArgs {
|
|
|
66
72
|
* The id of the check that you want to attach the trigger to.
|
|
67
73
|
*/
|
|
68
74
|
checkId: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The token value created to trigger the check
|
|
77
|
+
*/
|
|
69
78
|
token?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The request URL to trigger the check run.
|
|
81
|
+
*/
|
|
70
82
|
url?: pulumi.Input<string>;
|
|
71
83
|
}
|
package/bin/triggerCheck.js
CHANGED
|
@@ -6,17 +6,11 @@ exports.TriggerCheck = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # checkly.TriggerCheck
|
|
10
|
-
*
|
|
11
|
-
* `checkly.TriggerCheck` allows users to manage Checkly trigger checks. Add a `checkly.TriggerCheck` resource to your resource file.
|
|
12
|
-
*
|
|
13
9
|
* ## Example Usage
|
|
14
10
|
*
|
|
15
|
-
* Trigger check example
|
|
16
|
-
*
|
|
17
11
|
* ```typescript
|
|
18
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as
|
|
13
|
+
* import * as pulumi from "@checkly/pulumi";
|
|
20
14
|
*
|
|
21
15
|
* const test_trigger_check = new checkly.TriggerCheck("test-trigger-check", {checkId: "c1ff95c5-d7f6-4a90-9ce2-1e605f117592"});
|
|
22
16
|
* export const test_trigger_check_url = test_trigger_check.url;
|
|
@@ -41,9 +35,7 @@ class TriggerCheck extends pulumi.CustomResource {
|
|
|
41
35
|
resourceInputs["token"] = args ? args.token : undefined;
|
|
42
36
|
resourceInputs["url"] = args ? args.url : undefined;
|
|
43
37
|
}
|
|
44
|
-
|
|
45
|
-
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
46
|
-
}
|
|
38
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
39
|
super(TriggerCheck.__pulumiType, name, resourceInputs, opts);
|
|
48
40
|
}
|
|
49
41
|
/**
|
package/bin/triggerCheck.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggerCheck.js","sourceRoot":"","sources":["../triggerCheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"triggerCheck.js","sourceRoot":"","sources":["../triggerCheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAiDnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,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