@pulumi/signalfx 7.0.0 → 7.0.2
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 +37 -19
- package/alertMutingRule.js +22 -4
- package/alertMutingRule.js.map +1 -1
- package/aws/externalIntegration.d.ts +23 -11
- package/aws/externalIntegration.js +16 -4
- package/aws/externalIntegration.js.map +1 -1
- package/aws/integration.d.ts +141 -72
- package/aws/integration.js +41 -4
- package/aws/integration.js.map +1 -1
- package/aws/tokenIntegration.d.ts +18 -7
- package/aws/tokenIntegration.js +13 -2
- package/aws/tokenIntegration.js.map +1 -1
- package/azure/integration.d.ts +101 -45
- package/azure/integration.js +29 -3
- package/azure/integration.js.map +1 -1
- package/config/vars.d.ts +3 -3
- package/dashboard.d.ts +62 -62
- package/dashboardGroup.d.ts +62 -27
- package/dashboardGroup.js +41 -6
- package/dashboardGroup.js.map +1 -1
- package/dataLink.d.ts +52 -18
- package/dataLink.js +31 -3
- package/dataLink.js.map +1 -1
- package/detector.d.ts +133 -70
- package/detector.js +70 -15
- package/detector.js.map +1 -1
- package/eventFeedChart.d.ts +38 -20
- package/eventFeedChart.js +18 -0
- package/eventFeedChart.js.map +1 -1
- package/gcp/integration.d.ts +66 -35
- package/gcp/integration.js +24 -5
- package/gcp/integration.js.map +1 -1
- package/getDimensionValues.d.ts +18 -2
- package/getDimensionValues.js +18 -2
- package/getDimensionValues.js.map +1 -1
- package/heatmapChart.d.ts +80 -46
- package/heatmapChart.js +36 -2
- package/heatmapChart.js.map +1 -1
- package/jira/integration.d.ts +51 -24
- package/jira/integration.js +24 -3
- package/jira/integration.js.map +1 -1
- package/listChart.d.ts +111 -64
- package/listChart.js +46 -2
- package/listChart.js.map +1 -1
- package/log/timeline.d.ts +44 -24
- package/log/timeline.js +21 -1
- package/log/timeline.js.map +1 -1
- package/log/view.d.ts +54 -31
- package/log/view.js +25 -2
- package/log/view.js.map +1 -1
- package/metricRuleset.d.ts +33 -11
- package/metricRuleset.js +24 -2
- package/metricRuleset.js.map +1 -1
- package/opsgenie/integration.d.ts +28 -15
- package/opsgenie/integration.js +16 -3
- package/opsgenie/integration.js.map +1 -1
- package/orgToken.d.ts +50 -39
- package/orgToken.js +32 -3
- package/orgToken.js.map +1 -1
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/pagerduty/getIntegration.d.ts +22 -14
- package/pagerduty/getIntegration.js +22 -2
- package/pagerduty/getIntegration.js.map +1 -1
- package/pagerduty/integration.d.ts +23 -12
- package/pagerduty/integration.js +14 -3
- package/pagerduty/integration.js.map +1 -1
- package/provider.d.ts +6 -6
- package/servicenow/integration.d.ts +46 -17
- package/servicenow/integration.js +19 -2
- package/servicenow/integration.js.map +1 -1
- package/singleValueChart.d.ts +74 -39
- package/singleValueChart.js +36 -1
- package/singleValueChart.js.map +1 -1
- package/slack/integration.d.ts +24 -12
- package/slack/integration.js +15 -3
- package/slack/integration.js.map +1 -1
- package/tableChart.d.ts +32 -16
- package/tableChart.js +18 -2
- package/tableChart.js.map +1 -1
- package/team.d.ts +54 -33
- package/team.js +25 -4
- package/team.js.map +1 -1
- package/textChart.d.ts +27 -12
- package/textChart.js +16 -1
- package/textChart.js.map +1 -1
- package/timeChart.d.ts +148 -94
- package/timeChart.js +68 -2
- package/timeChart.js.map +1 -1
- package/types/input.d.ts +0 -577
- package/types/output.d.ts +0 -577
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/victorops/integration.d.ts +24 -12
- package/victorops/integration.js +15 -3
- package/victorops/integration.js.map +1 -1
- package/webhookIntegration.d.ts +31 -15
- package/webhookIntegration.js +19 -3
- package/webhookIntegration.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +0 -21
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Splunk Observability Cloud Opsgenie integration.
|
|
4
4
|
*
|
|
5
|
-
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the
|
|
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
|
-
* ## Example
|
|
7
|
+
* ## Example
|
|
8
8
|
*
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -16,6 +16,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* enabled: true,
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Arguments
|
|
21
|
+
*
|
|
22
|
+
* * `name` - (Required) Name of the integration.
|
|
23
|
+
* * `enabled` - (Required) Whether the integration is enabled.
|
|
24
|
+
* * `apiKey` - (Required) The API key
|
|
25
|
+
* * `apiUrl` - (Optional) Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
|
|
26
|
+
*
|
|
27
|
+
* ## Attributes
|
|
28
|
+
*
|
|
29
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
30
|
+
*
|
|
31
|
+
* * `id` - The ID of the integration.
|
|
19
32
|
*/
|
|
20
33
|
export declare class Integration extends pulumi.CustomResource {
|
|
21
34
|
/**
|
|
@@ -34,19 +47,19 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
34
47
|
*/
|
|
35
48
|
static isInstance(obj: any): obj is Integration;
|
|
36
49
|
/**
|
|
37
|
-
*
|
|
50
|
+
* Opsgenie API key
|
|
38
51
|
*/
|
|
39
52
|
readonly apiKey: pulumi.Output<string>;
|
|
40
53
|
/**
|
|
41
|
-
* Opsgenie API URL
|
|
54
|
+
* Opsgenie API URL for integration
|
|
42
55
|
*/
|
|
43
56
|
readonly apiUrl: pulumi.Output<string | undefined>;
|
|
44
57
|
/**
|
|
45
|
-
* Whether the integration is enabled
|
|
58
|
+
* Whether the integration is enabled or not
|
|
46
59
|
*/
|
|
47
60
|
readonly enabled: pulumi.Output<boolean>;
|
|
48
61
|
/**
|
|
49
|
-
* Name of the integration
|
|
62
|
+
* Name of the integration
|
|
50
63
|
*/
|
|
51
64
|
readonly name: pulumi.Output<string>;
|
|
52
65
|
/**
|
|
@@ -63,19 +76,19 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
63
76
|
*/
|
|
64
77
|
export interface IntegrationState {
|
|
65
78
|
/**
|
|
66
|
-
*
|
|
79
|
+
* Opsgenie API key
|
|
67
80
|
*/
|
|
68
81
|
apiKey?: pulumi.Input<string>;
|
|
69
82
|
/**
|
|
70
|
-
* Opsgenie API URL
|
|
83
|
+
* Opsgenie API URL for integration
|
|
71
84
|
*/
|
|
72
85
|
apiUrl?: pulumi.Input<string>;
|
|
73
86
|
/**
|
|
74
|
-
* Whether the integration is enabled
|
|
87
|
+
* Whether the integration is enabled or not
|
|
75
88
|
*/
|
|
76
89
|
enabled?: pulumi.Input<boolean>;
|
|
77
90
|
/**
|
|
78
|
-
* Name of the integration
|
|
91
|
+
* Name of the integration
|
|
79
92
|
*/
|
|
80
93
|
name?: pulumi.Input<string>;
|
|
81
94
|
}
|
|
@@ -84,19 +97,19 @@ export interface IntegrationState {
|
|
|
84
97
|
*/
|
|
85
98
|
export interface IntegrationArgs {
|
|
86
99
|
/**
|
|
87
|
-
*
|
|
100
|
+
* Opsgenie API key
|
|
88
101
|
*/
|
|
89
102
|
apiKey: pulumi.Input<string>;
|
|
90
103
|
/**
|
|
91
|
-
* Opsgenie API URL
|
|
104
|
+
* Opsgenie API URL for integration
|
|
92
105
|
*/
|
|
93
106
|
apiUrl?: pulumi.Input<string>;
|
|
94
107
|
/**
|
|
95
|
-
* Whether the integration is enabled
|
|
108
|
+
* Whether the integration is enabled or not
|
|
96
109
|
*/
|
|
97
110
|
enabled: pulumi.Input<boolean>;
|
|
98
111
|
/**
|
|
99
|
-
* Name of the integration
|
|
112
|
+
* Name of the integration
|
|
100
113
|
*/
|
|
101
114
|
name?: pulumi.Input<string>;
|
|
102
115
|
}
|
package/opsgenie/integration.js
CHANGED
|
@@ -6,11 +6,11 @@ exports.Integration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Splunk Observability Cloud Opsgenie integration.
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the
|
|
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
|
-
* ## Example
|
|
13
|
+
* ## Example
|
|
14
14
|
*
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -22,6 +22,19 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* enabled: true,
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Arguments
|
|
27
|
+
*
|
|
28
|
+
* * `name` - (Required) Name of the integration.
|
|
29
|
+
* * `enabled` - (Required) Whether the integration is enabled.
|
|
30
|
+
* * `apiKey` - (Required) The API key
|
|
31
|
+
* * `apiUrl` - (Optional) Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
|
|
32
|
+
*
|
|
33
|
+
* ## Attributes
|
|
34
|
+
*
|
|
35
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
36
|
+
*
|
|
37
|
+
* * `id` - The ID of the integration.
|
|
25
38
|
*/
|
|
26
39
|
class Integration extends pulumi.CustomResource {
|
|
27
40
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../opsgenie/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../opsgenie/integration.ts"],"names":[],"mappings":"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"}
|
package/orgToken.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage Splunk Observability Cloud org tokens.
|
|
6
6
|
*
|
|
7
|
-
* > **NOTE** When managing Org tokens, use a session token of an administrator to authenticate the
|
|
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
|
-
* ## Example
|
|
9
|
+
* ## Example
|
|
10
10
|
*
|
|
11
11
|
* ```typescript
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -27,6 +27,35 @@ import * as outputs from "./types/output";
|
|
|
27
27
|
* notifications: ["Email,foo-alerts@bar.com"],
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Arguments
|
|
32
|
+
*
|
|
33
|
+
* The following arguments are supported in the resource block:
|
|
34
|
+
*
|
|
35
|
+
* * `name` - (Required) Name of the token.
|
|
36
|
+
* * `description` - (Optional) Description of the token.
|
|
37
|
+
* * `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`.
|
|
38
|
+
* * `secret` - The secret token created by the API. You cannot set this value.
|
|
39
|
+
* * `notifications` - (Optional) Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
|
|
40
|
+
* * `hostOrUsageLimits` - (Optional) Specify Usage-based limits for this token.
|
|
41
|
+
* * `hostLimit` - (Optional) Max number of hosts that can use this token
|
|
42
|
+
* * `hostNotificationThreshold` - (Optional) Notification threshold for hosts
|
|
43
|
+
* * `containerLimit` - (Optional) Max number of Docker containers that can use this token
|
|
44
|
+
* * `containerNotificationThreshold` - (Optional) Notification threshold for Docker containers
|
|
45
|
+
* * `customMetricsLimit` - (Optional) Max number of custom metrics that can be sent with this token
|
|
46
|
+
* * `customMetricsNotificationThreshold` - (Optional) Notification threshold for custom metrics
|
|
47
|
+
* * `highResMetricsLimit` - (Optional) Max number of hi-res metrics that can be sent with this toke
|
|
48
|
+
* * `highResMetricsNotificationThreshold` - (Optional) Notification threshold for hi-res metrics
|
|
49
|
+
* * `dpmLimits` (Optional) Specify DPM-based limits for this token.
|
|
50
|
+
* * `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.
|
|
51
|
+
* * `dpmLimit` - (Required) The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
|
|
52
|
+
*
|
|
53
|
+
* ## Attributes
|
|
54
|
+
*
|
|
55
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
56
|
+
*
|
|
57
|
+
* * `id` - The ID of the token.
|
|
58
|
+
* * `secret` - The assigned token.
|
|
30
59
|
*/
|
|
31
60
|
export declare class OrgToken extends pulumi.CustomResource {
|
|
32
61
|
/**
|
|
@@ -49,32 +78,25 @@ export declare class OrgToken extends pulumi.CustomResource {
|
|
|
49
78
|
*/
|
|
50
79
|
readonly authScopes: pulumi.Output<string[]>;
|
|
51
80
|
/**
|
|
52
|
-
* Description of the token
|
|
81
|
+
* Description of the token (Optional)
|
|
53
82
|
*/
|
|
54
83
|
readonly description: pulumi.Output<string | undefined>;
|
|
55
84
|
/**
|
|
56
|
-
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
85
|
+
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
86
|
+
* Defaults to `false`
|
|
57
87
|
*/
|
|
58
88
|
readonly disabled: pulumi.Output<boolean | undefined>;
|
|
59
|
-
/**
|
|
60
|
-
* Specify DPM-based limits for this token.
|
|
61
|
-
*/
|
|
62
89
|
readonly dpmLimits: pulumi.Output<outputs.OrgTokenDpmLimits | undefined>;
|
|
63
|
-
/**
|
|
64
|
-
* Specify Usage-based limits for this token.
|
|
65
|
-
*/
|
|
66
90
|
readonly hostOrUsageLimits: pulumi.Output<outputs.OrgTokenHostOrUsageLimits | undefined>;
|
|
67
91
|
/**
|
|
68
|
-
* Name of the token
|
|
92
|
+
* Name of the token
|
|
69
93
|
*/
|
|
70
94
|
readonly name: pulumi.Output<string>;
|
|
71
95
|
/**
|
|
72
|
-
*
|
|
96
|
+
* List of strings specifying where notifications will be sent when an incident occurs. See
|
|
97
|
+
* https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
|
|
73
98
|
*/
|
|
74
99
|
readonly notifications: pulumi.Output<string[] | undefined>;
|
|
75
|
-
/**
|
|
76
|
-
* The secret token created by the API. You cannot set this value.
|
|
77
|
-
*/
|
|
78
100
|
readonly secret: pulumi.Output<string>;
|
|
79
101
|
/**
|
|
80
102
|
* Create a OrgToken resource with the given unique name, arguments, and options.
|
|
@@ -94,32 +116,25 @@ export interface OrgTokenState {
|
|
|
94
116
|
*/
|
|
95
117
|
authScopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
96
118
|
/**
|
|
97
|
-
* Description of the token
|
|
119
|
+
* Description of the token (Optional)
|
|
98
120
|
*/
|
|
99
121
|
description?: pulumi.Input<string>;
|
|
100
122
|
/**
|
|
101
|
-
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
123
|
+
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
124
|
+
* Defaults to `false`
|
|
102
125
|
*/
|
|
103
126
|
disabled?: pulumi.Input<boolean>;
|
|
104
|
-
/**
|
|
105
|
-
* Specify DPM-based limits for this token.
|
|
106
|
-
*/
|
|
107
127
|
dpmLimits?: pulumi.Input<inputs.OrgTokenDpmLimits>;
|
|
108
|
-
/**
|
|
109
|
-
* Specify Usage-based limits for this token.
|
|
110
|
-
*/
|
|
111
128
|
hostOrUsageLimits?: pulumi.Input<inputs.OrgTokenHostOrUsageLimits>;
|
|
112
129
|
/**
|
|
113
|
-
* Name of the token
|
|
130
|
+
* Name of the token
|
|
114
131
|
*/
|
|
115
132
|
name?: pulumi.Input<string>;
|
|
116
133
|
/**
|
|
117
|
-
*
|
|
134
|
+
* List of strings specifying where notifications will be sent when an incident occurs. See
|
|
135
|
+
* https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
|
|
118
136
|
*/
|
|
119
137
|
notifications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
120
|
-
/**
|
|
121
|
-
* The secret token created by the API. You cannot set this value.
|
|
122
|
-
*/
|
|
123
138
|
secret?: pulumi.Input<string>;
|
|
124
139
|
}
|
|
125
140
|
/**
|
|
@@ -131,27 +146,23 @@ export interface OrgTokenArgs {
|
|
|
131
146
|
*/
|
|
132
147
|
authScopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
133
148
|
/**
|
|
134
|
-
* Description of the token
|
|
149
|
+
* Description of the token (Optional)
|
|
135
150
|
*/
|
|
136
151
|
description?: pulumi.Input<string>;
|
|
137
152
|
/**
|
|
138
|
-
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
153
|
+
* Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
154
|
+
* Defaults to `false`
|
|
139
155
|
*/
|
|
140
156
|
disabled?: pulumi.Input<boolean>;
|
|
141
|
-
/**
|
|
142
|
-
* Specify DPM-based limits for this token.
|
|
143
|
-
*/
|
|
144
157
|
dpmLimits?: pulumi.Input<inputs.OrgTokenDpmLimits>;
|
|
145
|
-
/**
|
|
146
|
-
* Specify Usage-based limits for this token.
|
|
147
|
-
*/
|
|
148
158
|
hostOrUsageLimits?: pulumi.Input<inputs.OrgTokenHostOrUsageLimits>;
|
|
149
159
|
/**
|
|
150
|
-
* Name of the token
|
|
160
|
+
* Name of the token
|
|
151
161
|
*/
|
|
152
162
|
name?: pulumi.Input<string>;
|
|
153
163
|
/**
|
|
154
|
-
*
|
|
164
|
+
* List of strings specifying where notifications will be sent when an incident occurs. See
|
|
165
|
+
* https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
|
|
155
166
|
*/
|
|
156
167
|
notifications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
157
168
|
}
|
package/orgToken.js
CHANGED
|
@@ -6,11 +6,11 @@ exports.OrgToken = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Manage
|
|
9
|
+
* Manage Splunk Observability Cloud org tokens.
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE** When managing Org tokens, use a session token of an administrator to authenticate the
|
|
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
|
-
* ## Example
|
|
13
|
+
* ## Example
|
|
14
14
|
*
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -31,6 +31,35 @@ const utilities = require("./utilities");
|
|
|
31
31
|
* notifications: ["Email,foo-alerts@bar.com"],
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Arguments
|
|
36
|
+
*
|
|
37
|
+
* The following arguments are supported in the resource block:
|
|
38
|
+
*
|
|
39
|
+
* * `name` - (Required) Name of the token.
|
|
40
|
+
* * `description` - (Optional) Description of the token.
|
|
41
|
+
* * `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`.
|
|
42
|
+
* * `secret` - The secret token created by the API. You cannot set this value.
|
|
43
|
+
* * `notifications` - (Optional) Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
|
|
44
|
+
* * `hostOrUsageLimits` - (Optional) Specify Usage-based limits for this token.
|
|
45
|
+
* * `hostLimit` - (Optional) Max number of hosts that can use this token
|
|
46
|
+
* * `hostNotificationThreshold` - (Optional) Notification threshold for hosts
|
|
47
|
+
* * `containerLimit` - (Optional) Max number of Docker containers that can use this token
|
|
48
|
+
* * `containerNotificationThreshold` - (Optional) Notification threshold for Docker containers
|
|
49
|
+
* * `customMetricsLimit` - (Optional) Max number of custom metrics that can be sent with this token
|
|
50
|
+
* * `customMetricsNotificationThreshold` - (Optional) Notification threshold for custom metrics
|
|
51
|
+
* * `highResMetricsLimit` - (Optional) Max number of hi-res metrics that can be sent with this toke
|
|
52
|
+
* * `highResMetricsNotificationThreshold` - (Optional) Notification threshold for hi-res metrics
|
|
53
|
+
* * `dpmLimits` (Optional) Specify DPM-based limits for this token.
|
|
54
|
+
* * `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.
|
|
55
|
+
* * `dpmLimit` - (Required) The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
|
|
56
|
+
*
|
|
57
|
+
* ## Attributes
|
|
58
|
+
*
|
|
59
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
60
|
+
*
|
|
61
|
+
* * `id` - The ID of the token.
|
|
62
|
+
* * `secret` - The assigned token.
|
|
34
63
|
*/
|
|
35
64
|
class OrgToken extends pulumi.CustomResource {
|
|
36
65
|
/**
|
package/orgToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orgToken.js","sourceRoot":"","sources":["../orgToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"orgToken.js","sourceRoot":"","sources":["../orgToken.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/signalfx",
|
|
3
|
-
"version": "v7.0.
|
|
3
|
+
"version": "v7.0.2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing SignalFx resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"repository": "https://github.com/pulumi/pulumi-signalfx",
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "tsc"
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource signalfx v7.0.0"
|
|
13
|
+
"build": "tsc"
|
|
15
14
|
},
|
|
16
15
|
"dependencies": {
|
|
17
16
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.bak
CHANGED
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"repository": "https://github.com/pulumi/pulumi-signalfx",
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "tsc"
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource signalfx ${VERSION}"
|
|
13
|
+
"build": "tsc"
|
|
15
14
|
},
|
|
16
15
|
"dependencies": {
|
|
17
16
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to get information on an existing PagerDuty integration.
|
|
4
4
|
*
|
|
5
|
-
* ## Example
|
|
5
|
+
* ## Example
|
|
6
6
|
*
|
|
7
7
|
* ```typescript
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -12,38 +12,39 @@ 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.
|
|
15
25
|
*/
|
|
16
26
|
export declare function getIntegration(args: GetIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetIntegrationResult>;
|
|
17
27
|
/**
|
|
18
28
|
* A collection of arguments for invoking getIntegration.
|
|
19
29
|
*/
|
|
20
30
|
export interface GetIntegrationArgs {
|
|
21
|
-
/**
|
|
22
|
-
* Specify the exact name of the desired PagerDuty integration
|
|
23
|
-
*/
|
|
24
31
|
name: string;
|
|
25
32
|
}
|
|
26
33
|
/**
|
|
27
34
|
* A collection of values returned by getIntegration.
|
|
28
35
|
*/
|
|
29
36
|
export interface GetIntegrationResult {
|
|
30
|
-
/**
|
|
31
|
-
* Whether the integration is enabled.
|
|
32
|
-
*/
|
|
33
37
|
readonly enabled: boolean;
|
|
34
38
|
/**
|
|
35
39
|
* The provider-assigned unique ID for this managed resource.
|
|
36
40
|
*/
|
|
37
41
|
readonly id: string;
|
|
38
|
-
/**
|
|
39
|
-
* The name of the integration.
|
|
40
|
-
*/
|
|
41
42
|
readonly name: string;
|
|
42
43
|
}
|
|
43
44
|
/**
|
|
44
45
|
* Use this data source to get information on an existing PagerDuty integration.
|
|
45
46
|
*
|
|
46
|
-
* ## Example
|
|
47
|
+
* ## Example
|
|
47
48
|
*
|
|
48
49
|
* ```typescript
|
|
49
50
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -53,14 +54,21 @@ export interface GetIntegrationResult {
|
|
|
53
54
|
* name: "PD-Integration",
|
|
54
55
|
* });
|
|
55
56
|
* ```
|
|
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.
|
|
56
67
|
*/
|
|
57
68
|
export declare function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIntegrationResult>;
|
|
58
69
|
/**
|
|
59
70
|
* A collection of arguments for invoking getIntegration.
|
|
60
71
|
*/
|
|
61
72
|
export interface GetIntegrationOutputArgs {
|
|
62
|
-
/**
|
|
63
|
-
* Specify the exact name of the desired PagerDuty integration
|
|
64
|
-
*/
|
|
65
73
|
name: pulumi.Input<string>;
|
|
66
74
|
}
|
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to get information on an existing PagerDuty integration.
|
|
10
10
|
*
|
|
11
|
-
* ## Example
|
|
11
|
+
* ## Example
|
|
12
12
|
*
|
|
13
13
|
* ```typescript
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -18,6 +18,16 @@ 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.
|
|
21
31
|
*/
|
|
22
32
|
function getIntegration(args, opts) {
|
|
23
33
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -29,7 +39,7 @@ exports.getIntegration = getIntegration;
|
|
|
29
39
|
/**
|
|
30
40
|
* Use this data source to get information on an existing PagerDuty integration.
|
|
31
41
|
*
|
|
32
|
-
* ## Example
|
|
42
|
+
* ## Example
|
|
33
43
|
*
|
|
34
44
|
* ```typescript
|
|
35
45
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -39,6 +49,16 @@ exports.getIntegration = getIntegration;
|
|
|
39
49
|
* name: "PD-Integration",
|
|
40
50
|
* });
|
|
41
51
|
* ```
|
|
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.
|
|
42
62
|
*/
|
|
43
63
|
function getIntegrationOutput(args, opts) {
|
|
44
64
|
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;;;;;;;;;;;;;;;;;;;;;;;GAuBG;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;AAoBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Splunk Observability Cloud PagerDuty integrations.
|
|
4
4
|
*
|
|
5
|
-
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the
|
|
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
|
-
* ## Example
|
|
7
|
+
* ## Example
|
|
8
8
|
*
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -15,6 +15,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* enabled: true,
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
|
+
* ## Arguments
|
|
19
|
+
*
|
|
20
|
+
* * `name` - (Required) Name of the integration.
|
|
21
|
+
* * `enabled` - (Required) Whether the integration is enabled.
|
|
22
|
+
* * `apiKey` - (Required) PagerDuty API key.
|
|
23
|
+
*
|
|
24
|
+
* ## Attributes
|
|
25
|
+
*
|
|
26
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
27
|
+
*
|
|
28
|
+
* * `id` - The ID of the integration.
|
|
18
29
|
*/
|
|
19
30
|
export declare class Integration extends pulumi.CustomResource {
|
|
20
31
|
/**
|
|
@@ -33,15 +44,15 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
33
44
|
*/
|
|
34
45
|
static isInstance(obj: any): obj is Integration;
|
|
35
46
|
/**
|
|
36
|
-
* PagerDuty API key
|
|
47
|
+
* PagerDuty API key
|
|
37
48
|
*/
|
|
38
49
|
readonly apiKey: pulumi.Output<string | undefined>;
|
|
39
50
|
/**
|
|
40
|
-
* Whether the integration is enabled
|
|
51
|
+
* Whether the integration is enabled or not
|
|
41
52
|
*/
|
|
42
53
|
readonly enabled: pulumi.Output<boolean>;
|
|
43
54
|
/**
|
|
44
|
-
* Name of the integration
|
|
55
|
+
* Name of the integration
|
|
45
56
|
*/
|
|
46
57
|
readonly name: pulumi.Output<string>;
|
|
47
58
|
/**
|
|
@@ -58,15 +69,15 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
58
69
|
*/
|
|
59
70
|
export interface IntegrationState {
|
|
60
71
|
/**
|
|
61
|
-
* PagerDuty API key
|
|
72
|
+
* PagerDuty API key
|
|
62
73
|
*/
|
|
63
74
|
apiKey?: pulumi.Input<string>;
|
|
64
75
|
/**
|
|
65
|
-
* Whether the integration is enabled
|
|
76
|
+
* Whether the integration is enabled or not
|
|
66
77
|
*/
|
|
67
78
|
enabled?: pulumi.Input<boolean>;
|
|
68
79
|
/**
|
|
69
|
-
* Name of the integration
|
|
80
|
+
* Name of the integration
|
|
70
81
|
*/
|
|
71
82
|
name?: pulumi.Input<string>;
|
|
72
83
|
}
|
|
@@ -75,15 +86,15 @@ export interface IntegrationState {
|
|
|
75
86
|
*/
|
|
76
87
|
export interface IntegrationArgs {
|
|
77
88
|
/**
|
|
78
|
-
* PagerDuty API key
|
|
89
|
+
* PagerDuty API key
|
|
79
90
|
*/
|
|
80
91
|
apiKey?: pulumi.Input<string>;
|
|
81
92
|
/**
|
|
82
|
-
* Whether the integration is enabled
|
|
93
|
+
* Whether the integration is enabled or not
|
|
83
94
|
*/
|
|
84
95
|
enabled: pulumi.Input<boolean>;
|
|
85
96
|
/**
|
|
86
|
-
* Name of the integration
|
|
97
|
+
* Name of the integration
|
|
87
98
|
*/
|
|
88
99
|
name?: pulumi.Input<string>;
|
|
89
100
|
}
|