@pulumi/wavefront 1.1.0 → 1.1.1

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.
Files changed (85) hide show
  1. package/alert.d.ts +25 -22
  2. package/alert.js +34 -36
  3. package/alert.js.map +1 -1
  4. package/alertTarget.d.ts +9 -9
  5. package/alertTarget.js +27 -29
  6. package/alertTarget.js.map +1 -1
  7. package/cloudIntegrationAppDynamics.d.ts +56 -56
  8. package/cloudIntegrationAppDynamics.js +39 -41
  9. package/cloudIntegrationAppDynamics.js.map +1 -1
  10. package/cloudIntegrationAwsExternalId.d.ts +2 -2
  11. package/cloudIntegrationAwsExternalId.js +5 -7
  12. package/cloudIntegrationAwsExternalId.js.map +1 -1
  13. package/cloudIntegrationAzure.d.ts +32 -32
  14. package/cloudIntegrationAzure.js +27 -29
  15. package/cloudIntegrationAzure.js.map +1 -1
  16. package/cloudIntegrationAzureActivityLog.d.ts +29 -29
  17. package/cloudIntegrationAzureActivityLog.js +23 -25
  18. package/cloudIntegrationAzureActivityLog.js.map +1 -1
  19. package/cloudIntegrationCloudTrail.d.ts +31 -31
  20. package/cloudIntegrationCloudTrail.js +26 -28
  21. package/cloudIntegrationCloudTrail.js.map +1 -1
  22. package/cloudIntegrationCloudWatch.d.ts +51 -51
  23. package/cloudIntegrationCloudWatch.js +30 -32
  24. package/cloudIntegrationCloudWatch.js.map +1 -1
  25. package/cloudIntegrationEc2.d.ts +38 -23
  26. package/cloudIntegrationEc2.js +21 -23
  27. package/cloudIntegrationEc2.js.map +1 -1
  28. package/cloudIntegrationGcp.d.ts +30 -30
  29. package/cloudIntegrationGcp.js +24 -26
  30. package/cloudIntegrationGcp.js.map +1 -1
  31. package/cloudIntegrationGcpBilling.d.ts +26 -26
  32. package/cloudIntegrationGcpBilling.js +21 -23
  33. package/cloudIntegrationGcpBilling.js.map +1 -1
  34. package/cloudIntegrationNewRelic.d.ts +29 -29
  35. package/cloudIntegrationNewRelic.js +23 -25
  36. package/cloudIntegrationNewRelic.js.map +1 -1
  37. package/cloudIntegrationTesla.d.ts +23 -23
  38. package/cloudIntegrationTesla.js +19 -21
  39. package/cloudIntegrationTesla.js.map +1 -1
  40. package/config/index.js +5 -1
  41. package/config/index.js.map +1 -1
  42. package/dashboard.d.ts +34 -34
  43. package/dashboard.js +26 -28
  44. package/dashboard.js.map +1 -1
  45. package/dashboardJson.d.ts +4 -4
  46. package/dashboardJson.js +6 -8
  47. package/dashboardJson.js.map +1 -1
  48. package/derivedMetric.d.ts +13 -13
  49. package/derivedMetric.js +14 -16
  50. package/derivedMetric.js.map +1 -1
  51. package/externalLink.d.ts +22 -13
  52. package/externalLink.js +18 -20
  53. package/externalLink.js.map +1 -1
  54. package/getDefaultUserGroup.d.ts +1 -1
  55. package/getDefaultUserGroup.js +1 -3
  56. package/getDefaultUserGroup.js.map +1 -1
  57. package/index.js +5 -1
  58. package/index.js.map +1 -1
  59. package/ingestionPolicy.d.ts +7 -7
  60. package/ingestionPolicy.js +8 -10
  61. package/ingestionPolicy.js.map +1 -1
  62. package/maintenanceWindow.d.ts +54 -21
  63. package/maintenanceWindow.js +21 -23
  64. package/maintenanceWindow.js.map +1 -1
  65. package/package.json +3 -3
  66. package/package.json.bak +3 -2
  67. package/package.json.dev +4 -3
  68. package/provider.js +6 -8
  69. package/provider.js.map +1 -1
  70. package/role.d.ts +12 -12
  71. package/role.js +14 -16
  72. package/role.js.map +1 -1
  73. package/serviceAccount.d.ts +19 -19
  74. package/serviceAccount.js +16 -18
  75. package/serviceAccount.js.map +1 -1
  76. package/types/input.d.ts +86 -86
  77. package/types/output.d.ts +86 -86
  78. package/user.d.ts +11 -11
  79. package/user.js +13 -15
  80. package/user.js.map +1 -1
  81. package/userGroup.d.ts +7 -7
  82. package/userGroup.js +8 -10
  83. package/userGroup.js.map +1 -1
  84. package/utilities.js +6 -1
  85. package/utilities.js.map +1 -1
package/types/output.d.ts CHANGED
@@ -11,51 +11,51 @@ export interface AlertTargetRoute {
11
11
  }
12
12
  export interface CloudIntegrationNewRelicMetricFilter {
13
13
  /**
14
- * The name of a NewRelic App
14
+ * The name of a NewRelic App.
15
15
  */
16
16
  appName: string;
17
17
  /**
18
- * A regular expression that a metric name must match (case-insensitively) in order to be ingested
18
+ * A regular expression that a metric name must match (case-insensitively) in order to be ingested.
19
19
  */
20
20
  metricFilterRegex: string;
21
21
  }
22
22
  export interface DashboardParameterDetail {
23
23
  /**
24
- * The default value of the parameter
24
+ * The default value of the parameter.
25
25
  */
26
26
  defaultValue: string;
27
27
  /**
28
28
  * For `DYNAMIC` parameter types, the type of the field. Valid options are `SOURCE`,
29
- * `SOURCE_TAG`, `METRIC_NAME`, `TAG_KEY`, `MATCHING_SOURCE_TAG`
29
+ * `SOURCE_TAG`, `METRIC_NAME`, `TAG_KEY`, and `MATCHING_SOURCE_TAG`.
30
30
  */
31
31
  dynamicFieldType?: string;
32
32
  /**
33
- * If `true` the parameter will only be shown on the edit view of the dashboard
33
+ * If `true` the parameter will only be shown on the edit view of the dashboard.
34
34
  */
35
35
  hideFromView: boolean;
36
36
  /**
37
- * The label for the parameter
37
+ * The label for the parameter.
38
38
  */
39
39
  label: string;
40
40
  /**
41
- * The name of the parameters
41
+ * The name of the parameters.
42
42
  */
43
43
  name: string;
44
44
  /**
45
- * The type of the parameter. `SIMPLE`, `LIST`, or `DYNAMIC`
45
+ * The type of the parameter. `SIMPLE`, `LIST`, or `DYNAMIC`.
46
46
  */
47
47
  parameterType: string;
48
48
  /**
49
- * For `DYNAMIC` parameter types, the query to execute to return values
49
+ * For `DYNAMIC` parameter types, the query to execute to return values.
50
50
  */
51
51
  queryValue?: string;
52
52
  /**
53
- * for `TAG_KEY` dynamic field types, the tag key to return
53
+ * for `TAG_KEY` dynamic field types, the tag key to return.
54
54
  */
55
55
  tagKey?: string;
56
56
  /**
57
57
  * A string->string map. At least one of the keys must match the value of
58
- * `defaultValue`
58
+ * `defaultValue`.
59
59
  */
60
60
  valuesToReadableStrings: {
61
61
  [key: string]: string;
@@ -63,17 +63,17 @@ export interface DashboardParameterDetail {
63
63
  }
64
64
  export interface DashboardSection {
65
65
  /**
66
- * Name of this section
66
+ * Name of this section.
67
67
  */
68
68
  name: string;
69
69
  /**
70
- * See dashboard section rows
70
+ * See dashboard section rows.
71
71
  */
72
72
  rows: outputs.DashboardSectionRow[];
73
73
  }
74
74
  export interface DashboardSectionRow {
75
75
  /**
76
- * Charts in this section. See dashboard chart
76
+ * Charts in this section. See dashboard chart.
77
77
  */
78
78
  charts: outputs.DashboardSectionRowChart[];
79
79
  }
@@ -84,110 +84,110 @@ export interface DashboardSectionRowChart {
84
84
  base?: number;
85
85
  chartAttribute?: string;
86
86
  /**
87
- * Chart settings. See chart settings
87
+ * Chart settings. See chart settings.
88
88
  */
89
89
  chartSetting: outputs.DashboardSectionRowChartChartSetting;
90
90
  /**
91
- * Description of the chart
91
+ * Description of the chart.
92
92
  */
93
93
  description?: string;
94
94
  /**
95
- * Name of the source
95
+ * Name of the source.
96
96
  */
97
97
  name: string;
98
98
  /**
99
- * Query expression to plot on the chart. See chart source queries
99
+ * Query expression to plot on the chart. See chart source queries.
100
100
  */
101
101
  sources: outputs.DashboardSectionRowChartSource[];
102
102
  /**
103
103
  * Summarization strategy for the chart. MEAN is default. Valid options are, `MEAN`,
104
- * `MEDIAN`, `MIN`, `MAX`, `SUM`, `COUNT`, `LAST`, `FIRST`
104
+ * `MEDIAN`, `MIN`, `MAX`, `SUM`, `COUNT`, `LAST`, `FIRST`.
105
105
  */
106
106
  summarization: string;
107
107
  /**
108
- * String to label the units of the chart on the Y-Axis
108
+ * String to label the units of the chart on the Y-Axis.
109
109
  */
110
110
  units: string;
111
111
  }
112
112
  export interface DashboardSectionRowChartChartSetting {
113
113
  /**
114
- * deprecated
114
+ * This setting is deprecated.
115
115
  */
116
116
  autoColumnTags?: boolean;
117
117
  /**
118
- * deprecated
118
+ * This setting is deprecated.
119
119
  */
120
120
  columnTags?: string;
121
121
  /**
122
- * For the tabular view, a list of point tags to display when using the `custom` tag display mode
122
+ * For the tabular view, a list of point tags to display when using the `custom` tag display mode.
123
123
  */
124
124
  customTags?: string[];
125
125
  /**
126
126
  * Threshold (in seconds) for time delta between consecutive points in a series
127
- * above which a dotted line will replace a solid in in line plots. Default 60
127
+ * above which a dotted line will replace a solid in in line plots. Default is 60.
128
128
  */
129
129
  expectedDataSpacing?: number;
130
130
  /**
131
- * For a chart with a fixed legend, a list of statistics to display in the legend
131
+ * For a chart with a fixed legend, a list of statistics to display in the legend.
132
132
  */
133
133
  fixedLegendDisplayStats?: string[];
134
134
  /**
135
- * Whether to enable a fixed tabular legend adjacent to the chart
135
+ * Whether to enable a fixed tabular legend adjacent to the chart.
136
136
  */
137
137
  fixedLegendEnabled?: boolean;
138
138
  /**
139
139
  * Statistic to use for determining whether a series is displayed on the fixed legend.
140
- * Valid options are `CURRENT`, `MEAN`, `MEDIAN`, `SUM`, `MIN`, `MAX`, `COUNT`
140
+ * Valid options are `CURRENT`, `MEAN`, `MEDIAN`, `SUM`, `MIN`, `MAX`, and `COUNT`.
141
141
  */
142
142
  fixedLegendFilterField?: string;
143
143
  /**
144
- * Number of series to include in the fixed legend
144
+ * Number of series to include in the fixed legend.
145
145
  */
146
146
  fixedLegendFilterLimit?: number;
147
147
  /**
148
148
  * Whether to display `TOP` or `BOTTOM` ranked series in a fixed legend. Valid options
149
- * are `TOP`, and `BOTTOM`
149
+ * are `TOP`, and `BOTTOM`.
150
150
  */
151
151
  fixedLegendFilterSort?: string;
152
152
  /**
153
- * deprecated
153
+ * This setting is deprecated.
154
154
  */
155
155
  fixedLegendHideLabel?: boolean;
156
156
  /**
157
- * Where the fixed legend should be displayed with respect ot the chart.
158
- * Valid options are `RIGHt`, `TOP`, `LEFT`, `BOTTOM`
157
+ * Where the fixed legend should be displayed with respect to the chart.
158
+ * Valid options are `RIGHT`, `TOP`, `LEFT`, `BOTTOM`.
159
159
  */
160
160
  fixedLegendPosition?: string;
161
161
  /**
162
- * If `true`, the legend uses non-summarized stats instead of summarized
162
+ * If `true`, the legend uses non-summarized stats instead of summarized.
163
163
  */
164
164
  fixedLegendUseRawStats?: boolean;
165
165
  /**
166
166
  * For the tabular view, whether to group multi metrics into a single row by a common source.
167
- * If `false`, each source is displayed in its own row. if `true`, multiple metrics for the same host will be displayed as different
168
- * columns in the same row
167
+ * If `false`, each source is displayed in its own row. if `true`, multiple metrics for the same host are displayed as different
168
+ * columns in the same row.
169
169
  */
170
170
  groupBySource?: boolean;
171
171
  /**
172
172
  * Whether to disable the display of the floating legend (but
173
- * reenable it when the ctrl-key is pressed)
173
+ * reenable it when the ctrl-key is pressed).
174
174
  */
175
175
  invertDynamicLegendHoverControl?: boolean;
176
176
  /**
177
177
  * Plot interpolation type. `linear` is default. Valid options are `linear`, `step-before`,
178
- * `step-after`, `basis`, `cardinal`, `monotone`
178
+ * `step-after`, `basis`, `cardinal`, and `monotone`.
179
179
  */
180
180
  lineType?: string;
181
181
  /**
182
- * Max value of the Y-axis. Set to null or leave blank for auto
182
+ * Max value of the Y-axis. Set to null or leave blank for auto.
183
183
  */
184
184
  max?: number;
185
185
  /**
186
- * Min value of the Y-axis. Set to null or leave blank for auto
186
+ * Min value of the Y-axis. Set to null or leave blank for auto.
187
187
  */
188
188
  min?: number;
189
189
  /**
190
- * For the tabular view, how many point tags to display
190
+ * For the tabular view defines how many point tags to display.
191
191
  */
192
192
  numTags?: number;
193
193
  /**
@@ -195,191 +195,191 @@ export interface DashboardSectionRowChartChartSetting {
195
195
  */
196
196
  plainMarkdownContent?: string;
197
197
  /**
198
- * For the tabular view, whether to display sources. Default is `true`
198
+ * For the tabular view, whether to display sources. Default is `true`.
199
199
  */
200
200
  showHosts?: boolean;
201
201
  /**
202
- * For the tabular view, whether to display labels. Default is `true`
202
+ * For the tabular view, whether to display labels. Default is `true`.
203
203
  */
204
204
  showLabels?: boolean;
205
205
  /**
206
- * For the tabular view, whether to display raw values. Default is `false`
206
+ * For the tabular view, whether to display raw values. Default is `false`.
207
207
  */
208
208
  showRawValues?: boolean;
209
209
  /**
210
- * For the tabular view, whether to display display values in descending order. Default is `false`
210
+ * For the tabular view, whether to display values in descending order. Default is `false`.
211
211
  */
212
212
  sortValuesDescending?: boolean;
213
213
  /**
214
- * For the single stat view, the decimal precision of the displayed number
214
+ * For the single stat view, the decimal precision of the displayed number.
215
215
  */
216
216
  sparklineDecimalPrecision?: number;
217
217
  /**
218
218
  * For the single stat view, the color of the displayed text (when not dynamically determined).
219
- * Values should be in `rgba(,,,,)` format
219
+ * Values should be in `rgba(,,,,)` format.
220
220
  */
221
221
  sparklineDisplayColor?: string;
222
222
  /**
223
- * For the single stat view, the font size of the displayed text, in percent
223
+ * For the single stat view, the font size of the displayed text, in percent.
224
224
  */
225
225
  sparklineDisplayFontSize?: string;
226
226
  /**
227
227
  * For the single stat view, the horizontal position of the displayed text.
228
- * Valid options are `MIDDLE`, `LEFT`, `RIGHT`
228
+ * Valid options are `MIDDLE`, `LEFT`, `RIGHT`.
229
229
  */
230
230
  sparklineDisplayHorizontalPosition?: string;
231
231
  /**
232
- * For the single stat view, a string to append to the displayed text
232
+ * For the single stat view, a string to append to the displayed text.
233
233
  */
234
234
  sparklineDisplayPostfix?: string;
235
235
  /**
236
- * For the single stat view, a string to add before the displayed text
236
+ * For the single stat view, a string to add before the displayed text.
237
237
  */
238
238
  sparklineDisplayPrefix?: string;
239
239
  /**
240
240
  * For the single stat view, where to display the name of the query or the value of the query.
241
- * Valid options are `VALUE` or `LABEL`
241
+ * Valid options are `VALUE` or `LABEL`.
242
242
  */
243
243
  sparklineDisplayValueType?: string;
244
244
  /**
245
- * deprecated
245
+ * This setting is deprecated.
246
246
  */
247
247
  sparklineDisplayVerticalPosition?: string;
248
248
  /**
249
249
  * For the single stat view, the color of the background fill. Values should be
250
- * in `rgba(,,,,)`
250
+ * in `rgba(,,,,)`.
251
251
  */
252
252
  sparklineFillColor?: string;
253
253
  /**
254
- * For the single stat view, the color of the line. Values should be in `rgba(,,,,)` format
254
+ * For the single stat view, the color of the line. Values should be in `rgba(,,,,)` format.
255
255
  */
256
256
  sparklineLineColor?: string;
257
257
  /**
258
- * For the single stat view, This determines whether the sparkline of the statistic is displayed in the chart `BACKGROUND`, `BOTTOM`, or `NONE`.
259
- * Valid options are `BACKGROUND`, `BOTTOM`, `NONE`
258
+ * For the single stat view, this determines whether the sparkline of the statistic is displayed in the chart.
259
+ * Valid options are `BACKGROUND`, `BOTTOM`, `NONE`.
260
260
  */
261
261
  sparklineSize?: string;
262
262
  /**
263
- * For the single stat view, whether to apply dyunamic color settings to
264
- * the displayed `TEXT` or `BACKGROUND`. Valid options are `TEXT` or `BACKGROUND`
263
+ * For the single stat view, whether to apply dynamic color settings to
264
+ * the displayed `TEXT` or `BACKGROUND`. Valid options are `TEXT` or `BACKGROUND`.
265
265
  */
266
266
  sparklineValueColorMapApplyTo?: string;
267
267
  /**
268
268
  * For the single stat view, A list of colors that differing query values map to.
269
- * Must contain one more element than `sparklineValueColorMapValuesV2`. Values should be in `rgba(,,,,)`
269
+ * Must contain one more element than `sparklineValueColorMapValuesV2`. Values should be in `rgba(,,,,)`.
270
270
  */
271
271
  sparklineValueColorMapColors?: string[];
272
272
  /**
273
- * deprecated
273
+ * This setting is deprecated.
274
274
  */
275
275
  sparklineValueColorMapValues?: number[];
276
276
  /**
277
277
  * For the single stat view, a list of boundaries for mapping different
278
- * query values to colors. Must contain one less element than `sparklineValueColorMapColors`
278
+ * query values to colors. Must contain one element less than `sparklineValueColorMapColors`.
279
279
  */
280
280
  sparklineValueColorMapValuesV2s?: number[];
281
281
  /**
282
282
  * For the single stat view, a list of display text values that different query
283
- * values map to. Must contain one more element than `sparklineValueTextMapThresholds`
283
+ * values map to. Must contain one more element than `sparklineValueTextMapThresholds`.
284
284
  */
285
285
  sparklineValueTextMapTexts?: string[];
286
286
  /**
287
287
  * For the single stat view, a list of threshold boundaries for
288
- * mapping different query values to display text. Must contain one less element than `sparklineValueTextMapText`
288
+ * mapping different query values to display text. Must contain one element less than `sparklineValueTextMapText`.
289
289
  */
290
290
  sparklineValueTextMapThresholds?: number[];
291
291
  /**
292
292
  * Type of stacked chart (applicable only if chart type is `stacked`). `zero` (default) means
293
293
  * stacked from y=0. `expand` means normalized from 0 to 1. `wiggle` means minimize weighted changes. `silhouette` means to
294
- * center the stream. Valid options are `zero`, `expand`, `wiggle`, `silhouette`, `bars`
294
+ * center the stream. Valid options are `zero`, `expand`, `wiggle`, `silhouette`, and `bars`.
295
295
  */
296
296
  stackType?: string;
297
297
  /**
298
298
  * For the tabular view, which mode to use to determine which point tags to display.
299
- * Valid options are `all`, `top`, or `custom`
299
+ * Valid options are `all`, `top`, or `custom`.
300
300
  */
301
301
  tagMode?: string;
302
302
  /**
303
- * For x-y scatterplots, whether to color more recent points as darker than older points
303
+ * For x-y scatterplots, whether to color more recent points as darker than older points.
304
304
  */
305
305
  timeBasedColoring?: boolean;
306
306
  /**
307
307
  * Chart Type. `line` refers to the Line Plot, `scatter` to the Point Plot, `stacked-area` to
308
- * the Stacked Area plot, `table` to the Tabular View, `scatterploy-xy` to Scatter Plot, `markdown-widget` to the
308
+ * the Stacked Area plot, `table` to the Tabular View, `scatterplot-xy` to Scatter Plot, `markdown-widget` to the
309
309
  * Markdown display, and `sparkline` to the Single Stat view. Valid options are `line`, `scatterplot`,
310
310
  * `stacked-area`, `stacked-column`, `table`, `scatterplot-xy`, `markdown-widget`, `sparkline`, `globe`, `nodemap`,
311
- * `top-k`, `status-list`, `histogram`
311
+ * `top-k`, `status-list`, and `histogram`.
312
312
  */
313
313
  type: string;
314
314
  /**
315
- * Width, in minutes, of the time window to use for `last` windowing
315
+ * Width, in minutes, of the time window to use for `last` windowing.
316
316
  */
317
317
  windowSize?: number;
318
318
  /**
319
319
  * For the tabular view, whether to use the full time window for the query or the last X minutes.
320
- * Valid options are `full` or `last`
320
+ * Valid options are `full` or `last`.
321
321
  */
322
322
  windowing?: string;
323
323
  /**
324
- * For x-y scatterplots, max value for the X-axis. Set to null for auto
324
+ * For x-y scatterplots, max value for the X-axis. Set to null for auto.
325
325
  */
326
326
  xmax?: number;
327
327
  /**
328
- * For x-y scatterplots, min value for the X-axis. Set to null for auto
328
+ * For x-y scatterplots, min value for the X-axis. Set to null for auto.
329
329
  */
330
330
  xmin?: number;
331
331
  /**
332
- * Whether to scale numerical magnitude labels for left Y-axis by 1024 in the IEC/Binary manner (instead of by 1000 like SI)
332
+ * Whether to scale numerical magnitude labels for left Y-axis by 1024 in the IEC/Binary manner (instead of by 1000 like SI).
333
333
  */
334
334
  y0ScaleSiBy1024?: boolean;
335
335
  /**
336
- * Whether to automatically adjust magnitude labels and units for the left Y-axis to favor smaller magnitudes and larger units
336
+ * Whether to automatically adjust magnitude labels and units for the left Y-axis to favor smaller magnitudes and larger units.
337
337
  */
338
338
  y0UnitAutoscaling?: boolean;
339
339
  /**
340
- * Whether to scale numerical magnitude labels for right Y-axis by 1024 in the IEC/Binary manner (instead of by 1000 like SI)
340
+ * Whether to scale numerical magnitude labels for right Y-axis by 1024 in the IEC/Binary manner (instead of by 1000 like SI).
341
341
  */
342
342
  y1ScaleSiBy1024?: boolean;
343
343
  /**
344
- * Whether to automatically adjust magnitude labels and units for the right Y-axis to favor smaller magnitudes and larger units
344
+ * Whether to automatically adjust magnitude labels and units for the right Y-axis to favor smaller magnitudes and larger units.
345
345
  */
346
346
  y1UnitAutoscaling?: boolean;
347
347
  /**
348
- * For plots with multiple Y-axes, units for right side Y-axis
348
+ * For plots with multiple Y-axes, units for right side Y-axis.
349
349
  */
350
350
  y1Units?: string;
351
351
  /**
352
- * For plots with multiple Y-axes, max value for the right side Y-axis. Set null for auto
352
+ * For plots with multiple Y-axes, max value for the right side Y-axis. Set null for auto.
353
353
  */
354
354
  y1max?: number;
355
355
  /**
356
- * For plots with multiple Y-axes, min value for the right side Y-axis. Set null for auto
356
+ * For plots with multiple Y-axes, min value for the right side Y-axis. Set null for auto.
357
357
  */
358
358
  y1min?: number;
359
359
  /**
360
- * For x-y scatterplots, max value for the Y-axis. Set to null for auto
360
+ * For x-y scatterplots, max value for the Y-axis. Set to null for auto.
361
361
  */
362
362
  ymax?: number;
363
363
  /**
364
- * For x-y scatterplots, min value for the Y-axis. Set to null for auto
364
+ * For x-y scatterplots, min value for the Y-axis. Set to null for auto.
365
365
  */
366
366
  ymin?: number;
367
367
  }
368
368
  export interface DashboardSectionRowChartSource {
369
369
  /**
370
- * Whether the source is disabled
370
+ * Whether the source is disabled.
371
371
  */
372
372
  disabled?: boolean;
373
373
  /**
374
- * Name of the source
374
+ * Name of the source.
375
375
  */
376
376
  name: string;
377
377
  /**
378
- * Query expression to plot on the chart
378
+ * Query expression to plot on the chart.
379
379
  */
380
380
  query: string;
381
381
  /**
382
- * Whether oir not this source line should have the query builder enabled
382
+ * Whether or not this source line should have the query builder enabled.
383
383
  */
384
384
  queryBuilderEnabled?: boolean;
385
385
  /**
@@ -387,7 +387,7 @@ export interface DashboardSectionRowChartSource {
387
387
  */
388
388
  scatterPlotSource?: string;
389
389
  /**
390
- * A description for the purpose of this source
390
+ * A description for the purpose of this source.
391
391
  */
392
392
  sourceDescription?: string;
393
393
  }
package/user.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Provides a Wavefront User Resource. This allows users to be created, updated, and deleted.
3
+ * Provides a Wavefront User Resource. This allows user accounts to be created, updated, and deleted.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
15
15
  *
16
16
  * ## Import
17
17
  *
18
- * Users can be imported using the `id`, e.g.
18
+ * Users can be imported by using the `id`, e.g.
19
19
  *
20
20
  * ```sh
21
21
  * $ pulumi import wavefront:index/user:User some_user test@example.com
@@ -39,17 +39,17 @@ export declare class User extends pulumi.CustomResource {
39
39
  static isInstance(obj: any): obj is User;
40
40
  readonly customer: pulumi.Output<string>;
41
41
  /**
42
- * The (unique) identifier of the user to create. Must be a valid email address
42
+ * The unique identifier of the user account to create. Must be a valid email address.
43
43
  */
44
44
  readonly email: pulumi.Output<string>;
45
45
  /**
46
46
  * List of permission to grant to this user. Valid options are
47
47
  * `agentManagement`, `alertsManagement`, `dashboardManagement`, `embeddedCharts`, `eventsManagement`, `externalLinksManagement`,
48
- * `hostTagManagement`, `metricsManagement`, `userManagement`
48
+ * `hostTagManagement`, `metricsManagement`, and `userManagement`.
49
49
  */
50
50
  readonly permissions: pulumi.Output<string[]>;
51
51
  /**
52
- * List of user groups to this user
52
+ * List of user groups to this user.
53
53
  */
54
54
  readonly userGroups: pulumi.Output<string[]>;
55
55
  /**
@@ -67,17 +67,17 @@ export declare class User extends pulumi.CustomResource {
67
67
  export interface UserState {
68
68
  customer?: pulumi.Input<string>;
69
69
  /**
70
- * The (unique) identifier of the user to create. Must be a valid email address
70
+ * The unique identifier of the user account to create. Must be a valid email address.
71
71
  */
72
72
  email?: pulumi.Input<string>;
73
73
  /**
74
74
  * List of permission to grant to this user. Valid options are
75
75
  * `agentManagement`, `alertsManagement`, `dashboardManagement`, `embeddedCharts`, `eventsManagement`, `externalLinksManagement`,
76
- * `hostTagManagement`, `metricsManagement`, `userManagement`
76
+ * `hostTagManagement`, `metricsManagement`, and `userManagement`.
77
77
  */
78
78
  permissions?: pulumi.Input<pulumi.Input<string>[]>;
79
79
  /**
80
- * List of user groups to this user
80
+ * List of user groups to this user.
81
81
  */
82
82
  userGroups?: pulumi.Input<pulumi.Input<string>[]>;
83
83
  }
@@ -87,17 +87,17 @@ export interface UserState {
87
87
  export interface UserArgs {
88
88
  customer?: pulumi.Input<string>;
89
89
  /**
90
- * The (unique) identifier of the user to create. Must be a valid email address
90
+ * The unique identifier of the user account to create. Must be a valid email address.
91
91
  */
92
92
  email: pulumi.Input<string>;
93
93
  /**
94
94
  * List of permission to grant to this user. Valid options are
95
95
  * `agentManagement`, `alertsManagement`, `dashboardManagement`, `embeddedCharts`, `eventsManagement`, `externalLinksManagement`,
96
- * `hostTagManagement`, `metricsManagement`, `userManagement`
96
+ * `hostTagManagement`, `metricsManagement`, and `userManagement`.
97
97
  */
98
98
  permissions?: pulumi.Input<pulumi.Input<string>[]>;
99
99
  /**
100
- * List of user groups to this user
100
+ * List of user groups to this user.
101
101
  */
102
102
  userGroups?: pulumi.Input<pulumi.Input<string>[]>;
103
103
  }
package/user.js CHANGED
@@ -6,7 +6,7 @@ exports.User = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Provides a Wavefront User Resource. This allows users to be created, updated, and deleted.
9
+ * Provides a Wavefront User Resource. This allows user accounts to be created, updated, and deleted.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
21
21
  *
22
22
  * ## Import
23
23
  *
24
- * Users can be imported using the `id`, e.g.
24
+ * Users can be imported by using the `id`, e.g.
25
25
  *
26
26
  * ```sh
27
27
  * $ pulumi import wavefront:index/user:User some_user test@example.com
@@ -29,29 +29,27 @@ const utilities = require("./utilities");
29
29
  */
30
30
  class User extends pulumi.CustomResource {
31
31
  constructor(name, argsOrState, opts) {
32
- let inputs = {};
32
+ let resourceInputs = {};
33
33
  opts = opts || {};
34
34
  if (opts.id) {
35
35
  const state = argsOrState;
36
- inputs["customer"] = state ? state.customer : undefined;
37
- inputs["email"] = state ? state.email : undefined;
38
- inputs["permissions"] = state ? state.permissions : undefined;
39
- inputs["userGroups"] = state ? state.userGroups : undefined;
36
+ resourceInputs["customer"] = state ? state.customer : undefined;
37
+ resourceInputs["email"] = state ? state.email : undefined;
38
+ resourceInputs["permissions"] = state ? state.permissions : undefined;
39
+ resourceInputs["userGroups"] = state ? state.userGroups : undefined;
40
40
  }
41
41
  else {
42
42
  const args = argsOrState;
43
43
  if ((!args || args.email === undefined) && !opts.urn) {
44
44
  throw new Error("Missing required property 'email'");
45
45
  }
46
- inputs["customer"] = args ? args.customer : undefined;
47
- inputs["email"] = args ? args.email : undefined;
48
- inputs["permissions"] = args ? args.permissions : undefined;
49
- inputs["userGroups"] = args ? args.userGroups : undefined;
46
+ resourceInputs["customer"] = args ? args.customer : undefined;
47
+ resourceInputs["email"] = args ? args.email : undefined;
48
+ resourceInputs["permissions"] = args ? args.permissions : undefined;
49
+ resourceInputs["userGroups"] = args ? args.userGroups : undefined;
50
50
  }
51
- if (!opts.version) {
52
- opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
53
- }
54
- super(User.__pulumiType, name, inputs, opts);
51
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
52
+ super(User.__pulumiType, name, resourceInputs, opts);
55
53
  }
56
54
  /**
57
55
  * Get an existing User resource's state with the given name, ID, and optional extra
package/user.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAoD3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,YAAY,CAAC,G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* as pulumi from "@pulumi/pulumi";
15
15
  *
16
16
  * ## Import
17
17
  *
18
- * User Groups can be imported using the `id`, e.g.
18
+ * User Groups can be imported by using the `id`, e.g.
19
19
  *
20
20
  * ```sh
21
21
  * $ pulumi import wavefront:index/userGroup:UserGroup some_group a411c16b-3cf7-4f03-bf11-8ca05aab898d
@@ -38,11 +38,11 @@ export declare class UserGroup extends pulumi.CustomResource {
38
38
  */
39
39
  static isInstance(obj: any): obj is UserGroup;
40
40
  /**
41
- * A short description of the user group
41
+ * A short description of the user group.
42
42
  */
43
43
  readonly description: pulumi.Output<string>;
44
44
  /**
45
- * The name of the user group
45
+ * The name of the user group.
46
46
  */
47
47
  readonly name: pulumi.Output<string>;
48
48
  /**
@@ -59,11 +59,11 @@ export declare class UserGroup extends pulumi.CustomResource {
59
59
  */
60
60
  export interface UserGroupState {
61
61
  /**
62
- * A short description of the user group
62
+ * A short description of the user group.
63
63
  */
64
64
  description?: pulumi.Input<string>;
65
65
  /**
66
- * The name of the user group
66
+ * The name of the user group.
67
67
  */
68
68
  name?: pulumi.Input<string>;
69
69
  }
@@ -72,11 +72,11 @@ export interface UserGroupState {
72
72
  */
73
73
  export interface UserGroupArgs {
74
74
  /**
75
- * A short description of the user group
75
+ * A short description of the user group.
76
76
  */
77
77
  description: pulumi.Input<string>;
78
78
  /**
79
- * The name of the user group
79
+ * The name of the user group.
80
80
  */
81
81
  name?: pulumi.Input<string>;
82
82
  }