@checkly/pulumi 0.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Pulumi.yaml +0 -0
- package/README.md +4 -0
- package/alertChannel.ts +321 -0
- package/bin/LICENSE +21 -0
- package/bin/README.md +90 -0
- package/bin/alertChannel.d.ts +266 -0
- package/bin/alertChannel.js +204 -0
- package/bin/alertChannel.js.map +1 -0
- package/bin/check.d.ts +328 -0
- package/bin/check.js +110 -0
- package/bin/check.js.map +1 -0
- package/bin/checkGroup.d.ts +238 -0
- package/bin/checkGroup.js +93 -0
- package/bin/checkGroup.js.map +1 -0
- package/bin/config/index.d.ts +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +3 -0
- package/bin/config/vars.js +25 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/dashboard.d.ts +66 -0
- package/bin/dashboard.js +93 -0
- package/bin/dashboard.js.map +1 -0
- package/bin/index.d.ts +12 -0
- package/bin/index.js +89 -0
- package/bin/index.js.map +1 -0
- package/bin/maintenanceWindow.d.ts +157 -0
- package/bin/maintenanceWindow.js +115 -0
- package/bin/maintenanceWindow.js.map +1 -0
- package/bin/package.json +28 -0
- package/bin/package.json.bak +28 -0
- package/bin/provider.d.ts +33 -0
- package/bin/provider.js +52 -0
- package/bin/provider.js.map +1 -0
- package/bin/snippet.d.ts +60 -0
- package/bin/snippet.js +56 -0
- package/bin/snippet.js.map +1 -0
- package/bin/triggerCheck.d.ts +71 -0
- package/bin/triggerCheck.js +75 -0
- package/bin/triggerCheck.js.map +1 -0
- package/bin/triggerCheckGroup.d.ts +71 -0
- package/bin/triggerCheckGroup.js +75 -0
- package/bin/triggerCheckGroup.js.map +1 -0
- package/bin/types/index.d.ts +3 -0
- package/bin/types/index.js +11 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +330 -0
- package/bin/types/input.js +14 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +329 -0
- package/bin/types/output.js +14 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +4 -0
- package/bin/utilities.js +52 -0
- package/bin/utilities.js.map +1 -0
- package/bin/yarn.lock +743 -0
- package/check.ts +416 -0
- package/checkGroup.ts +308 -0
- package/config/index.ts +5 -0
- package/config/vars.ts +33 -0
- package/dashboard.ts +143 -0
- package/index.ts +81 -0
- package/maintenanceWindow.ts +219 -0
- package/package.json +28 -0
- package/provider.ts +64 -0
- package/snippet.ts +100 -0
- package/triggerCheck.ts +113 -0
- package/triggerCheckGroup.ts +113 -0
- package/tsconfig.json +33 -0
- package/types/index.ts +11 -0
- package/types/input.ts +352 -0
- package/types/output.ts +353 -0
- package/utilities.ts +49 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
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
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* Trigger check example
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as checkly from "@pulumi/checkly";
|
|
14
|
+
*
|
|
15
|
+
* const test_trigger_check = new checkly.TriggerCheck("test-trigger-check", {checkId: "c1ff95c5-d7f6-4a90-9ce2-1e605f117592"});
|
|
16
|
+
* export const test_trigger_check_url = test_trigger_check.url;
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare class TriggerCheck extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing TriggerCheck resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TriggerCheckState, opts?: pulumi.CustomResourceOptions): TriggerCheck;
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of TriggerCheck. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj: any): obj is TriggerCheck;
|
|
35
|
+
/**
|
|
36
|
+
* The id of the check that you want to attach the trigger to.
|
|
37
|
+
*/
|
|
38
|
+
readonly checkId: pulumi.Output<string>;
|
|
39
|
+
readonly token: pulumi.Output<string>;
|
|
40
|
+
readonly url: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a TriggerCheck resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args: TriggerCheckArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Input properties used for looking up and filtering TriggerCheck resources.
|
|
52
|
+
*/
|
|
53
|
+
export interface TriggerCheckState {
|
|
54
|
+
/**
|
|
55
|
+
* The id of the check that you want to attach the trigger to.
|
|
56
|
+
*/
|
|
57
|
+
checkId?: pulumi.Input<string>;
|
|
58
|
+
token?: pulumi.Input<string>;
|
|
59
|
+
url?: pulumi.Input<string>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The set of arguments for constructing a TriggerCheck resource.
|
|
63
|
+
*/
|
|
64
|
+
export interface TriggerCheckArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The id of the check that you want to attach the trigger to.
|
|
67
|
+
*/
|
|
68
|
+
checkId: pulumi.Input<string>;
|
|
69
|
+
token?: pulumi.Input<string>;
|
|
70
|
+
url?: pulumi.Input<string>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.TriggerCheck = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
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
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* Trigger check example
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as checkly from "@pulumi/checkly";
|
|
20
|
+
*
|
|
21
|
+
* const test_trigger_check = new checkly.TriggerCheck("test-trigger-check", {checkId: "c1ff95c5-d7f6-4a90-9ce2-1e605f117592"});
|
|
22
|
+
* export const test_trigger_check_url = test_trigger_check.url;
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
class TriggerCheck extends pulumi.CustomResource {
|
|
26
|
+
constructor(name, argsOrState, opts) {
|
|
27
|
+
let resourceInputs = {};
|
|
28
|
+
opts = opts || {};
|
|
29
|
+
if (opts.id) {
|
|
30
|
+
const state = argsOrState;
|
|
31
|
+
resourceInputs["checkId"] = state ? state.checkId : undefined;
|
|
32
|
+
resourceInputs["token"] = state ? state.token : undefined;
|
|
33
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
const args = argsOrState;
|
|
37
|
+
if ((!args || args.checkId === undefined) && !opts.urn) {
|
|
38
|
+
throw new Error("Missing required property 'checkId'");
|
|
39
|
+
}
|
|
40
|
+
resourceInputs["checkId"] = args ? args.checkId : undefined;
|
|
41
|
+
resourceInputs["token"] = args ? args.token : undefined;
|
|
42
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
43
|
+
}
|
|
44
|
+
if (!opts.version) {
|
|
45
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
46
|
+
}
|
|
47
|
+
super(TriggerCheck.__pulumiType, name, resourceInputs, opts);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing TriggerCheck resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name, id, state, opts) {
|
|
59
|
+
return new TriggerCheck(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of TriggerCheck. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj) {
|
|
66
|
+
if (obj === undefined || obj === null) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
return obj['__pulumiType'] === TriggerCheck.__pulumiType;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.TriggerCheck = TriggerCheck;
|
|
73
|
+
/** @internal */
|
|
74
|
+
TriggerCheck.__pulumiType = 'checkly:index/triggerCheck:TriggerCheck';
|
|
75
|
+
//# sourceMappingURL=triggerCheck.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"triggerCheck.js","sourceRoot":"","sources":["../triggerCheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA2CnD,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,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IA/DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAiEC;AAnDG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## # checkly.TriggerCheckGroup
|
|
4
|
+
*
|
|
5
|
+
* `checkly.TriggerCheckGroup` allows users to manage Checkly trigger groups. Add a `checkly.TriggerCheckGroup` resource to your resource file.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* Trigger group example
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as checkly from "@pulumi/checkly";
|
|
14
|
+
*
|
|
15
|
+
* const test_trigger_group = new checkly.TriggerCheckGroup("test-trigger-group", {groupId: "215"});
|
|
16
|
+
* export const test_trigger_group_url = test_trigger_group.url;
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare class TriggerCheckGroup extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing TriggerCheckGroup resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TriggerCheckGroupState, opts?: pulumi.CustomResourceOptions): TriggerCheckGroup;
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of TriggerCheckGroup. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj: any): obj is TriggerCheckGroup;
|
|
35
|
+
/**
|
|
36
|
+
* The id of the group that you want to attach the trigger to.
|
|
37
|
+
*/
|
|
38
|
+
readonly groupId: pulumi.Output<number>;
|
|
39
|
+
readonly token: pulumi.Output<string>;
|
|
40
|
+
readonly url: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a TriggerCheckGroup resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args: TriggerCheckGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Input properties used for looking up and filtering TriggerCheckGroup resources.
|
|
52
|
+
*/
|
|
53
|
+
export interface TriggerCheckGroupState {
|
|
54
|
+
/**
|
|
55
|
+
* The id of the group that you want to attach the trigger to.
|
|
56
|
+
*/
|
|
57
|
+
groupId?: pulumi.Input<number>;
|
|
58
|
+
token?: pulumi.Input<string>;
|
|
59
|
+
url?: pulumi.Input<string>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The set of arguments for constructing a TriggerCheckGroup resource.
|
|
63
|
+
*/
|
|
64
|
+
export interface TriggerCheckGroupArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The id of the group that you want to attach the trigger to.
|
|
67
|
+
*/
|
|
68
|
+
groupId: pulumi.Input<number>;
|
|
69
|
+
token?: pulumi.Input<string>;
|
|
70
|
+
url?: pulumi.Input<string>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.TriggerCheckGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # checkly.TriggerCheckGroup
|
|
10
|
+
*
|
|
11
|
+
* `checkly.TriggerCheckGroup` allows users to manage Checkly trigger groups. Add a `checkly.TriggerCheckGroup` resource to your resource file.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* Trigger group example
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as checkly from "@pulumi/checkly";
|
|
20
|
+
*
|
|
21
|
+
* const test_trigger_group = new checkly.TriggerCheckGroup("test-trigger-group", {groupId: "215"});
|
|
22
|
+
* export const test_trigger_group_url = test_trigger_group.url;
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
class TriggerCheckGroup extends pulumi.CustomResource {
|
|
26
|
+
constructor(name, argsOrState, opts) {
|
|
27
|
+
let resourceInputs = {};
|
|
28
|
+
opts = opts || {};
|
|
29
|
+
if (opts.id) {
|
|
30
|
+
const state = argsOrState;
|
|
31
|
+
resourceInputs["groupId"] = state ? state.groupId : undefined;
|
|
32
|
+
resourceInputs["token"] = state ? state.token : undefined;
|
|
33
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
const args = argsOrState;
|
|
37
|
+
if ((!args || args.groupId === undefined) && !opts.urn) {
|
|
38
|
+
throw new Error("Missing required property 'groupId'");
|
|
39
|
+
}
|
|
40
|
+
resourceInputs["groupId"] = args ? args.groupId : undefined;
|
|
41
|
+
resourceInputs["token"] = args ? args.token : undefined;
|
|
42
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
43
|
+
}
|
|
44
|
+
if (!opts.version) {
|
|
45
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
46
|
+
}
|
|
47
|
+
super(TriggerCheckGroup.__pulumiType, name, resourceInputs, opts);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing TriggerCheckGroup resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name, id, state, opts) {
|
|
59
|
+
return new TriggerCheckGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of TriggerCheckGroup. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj) {
|
|
66
|
+
if (obj === undefined || obj === null) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
return obj['__pulumiType'] === TriggerCheckGroup.__pulumiType;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.TriggerCheckGroup = TriggerCheckGroup;
|
|
73
|
+
/** @internal */
|
|
74
|
+
TriggerCheckGroup.__pulumiType = 'checkly:index/triggerCheckGroup:TriggerCheckGroup';
|
|
75
|
+
//# sourceMappingURL=triggerCheckGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"triggerCheckGroup.js","sourceRoot":"","sources":["../triggerCheckGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IA2CxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,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,WAAgD,CAAC;YAC9D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;IA/DD;;;;;;;;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;;AA1BL,8CAiEC;AAnDG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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.output = exports.input = void 0;
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
const input = require("./input");
|
|
8
|
+
exports.input = input;
|
|
9
|
+
const output = require("./output");
|
|
10
|
+
exports.output = output;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs } from "../types";
|
|
3
|
+
export interface AlertChannelEmail {
|
|
4
|
+
/**
|
|
5
|
+
* the email address of this email alert channel.
|
|
6
|
+
*/
|
|
7
|
+
address: pulumi.Input<string>;
|
|
8
|
+
}
|
|
9
|
+
export interface AlertChannelOpsgenie {
|
|
10
|
+
/**
|
|
11
|
+
* .
|
|
12
|
+
*/
|
|
13
|
+
apiKey: pulumi.Input<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Webhook's channel name.
|
|
16
|
+
*/
|
|
17
|
+
name: pulumi.Input<string>;
|
|
18
|
+
/**
|
|
19
|
+
* .
|
|
20
|
+
*/
|
|
21
|
+
priority: pulumi.Input<string>;
|
|
22
|
+
/**
|
|
23
|
+
* .
|
|
24
|
+
*/
|
|
25
|
+
region: pulumi.Input<string>;
|
|
26
|
+
}
|
|
27
|
+
export interface AlertChannelPagerduty {
|
|
28
|
+
/**
|
|
29
|
+
* Pagerduty's account name.
|
|
30
|
+
*/
|
|
31
|
+
account?: pulumi.Input<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Pagerduty's service integration key.
|
|
34
|
+
*/
|
|
35
|
+
serviceKey: pulumi.Input<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Pagerduty's service name.
|
|
38
|
+
*/
|
|
39
|
+
serviceName?: pulumi.Input<string>;
|
|
40
|
+
}
|
|
41
|
+
export interface AlertChannelSlack {
|
|
42
|
+
/**
|
|
43
|
+
* Slack's channel name.
|
|
44
|
+
*/
|
|
45
|
+
channel: pulumi.Input<string>;
|
|
46
|
+
/**
|
|
47
|
+
* .
|
|
48
|
+
*/
|
|
49
|
+
url: pulumi.Input<string>;
|
|
50
|
+
}
|
|
51
|
+
export interface AlertChannelSms {
|
|
52
|
+
/**
|
|
53
|
+
* Webhook's channel name.
|
|
54
|
+
*/
|
|
55
|
+
name: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Mobile number to receive alerts.
|
|
58
|
+
*/
|
|
59
|
+
number: pulumi.Input<string>;
|
|
60
|
+
}
|
|
61
|
+
export interface AlertChannelWebhook {
|
|
62
|
+
/**
|
|
63
|
+
* .
|
|
64
|
+
*/
|
|
65
|
+
headers?: pulumi.Input<{
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
}>;
|
|
68
|
+
/**
|
|
69
|
+
* Default is `POST`.
|
|
70
|
+
*/
|
|
71
|
+
method?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Webhook's channel name.
|
|
74
|
+
*/
|
|
75
|
+
name: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* .
|
|
78
|
+
*/
|
|
79
|
+
queryParameters?: pulumi.Input<{
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}>;
|
|
82
|
+
/**
|
|
83
|
+
* .
|
|
84
|
+
*/
|
|
85
|
+
template?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* .
|
|
88
|
+
*/
|
|
89
|
+
url: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* .
|
|
92
|
+
*/
|
|
93
|
+
webhookSecret?: pulumi.Input<string>;
|
|
94
|
+
}
|
|
95
|
+
export interface CheckAlertChannelSubscription {
|
|
96
|
+
/**
|
|
97
|
+
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
98
|
+
*/
|
|
99
|
+
activated: pulumi.Input<boolean>;
|
|
100
|
+
channelId: pulumi.Input<number>;
|
|
101
|
+
}
|
|
102
|
+
export interface CheckAlertSettings {
|
|
103
|
+
/**
|
|
104
|
+
* Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
|
105
|
+
*/
|
|
106
|
+
escalationType?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* . Possible arguments:
|
|
109
|
+
*/
|
|
110
|
+
reminders?: pulumi.Input<pulumi.Input<inputs.CheckAlertSettingsReminder>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* . Possible arguments:
|
|
113
|
+
*/
|
|
114
|
+
runBasedEscalations?: pulumi.Input<pulumi.Input<inputs.CheckAlertSettingsRunBasedEscalation>[]>;
|
|
115
|
+
/**
|
|
116
|
+
* At what interval the reminders should be send. Possible arguments:
|
|
117
|
+
*/
|
|
118
|
+
sslCertificates?: pulumi.Input<pulumi.Input<inputs.CheckAlertSettingsSslCertificate>[]>;
|
|
119
|
+
/**
|
|
120
|
+
* . Possible arguments:
|
|
121
|
+
*/
|
|
122
|
+
timeBasedEscalations?: pulumi.Input<pulumi.Input<inputs.CheckAlertSettingsTimeBasedEscalation>[]>;
|
|
123
|
+
}
|
|
124
|
+
export interface CheckAlertSettingsReminder {
|
|
125
|
+
/**
|
|
126
|
+
* How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
|
127
|
+
*/
|
|
128
|
+
amount?: pulumi.Input<number>;
|
|
129
|
+
/**
|
|
130
|
+
* . Possible values are `5`, `10`, `15`, and `30`. Defaults to `5`.
|
|
131
|
+
*/
|
|
132
|
+
interval?: pulumi.Input<number>;
|
|
133
|
+
}
|
|
134
|
+
export interface CheckAlertSettingsRunBasedEscalation {
|
|
135
|
+
/**
|
|
136
|
+
* After how many failed consecutive check runs an alert notification should be send. Possible values are between 1 and 5. Defaults to `1`.
|
|
137
|
+
*/
|
|
138
|
+
failedRunThreshold?: pulumi.Input<number>;
|
|
139
|
+
}
|
|
140
|
+
export interface CheckAlertSettingsSslCertificate {
|
|
141
|
+
/**
|
|
142
|
+
* At what moment in time to start alerting on SSL certificates. Possible values `3`, `7`, `14`, `30`. Defaults to `3`.
|
|
143
|
+
*/
|
|
144
|
+
alertThreshold?: pulumi.Input<number>;
|
|
145
|
+
/**
|
|
146
|
+
* Determines if alert notifications should be send for expiring SSL certificates. Possible values `true`, and `false`. Defaults to `true`.
|
|
147
|
+
*/
|
|
148
|
+
enabled?: pulumi.Input<boolean>;
|
|
149
|
+
}
|
|
150
|
+
export interface CheckAlertSettingsTimeBasedEscalation {
|
|
151
|
+
/**
|
|
152
|
+
* After how many minutes after a check starts failing an alert should be send. Possible values are `5`, `10`, `15`, and `30`. Defaults to `5`.
|
|
153
|
+
*/
|
|
154
|
+
minutesFailingThreshold?: pulumi.Input<number>;
|
|
155
|
+
}
|
|
156
|
+
export interface CheckGroupAlertChannelSubscription {
|
|
157
|
+
/**
|
|
158
|
+
* Determines if the checks in the group are running or not.
|
|
159
|
+
*/
|
|
160
|
+
activated: pulumi.Input<boolean>;
|
|
161
|
+
channelId: pulumi.Input<number>;
|
|
162
|
+
}
|
|
163
|
+
export interface CheckGroupAlertSettings {
|
|
164
|
+
/**
|
|
165
|
+
* Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
|
166
|
+
*/
|
|
167
|
+
escalationType?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* . Possible arguments:
|
|
170
|
+
*/
|
|
171
|
+
reminders?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertSettingsReminder>[]>;
|
|
172
|
+
/**
|
|
173
|
+
* . Possible arguments:
|
|
174
|
+
*/
|
|
175
|
+
runBasedEscalations?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertSettingsRunBasedEscalation>[]>;
|
|
176
|
+
/**
|
|
177
|
+
* At what interval the reminders should be send. Possible arguments:
|
|
178
|
+
*/
|
|
179
|
+
sslCertificates?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertSettingsSslCertificate>[]>;
|
|
180
|
+
/**
|
|
181
|
+
* . Possible arguments:
|
|
182
|
+
*/
|
|
183
|
+
timeBasedEscalations?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertSettingsTimeBasedEscalation>[]>;
|
|
184
|
+
}
|
|
185
|
+
export interface CheckGroupAlertSettingsReminder {
|
|
186
|
+
/**
|
|
187
|
+
* How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
|
188
|
+
*/
|
|
189
|
+
amount?: pulumi.Input<number>;
|
|
190
|
+
/**
|
|
191
|
+
* . Possible values are `5`, `10`, `15`, and `30`. Defaults to `5`.
|
|
192
|
+
*/
|
|
193
|
+
interval?: pulumi.Input<number>;
|
|
194
|
+
}
|
|
195
|
+
export interface CheckGroupAlertSettingsRunBasedEscalation {
|
|
196
|
+
/**
|
|
197
|
+
* After how many failed consecutive check runs an alert notification should be send. Possible values are between 1 and 5. Defaults to `1`.
|
|
198
|
+
*/
|
|
199
|
+
failedRunThreshold?: pulumi.Input<number>;
|
|
200
|
+
}
|
|
201
|
+
export interface CheckGroupAlertSettingsSslCertificate {
|
|
202
|
+
/**
|
|
203
|
+
* At what moment in time to start alerting on SSL certificates. Possible values `3`, `7`, `14`, `30`. Defaults to `3`.
|
|
204
|
+
*/
|
|
205
|
+
alertThreshold?: pulumi.Input<number>;
|
|
206
|
+
/**
|
|
207
|
+
* Determines if alert notifications should be send for expiring SSL certificates. Possible values `true`, and `false`. Defaults to `true`.
|
|
208
|
+
*/
|
|
209
|
+
enabled?: pulumi.Input<boolean>;
|
|
210
|
+
}
|
|
211
|
+
export interface CheckGroupAlertSettingsTimeBasedEscalation {
|
|
212
|
+
/**
|
|
213
|
+
* After how many minutes after a check starts failing an alert should be send. Possible values are `5`, `10`, `15`, and `30`. Defaults to `5`.
|
|
214
|
+
*/
|
|
215
|
+
minutesFailingThreshold?: pulumi.Input<number>;
|
|
216
|
+
}
|
|
217
|
+
export interface CheckGroupApiCheckDefaults {
|
|
218
|
+
/**
|
|
219
|
+
* . Possible arguments:
|
|
220
|
+
*/
|
|
221
|
+
assertions?: pulumi.Input<pulumi.Input<inputs.CheckGroupApiCheckDefaultsAssertion>[]>;
|
|
222
|
+
/**
|
|
223
|
+
* . Possible arguments
|
|
224
|
+
*/
|
|
225
|
+
basicAuth?: pulumi.Input<inputs.CheckGroupApiCheckDefaultsBasicAuth>;
|
|
226
|
+
/**
|
|
227
|
+
* .
|
|
228
|
+
*/
|
|
229
|
+
headers?: pulumi.Input<{
|
|
230
|
+
[key: string]: any;
|
|
231
|
+
}>;
|
|
232
|
+
/**
|
|
233
|
+
* .
|
|
234
|
+
*/
|
|
235
|
+
queryParameters?: pulumi.Input<{
|
|
236
|
+
[key: string]: any;
|
|
237
|
+
}>;
|
|
238
|
+
/**
|
|
239
|
+
* The base url for this group which you can reference with the {{GROUP_BASE_URL}} variable in all group checks.
|
|
240
|
+
*/
|
|
241
|
+
url?: pulumi.Input<string>;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* checkGroupApiCheckDefaultsProvideDefaults sets the appropriate defaults for CheckGroupApiCheckDefaults
|
|
245
|
+
*/
|
|
246
|
+
export declare function checkGroupApiCheckDefaultsProvideDefaults(val: CheckGroupApiCheckDefaults): CheckGroupApiCheckDefaults;
|
|
247
|
+
export interface CheckGroupApiCheckDefaultsAssertion {
|
|
248
|
+
/**
|
|
249
|
+
* Possible values `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
|
|
250
|
+
*/
|
|
251
|
+
comparison: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* .
|
|
254
|
+
*/
|
|
255
|
+
property?: pulumi.Input<string>;
|
|
256
|
+
/**
|
|
257
|
+
* Possible values `STATUS_CODE`, `JSON_BODY`, `HEADERS`, `TEXT_BODY`, and `RESPONSE_TIME`.
|
|
258
|
+
*/
|
|
259
|
+
source: pulumi.Input<string>;
|
|
260
|
+
target: pulumi.Input<string>;
|
|
261
|
+
}
|
|
262
|
+
export interface CheckGroupApiCheckDefaultsBasicAuth {
|
|
263
|
+
password: pulumi.Input<string>;
|
|
264
|
+
username: pulumi.Input<string>;
|
|
265
|
+
}
|
|
266
|
+
export interface CheckRequest {
|
|
267
|
+
/**
|
|
268
|
+
* A request can have multiple assetions. Assertion has the following arguments:
|
|
269
|
+
*/
|
|
270
|
+
assertions?: pulumi.Input<pulumi.Input<inputs.CheckRequestAssertion>[]>;
|
|
271
|
+
/**
|
|
272
|
+
* A request might have one basicAuth config. basicAuth has two arguments:
|
|
273
|
+
*/
|
|
274
|
+
basicAuth?: pulumi.Input<inputs.CheckRequestBasicAuth>;
|
|
275
|
+
body?: pulumi.Input<string>;
|
|
276
|
+
/**
|
|
277
|
+
* Possible values `NONE`, `JSON`, `FORM`, `RAW`, and `GRAPHQL`.
|
|
278
|
+
*/
|
|
279
|
+
bodyType?: pulumi.Input<string>;
|
|
280
|
+
/**
|
|
281
|
+
* .
|
|
282
|
+
*/
|
|
283
|
+
followRedirects?: pulumi.Input<boolean>;
|
|
284
|
+
/**
|
|
285
|
+
* .
|
|
286
|
+
*/
|
|
287
|
+
headers?: pulumi.Input<{
|
|
288
|
+
[key: string]: any;
|
|
289
|
+
}>;
|
|
290
|
+
/**
|
|
291
|
+
* The HTTP method to use for this API check. Possible values are `GET`, `POST`, `PUT`, `HEAD`, `DELETE`, `PATCH`. Defaults to `GET`.
|
|
292
|
+
*/
|
|
293
|
+
method?: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* .
|
|
296
|
+
*/
|
|
297
|
+
queryParameters?: pulumi.Input<{
|
|
298
|
+
[key: string]: any;
|
|
299
|
+
}>;
|
|
300
|
+
/**
|
|
301
|
+
* .
|
|
302
|
+
*/
|
|
303
|
+
skipSsl?: pulumi.Input<boolean>;
|
|
304
|
+
/**
|
|
305
|
+
* .
|
|
306
|
+
*/
|
|
307
|
+
url: pulumi.Input<string>;
|
|
308
|
+
}
|
|
309
|
+
export interface CheckRequestAssertion {
|
|
310
|
+
/**
|
|
311
|
+
* Possible values `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
|
|
312
|
+
*/
|
|
313
|
+
comparison: pulumi.Input<string>;
|
|
314
|
+
/**
|
|
315
|
+
* .
|
|
316
|
+
*/
|
|
317
|
+
property?: pulumi.Input<string>;
|
|
318
|
+
/**
|
|
319
|
+
* Possible values `STATUS_CODE`, `JSON_BODY`, `HEADERS`, `TEXT_BODY`, and `RESPONSE_TIME`.
|
|
320
|
+
*/
|
|
321
|
+
source: pulumi.Input<string>;
|
|
322
|
+
/**
|
|
323
|
+
* .
|
|
324
|
+
*/
|
|
325
|
+
target?: pulumi.Input<string>;
|
|
326
|
+
}
|
|
327
|
+
export interface CheckRequestBasicAuth {
|
|
328
|
+
password: pulumi.Input<string>;
|
|
329
|
+
username: pulumi.Input<string>;
|
|
330
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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.checkGroupApiCheckDefaultsProvideDefaults = void 0;
|
|
6
|
+
/**
|
|
7
|
+
* checkGroupApiCheckDefaultsProvideDefaults sets the appropriate defaults for CheckGroupApiCheckDefaults
|
|
8
|
+
*/
|
|
9
|
+
function checkGroupApiCheckDefaultsProvideDefaults(val) {
|
|
10
|
+
var _a;
|
|
11
|
+
return Object.assign(Object.assign({}, val), { url: (_a = (val.url)) !== null && _a !== void 0 ? _a : "" });
|
|
12
|
+
}
|
|
13
|
+
exports.checkGroupApiCheckDefaultsProvideDefaults = checkGroupApiCheckDefaultsProvideDefaults;
|
|
14
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAiQjF;;GAEG;AACH,SAAgB,yCAAyC,CAAC,GAA+B;;IACrF,uCACO,GAAG,KACN,GAAG,EAAE,MAAA,CAAC,GAAG,CAAC,GAAG,CAAC,mCAAI,EAAE,IACtB;AACN,CAAC;AALD,8FAKC"}
|