@pulumi/signalfx 7.29.0-alpha.1787639652 → 7.29.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/alertMutingRule.d.ts +7 -1
- package/alertMutingRule.d.ts.map +1 -1
- package/alertMutingRule.js.map +1 -1
- package/bigPandaIntegration.d.ts +130 -0
- package/bigPandaIntegration.d.ts.map +1 -0
- package/bigPandaIntegration.js +114 -0
- package/bigPandaIntegration.js.map +1 -0
- package/emailTemplate.d.ts +204 -0
- package/emailTemplate.d.ts.map +1 -0
- package/emailTemplate.js +123 -0
- package/emailTemplate.js.map +1 -0
- package/getAutoDetector.d.ts +47 -0
- package/getAutoDetector.d.ts.map +1 -0
- package/getAutoDetector.js +73 -0
- package/getAutoDetector.js.map +1 -0
- package/getBuiltinDashboards.d.ts +63 -0
- package/getBuiltinDashboards.d.ts.map +1 -0
- package/getBuiltinDashboards.js +87 -0
- package/getBuiltinDashboards.js.map +1 -0
- package/index.d.ts +14 -0
- package/index.d.ts.map +1 -1
- package/index.js +20 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/parseTimeRange.d.ts +18 -0
- package/parseTimeRange.d.ts.map +1 -0
- package/parseTimeRange.js +59 -0
- package/parseTimeRange.js.map +1 -0
- package/types/input.d.ts +4 -4
- package/types/output.d.ts +5 -5
- package/types/output.d.ts.map +1 -1
package/alertMutingRule.d.ts
CHANGED
|
@@ -54,6 +54,9 @@ export declare class AlertMutingRule extends pulumi.CustomResource {
|
|
|
54
54
|
* A convenience attribute that associated this muting rule with specific detector IDs. Currently, only one ID is supported.
|
|
55
55
|
*/
|
|
56
56
|
readonly detectors: pulumi.Output<string[] | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* effective API start time in milliseconds
|
|
59
|
+
*/
|
|
57
60
|
readonly effectiveStartTime: pulumi.Output<number>;
|
|
58
61
|
/**
|
|
59
62
|
* Filters for this rule. See [Creating muting rules from scratch](https://docs.splunk.com/Observability/alerts-detectors-notifications/mute-notifications.html#rule-from-scratch) for more information.
|
|
@@ -70,7 +73,7 @@ export declare class AlertMutingRule extends pulumi.CustomResource {
|
|
|
70
73
|
/**
|
|
71
74
|
* Stop time of an alert muting rule as a Unix time stamp in seconds.
|
|
72
75
|
*/
|
|
73
|
-
readonly stopTime: pulumi.Output<number
|
|
76
|
+
readonly stopTime: pulumi.Output<number>;
|
|
74
77
|
/**
|
|
75
78
|
* Create a AlertMutingRule resource with the given unique name, arguments, and options.
|
|
76
79
|
*
|
|
@@ -92,6 +95,9 @@ export interface AlertMutingRuleState {
|
|
|
92
95
|
* A convenience attribute that associated this muting rule with specific detector IDs. Currently, only one ID is supported.
|
|
93
96
|
*/
|
|
94
97
|
detectors?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* effective API start time in milliseconds
|
|
100
|
+
*/
|
|
95
101
|
effectiveStartTime?: pulumi.Input<number | undefined>;
|
|
96
102
|
/**
|
|
97
103
|
* Filters for this rule. See [Creating muting rules from scratch](https://docs.splunk.com/Observability/alerts-detectors-notifications/mute-notifications.html#rule-from-scratch) for more information.
|
package/alertMutingRule.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertMutingRule.d.ts","sourceRoot":"","sources":["../alertMutingRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,C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E,SAAS,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA/FL,0CAgGC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* BigPanda integrations. For help with this integration see [Integration with BigPanda](https://docs.splunk.com/Observability/admin/notif-services/bigpanda.html).
|
|
4
|
+
*
|
|
5
|
+
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
6
|
+
*
|
|
7
|
+
* ## Example
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as signalfx from "@pulumi/signalfx";
|
|
12
|
+
*
|
|
13
|
+
* const bigPandaMyteam = new signalfx.BigPandaIntegration("big_panda_myteam", {
|
|
14
|
+
* name: "BigPanda - My Team",
|
|
15
|
+
* enabled: true,
|
|
16
|
+
* appKey: "my-app-key",
|
|
17
|
+
* token: "my-token",
|
|
18
|
+
* alertTriggeredPayloadTemplate: "{\"status\":\"critical\",\"summary\":\"{{{messageTitle}}}\"}",
|
|
19
|
+
* alertResolvedPayloadTemplate: "{\"status\":\"ok\",\"summary\":\"{{{messageTitle}}}\"}",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class BigPandaIntegration extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing BigPandaIntegration resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BigPandaIntegrationState, opts?: pulumi.CustomResourceOptions): BigPandaIntegration;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of BigPandaIntegration. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is BigPandaIntegration;
|
|
39
|
+
/**
|
|
40
|
+
* A template that Observability Cloud uses to create the BigPanda POST JSON payload when an alert sends a resolved notification to BigPanda. If omitted, Observability Cloud uses the default BigPanda payload.
|
|
41
|
+
*/
|
|
42
|
+
readonly alertResolvedPayloadTemplate: pulumi.Output<string | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* A template that Observability Cloud uses to create the BigPanda POST JSON payload when an alert sends a triggered notification to BigPanda. If omitted, Observability Cloud uses the default BigPanda payload.
|
|
45
|
+
*/
|
|
46
|
+
readonly alertTriggeredPayloadTemplate: pulumi.Output<string | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Application key you get from BigPanda.
|
|
49
|
+
*/
|
|
50
|
+
readonly appKey: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Whether the integration is enabled.
|
|
53
|
+
*/
|
|
54
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* Name of the integration.
|
|
57
|
+
*/
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Token you get from BigPanda.
|
|
61
|
+
*/
|
|
62
|
+
readonly token: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a BigPandaIntegration resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args: BigPandaIntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering BigPandaIntegration resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface BigPandaIntegrationState {
|
|
76
|
+
/**
|
|
77
|
+
* A template that Observability Cloud uses to create the BigPanda POST JSON payload when an alert sends a resolved notification to BigPanda. If omitted, Observability Cloud uses the default BigPanda payload.
|
|
78
|
+
*/
|
|
79
|
+
alertResolvedPayloadTemplate?: pulumi.Input<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* A template that Observability Cloud uses to create the BigPanda POST JSON payload when an alert sends a triggered notification to BigPanda. If omitted, Observability Cloud uses the default BigPanda payload.
|
|
82
|
+
*/
|
|
83
|
+
alertTriggeredPayloadTemplate?: pulumi.Input<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Application key you get from BigPanda.
|
|
86
|
+
*/
|
|
87
|
+
appKey?: pulumi.Input<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Whether the integration is enabled.
|
|
90
|
+
*/
|
|
91
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Name of the integration.
|
|
94
|
+
*/
|
|
95
|
+
name?: pulumi.Input<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Token you get from BigPanda.
|
|
98
|
+
*/
|
|
99
|
+
token?: pulumi.Input<string | undefined>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The set of arguments for constructing a BigPandaIntegration resource.
|
|
103
|
+
*/
|
|
104
|
+
export interface BigPandaIntegrationArgs {
|
|
105
|
+
/**
|
|
106
|
+
* A template that Observability Cloud uses to create the BigPanda POST JSON payload when an alert sends a resolved notification to BigPanda. If omitted, Observability Cloud uses the default BigPanda payload.
|
|
107
|
+
*/
|
|
108
|
+
alertResolvedPayloadTemplate?: pulumi.Input<string | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* A template that Observability Cloud uses to create the BigPanda POST JSON payload when an alert sends a triggered notification to BigPanda. If omitted, Observability Cloud uses the default BigPanda payload.
|
|
111
|
+
*/
|
|
112
|
+
alertTriggeredPayloadTemplate?: pulumi.Input<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* Application key you get from BigPanda.
|
|
115
|
+
*/
|
|
116
|
+
appKey: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Whether the integration is enabled.
|
|
119
|
+
*/
|
|
120
|
+
enabled: pulumi.Input<boolean>;
|
|
121
|
+
/**
|
|
122
|
+
* Name of the integration.
|
|
123
|
+
*/
|
|
124
|
+
name?: pulumi.Input<string | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* Token you get from BigPanda.
|
|
127
|
+
*/
|
|
128
|
+
token: pulumi.Input<string>;
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=bigPandaIntegration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bigPandaIntegration.d.ts","sourceRoot":"","sources":["../bigPandaIntegration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;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AAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChE;;OAEG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjE;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.BigPandaIntegration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* BigPanda integrations. For help with this integration see [Integration with BigPanda](https://docs.splunk.com/Observability/admin/notif-services/bigpanda.html).
|
|
33
|
+
*
|
|
34
|
+
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
35
|
+
*
|
|
36
|
+
* ## Example
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as signalfx from "@pulumi/signalfx";
|
|
41
|
+
*
|
|
42
|
+
* const bigPandaMyteam = new signalfx.BigPandaIntegration("big_panda_myteam", {
|
|
43
|
+
* name: "BigPanda - My Team",
|
|
44
|
+
* enabled: true,
|
|
45
|
+
* appKey: "my-app-key",
|
|
46
|
+
* token: "my-token",
|
|
47
|
+
* alertTriggeredPayloadTemplate: "{\"status\":\"critical\",\"summary\":\"{{{messageTitle}}}\"}",
|
|
48
|
+
* alertResolvedPayloadTemplate: "{\"status\":\"ok\",\"summary\":\"{{{messageTitle}}}\"}",
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class BigPandaIntegration extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing BigPandaIntegration resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name, id, state, opts) {
|
|
63
|
+
return new BigPandaIntegration(name, state, { ...opts, id: id });
|
|
64
|
+
}
|
|
65
|
+
/** @internal */
|
|
66
|
+
static __pulumiType = 'signalfx:index/bigPandaIntegration:BigPandaIntegration';
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of BigPandaIntegration. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj) {
|
|
72
|
+
if (obj === undefined || obj === null) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
return obj['__pulumiType'] === BigPandaIntegration.__pulumiType;
|
|
76
|
+
}
|
|
77
|
+
constructor(name, argsOrState, opts) {
|
|
78
|
+
let resourceInputs = {};
|
|
79
|
+
opts = opts || {};
|
|
80
|
+
if (opts.id) {
|
|
81
|
+
const state = argsOrState;
|
|
82
|
+
resourceInputs["alertResolvedPayloadTemplate"] = state?.alertResolvedPayloadTemplate;
|
|
83
|
+
resourceInputs["alertTriggeredPayloadTemplate"] = state?.alertTriggeredPayloadTemplate;
|
|
84
|
+
resourceInputs["appKey"] = state?.appKey;
|
|
85
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
86
|
+
resourceInputs["name"] = state?.name;
|
|
87
|
+
resourceInputs["token"] = state?.token;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
const args = argsOrState;
|
|
91
|
+
if (args?.appKey === undefined && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'appKey'");
|
|
93
|
+
}
|
|
94
|
+
if (args?.enabled === undefined && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'enabled'");
|
|
96
|
+
}
|
|
97
|
+
if (args?.token === undefined && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'token'");
|
|
99
|
+
}
|
|
100
|
+
resourceInputs["alertResolvedPayloadTemplate"] = args?.alertResolvedPayloadTemplate;
|
|
101
|
+
resourceInputs["alertTriggeredPayloadTemplate"] = args?.alertTriggeredPayloadTemplate;
|
|
102
|
+
resourceInputs["appKey"] = args?.appKey ? pulumi.secret(args.appKey) : undefined;
|
|
103
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
104
|
+
resourceInputs["name"] = args?.name;
|
|
105
|
+
resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
|
|
106
|
+
}
|
|
107
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
108
|
+
const secretOpts = { additionalSecretOutputs: ["appKey", "token"] };
|
|
109
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
110
|
+
super(BigPandaIntegration.__pulumiType, name, resourceInputs, opts);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.BigPandaIntegration = BigPandaIntegration;
|
|
114
|
+
//# sourceMappingURL=bigPandaIntegration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+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AuB,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,EAAE,CAAC;QACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9FL,kDA+FC"}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Email templates are reusable detector alert notification templates.
|
|
4
|
+
* The optional `customHeaders` map sends additional email headers with messages that use the template. Use it for headers that your email infrastructure already recognizes, such as routing, classification, or downstream processing headers.
|
|
5
|
+
*
|
|
6
|
+
* ## Example
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as signalfx from "@pulumi/signalfx";
|
|
11
|
+
*
|
|
12
|
+
* const detectorAlerts = new signalfx.EmailTemplate("detector_alerts", {
|
|
13
|
+
* name: "Detector Alert Email",
|
|
14
|
+
* triggerSubject: "Triggered: {{{detectorName}}}",
|
|
15
|
+
* tos: ["primary@example.com"],
|
|
16
|
+
* ccs: ["team@example.com"],
|
|
17
|
+
* customHeaders: {
|
|
18
|
+
* "X-Custom-Routing-Key": "detector-alerts",
|
|
19
|
+
* },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class EmailTemplate extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing EmailTemplate resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EmailTemplateState, opts?: pulumi.CustomResourceOptions): EmailTemplate;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of EmailTemplate. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is EmailTemplate;
|
|
39
|
+
/**
|
|
40
|
+
* Email addresses to include as blind carbon copy recipients.
|
|
41
|
+
*/
|
|
42
|
+
readonly bccs: pulumi.Output<string[] | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Email addresses to include as carbon copy recipients.
|
|
45
|
+
*/
|
|
46
|
+
readonly ccs: pulumi.Output<string[] | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* User that created the email template.
|
|
49
|
+
*/
|
|
50
|
+
readonly createdBy: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Timestamp in milliseconds when the email template was created.
|
|
53
|
+
*/
|
|
54
|
+
readonly createdOnMs: pulumi.Output<number>;
|
|
55
|
+
/**
|
|
56
|
+
* Custom email headers to include when notifications use this template.
|
|
57
|
+
*/
|
|
58
|
+
readonly customHeaders: pulumi.Output<{
|
|
59
|
+
[key: string]: string;
|
|
60
|
+
} | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Name of the email template.
|
|
63
|
+
*/
|
|
64
|
+
readonly name: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Body used when a detector alert resolves.
|
|
67
|
+
*/
|
|
68
|
+
readonly resolvedBody: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Subject used when a detector alert resolves.
|
|
71
|
+
*/
|
|
72
|
+
readonly resolvedSubject: pulumi.Output<string | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Email addresses to include as template recipients. At least one address is required.
|
|
75
|
+
*/
|
|
76
|
+
readonly tos: pulumi.Output<string[]>;
|
|
77
|
+
/**
|
|
78
|
+
* Body used when a detector alert triggers.
|
|
79
|
+
*/
|
|
80
|
+
readonly triggerBody: pulumi.Output<string | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Subject used when a detector alert triggers.
|
|
83
|
+
*/
|
|
84
|
+
readonly triggerSubject: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* User that last updated the email template.
|
|
87
|
+
*/
|
|
88
|
+
readonly updatedBy: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Timestamp in milliseconds when the email template was last updated.
|
|
91
|
+
*/
|
|
92
|
+
readonly updatedOnMs: pulumi.Output<number>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a EmailTemplate resource with the given unique name, arguments, and options.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resource.
|
|
97
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
98
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
99
|
+
*/
|
|
100
|
+
constructor(name: string, args: EmailTemplateArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Input properties used for looking up and filtering EmailTemplate resources.
|
|
104
|
+
*/
|
|
105
|
+
export interface EmailTemplateState {
|
|
106
|
+
/**
|
|
107
|
+
* Email addresses to include as blind carbon copy recipients.
|
|
108
|
+
*/
|
|
109
|
+
bccs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* Email addresses to include as carbon copy recipients.
|
|
112
|
+
*/
|
|
113
|
+
ccs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* User that created the email template.
|
|
116
|
+
*/
|
|
117
|
+
createdBy?: pulumi.Input<string | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* Timestamp in milliseconds when the email template was created.
|
|
120
|
+
*/
|
|
121
|
+
createdOnMs?: pulumi.Input<number | undefined>;
|
|
122
|
+
/**
|
|
123
|
+
* Custom email headers to include when notifications use this template.
|
|
124
|
+
*/
|
|
125
|
+
customHeaders?: pulumi.Input<{
|
|
126
|
+
[key: string]: pulumi.Input<string>;
|
|
127
|
+
} | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* Name of the email template.
|
|
130
|
+
*/
|
|
131
|
+
name?: pulumi.Input<string | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Body used when a detector alert resolves.
|
|
134
|
+
*/
|
|
135
|
+
resolvedBody?: pulumi.Input<string | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* Subject used when a detector alert resolves.
|
|
138
|
+
*/
|
|
139
|
+
resolvedSubject?: pulumi.Input<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* Email addresses to include as template recipients. At least one address is required.
|
|
142
|
+
*/
|
|
143
|
+
tos?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* Body used when a detector alert triggers.
|
|
146
|
+
*/
|
|
147
|
+
triggerBody?: pulumi.Input<string | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Subject used when a detector alert triggers.
|
|
150
|
+
*/
|
|
151
|
+
triggerSubject?: pulumi.Input<string | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* User that last updated the email template.
|
|
154
|
+
*/
|
|
155
|
+
updatedBy?: pulumi.Input<string | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* Timestamp in milliseconds when the email template was last updated.
|
|
158
|
+
*/
|
|
159
|
+
updatedOnMs?: pulumi.Input<number | undefined>;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* The set of arguments for constructing a EmailTemplate resource.
|
|
163
|
+
*/
|
|
164
|
+
export interface EmailTemplateArgs {
|
|
165
|
+
/**
|
|
166
|
+
* Email addresses to include as blind carbon copy recipients.
|
|
167
|
+
*/
|
|
168
|
+
bccs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
169
|
+
/**
|
|
170
|
+
* Email addresses to include as carbon copy recipients.
|
|
171
|
+
*/
|
|
172
|
+
ccs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* Custom email headers to include when notifications use this template.
|
|
175
|
+
*/
|
|
176
|
+
customHeaders?: pulumi.Input<{
|
|
177
|
+
[key: string]: pulumi.Input<string>;
|
|
178
|
+
} | undefined>;
|
|
179
|
+
/**
|
|
180
|
+
* Name of the email template.
|
|
181
|
+
*/
|
|
182
|
+
name?: pulumi.Input<string | undefined>;
|
|
183
|
+
/**
|
|
184
|
+
* Body used when a detector alert resolves.
|
|
185
|
+
*/
|
|
186
|
+
resolvedBody?: pulumi.Input<string | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* Subject used when a detector alert resolves.
|
|
189
|
+
*/
|
|
190
|
+
resolvedSubject?: pulumi.Input<string | undefined>;
|
|
191
|
+
/**
|
|
192
|
+
* Email addresses to include as template recipients. At least one address is required.
|
|
193
|
+
*/
|
|
194
|
+
tos: pulumi.Input<pulumi.Input<string>[]>;
|
|
195
|
+
/**
|
|
196
|
+
* Body used when a detector alert triggers.
|
|
197
|
+
*/
|
|
198
|
+
triggerBody?: pulumi.Input<string | undefined>;
|
|
199
|
+
/**
|
|
200
|
+
* Subject used when a detector alert triggers.
|
|
201
|
+
*/
|
|
202
|
+
triggerSubject: pulumi.Input<string>;
|
|
203
|
+
}
|
|
204
|
+
//# sourceMappingURL=emailTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailTemplate.d.ts","sourceRoot":"","sources":["../emailTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,M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CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC1C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
|
package/emailTemplate.js
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.EmailTemplate = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Email templates are reusable detector alert notification templates.
|
|
33
|
+
* The optional `customHeaders` map sends additional email headers with messages that use the template. Use it for headers that your email infrastructure already recognizes, such as routing, classification, or downstream processing headers.
|
|
34
|
+
*
|
|
35
|
+
* ## Example
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as signalfx from "@pulumi/signalfx";
|
|
40
|
+
*
|
|
41
|
+
* const detectorAlerts = new signalfx.EmailTemplate("detector_alerts", {
|
|
42
|
+
* name: "Detector Alert Email",
|
|
43
|
+
* triggerSubject: "Triggered: {{{detectorName}}}",
|
|
44
|
+
* tos: ["primary@example.com"],
|
|
45
|
+
* ccs: ["team@example.com"],
|
|
46
|
+
* customHeaders: {
|
|
47
|
+
* "X-Custom-Routing-Key": "detector-alerts",
|
|
48
|
+
* },
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class EmailTemplate extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing EmailTemplate resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name, id, state, opts) {
|
|
63
|
+
return new EmailTemplate(name, state, { ...opts, id: id });
|
|
64
|
+
}
|
|
65
|
+
/** @internal */
|
|
66
|
+
static __pulumiType = 'signalfx:index/emailTemplate:EmailTemplate';
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of EmailTemplate. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj) {
|
|
72
|
+
if (obj === undefined || obj === null) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
return obj['__pulumiType'] === EmailTemplate.__pulumiType;
|
|
76
|
+
}
|
|
77
|
+
constructor(name, argsOrState, opts) {
|
|
78
|
+
let resourceInputs = {};
|
|
79
|
+
opts = opts || {};
|
|
80
|
+
if (opts.id) {
|
|
81
|
+
const state = argsOrState;
|
|
82
|
+
resourceInputs["bccs"] = state?.bccs;
|
|
83
|
+
resourceInputs["ccs"] = state?.ccs;
|
|
84
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
85
|
+
resourceInputs["createdOnMs"] = state?.createdOnMs;
|
|
86
|
+
resourceInputs["customHeaders"] = state?.customHeaders;
|
|
87
|
+
resourceInputs["name"] = state?.name;
|
|
88
|
+
resourceInputs["resolvedBody"] = state?.resolvedBody;
|
|
89
|
+
resourceInputs["resolvedSubject"] = state?.resolvedSubject;
|
|
90
|
+
resourceInputs["tos"] = state?.tos;
|
|
91
|
+
resourceInputs["triggerBody"] = state?.triggerBody;
|
|
92
|
+
resourceInputs["triggerSubject"] = state?.triggerSubject;
|
|
93
|
+
resourceInputs["updatedBy"] = state?.updatedBy;
|
|
94
|
+
resourceInputs["updatedOnMs"] = state?.updatedOnMs;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
const args = argsOrState;
|
|
98
|
+
if (args?.tos === undefined && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'tos'");
|
|
100
|
+
}
|
|
101
|
+
if (args?.triggerSubject === undefined && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'triggerSubject'");
|
|
103
|
+
}
|
|
104
|
+
resourceInputs["bccs"] = args?.bccs;
|
|
105
|
+
resourceInputs["ccs"] = args?.ccs;
|
|
106
|
+
resourceInputs["customHeaders"] = args?.customHeaders;
|
|
107
|
+
resourceInputs["name"] = args?.name;
|
|
108
|
+
resourceInputs["resolvedBody"] = args?.resolvedBody;
|
|
109
|
+
resourceInputs["resolvedSubject"] = args?.resolvedSubject;
|
|
110
|
+
resourceInputs["tos"] = args?.tos;
|
|
111
|
+
resourceInputs["triggerBody"] = args?.triggerBody;
|
|
112
|
+
resourceInputs["triggerSubject"] = args?.triggerSubject;
|
|
113
|
+
resourceInputs["createdBy"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["createdOnMs"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["updatedBy"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["updatedOnMs"] = undefined /*out*/;
|
|
117
|
+
}
|
|
118
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
119
|
+
super(EmailTemplate.__pulumiType, name, resourceInputs, opts);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.EmailTemplate = EmailTemplate;
|
|
123
|
+
//# sourceMappingURL=emailTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailTemplate.js","sourceRoot":"","sources":["../emailTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4CAA4C,CAAC;IAEnF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ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