@pulumi/signalfx 7.1.4 → 7.1.5
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 +27 -33
- package/alertMutingRule.js +2 -18
- package/alertMutingRule.js.map +1 -1
- package/aws/externalIntegration.d.ts +7 -19
- package/aws/externalIntegration.js +0 -12
- package/aws/externalIntegration.js.map +1 -1
- package/aws/integration.d.ts +68 -135
- package/aws/integration.js +0 -37
- package/aws/integration.js.map +1 -1
- package/aws/tokenIntegration.d.ts +5 -16
- package/aws/tokenIntegration.js +0 -11
- package/aws/tokenIntegration.js.map +1 -1
- package/azure/integration.d.ts +39 -95
- package/azure/integration.js +0 -26
- package/azure/integration.js.map +1 -1
- package/dashboard.d.ts +62 -62
- package/dashboardGroup.d.ts +21 -54
- package/dashboardGroup.js +0 -33
- package/dashboardGroup.js.map +1 -1
- package/dataLink.d.ts +12 -46
- package/dataLink.js +0 -28
- package/dataLink.js.map +1 -1
- package/detector.d.ts +55 -114
- package/detector.js +0 -51
- package/detector.js.map +1 -1
- package/eventFeedChart.d.ts +20 -38
- package/eventFeedChart.js +0 -18
- package/eventFeedChart.js.map +1 -1
- package/gcp/integration.d.ts +30 -61
- package/gcp/integration.js +0 -19
- package/gcp/integration.js.map +1 -1
- package/heatmapChart.d.ts +44 -78
- package/heatmapChart.js +0 -34
- package/heatmapChart.js.map +1 -1
- package/jira/integration.d.ts +21 -48
- package/jira/integration.js +0 -21
- package/jira/integration.js.map +1 -1
- package/listChart.d.ts +62 -109
- package/listChart.js +0 -44
- package/listChart.js.map +1 -1
- package/log/timeline.d.ts +23 -42
- package/log/timeline.js +0 -19
- package/log/timeline.js.map +1 -1
- package/log/view.d.ts +29 -50
- package/log/view.js +0 -21
- package/log/view.js.map +1 -1
- package/metricRuleset.d.ts +9 -31
- package/metricRuleset.js +0 -22
- package/metricRuleset.js.map +1 -1
- package/opsgenie/integration.d.ts +12 -25
- package/opsgenie/integration.js +0 -13
- package/opsgenie/integration.js.map +1 -1
- package/orgToken.d.ts +36 -47
- package/orgToken.js +0 -29
- package/orgToken.js.map +1 -1
- package/package.json +2 -2
- package/pagerduty/getIntegration.d.ts +12 -20
- package/pagerduty/getIntegration.js +0 -20
- package/pagerduty/getIntegration.js.map +1 -1
- package/pagerduty/integration.d.ts +9 -20
- package/pagerduty/integration.js +0 -11
- package/pagerduty/integration.js.map +1 -1
- package/servicenow/integration.d.ts +15 -44
- package/servicenow/integration.js +0 -17
- package/servicenow/integration.js.map +1 -1
- package/singleValueChart.d.ts +38 -73
- package/singleValueChart.js +0 -35
- package/singleValueChart.js.map +1 -1
- package/slack/integration.d.ts +9 -21
- package/slack/integration.js +0 -12
- package/slack/integration.js.map +1 -1
- package/slo.d.ts +12 -52
- package/slo.js +0 -37
- package/slo.js.map +1 -1
- package/tableChart.d.ts +14 -30
- package/tableChart.js +0 -16
- package/tableChart.js.map +1 -1
- package/team.d.ts +29 -50
- package/team.js +0 -21
- package/team.js.map +1 -1
- package/textChart.d.ts +11 -26
- package/textChart.js +0 -15
- package/textChart.js.map +1 -1
- package/timeChart.d.ts +92 -146
- package/timeChart.js +0 -66
- package/timeChart.js.map +1 -1
- package/types/input.d.ts +211 -182
- package/types/output.d.ts +211 -182
- package/victorops/integration.d.ts +9 -21
- package/victorops/integration.js +0 -12
- package/victorops/integration.js.map +1 -1
- package/webhookIntegration.d.ts +36 -28
- package/webhookIntegration.js +4 -16
- package/webhookIntegration.js.map +1 -1
package/orgToken.d.ts
CHANGED
|
@@ -7,35 +7,6 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
* > **NOTE** When managing Org tokens, use a session token of an administrator to authenticate the Splunk 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).
|
|
8
8
|
*
|
|
9
9
|
* ## Example
|
|
10
|
-
*
|
|
11
|
-
* ## Arguments
|
|
12
|
-
*
|
|
13
|
-
* The following arguments are supported in the resource block:
|
|
14
|
-
*
|
|
15
|
-
* * `name` - (Required) Name of the token.
|
|
16
|
-
* * `description` - (Optional) Description of the token.
|
|
17
|
-
* * `disabled` - (Optional) Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
|
|
18
|
-
* * `secret` - The secret token created by the API. You cannot set this value.
|
|
19
|
-
* * `notifications` - (Optional) Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
|
|
20
|
-
* * `hostOrUsageLimits` - (Optional) Specify Usage-based limits for this token.
|
|
21
|
-
* * `hostLimit` - (Optional) Max number of hosts that can use this token
|
|
22
|
-
* * `hostNotificationThreshold` - (Optional) Notification threshold for hosts
|
|
23
|
-
* * `containerLimit` - (Optional) Max number of Docker containers that can use this token
|
|
24
|
-
* * `containerNotificationThreshold` - (Optional) Notification threshold for Docker containers
|
|
25
|
-
* * `customMetricsLimit` - (Optional) Max number of custom metrics that can be sent with this token
|
|
26
|
-
* * `customMetricsNotificationThreshold` - (Optional) Notification threshold for custom metrics
|
|
27
|
-
* * `highResMetricsLimit` - (Optional) Max number of hi-res metrics that can be sent with this toke
|
|
28
|
-
* * `highResMetricsNotificationThreshold` - (Optional) Notification threshold for hi-res metrics
|
|
29
|
-
* * `dpmLimits` (Optional) Specify DPM-based limits for this token.
|
|
30
|
-
* * `dpmNotificationThreshold` - (Optional) DPM level at which Splunk Observability Cloud sends the notification for this token. If you don't specify a notification, Splunk Observability Cloud sends the generic notification.
|
|
31
|
-
* * `dpmLimit` - (Required) The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
|
|
32
|
-
*
|
|
33
|
-
* ## Attributes
|
|
34
|
-
*
|
|
35
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
36
|
-
*
|
|
37
|
-
* * `id` - The ID of the token.
|
|
38
|
-
* * `secret` - The assigned token.
|
|
39
10
|
*/
|
|
40
11
|
export declare class OrgToken extends pulumi.CustomResource {
|
|
41
12
|
/**
|
|
@@ -58,25 +29,32 @@ export declare class OrgToken extends pulumi.CustomResource {
|
|
|
58
29
|
*/
|
|
59
30
|
readonly authScopes: pulumi.Output<string[]>;
|
|
60
31
|
/**
|
|
61
|
-
* Description of the token
|
|
32
|
+
* Description of the token.
|
|
62
33
|
*/
|
|
63
34
|
readonly description: pulumi.Output<string | undefined>;
|
|
64
35
|
/**
|
|
65
|
-
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
66
|
-
* Defaults to `false`
|
|
36
|
+
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
|
|
67
37
|
*/
|
|
68
38
|
readonly disabled: pulumi.Output<boolean | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Specify DPM-based limits for this token.
|
|
41
|
+
*/
|
|
69
42
|
readonly dpmLimits: pulumi.Output<outputs.OrgTokenDpmLimits | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Specify Usage-based limits for this token.
|
|
45
|
+
*/
|
|
70
46
|
readonly hostOrUsageLimits: pulumi.Output<outputs.OrgTokenHostOrUsageLimits | undefined>;
|
|
71
47
|
/**
|
|
72
|
-
* Name of the token
|
|
48
|
+
* Name of the token.
|
|
73
49
|
*/
|
|
74
50
|
readonly name: pulumi.Output<string>;
|
|
75
51
|
/**
|
|
76
|
-
*
|
|
77
|
-
* https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
|
|
52
|
+
* Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
|
|
78
53
|
*/
|
|
79
54
|
readonly notifications: pulumi.Output<string[] | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* The secret token created by the API. You cannot set this value.
|
|
57
|
+
*/
|
|
80
58
|
readonly secret: pulumi.Output<string>;
|
|
81
59
|
/**
|
|
82
60
|
* Create a OrgToken resource with the given unique name, arguments, and options.
|
|
@@ -96,25 +74,32 @@ export interface OrgTokenState {
|
|
|
96
74
|
*/
|
|
97
75
|
authScopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
98
76
|
/**
|
|
99
|
-
* Description of the token
|
|
77
|
+
* Description of the token.
|
|
100
78
|
*/
|
|
101
79
|
description?: pulumi.Input<string>;
|
|
102
80
|
/**
|
|
103
|
-
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
104
|
-
* Defaults to `false`
|
|
81
|
+
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
|
|
105
82
|
*/
|
|
106
83
|
disabled?: pulumi.Input<boolean>;
|
|
84
|
+
/**
|
|
85
|
+
* Specify DPM-based limits for this token.
|
|
86
|
+
*/
|
|
107
87
|
dpmLimits?: pulumi.Input<inputs.OrgTokenDpmLimits>;
|
|
88
|
+
/**
|
|
89
|
+
* Specify Usage-based limits for this token.
|
|
90
|
+
*/
|
|
108
91
|
hostOrUsageLimits?: pulumi.Input<inputs.OrgTokenHostOrUsageLimits>;
|
|
109
92
|
/**
|
|
110
|
-
* Name of the token
|
|
93
|
+
* Name of the token.
|
|
111
94
|
*/
|
|
112
95
|
name?: pulumi.Input<string>;
|
|
113
96
|
/**
|
|
114
|
-
*
|
|
115
|
-
* https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
|
|
97
|
+
* Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
|
|
116
98
|
*/
|
|
117
99
|
notifications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
100
|
+
/**
|
|
101
|
+
* The secret token created by the API. You cannot set this value.
|
|
102
|
+
*/
|
|
118
103
|
secret?: pulumi.Input<string>;
|
|
119
104
|
}
|
|
120
105
|
/**
|
|
@@ -126,23 +111,27 @@ export interface OrgTokenArgs {
|
|
|
126
111
|
*/
|
|
127
112
|
authScopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
128
113
|
/**
|
|
129
|
-
* Description of the token
|
|
114
|
+
* Description of the token.
|
|
130
115
|
*/
|
|
131
116
|
description?: pulumi.Input<string>;
|
|
132
117
|
/**
|
|
133
|
-
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
134
|
-
* Defaults to `false`
|
|
118
|
+
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
|
|
135
119
|
*/
|
|
136
120
|
disabled?: pulumi.Input<boolean>;
|
|
121
|
+
/**
|
|
122
|
+
* Specify DPM-based limits for this token.
|
|
123
|
+
*/
|
|
137
124
|
dpmLimits?: pulumi.Input<inputs.OrgTokenDpmLimits>;
|
|
125
|
+
/**
|
|
126
|
+
* Specify Usage-based limits for this token.
|
|
127
|
+
*/
|
|
138
128
|
hostOrUsageLimits?: pulumi.Input<inputs.OrgTokenHostOrUsageLimits>;
|
|
139
129
|
/**
|
|
140
|
-
* Name of the token
|
|
130
|
+
* Name of the token.
|
|
141
131
|
*/
|
|
142
132
|
name?: pulumi.Input<string>;
|
|
143
133
|
/**
|
|
144
|
-
*
|
|
145
|
-
* https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
|
|
134
|
+
* Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
|
|
146
135
|
*/
|
|
147
136
|
notifications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
148
137
|
}
|
package/orgToken.js
CHANGED
|
@@ -11,35 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* > **NOTE** When managing Org tokens, use a session token of an administrator to authenticate the Splunk 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).
|
|
12
12
|
*
|
|
13
13
|
* ## Example
|
|
14
|
-
*
|
|
15
|
-
* ## Arguments
|
|
16
|
-
*
|
|
17
|
-
* The following arguments are supported in the resource block:
|
|
18
|
-
*
|
|
19
|
-
* * `name` - (Required) Name of the token.
|
|
20
|
-
* * `description` - (Optional) Description of the token.
|
|
21
|
-
* * `disabled` - (Optional) Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
|
|
22
|
-
* * `secret` - The secret token created by the API. You cannot set this value.
|
|
23
|
-
* * `notifications` - (Optional) Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
|
|
24
|
-
* * `hostOrUsageLimits` - (Optional) Specify Usage-based limits for this token.
|
|
25
|
-
* * `hostLimit` - (Optional) Max number of hosts that can use this token
|
|
26
|
-
* * `hostNotificationThreshold` - (Optional) Notification threshold for hosts
|
|
27
|
-
* * `containerLimit` - (Optional) Max number of Docker containers that can use this token
|
|
28
|
-
* * `containerNotificationThreshold` - (Optional) Notification threshold for Docker containers
|
|
29
|
-
* * `customMetricsLimit` - (Optional) Max number of custom metrics that can be sent with this token
|
|
30
|
-
* * `customMetricsNotificationThreshold` - (Optional) Notification threshold for custom metrics
|
|
31
|
-
* * `highResMetricsLimit` - (Optional) Max number of hi-res metrics that can be sent with this toke
|
|
32
|
-
* * `highResMetricsNotificationThreshold` - (Optional) Notification threshold for hi-res metrics
|
|
33
|
-
* * `dpmLimits` (Optional) Specify DPM-based limits for this token.
|
|
34
|
-
* * `dpmNotificationThreshold` - (Optional) DPM level at which Splunk Observability Cloud sends the notification for this token. If you don't specify a notification, Splunk Observability Cloud sends the generic notification.
|
|
35
|
-
* * `dpmLimit` - (Required) The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
|
|
36
|
-
*
|
|
37
|
-
* ## Attributes
|
|
38
|
-
*
|
|
39
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
40
|
-
*
|
|
41
|
-
* * `id` - The ID of the token.
|
|
42
|
-
* * `secret` - The assigned token.
|
|
43
14
|
*/
|
|
44
15
|
class OrgToken extends pulumi.CustomResource {
|
|
45
16
|
/**
|
package/orgToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orgToken.js","sourceRoot":"","sources":["../orgToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEj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AC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjGL,4BAkGC;AApFG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/signalfx",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.5",
|
|
4
4
|
"description": "A Pulumi package for creating and managing SignalFx resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "signalfx",
|
|
26
|
-
"version": "7.1.
|
|
26
|
+
"version": "7.1.5"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -12,33 +12,32 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* name: "PD-Integration",
|
|
13
13
|
* });
|
|
14
14
|
* ```
|
|
15
|
-
*
|
|
16
|
-
* ## Arguments
|
|
17
|
-
*
|
|
18
|
-
* * `name` - Specify the exact name of the desired PagerDuty integration
|
|
19
|
-
*
|
|
20
|
-
* ## Attributes
|
|
21
|
-
*
|
|
22
|
-
* * `id` - The ID of the integration.
|
|
23
|
-
* * `name` - The name of the integration.
|
|
24
|
-
* * `enabled` - Whether the integration is enabled.
|
|
25
15
|
*/
|
|
26
16
|
export declare function getIntegration(args: GetIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetIntegrationResult>;
|
|
27
17
|
/**
|
|
28
18
|
* A collection of arguments for invoking getIntegration.
|
|
29
19
|
*/
|
|
30
20
|
export interface GetIntegrationArgs {
|
|
21
|
+
/**
|
|
22
|
+
* Specify the exact name of the desired PagerDuty integration
|
|
23
|
+
*/
|
|
31
24
|
name: string;
|
|
32
25
|
}
|
|
33
26
|
/**
|
|
34
27
|
* A collection of values returned by getIntegration.
|
|
35
28
|
*/
|
|
36
29
|
export interface GetIntegrationResult {
|
|
30
|
+
/**
|
|
31
|
+
* Whether the integration is enabled.
|
|
32
|
+
*/
|
|
37
33
|
readonly enabled: boolean;
|
|
38
34
|
/**
|
|
39
35
|
* The provider-assigned unique ID for this managed resource.
|
|
40
36
|
*/
|
|
41
37
|
readonly id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the integration.
|
|
40
|
+
*/
|
|
42
41
|
readonly name: string;
|
|
43
42
|
}
|
|
44
43
|
/**
|
|
@@ -54,21 +53,14 @@ export interface GetIntegrationResult {
|
|
|
54
53
|
* name: "PD-Integration",
|
|
55
54
|
* });
|
|
56
55
|
* ```
|
|
57
|
-
*
|
|
58
|
-
* ## Arguments
|
|
59
|
-
*
|
|
60
|
-
* * `name` - Specify the exact name of the desired PagerDuty integration
|
|
61
|
-
*
|
|
62
|
-
* ## Attributes
|
|
63
|
-
*
|
|
64
|
-
* * `id` - The ID of the integration.
|
|
65
|
-
* * `name` - The name of the integration.
|
|
66
|
-
* * `enabled` - Whether the integration is enabled.
|
|
67
56
|
*/
|
|
68
57
|
export declare function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIntegrationResult>;
|
|
69
58
|
/**
|
|
70
59
|
* A collection of arguments for invoking getIntegration.
|
|
71
60
|
*/
|
|
72
61
|
export interface GetIntegrationOutputArgs {
|
|
62
|
+
/**
|
|
63
|
+
* Specify the exact name of the desired PagerDuty integration
|
|
64
|
+
*/
|
|
73
65
|
name: pulumi.Input<string>;
|
|
74
66
|
}
|
|
@@ -18,16 +18,6 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* name: "PD-Integration",
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
|
-
*
|
|
22
|
-
* ## Arguments
|
|
23
|
-
*
|
|
24
|
-
* * `name` - Specify the exact name of the desired PagerDuty integration
|
|
25
|
-
*
|
|
26
|
-
* ## Attributes
|
|
27
|
-
*
|
|
28
|
-
* * `id` - The ID of the integration.
|
|
29
|
-
* * `name` - The name of the integration.
|
|
30
|
-
* * `enabled` - Whether the integration is enabled.
|
|
31
21
|
*/
|
|
32
22
|
function getIntegration(args, opts) {
|
|
33
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -49,16 +39,6 @@ exports.getIntegration = getIntegration;
|
|
|
49
39
|
* name: "PD-Integration",
|
|
50
40
|
* });
|
|
51
41
|
* ```
|
|
52
|
-
*
|
|
53
|
-
* ## Arguments
|
|
54
|
-
*
|
|
55
|
-
* * `name` - Specify the exact name of the desired PagerDuty integration
|
|
56
|
-
*
|
|
57
|
-
* ## Attributes
|
|
58
|
-
*
|
|
59
|
-
* * `id` - The ID of the integration.
|
|
60
|
-
* * `name` - The name of the integration.
|
|
61
|
-
* * `enabled` - Whether the integration is enabled.
|
|
62
42
|
*/
|
|
63
43
|
function getIntegrationOutput(args, opts) {
|
|
64
44
|
return pulumi.output(args).apply((a) => getIntegration(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIntegration.js","sourceRoot":"","sources":["../../pagerduty/getIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getIntegration.js","sourceRoot":"","sources":["../../pagerduty/getIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -5,17 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk 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
6
|
*
|
|
7
7
|
* ## Example
|
|
8
|
-
* ## Arguments
|
|
9
|
-
*
|
|
10
|
-
* * `name` - (Required) Name of the integration.
|
|
11
|
-
* * `enabled` - (Required) Whether the integration is enabled.
|
|
12
|
-
* * `apiKey` - (Required) PagerDuty API key.
|
|
13
|
-
*
|
|
14
|
-
* ## Attributes
|
|
15
|
-
*
|
|
16
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
17
|
-
*
|
|
18
|
-
* * `id` - The ID of the integration.
|
|
19
8
|
*/
|
|
20
9
|
export declare class Integration extends pulumi.CustomResource {
|
|
21
10
|
/**
|
|
@@ -34,15 +23,15 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
34
23
|
*/
|
|
35
24
|
static isInstance(obj: any): obj is Integration;
|
|
36
25
|
/**
|
|
37
|
-
* PagerDuty API key
|
|
26
|
+
* PagerDuty API key.
|
|
38
27
|
*/
|
|
39
28
|
readonly apiKey: pulumi.Output<string | undefined>;
|
|
40
29
|
/**
|
|
41
|
-
* Whether the integration is enabled
|
|
30
|
+
* Whether the integration is enabled.
|
|
42
31
|
*/
|
|
43
32
|
readonly enabled: pulumi.Output<boolean>;
|
|
44
33
|
/**
|
|
45
|
-
* Name of the integration
|
|
34
|
+
* Name of the integration.
|
|
46
35
|
*/
|
|
47
36
|
readonly name: pulumi.Output<string>;
|
|
48
37
|
/**
|
|
@@ -59,15 +48,15 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
59
48
|
*/
|
|
60
49
|
export interface IntegrationState {
|
|
61
50
|
/**
|
|
62
|
-
* PagerDuty API key
|
|
51
|
+
* PagerDuty API key.
|
|
63
52
|
*/
|
|
64
53
|
apiKey?: pulumi.Input<string>;
|
|
65
54
|
/**
|
|
66
|
-
* Whether the integration is enabled
|
|
55
|
+
* Whether the integration is enabled.
|
|
67
56
|
*/
|
|
68
57
|
enabled?: pulumi.Input<boolean>;
|
|
69
58
|
/**
|
|
70
|
-
* Name of the integration
|
|
59
|
+
* Name of the integration.
|
|
71
60
|
*/
|
|
72
61
|
name?: pulumi.Input<string>;
|
|
73
62
|
}
|
|
@@ -76,15 +65,15 @@ export interface IntegrationState {
|
|
|
76
65
|
*/
|
|
77
66
|
export interface IntegrationArgs {
|
|
78
67
|
/**
|
|
79
|
-
* PagerDuty API key
|
|
68
|
+
* PagerDuty API key.
|
|
80
69
|
*/
|
|
81
70
|
apiKey?: pulumi.Input<string>;
|
|
82
71
|
/**
|
|
83
|
-
* Whether the integration is enabled
|
|
72
|
+
* Whether the integration is enabled.
|
|
84
73
|
*/
|
|
85
74
|
enabled: pulumi.Input<boolean>;
|
|
86
75
|
/**
|
|
87
|
-
* Name of the integration
|
|
76
|
+
* Name of the integration.
|
|
88
77
|
*/
|
|
89
78
|
name?: pulumi.Input<string>;
|
|
90
79
|
}
|
package/pagerduty/integration.js
CHANGED
|
@@ -11,17 +11,6 @@ const utilities = require("../utilities");
|
|
|
11
11
|
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk 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.
|
|
12
12
|
*
|
|
13
13
|
* ## Example
|
|
14
|
-
* ## Arguments
|
|
15
|
-
*
|
|
16
|
-
* * `name` - (Required) Name of the integration.
|
|
17
|
-
* * `enabled` - (Required) Whether the integration is enabled.
|
|
18
|
-
* * `apiKey` - (Required) PagerDuty API key.
|
|
19
|
-
*
|
|
20
|
-
* ## Attributes
|
|
21
|
-
*
|
|
22
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
23
|
-
*
|
|
24
|
-
* * `id` - The ID of the integration.
|
|
25
14
|
*/
|
|
26
15
|
class Integration extends pulumi.CustomResource {
|
|
27
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../pagerduty/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../pagerduty/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;GAMG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAA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M,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACjF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtEL,kCAuEC;AAzDG,gBAAgB;AACO,wBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -5,23 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
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
6
|
*
|
|
7
7
|
* ## Example
|
|
8
|
-
*
|
|
9
|
-
* ## Arguments
|
|
10
|
-
*
|
|
11
|
-
* * `name` - (Required) Name of the integration.
|
|
12
|
-
* * `enabled` - (Required) Whether the integration is enabled.
|
|
13
|
-
* * `username` - (Required) User name used to authenticate the ServiceNow integration.
|
|
14
|
-
* * `password` - (Required) Password used to authenticate the ServiceNow integration.
|
|
15
|
-
* * `instanceName` - (Required) Name of the ServiceNow instance, for example `myinst.service-now.com`.
|
|
16
|
-
* * `issueType` - (Required) The type of issue in standard ITIL terminology. The allowed values are `Incident` and `Problem`.
|
|
17
|
-
* * `alertTriggeredPayloadTemplate` - (Optional) A template that Observability Cloud uses to create the ServiceNow POST JSON payloads when an alert sends a notification to ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
18
|
-
* * `alertResolvedPayloadTemplate` - (Optional) A template that Observability Cloud uses to create the ServiceNow PUT JSON payloads when an alert is cleared in ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
19
|
-
*
|
|
20
|
-
* ## Attributes
|
|
21
|
-
*
|
|
22
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
23
|
-
*
|
|
24
|
-
* * `id` - The ID of the integration.
|
|
25
8
|
*/
|
|
26
9
|
export declare class Integration extends pulumi.CustomResource {
|
|
27
10
|
/**
|
|
@@ -40,23 +23,19 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
40
23
|
*/
|
|
41
24
|
static isInstance(obj: any): obj is Integration;
|
|
42
25
|
/**
|
|
43
|
-
* A template that Observability Cloud uses to create the ServiceNow PUT JSON payloads when an alert is cleared in
|
|
44
|
-
* ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in
|
|
45
|
-
* ServiceNow. See API reference for details.
|
|
26
|
+
* A template that Observability Cloud uses to create the ServiceNow PUT JSON payloads when an alert is cleared in ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
46
27
|
*/
|
|
47
28
|
readonly alertResolvedPayloadTemplate: pulumi.Output<string | undefined>;
|
|
48
29
|
/**
|
|
49
|
-
* A template that Observability Cloud uses to create the ServiceNow POST JSON payloads when an alert sends a notification
|
|
50
|
-
* to ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in
|
|
51
|
-
* ServiceNow. See API reference for details.
|
|
30
|
+
* A template that Observability Cloud uses to create the ServiceNow POST JSON payloads when an alert sends a notification to ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
52
31
|
*/
|
|
53
32
|
readonly alertTriggeredPayloadTemplate: pulumi.Output<string | undefined>;
|
|
54
33
|
/**
|
|
55
|
-
* Whether the integration is enabled
|
|
34
|
+
* Whether the integration is enabled.
|
|
56
35
|
*/
|
|
57
36
|
readonly enabled: pulumi.Output<boolean>;
|
|
58
37
|
/**
|
|
59
|
-
* Name of the ServiceNow instance, for example `
|
|
38
|
+
* Name of the ServiceNow instance, for example `myinst.service-now.com`.
|
|
60
39
|
*/
|
|
61
40
|
readonly instanceName: pulumi.Output<string>;
|
|
62
41
|
/**
|
|
@@ -64,7 +43,7 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
64
43
|
*/
|
|
65
44
|
readonly issueType: pulumi.Output<string>;
|
|
66
45
|
/**
|
|
67
|
-
* Name of the integration
|
|
46
|
+
* Name of the integration.
|
|
68
47
|
*/
|
|
69
48
|
readonly name: pulumi.Output<string>;
|
|
70
49
|
/**
|
|
@@ -89,23 +68,19 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
89
68
|
*/
|
|
90
69
|
export interface IntegrationState {
|
|
91
70
|
/**
|
|
92
|
-
* A template that Observability Cloud uses to create the ServiceNow PUT JSON payloads when an alert is cleared in
|
|
93
|
-
* ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in
|
|
94
|
-
* ServiceNow. See API reference for details.
|
|
71
|
+
* A template that Observability Cloud uses to create the ServiceNow PUT JSON payloads when an alert is cleared in ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
95
72
|
*/
|
|
96
73
|
alertResolvedPayloadTemplate?: pulumi.Input<string>;
|
|
97
74
|
/**
|
|
98
|
-
* A template that Observability Cloud uses to create the ServiceNow POST JSON payloads when an alert sends a notification
|
|
99
|
-
* to ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in
|
|
100
|
-
* ServiceNow. See API reference for details.
|
|
75
|
+
* A template that Observability Cloud uses to create the ServiceNow POST JSON payloads when an alert sends a notification to ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
101
76
|
*/
|
|
102
77
|
alertTriggeredPayloadTemplate?: pulumi.Input<string>;
|
|
103
78
|
/**
|
|
104
|
-
* Whether the integration is enabled
|
|
79
|
+
* Whether the integration is enabled.
|
|
105
80
|
*/
|
|
106
81
|
enabled?: pulumi.Input<boolean>;
|
|
107
82
|
/**
|
|
108
|
-
* Name of the ServiceNow instance, for example `
|
|
83
|
+
* Name of the ServiceNow instance, for example `myinst.service-now.com`.
|
|
109
84
|
*/
|
|
110
85
|
instanceName?: pulumi.Input<string>;
|
|
111
86
|
/**
|
|
@@ -113,7 +88,7 @@ export interface IntegrationState {
|
|
|
113
88
|
*/
|
|
114
89
|
issueType?: pulumi.Input<string>;
|
|
115
90
|
/**
|
|
116
|
-
* Name of the integration
|
|
91
|
+
* Name of the integration.
|
|
117
92
|
*/
|
|
118
93
|
name?: pulumi.Input<string>;
|
|
119
94
|
/**
|
|
@@ -130,23 +105,19 @@ export interface IntegrationState {
|
|
|
130
105
|
*/
|
|
131
106
|
export interface IntegrationArgs {
|
|
132
107
|
/**
|
|
133
|
-
* A template that Observability Cloud uses to create the ServiceNow PUT JSON payloads when an alert is cleared in
|
|
134
|
-
* ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in
|
|
135
|
-
* ServiceNow. See API reference for details.
|
|
108
|
+
* A template that Observability Cloud uses to create the ServiceNow PUT JSON payloads when an alert is cleared in ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
136
109
|
*/
|
|
137
110
|
alertResolvedPayloadTemplate?: pulumi.Input<string>;
|
|
138
111
|
/**
|
|
139
|
-
* A template that Observability Cloud uses to create the ServiceNow POST JSON payloads when an alert sends a notification
|
|
140
|
-
* to ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in
|
|
141
|
-
* ServiceNow. See API reference for details.
|
|
112
|
+
* A template that Observability Cloud uses to create the ServiceNow POST JSON payloads when an alert sends a notification to ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
142
113
|
*/
|
|
143
114
|
alertTriggeredPayloadTemplate?: pulumi.Input<string>;
|
|
144
115
|
/**
|
|
145
|
-
* Whether the integration is enabled
|
|
116
|
+
* Whether the integration is enabled.
|
|
146
117
|
*/
|
|
147
118
|
enabled: pulumi.Input<boolean>;
|
|
148
119
|
/**
|
|
149
|
-
* Name of the ServiceNow instance, for example `
|
|
120
|
+
* Name of the ServiceNow instance, for example `myinst.service-now.com`.
|
|
150
121
|
*/
|
|
151
122
|
instanceName: pulumi.Input<string>;
|
|
152
123
|
/**
|
|
@@ -154,7 +125,7 @@ export interface IntegrationArgs {
|
|
|
154
125
|
*/
|
|
155
126
|
issueType: pulumi.Input<string>;
|
|
156
127
|
/**
|
|
157
|
-
* Name of the integration
|
|
128
|
+
* Name of the integration.
|
|
158
129
|
*/
|
|
159
130
|
name?: pulumi.Input<string>;
|
|
160
131
|
/**
|
|
@@ -11,23 +11,6 @@ const utilities = require("../utilities");
|
|
|
11
11
|
* > **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.
|
|
12
12
|
*
|
|
13
13
|
* ## Example
|
|
14
|
-
*
|
|
15
|
-
* ## Arguments
|
|
16
|
-
*
|
|
17
|
-
* * `name` - (Required) Name of the integration.
|
|
18
|
-
* * `enabled` - (Required) Whether the integration is enabled.
|
|
19
|
-
* * `username` - (Required) User name used to authenticate the ServiceNow integration.
|
|
20
|
-
* * `password` - (Required) Password used to authenticate the ServiceNow integration.
|
|
21
|
-
* * `instanceName` - (Required) Name of the ServiceNow instance, for example `myinst.service-now.com`.
|
|
22
|
-
* * `issueType` - (Required) The type of issue in standard ITIL terminology. The allowed values are `Incident` and `Problem`.
|
|
23
|
-
* * `alertTriggeredPayloadTemplate` - (Optional) A template that Observability Cloud uses to create the ServiceNow POST JSON payloads when an alert sends a notification to ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
24
|
-
* * `alertResolvedPayloadTemplate` - (Optional) A template that Observability Cloud uses to create the ServiceNow PUT JSON payloads when an alert is cleared in ServiceNow. Use this optional field to send the values of Observability Cloud alert properties to specific fields in ServiceNow. See [API reference](https://dev.splunk.com/observability/reference/api/integrations/latest) for details.
|
|
25
|
-
*
|
|
26
|
-
* ## Attributes
|
|
27
|
-
*
|
|
28
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
29
|
-
*
|
|
30
|
-
* * `id` - The ID of the integration.
|
|
31
14
|
*/
|
|
32
15
|
class Integration extends pulumi.CustomResource {
|
|
33
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../servicenow/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../servicenow/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;GAMG;AACH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