@pulumi/wavefront 2.1.0 → 3.0.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/README.md +1 -1
- package/alert.d.ts +10 -10
- package/alert.js +1 -1
- package/alertTarget.d.ts +6 -53
- package/alertTarget.js +0 -53
- package/alertTarget.js.map +1 -1
- package/cloudIntegrationGcp.d.ts +3 -3
- package/dashboard.d.ts +6 -6
- package/dashboardJson.d.ts +14 -2
- package/dashboardJson.js +14 -2
- package/dashboardJson.js.map +1 -1
- package/package.json +2 -2
- package/serviceAccount.d.ts +3 -3
- package/types/input.d.ts +8 -0
- package/types/output.d.ts +10 -2
- package/user.d.ts +3 -3
package/README.md
CHANGED
package/alert.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a Wavefront Alert resource.
|
|
3
|
+
* Provides a Wavefront Alert resource. This allows alerts to be created, updated, and deleted.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
@@ -52,7 +52,7 @@ export declare class Alert extends pulumi.CustomResource {
|
|
|
52
52
|
*/
|
|
53
53
|
readonly additionalInformation: pulumi.Output<string | undefined>;
|
|
54
54
|
/**
|
|
55
|
-
* The type of alert in Wavefront.
|
|
55
|
+
* The type of alert in Wavefront. Either `CLASSIC` (default)
|
|
56
56
|
* or `THRESHOLD`.
|
|
57
57
|
*/
|
|
58
58
|
readonly alertType: pulumi.Output<string | undefined>;
|
|
@@ -79,7 +79,7 @@ export declare class Alert extends pulumi.CustomResource {
|
|
|
79
79
|
} | undefined>;
|
|
80
80
|
/**
|
|
81
81
|
* A second query whose results are displayed in the alert user
|
|
82
|
-
* interface instead of the condition query.
|
|
82
|
+
* interface instead of the condition query. This field is often used to display a version
|
|
83
83
|
* of the condition query with Boolean operators removed so that numerical values are plotted.
|
|
84
84
|
*/
|
|
85
85
|
readonly displayExpression: pulumi.Output<string | undefined>;
|
|
@@ -103,7 +103,7 @@ export declare class Alert extends pulumi.CustomResource {
|
|
|
103
103
|
readonly processRateMinutes: pulumi.Output<number | undefined>;
|
|
104
104
|
/**
|
|
105
105
|
* The number of consecutive minutes that a firing series matching the condition
|
|
106
|
-
* query must evaluate to "false" (zero value) before the alert resolves.
|
|
106
|
+
* query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
|
|
107
107
|
* the same value as `minutes`.
|
|
108
108
|
*/
|
|
109
109
|
readonly resolveAfterMinutes: pulumi.Output<number | undefined>;
|
|
@@ -146,7 +146,7 @@ export interface AlertState {
|
|
|
146
146
|
*/
|
|
147
147
|
additionalInformation?: pulumi.Input<string>;
|
|
148
148
|
/**
|
|
149
|
-
* The type of alert in Wavefront.
|
|
149
|
+
* The type of alert in Wavefront. Either `CLASSIC` (default)
|
|
150
150
|
* or `THRESHOLD`.
|
|
151
151
|
*/
|
|
152
152
|
alertType?: pulumi.Input<string>;
|
|
@@ -173,7 +173,7 @@ export interface AlertState {
|
|
|
173
173
|
}>;
|
|
174
174
|
/**
|
|
175
175
|
* A second query whose results are displayed in the alert user
|
|
176
|
-
* interface instead of the condition query.
|
|
176
|
+
* interface instead of the condition query. This field is often used to display a version
|
|
177
177
|
* of the condition query with Boolean operators removed so that numerical values are plotted.
|
|
178
178
|
*/
|
|
179
179
|
displayExpression?: pulumi.Input<string>;
|
|
@@ -197,7 +197,7 @@ export interface AlertState {
|
|
|
197
197
|
processRateMinutes?: pulumi.Input<number>;
|
|
198
198
|
/**
|
|
199
199
|
* The number of consecutive minutes that a firing series matching the condition
|
|
200
|
-
* query must evaluate to "false" (zero value) before the alert resolves.
|
|
200
|
+
* query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
|
|
201
201
|
* the same value as `minutes`.
|
|
202
202
|
*/
|
|
203
203
|
resolveAfterMinutes?: pulumi.Input<number>;
|
|
@@ -232,7 +232,7 @@ export interface AlertArgs {
|
|
|
232
232
|
*/
|
|
233
233
|
additionalInformation?: pulumi.Input<string>;
|
|
234
234
|
/**
|
|
235
|
-
* The type of alert in Wavefront.
|
|
235
|
+
* The type of alert in Wavefront. Either `CLASSIC` (default)
|
|
236
236
|
* or `THRESHOLD`.
|
|
237
237
|
*/
|
|
238
238
|
alertType?: pulumi.Input<string>;
|
|
@@ -259,7 +259,7 @@ export interface AlertArgs {
|
|
|
259
259
|
}>;
|
|
260
260
|
/**
|
|
261
261
|
* A second query whose results are displayed in the alert user
|
|
262
|
-
* interface instead of the condition query.
|
|
262
|
+
* interface instead of the condition query. This field is often used to display a version
|
|
263
263
|
* of the condition query with Boolean operators removed so that numerical values are plotted.
|
|
264
264
|
*/
|
|
265
265
|
displayExpression?: pulumi.Input<string>;
|
|
@@ -283,7 +283,7 @@ export interface AlertArgs {
|
|
|
283
283
|
processRateMinutes?: pulumi.Input<number>;
|
|
284
284
|
/**
|
|
285
285
|
* The number of consecutive minutes that a firing series matching the condition
|
|
286
|
-
* query must evaluate to "false" (zero value) before the alert resolves.
|
|
286
|
+
* query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
|
|
287
287
|
* the same value as `minutes`.
|
|
288
288
|
*/
|
|
289
289
|
resolveAfterMinutes?: pulumi.Input<number>;
|
package/alert.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Alert = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Wavefront Alert resource.
|
|
9
|
+
* Provides a Wavefront Alert resource. This allows alerts to be created, updated, and deleted.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
package/alertTarget.d.ts
CHANGED
|
@@ -25,59 +25,6 @@ import * as outputs from "./types/output";
|
|
|
25
25
|
* ],
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
-
* ## Attributes Reference
|
|
29
|
-
*
|
|
30
|
-
* * `targetId` - The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
|
31
|
-
*
|
|
32
|
-
* ### Route
|
|
33
|
-
*
|
|
34
|
-
* The `route` mapping supports the following:
|
|
35
|
-
*
|
|
36
|
-
* * `method` - (Required) The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
|
37
|
-
* * `target` - (Required) The endpoint for the alert route. `EMAIL`: email address. `PAGERDUTY`: PagerDuty routing
|
|
38
|
-
* key. `WEBHOOK`: URL endpoint.
|
|
39
|
-
* * `filter` - (Required) String that filters the route. Space delimited. Currently only allows a single key value pair.
|
|
40
|
-
* (e.g. `env prod`)
|
|
41
|
-
*
|
|
42
|
-
* ### Example
|
|
43
|
-
*
|
|
44
|
-
* ```typescript
|
|
45
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
-
* import * as wavefront from "@pulumi/wavefront";
|
|
47
|
-
*
|
|
48
|
-
* const testTarget = new wavefront.AlertTarget("testTarget", {
|
|
49
|
-
* contentType: "application/json",
|
|
50
|
-
* customHeaders: {
|
|
51
|
-
* Testing: "true",
|
|
52
|
-
* },
|
|
53
|
-
* description: "Test target",
|
|
54
|
-
* method: "WEBHOOK",
|
|
55
|
-
* recipient: "https://hooks.slack.com/services/test/me",
|
|
56
|
-
* routes: [
|
|
57
|
-
* {
|
|
58
|
-
* filter: {
|
|
59
|
-
* key: "env",
|
|
60
|
-
* value: "prod",
|
|
61
|
-
* },
|
|
62
|
-
* method: "WEBHOOK",
|
|
63
|
-
* target: "https://hooks.slack.com/services/test/me/prod",
|
|
64
|
-
* },
|
|
65
|
-
* {
|
|
66
|
-
* filter: {
|
|
67
|
-
* key: "env",
|
|
68
|
-
* value: "dev",
|
|
69
|
-
* },
|
|
70
|
-
* method: "WEBHOOK",
|
|
71
|
-
* target: "https://hooks.slack.com/services/test/me/dev",
|
|
72
|
-
* },
|
|
73
|
-
* ],
|
|
74
|
-
* template: "{}",
|
|
75
|
-
* triggers: [
|
|
76
|
-
* "ALERT_OPENED",
|
|
77
|
-
* "ALERT_RESOLVED",
|
|
78
|
-
* ],
|
|
79
|
-
* });
|
|
80
|
-
* ```
|
|
81
28
|
*
|
|
82
29
|
* ## Import
|
|
83
30
|
*
|
|
@@ -143,6 +90,9 @@ export declare class AlertTarget extends pulumi.CustomResource {
|
|
|
143
90
|
* List of routing targets that this alert target will notify. See Route
|
|
144
91
|
*/
|
|
145
92
|
readonly routes: pulumi.Output<outputs.AlertTargetRoute[] | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
|
95
|
+
*/
|
|
146
96
|
readonly targetId: pulumi.Output<string>;
|
|
147
97
|
/**
|
|
148
98
|
* A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
|
@@ -206,6 +156,9 @@ export interface AlertTargetState {
|
|
|
206
156
|
* List of routing targets that this alert target will notify. See Route
|
|
207
157
|
*/
|
|
208
158
|
routes?: pulumi.Input<pulumi.Input<inputs.AlertTargetRoute>[]>;
|
|
159
|
+
/**
|
|
160
|
+
* The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
|
161
|
+
*/
|
|
209
162
|
targetId?: pulumi.Input<string>;
|
|
210
163
|
/**
|
|
211
164
|
* A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
package/alertTarget.js
CHANGED
|
@@ -29,59 +29,6 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* ],
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
32
|
-
* ## Attributes Reference
|
|
33
|
-
*
|
|
34
|
-
* * `targetId` - The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
|
35
|
-
*
|
|
36
|
-
* ### Route
|
|
37
|
-
*
|
|
38
|
-
* The `route` mapping supports the following:
|
|
39
|
-
*
|
|
40
|
-
* * `method` - (Required) The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
|
41
|
-
* * `target` - (Required) The endpoint for the alert route. `EMAIL`: email address. `PAGERDUTY`: PagerDuty routing
|
|
42
|
-
* key. `WEBHOOK`: URL endpoint.
|
|
43
|
-
* * `filter` - (Required) String that filters the route. Space delimited. Currently only allows a single key value pair.
|
|
44
|
-
* (e.g. `env prod`)
|
|
45
|
-
*
|
|
46
|
-
* ### Example
|
|
47
|
-
*
|
|
48
|
-
* ```typescript
|
|
49
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
-
* import * as wavefront from "@pulumi/wavefront";
|
|
51
|
-
*
|
|
52
|
-
* const testTarget = new wavefront.AlertTarget("testTarget", {
|
|
53
|
-
* contentType: "application/json",
|
|
54
|
-
* customHeaders: {
|
|
55
|
-
* Testing: "true",
|
|
56
|
-
* },
|
|
57
|
-
* description: "Test target",
|
|
58
|
-
* method: "WEBHOOK",
|
|
59
|
-
* recipient: "https://hooks.slack.com/services/test/me",
|
|
60
|
-
* routes: [
|
|
61
|
-
* {
|
|
62
|
-
* filter: {
|
|
63
|
-
* key: "env",
|
|
64
|
-
* value: "prod",
|
|
65
|
-
* },
|
|
66
|
-
* method: "WEBHOOK",
|
|
67
|
-
* target: "https://hooks.slack.com/services/test/me/prod",
|
|
68
|
-
* },
|
|
69
|
-
* {
|
|
70
|
-
* filter: {
|
|
71
|
-
* key: "env",
|
|
72
|
-
* value: "dev",
|
|
73
|
-
* },
|
|
74
|
-
* method: "WEBHOOK",
|
|
75
|
-
* target: "https://hooks.slack.com/services/test/me/dev",
|
|
76
|
-
* },
|
|
77
|
-
* ],
|
|
78
|
-
* template: "{}",
|
|
79
|
-
* triggers: [
|
|
80
|
-
* "ALERT_OPENED",
|
|
81
|
-
* "ALERT_RESOLVED",
|
|
82
|
-
* ],
|
|
83
|
-
* });
|
|
84
|
-
* ```
|
|
85
32
|
*
|
|
86
33
|
* ## Import
|
|
87
34
|
*
|
package/alertTarget.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertTarget.js","sourceRoot":"","sources":["../alertTarget.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I,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtIL,kCAuIC;AAzHG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
|
package/cloudIntegrationGcp.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export declare class CloudIntegrationGcp extends pulumi.CustomResource {
|
|
|
48
48
|
[key: string]: string;
|
|
49
49
|
} | undefined>;
|
|
50
50
|
/**
|
|
51
|
-
* A list of Google Cloud Platform (GCP) services.
|
|
51
|
+
* A list of Google Cloud Platform (GCP) services. Valid values are `APPENGINE`,
|
|
52
52
|
* `BIGQUERY`, `BIGTABLE`, `CLOUDFUNCTIONS`, `CLOUDIOT`, `CLOUDSQL`, `CLOUDTASKS`, `COMPUTE`, `CONTAINER`,
|
|
53
53
|
* `DATAFLOW`, `DATAPROC`, `DATASTORE`, `FIREBASEDATABASE`, `FIREBASEHOSTING`, `FIRESTORE`, `INTERCONNECT`,
|
|
54
54
|
* `LOADBALANCING`, `LOGGING`, `ML`, `MONITORING`, `PUBSUB`, `REDIS`, `ROUTER`, `SERVICERUNTIME`, `SPANNER`, `STORAGE`,
|
|
@@ -104,7 +104,7 @@ export interface CloudIntegrationGcpState {
|
|
|
104
104
|
[key: string]: pulumi.Input<string>;
|
|
105
105
|
}>;
|
|
106
106
|
/**
|
|
107
|
-
* A list of Google Cloud Platform (GCP) services.
|
|
107
|
+
* A list of Google Cloud Platform (GCP) services. Valid values are `APPENGINE`,
|
|
108
108
|
* `BIGQUERY`, `BIGTABLE`, `CLOUDFUNCTIONS`, `CLOUDIOT`, `CLOUDSQL`, `CLOUDTASKS`, `COMPUTE`, `CONTAINER`,
|
|
109
109
|
* `DATAFLOW`, `DATAPROC`, `DATASTORE`, `FIREBASEDATABASE`, `FIREBASEHOSTING`, `FIRESTORE`, `INTERCONNECT`,
|
|
110
110
|
* `LOADBALANCING`, `LOGGING`, `ML`, `MONITORING`, `PUBSUB`, `REDIS`, `ROUTER`, `SERVICERUNTIME`, `SPANNER`, `STORAGE`,
|
|
@@ -152,7 +152,7 @@ export interface CloudIntegrationGcpArgs {
|
|
|
152
152
|
[key: string]: pulumi.Input<string>;
|
|
153
153
|
}>;
|
|
154
154
|
/**
|
|
155
|
-
* A list of Google Cloud Platform (GCP) services.
|
|
155
|
+
* A list of Google Cloud Platform (GCP) services. Valid values are `APPENGINE`,
|
|
156
156
|
* `BIGQUERY`, `BIGTABLE`, `CLOUDFUNCTIONS`, `CLOUDIOT`, `CLOUDSQL`, `CLOUDTASKS`, `COMPUTE`, `CONTAINER`,
|
|
157
157
|
* `DATAFLOW`, `DATAPROC`, `DATASTORE`, `FIREBASEDATABASE`, `FIREBASEHOSTING`, `FIRESTORE`, `INTERCONNECT`,
|
|
158
158
|
* `LOADBALANCING`, `LOGGING`, `ML`, `MONITORING`, `PUBSUB`, `REDIS`, `ROUTER`, `SERVICERUNTIME`, `SPANNER`, `STORAGE`,
|
package/dashboard.d.ts
CHANGED
|
@@ -29,11 +29,11 @@ export declare class Dashboard extends pulumi.CustomResource {
|
|
|
29
29
|
*/
|
|
30
30
|
static isInstance(obj: any): obj is Dashboard;
|
|
31
31
|
/**
|
|
32
|
-
* A list of users that
|
|
32
|
+
* A list of users/groups/roles that can modify the dashboard.
|
|
33
33
|
*/
|
|
34
34
|
readonly canModifies: pulumi.Output<string[]>;
|
|
35
35
|
/**
|
|
36
|
-
* A list of users that
|
|
36
|
+
* A list of users/groups/roles that can view the dashboard.
|
|
37
37
|
*/
|
|
38
38
|
readonly canViews: pulumi.Output<string[] | undefined>;
|
|
39
39
|
/**
|
|
@@ -89,11 +89,11 @@ export declare class Dashboard extends pulumi.CustomResource {
|
|
|
89
89
|
*/
|
|
90
90
|
export interface DashboardState {
|
|
91
91
|
/**
|
|
92
|
-
* A list of users that
|
|
92
|
+
* A list of users/groups/roles that can modify the dashboard.
|
|
93
93
|
*/
|
|
94
94
|
canModifies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
95
95
|
/**
|
|
96
|
-
* A list of users that
|
|
96
|
+
* A list of users/groups/roles that can view the dashboard.
|
|
97
97
|
*/
|
|
98
98
|
canViews?: pulumi.Input<pulumi.Input<string>[]>;
|
|
99
99
|
/**
|
|
@@ -141,11 +141,11 @@ export interface DashboardState {
|
|
|
141
141
|
*/
|
|
142
142
|
export interface DashboardArgs {
|
|
143
143
|
/**
|
|
144
|
-
* A list of users that
|
|
144
|
+
* A list of users/groups/roles that can modify the dashboard.
|
|
145
145
|
*/
|
|
146
146
|
canModifies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
147
147
|
/**
|
|
148
|
-
* A list of users that
|
|
148
|
+
* A list of users/groups/roles that can view the dashboard.
|
|
149
149
|
*/
|
|
150
150
|
canViews?: pulumi.Input<pulumi.Input<string>[]>;
|
|
151
151
|
/**
|
package/dashboardJson.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a Wavefront Dashboard JSON resource.
|
|
3
|
+
* Provides a Wavefront Dashboard JSON resource. This allows dashboards to be created, updated, and deleted.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
@@ -9,6 +9,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as wavefront from "@pulumi/wavefront";
|
|
10
10
|
*
|
|
11
11
|
* const testDashboardJson = new wavefront.DashboardJson("testDashboardJson", {dashboardJson: ` {
|
|
12
|
+
* "acl": {
|
|
13
|
+
* "canModify": [
|
|
14
|
+
* "group-uuid",
|
|
15
|
+
* "role-uuid"
|
|
16
|
+
* ],
|
|
17
|
+
* "canView": [
|
|
18
|
+
* "group-uuid",
|
|
19
|
+
* "role-uuid"
|
|
20
|
+
* ]
|
|
21
|
+
* },
|
|
12
22
|
* "name": "Terraform Test Dashboard Json",
|
|
13
23
|
* "description": "a",
|
|
14
24
|
* "eventFilterType": "BYCHART",
|
|
@@ -121,7 +131,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
121
131
|
* `});
|
|
122
132
|
* ```
|
|
123
133
|
*
|
|
124
|
-
*
|
|
134
|
+
* *
|
|
135
|
+
* *Note:
|
|
136
|
+
* ** If there are dynamic variables in the Wavefront dashboard json, then these variables must be present in a separate file as mentioned in the section below.
|
|
125
137
|
*
|
|
126
138
|
* ## Import
|
|
127
139
|
*
|
package/dashboardJson.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.DashboardJson = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Wavefront Dashboard JSON resource.
|
|
9
|
+
* Provides a Wavefront Dashboard JSON resource. This allows dashboards to be created, updated, and deleted.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -15,6 +15,16 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as wavefront from "@pulumi/wavefront";
|
|
16
16
|
*
|
|
17
17
|
* const testDashboardJson = new wavefront.DashboardJson("testDashboardJson", {dashboardJson: ` {
|
|
18
|
+
* "acl": {
|
|
19
|
+
* "canModify": [
|
|
20
|
+
* "group-uuid",
|
|
21
|
+
* "role-uuid"
|
|
22
|
+
* ],
|
|
23
|
+
* "canView": [
|
|
24
|
+
* "group-uuid",
|
|
25
|
+
* "role-uuid"
|
|
26
|
+
* ]
|
|
27
|
+
* },
|
|
18
28
|
* "name": "Terraform Test Dashboard Json",
|
|
19
29
|
* "description": "a",
|
|
20
30
|
* "eventFilterType": "BYCHART",
|
|
@@ -127,7 +137,9 @@ const utilities = require("./utilities");
|
|
|
127
137
|
* `});
|
|
128
138
|
* ```
|
|
129
139
|
*
|
|
130
|
-
*
|
|
140
|
+
* *
|
|
141
|
+
* *Note:
|
|
142
|
+
* ** If there are dynamic variables in the Wavefront dashboard json, then these variables must be present in a separate file as mentioned in the section below.
|
|
131
143
|
*
|
|
132
144
|
* ## Import
|
|
133
145
|
*
|
package/dashboardJson.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardJson.js","sourceRoot":"","sources":["../dashboardJson.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dashboardJson.js","sourceRoot":"","sources":["../dashboardJson.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+IG;AACH,MAAa,aAAc,SA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,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAzDL,sCA0DC;AA5CG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/wavefront",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v3.0.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing wavefront cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource wavefront
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource wavefront v3.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/serviceAccount.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare class ServiceAccount extends pulumi.CustomResource {
|
|
|
55
55
|
*/
|
|
56
56
|
readonly ingestionPolicy: pulumi.Output<string | undefined>;
|
|
57
57
|
/**
|
|
58
|
-
* List of permission to grant to this service account.
|
|
58
|
+
* List of permission to grant to this service account. Valid options are
|
|
59
59
|
* `agentManagement`, `alertsManagement`, `dashboardManagement`, `embeddedCharts`, `eventsManagement`, `externalLinksManagement`,
|
|
60
60
|
* `hostTagManagement`, `metricsManagement`, and `userManagement`.
|
|
61
61
|
*/
|
|
@@ -94,7 +94,7 @@ export interface ServiceAccountState {
|
|
|
94
94
|
*/
|
|
95
95
|
ingestionPolicy?: pulumi.Input<string>;
|
|
96
96
|
/**
|
|
97
|
-
* List of permission to grant to this service account.
|
|
97
|
+
* List of permission to grant to this service account. Valid options are
|
|
98
98
|
* `agentManagement`, `alertsManagement`, `dashboardManagement`, `embeddedCharts`, `eventsManagement`, `externalLinksManagement`,
|
|
99
99
|
* `hostTagManagement`, `metricsManagement`, and `userManagement`.
|
|
100
100
|
*/
|
|
@@ -125,7 +125,7 @@ export interface ServiceAccountArgs {
|
|
|
125
125
|
*/
|
|
126
126
|
ingestionPolicy?: pulumi.Input<string>;
|
|
127
127
|
/**
|
|
128
|
-
* List of permission to grant to this service account.
|
|
128
|
+
* List of permission to grant to this service account. Valid options are
|
|
129
129
|
* `agentManagement`, `alertsManagement`, `dashboardManagement`, `embeddedCharts`, `eventsManagement`, `externalLinksManagement`,
|
|
130
130
|
* `hostTagManagement`, `metricsManagement`, and `userManagement`.
|
|
131
131
|
*/
|
package/types/input.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
export interface AlertTargetRoute {
|
|
4
|
+
/**
|
|
5
|
+
* (Required) String that filters the route. Space delimited. Currently only allows a single key value pair.
|
|
6
|
+
* (e.g. `env prod`)
|
|
7
|
+
*/
|
|
4
8
|
filter?: pulumi.Input<{
|
|
5
9
|
[key: string]: pulumi.Input<string>;
|
|
6
10
|
}>;
|
|
@@ -8,6 +12,10 @@ export interface AlertTargetRoute {
|
|
|
8
12
|
* The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
|
9
13
|
*/
|
|
10
14
|
method: pulumi.Input<string>;
|
|
15
|
+
/**
|
|
16
|
+
* (Required) The endpoint for the alert route. `EMAIL`: email address. `PAGERDUTY`: PagerDuty routing
|
|
17
|
+
* key. `WEBHOOK`: URL endpoint.
|
|
18
|
+
*/
|
|
11
19
|
target: pulumi.Input<string>;
|
|
12
20
|
}
|
|
13
21
|
export interface CloudIntegrationNewRelicMetricFilter {
|
package/types/output.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
2
|
export interface AlertTargetRoute {
|
|
3
|
+
/**
|
|
4
|
+
* (Required) String that filters the route. Space delimited. Currently only allows a single key value pair.
|
|
5
|
+
* (e.g. `env prod`)
|
|
6
|
+
*/
|
|
3
7
|
filter?: {
|
|
4
8
|
[key: string]: string;
|
|
5
9
|
};
|
|
@@ -7,6 +11,10 @@ export interface AlertTargetRoute {
|
|
|
7
11
|
* The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
|
8
12
|
*/
|
|
9
13
|
method: string;
|
|
14
|
+
/**
|
|
15
|
+
* (Required) The endpoint for the alert route. `EMAIL`: email address. `PAGERDUTY`: PagerDuty routing
|
|
16
|
+
* key. `WEBHOOK`: URL endpoint.
|
|
17
|
+
*/
|
|
10
18
|
target: string;
|
|
11
19
|
}
|
|
12
20
|
export interface CloudIntegrationNewRelicMetricFilter {
|
|
@@ -761,7 +769,7 @@ export interface GetDashboardSectionRowChartChartSetting {
|
|
|
761
769
|
*/
|
|
762
770
|
timeBasedColoring: boolean;
|
|
763
771
|
/**
|
|
764
|
-
* Chart Type. `line` refers to the Line Plot, `scatter` to the Point Plot, `stacked-area` to the Stacked Area plot, `table` to the Tabular View, `scatterplot-xy` to Scatter Plot, `markdown-widget` to the Markdown display, and `sparkline` to the Single Stat view. Valid options are
|
|
772
|
+
* Chart Type. `line` refers to the Line Plot, `scatter` to the Point Plot, `stacked-area` to the Stacked Area plot, `table` to the Tabular View, `scatterplot-xy` to Scatter Plot, `markdown-widget` to the Markdown display, and `sparkline` to the Single Stat view. Valid options are`line`, `scatterplot`,
|
|
765
773
|
* `stacked-area`, `stacked-column`, `table`, `scatterplot-xy`, `markdown-widget`, `sparkline`, `globe`, `nodemap`, `top-k`, `status-list`, and `histogram`.
|
|
766
774
|
*/
|
|
767
775
|
type: string;
|
|
@@ -1156,7 +1164,7 @@ export interface GetDashboardsDashboardSectionRowChartChartSetting {
|
|
|
1156
1164
|
*/
|
|
1157
1165
|
timeBasedColoring: boolean;
|
|
1158
1166
|
/**
|
|
1159
|
-
* Chart Type. `line` refers to the Line Plot, `scatter` to the Point Plot, `stacked-area` to the Stacked Area plot, `table` to the Tabular View, `scatterplot-xy` to Scatter Plot, `markdown-widget` to the Markdown display, and `sparkline` to the Single Stat view. Valid options are
|
|
1167
|
+
* Chart Type. `line` refers to the Line Plot, `scatter` to the Point Plot, `stacked-area` to the Stacked Area plot, `table` to the Tabular View, `scatterplot-xy` to Scatter Plot, `markdown-widget` to the Markdown display, and `sparkline` to the Single Stat view. Valid options are`line`, `scatterplot`, `stacked-area`, `stacked-column`, `table`, `scatterplot-xy`, `markdown-widget`, `sparkline`, `globe`, `nodemap`, `top-k`, `status-list`, and `histogram`.
|
|
1160
1168
|
*/
|
|
1161
1169
|
type: string;
|
|
1162
1170
|
/**
|
package/user.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare class User extends pulumi.CustomResource {
|
|
|
44
44
|
*/
|
|
45
45
|
readonly email: pulumi.Output<string>;
|
|
46
46
|
/**
|
|
47
|
-
* List of permission to grant to this user.
|
|
47
|
+
* List of permission to grant to this user. Valid options are
|
|
48
48
|
* `agentManagement`, `alertsManagement`, `dashboardManagement`, `embeddedCharts`, `eventsManagement`, `externalLinksManagement`,
|
|
49
49
|
* `hostTagManagement`, `metricsManagement`, and `userManagement`.
|
|
50
50
|
*/
|
|
@@ -75,7 +75,7 @@ export interface UserState {
|
|
|
75
75
|
*/
|
|
76
76
|
email?: pulumi.Input<string>;
|
|
77
77
|
/**
|
|
78
|
-
* List of permission to grant to this user.
|
|
78
|
+
* List of permission to grant to this user. Valid options are
|
|
79
79
|
* `agentManagement`, `alertsManagement`, `dashboardManagement`, `embeddedCharts`, `eventsManagement`, `externalLinksManagement`,
|
|
80
80
|
* `hostTagManagement`, `metricsManagement`, and `userManagement`.
|
|
81
81
|
*/
|
|
@@ -98,7 +98,7 @@ export interface UserArgs {
|
|
|
98
98
|
*/
|
|
99
99
|
email: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
|
-
* List of permission to grant to this user.
|
|
101
|
+
* List of permission to grant to this user. Valid options are
|
|
102
102
|
* `agentManagement`, `alertsManagement`, `dashboardManagement`, `embeddedCharts`, `eventsManagement`, `externalLinksManagement`,
|
|
103
103
|
* `hostTagManagement`, `metricsManagement`, and `userManagement`.
|
|
104
104
|
*/
|