pulumi-signalfx 7.2.0a1709367777__py3-none-any.whl → 7.6.0a1736835428__py3-none-any.whl
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.
- pulumi_signalfx/__init__.py +9 -0
- pulumi_signalfx/_inputs.py +1976 -339
- pulumi_signalfx/_utilities.py +41 -5
- pulumi_signalfx/alert_muting_rule.py +110 -86
- pulumi_signalfx/aws/_inputs.py +85 -16
- pulumi_signalfx/aws/external_integration.py +20 -275
- pulumi_signalfx/aws/integration.py +222 -367
- pulumi_signalfx/aws/outputs.py +21 -16
- pulumi_signalfx/aws/token_integration.py +46 -65
- pulumi_signalfx/azure/_inputs.py +41 -4
- pulumi_signalfx/azure/integration.py +144 -259
- pulumi_signalfx/azure/outputs.py +15 -4
- pulumi_signalfx/config/__init__.pyi +22 -0
- pulumi_signalfx/config/vars.py +28 -0
- pulumi_signalfx/dashboard.py +171 -186
- pulumi_signalfx/dashboard_group.py +131 -198
- pulumi_signalfx/data_link.py +76 -141
- pulumi_signalfx/detector.py +264 -369
- pulumi_signalfx/event_feed_chart.py +51 -82
- pulumi_signalfx/gcp/_inputs.py +51 -0
- pulumi_signalfx/gcp/integration.py +224 -192
- pulumi_signalfx/gcp/outputs.py +44 -0
- pulumi_signalfx/get_dimension_values.py +47 -24
- pulumi_signalfx/heatmap_chart.py +165 -228
- pulumi_signalfx/jira/integration.py +70 -119
- pulumi_signalfx/list_chart.py +219 -315
- pulumi_signalfx/log/_inputs.py +33 -2
- pulumi_signalfx/log/outputs.py +7 -2
- pulumi_signalfx/log/timeline.py +64 -99
- pulumi_signalfx/log/view.py +134 -173
- pulumi_signalfx/metric_ruleset.py +217 -70
- pulumi_signalfx/opsgenie/integration.py +41 -60
- pulumi_signalfx/org_token.py +97 -128
- pulumi_signalfx/outputs.py +661 -339
- pulumi_signalfx/pagerduty/get_integration.py +22 -21
- pulumi_signalfx/pagerduty/integration.py +34 -49
- pulumi_signalfx/provider.py +99 -0
- pulumi_signalfx/pulumi-plugin.json +2 -1
- pulumi_signalfx/servicenow/integration.py +52 -107
- pulumi_signalfx/single_value_chart.py +113 -178
- pulumi_signalfx/slack/integration.py +30 -47
- pulumi_signalfx/slo.py +99 -197
- pulumi_signalfx/slo_chart.py +197 -0
- pulumi_signalfx/table_chart.py +50 -75
- pulumi_signalfx/team.py +74 -109
- pulumi_signalfx/text_chart.py +64 -89
- pulumi_signalfx/time_chart.py +271 -400
- pulumi_signalfx/victorops/integration.py +30 -47
- pulumi_signalfx/webhook_integration.py +154 -75
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/METADATA +7 -6
- pulumi_signalfx-7.6.0a1736835428.dist-info/RECORD +65 -0
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/WHEEL +1 -1
- pulumi_signalfx-7.2.0a1709367777.dist-info/RECORD +0 -64
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -32,20 +37,20 @@ class SingleValueChartArgs:
|
|
|
32
37
|
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input['SingleValueChartVizOptionArgs']]]] = None):
|
|
33
38
|
"""
|
|
34
39
|
The set of arguments for constructing a SingleValueChart resource.
|
|
35
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
36
|
-
:param pulumi.Input[str] color_by:
|
|
37
|
-
:param pulumi.Input[Sequence[pulumi.Input['SingleValueChartColorScaleArgs']]] color_scales: Single color range including both the color to display for that range and the borders of the range
|
|
38
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
39
|
-
:param pulumi.Input[bool] is_timestamp_hidden:
|
|
40
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
41
|
+
:param pulumi.Input[str] color_by: Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input['SingleValueChartColorScaleArgs']]] color_scales: Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
43
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
44
|
+
:param pulumi.Input[bool] is_timestamp_hidden: Whether to hide the timestamp in the chart. `false` by default.
|
|
40
45
|
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
41
|
-
:param pulumi.Input[int] max_precision: The maximum precision to for
|
|
42
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
43
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the
|
|
44
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
45
|
-
:param pulumi.Input[bool] show_spark_line:
|
|
46
|
+
:param pulumi.Input[int] max_precision: The maximum precision to for value displayed.
|
|
47
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
48
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the value.
|
|
49
|
+
:param pulumi.Input[str] secondary_visualization: The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
50
|
+
:param pulumi.Input[bool] show_spark_line: Whether to show a trend line below the current value. `false` by default.
|
|
46
51
|
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
|
|
47
|
-
:param pulumi.Input[str] unit_prefix:
|
|
48
|
-
:param pulumi.Input[Sequence[pulumi.Input['SingleValueChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement
|
|
52
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input['SingleValueChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
49
54
|
"""
|
|
50
55
|
pulumi.set(__self__, "program_text", program_text)
|
|
51
56
|
if color_by is not None:
|
|
@@ -79,7 +84,7 @@ class SingleValueChartArgs:
|
|
|
79
84
|
@pulumi.getter(name="programText")
|
|
80
85
|
def program_text(self) -> pulumi.Input[str]:
|
|
81
86
|
"""
|
|
82
|
-
Signalflow program text for the chart. More info
|
|
87
|
+
Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
83
88
|
"""
|
|
84
89
|
return pulumi.get(self, "program_text")
|
|
85
90
|
|
|
@@ -91,7 +96,7 @@ class SingleValueChartArgs:
|
|
|
91
96
|
@pulumi.getter(name="colorBy")
|
|
92
97
|
def color_by(self) -> Optional[pulumi.Input[str]]:
|
|
93
98
|
"""
|
|
94
|
-
|
|
99
|
+
Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
95
100
|
"""
|
|
96
101
|
return pulumi.get(self, "color_by")
|
|
97
102
|
|
|
@@ -103,7 +108,7 @@ class SingleValueChartArgs:
|
|
|
103
108
|
@pulumi.getter(name="colorScales")
|
|
104
109
|
def color_scales(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SingleValueChartColorScaleArgs']]]]:
|
|
105
110
|
"""
|
|
106
|
-
Single color range including both the color to display for that range and the borders of the range
|
|
111
|
+
Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
107
112
|
"""
|
|
108
113
|
return pulumi.get(self, "color_scales")
|
|
109
114
|
|
|
@@ -115,7 +120,7 @@ class SingleValueChartArgs:
|
|
|
115
120
|
@pulumi.getter
|
|
116
121
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
117
122
|
"""
|
|
118
|
-
Description of the chart
|
|
123
|
+
Description of the chart.
|
|
119
124
|
"""
|
|
120
125
|
return pulumi.get(self, "description")
|
|
121
126
|
|
|
@@ -127,7 +132,7 @@ class SingleValueChartArgs:
|
|
|
127
132
|
@pulumi.getter(name="isTimestampHidden")
|
|
128
133
|
def is_timestamp_hidden(self) -> Optional[pulumi.Input[bool]]:
|
|
129
134
|
"""
|
|
130
|
-
|
|
135
|
+
Whether to hide the timestamp in the chart. `false` by default.
|
|
131
136
|
"""
|
|
132
137
|
return pulumi.get(self, "is_timestamp_hidden")
|
|
133
138
|
|
|
@@ -151,7 +156,7 @@ class SingleValueChartArgs:
|
|
|
151
156
|
@pulumi.getter(name="maxPrecision")
|
|
152
157
|
def max_precision(self) -> Optional[pulumi.Input[int]]:
|
|
153
158
|
"""
|
|
154
|
-
The maximum precision to for
|
|
159
|
+
The maximum precision to for value displayed.
|
|
155
160
|
"""
|
|
156
161
|
return pulumi.get(self, "max_precision")
|
|
157
162
|
|
|
@@ -163,7 +168,7 @@ class SingleValueChartArgs:
|
|
|
163
168
|
@pulumi.getter
|
|
164
169
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
165
170
|
"""
|
|
166
|
-
Name of the chart
|
|
171
|
+
Name of the chart.
|
|
167
172
|
"""
|
|
168
173
|
return pulumi.get(self, "name")
|
|
169
174
|
|
|
@@ -175,7 +180,7 @@ class SingleValueChartArgs:
|
|
|
175
180
|
@pulumi.getter(name="refreshInterval")
|
|
176
181
|
def refresh_interval(self) -> Optional[pulumi.Input[int]]:
|
|
177
182
|
"""
|
|
178
|
-
How often (in seconds) to refresh the
|
|
183
|
+
How often (in seconds) to refresh the value.
|
|
179
184
|
"""
|
|
180
185
|
return pulumi.get(self, "refresh_interval")
|
|
181
186
|
|
|
@@ -187,7 +192,7 @@ class SingleValueChartArgs:
|
|
|
187
192
|
@pulumi.getter(name="secondaryVisualization")
|
|
188
193
|
def secondary_visualization(self) -> Optional[pulumi.Input[str]]:
|
|
189
194
|
"""
|
|
190
|
-
|
|
195
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
191
196
|
"""
|
|
192
197
|
return pulumi.get(self, "secondary_visualization")
|
|
193
198
|
|
|
@@ -199,7 +204,7 @@ class SingleValueChartArgs:
|
|
|
199
204
|
@pulumi.getter(name="showSparkLine")
|
|
200
205
|
def show_spark_line(self) -> Optional[pulumi.Input[bool]]:
|
|
201
206
|
"""
|
|
202
|
-
|
|
207
|
+
Whether to show a trend line below the current value. `false` by default.
|
|
203
208
|
"""
|
|
204
209
|
return pulumi.get(self, "show_spark_line")
|
|
205
210
|
|
|
@@ -223,7 +228,7 @@ class SingleValueChartArgs:
|
|
|
223
228
|
@pulumi.getter(name="unitPrefix")
|
|
224
229
|
def unit_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
225
230
|
"""
|
|
226
|
-
|
|
231
|
+
Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
227
232
|
"""
|
|
228
233
|
return pulumi.get(self, "unit_prefix")
|
|
229
234
|
|
|
@@ -235,7 +240,7 @@ class SingleValueChartArgs:
|
|
|
235
240
|
@pulumi.getter(name="vizOptions")
|
|
236
241
|
def viz_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SingleValueChartVizOptionArgs']]]]:
|
|
237
242
|
"""
|
|
238
|
-
Plot-level customization options, associated with a publish statement
|
|
243
|
+
Plot-level customization options, associated with a publish statement.
|
|
239
244
|
"""
|
|
240
245
|
return pulumi.get(self, "viz_options")
|
|
241
246
|
|
|
@@ -264,21 +269,21 @@ class _SingleValueChartState:
|
|
|
264
269
|
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input['SingleValueChartVizOptionArgs']]]] = None):
|
|
265
270
|
"""
|
|
266
271
|
Input properties used for looking up and filtering SingleValueChart resources.
|
|
267
|
-
:param pulumi.Input[str] color_by:
|
|
268
|
-
:param pulumi.Input[Sequence[pulumi.Input['SingleValueChartColorScaleArgs']]] color_scales: Single color range including both the color to display for that range and the borders of the range
|
|
269
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
270
|
-
:param pulumi.Input[bool] is_timestamp_hidden:
|
|
272
|
+
:param pulumi.Input[str] color_by: Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
273
|
+
:param pulumi.Input[Sequence[pulumi.Input['SingleValueChartColorScaleArgs']]] color_scales: Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
274
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
275
|
+
:param pulumi.Input[bool] is_timestamp_hidden: Whether to hide the timestamp in the chart. `false` by default.
|
|
271
276
|
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
272
|
-
:param pulumi.Input[int] max_precision: The maximum precision to for
|
|
273
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
274
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
275
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the
|
|
276
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
277
|
-
:param pulumi.Input[bool] show_spark_line:
|
|
277
|
+
:param pulumi.Input[int] max_precision: The maximum precision to for value displayed.
|
|
278
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
279
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
280
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the value.
|
|
281
|
+
:param pulumi.Input[str] secondary_visualization: The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
282
|
+
:param pulumi.Input[bool] show_spark_line: Whether to show a trend line below the current value. `false` by default.
|
|
278
283
|
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
|
|
279
|
-
:param pulumi.Input[str] unit_prefix:
|
|
280
|
-
:param pulumi.Input[str] url: URL of the chart
|
|
281
|
-
:param pulumi.Input[Sequence[pulumi.Input['SingleValueChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement
|
|
284
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
285
|
+
:param pulumi.Input[str] url: The URL of the chart.
|
|
286
|
+
:param pulumi.Input[Sequence[pulumi.Input['SingleValueChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
282
287
|
"""
|
|
283
288
|
if color_by is not None:
|
|
284
289
|
pulumi.set(__self__, "color_by", color_by)
|
|
@@ -315,7 +320,7 @@ class _SingleValueChartState:
|
|
|
315
320
|
@pulumi.getter(name="colorBy")
|
|
316
321
|
def color_by(self) -> Optional[pulumi.Input[str]]:
|
|
317
322
|
"""
|
|
318
|
-
|
|
323
|
+
Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
319
324
|
"""
|
|
320
325
|
return pulumi.get(self, "color_by")
|
|
321
326
|
|
|
@@ -327,7 +332,7 @@ class _SingleValueChartState:
|
|
|
327
332
|
@pulumi.getter(name="colorScales")
|
|
328
333
|
def color_scales(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SingleValueChartColorScaleArgs']]]]:
|
|
329
334
|
"""
|
|
330
|
-
Single color range including both the color to display for that range and the borders of the range
|
|
335
|
+
Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
331
336
|
"""
|
|
332
337
|
return pulumi.get(self, "color_scales")
|
|
333
338
|
|
|
@@ -339,7 +344,7 @@ class _SingleValueChartState:
|
|
|
339
344
|
@pulumi.getter
|
|
340
345
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
341
346
|
"""
|
|
342
|
-
Description of the chart
|
|
347
|
+
Description of the chart.
|
|
343
348
|
"""
|
|
344
349
|
return pulumi.get(self, "description")
|
|
345
350
|
|
|
@@ -351,7 +356,7 @@ class _SingleValueChartState:
|
|
|
351
356
|
@pulumi.getter(name="isTimestampHidden")
|
|
352
357
|
def is_timestamp_hidden(self) -> Optional[pulumi.Input[bool]]:
|
|
353
358
|
"""
|
|
354
|
-
|
|
359
|
+
Whether to hide the timestamp in the chart. `false` by default.
|
|
355
360
|
"""
|
|
356
361
|
return pulumi.get(self, "is_timestamp_hidden")
|
|
357
362
|
|
|
@@ -375,7 +380,7 @@ class _SingleValueChartState:
|
|
|
375
380
|
@pulumi.getter(name="maxPrecision")
|
|
376
381
|
def max_precision(self) -> Optional[pulumi.Input[int]]:
|
|
377
382
|
"""
|
|
378
|
-
The maximum precision to for
|
|
383
|
+
The maximum precision to for value displayed.
|
|
379
384
|
"""
|
|
380
385
|
return pulumi.get(self, "max_precision")
|
|
381
386
|
|
|
@@ -387,7 +392,7 @@ class _SingleValueChartState:
|
|
|
387
392
|
@pulumi.getter
|
|
388
393
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
389
394
|
"""
|
|
390
|
-
Name of the chart
|
|
395
|
+
Name of the chart.
|
|
391
396
|
"""
|
|
392
397
|
return pulumi.get(self, "name")
|
|
393
398
|
|
|
@@ -399,7 +404,7 @@ class _SingleValueChartState:
|
|
|
399
404
|
@pulumi.getter(name="programText")
|
|
400
405
|
def program_text(self) -> Optional[pulumi.Input[str]]:
|
|
401
406
|
"""
|
|
402
|
-
Signalflow program text for the chart. More info
|
|
407
|
+
Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
403
408
|
"""
|
|
404
409
|
return pulumi.get(self, "program_text")
|
|
405
410
|
|
|
@@ -411,7 +416,7 @@ class _SingleValueChartState:
|
|
|
411
416
|
@pulumi.getter(name="refreshInterval")
|
|
412
417
|
def refresh_interval(self) -> Optional[pulumi.Input[int]]:
|
|
413
418
|
"""
|
|
414
|
-
How often (in seconds) to refresh the
|
|
419
|
+
How often (in seconds) to refresh the value.
|
|
415
420
|
"""
|
|
416
421
|
return pulumi.get(self, "refresh_interval")
|
|
417
422
|
|
|
@@ -423,7 +428,7 @@ class _SingleValueChartState:
|
|
|
423
428
|
@pulumi.getter(name="secondaryVisualization")
|
|
424
429
|
def secondary_visualization(self) -> Optional[pulumi.Input[str]]:
|
|
425
430
|
"""
|
|
426
|
-
|
|
431
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
427
432
|
"""
|
|
428
433
|
return pulumi.get(self, "secondary_visualization")
|
|
429
434
|
|
|
@@ -435,7 +440,7 @@ class _SingleValueChartState:
|
|
|
435
440
|
@pulumi.getter(name="showSparkLine")
|
|
436
441
|
def show_spark_line(self) -> Optional[pulumi.Input[bool]]:
|
|
437
442
|
"""
|
|
438
|
-
|
|
443
|
+
Whether to show a trend line below the current value. `false` by default.
|
|
439
444
|
"""
|
|
440
445
|
return pulumi.get(self, "show_spark_line")
|
|
441
446
|
|
|
@@ -459,7 +464,7 @@ class _SingleValueChartState:
|
|
|
459
464
|
@pulumi.getter(name="unitPrefix")
|
|
460
465
|
def unit_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
461
466
|
"""
|
|
462
|
-
|
|
467
|
+
Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
463
468
|
"""
|
|
464
469
|
return pulumi.get(self, "unit_prefix")
|
|
465
470
|
|
|
@@ -471,7 +476,7 @@ class _SingleValueChartState:
|
|
|
471
476
|
@pulumi.getter
|
|
472
477
|
def url(self) -> Optional[pulumi.Input[str]]:
|
|
473
478
|
"""
|
|
474
|
-
URL of the chart
|
|
479
|
+
The URL of the chart.
|
|
475
480
|
"""
|
|
476
481
|
return pulumi.get(self, "url")
|
|
477
482
|
|
|
@@ -483,7 +488,7 @@ class _SingleValueChartState:
|
|
|
483
488
|
@pulumi.getter(name="vizOptions")
|
|
484
489
|
def viz_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SingleValueChartVizOptionArgs']]]]:
|
|
485
490
|
"""
|
|
486
|
-
Plot-level customization options, associated with a publish statement
|
|
491
|
+
Plot-level customization options, associated with a publish statement.
|
|
487
492
|
"""
|
|
488
493
|
return pulumi.get(self, "viz_options")
|
|
489
494
|
|
|
@@ -498,7 +503,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
498
503
|
resource_name: str,
|
|
499
504
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
500
505
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
501
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
506
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartColorScaleArgs', 'SingleValueChartColorScaleArgsDict']]]]] = None,
|
|
502
507
|
description: Optional[pulumi.Input[str]] = None,
|
|
503
508
|
is_timestamp_hidden: Optional[pulumi.Input[bool]] = None,
|
|
504
509
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
@@ -510,7 +515,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
510
515
|
show_spark_line: Optional[pulumi.Input[bool]] = None,
|
|
511
516
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
512
517
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
513
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
518
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartVizOptionArgs', 'SingleValueChartVizOptionArgsDict']]]]] = None,
|
|
514
519
|
__props__=None):
|
|
515
520
|
"""
|
|
516
521
|
This chart type displays a single number in a large font, representing the current value of a single metric on a plot line.
|
|
@@ -524,69 +529,34 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
524
529
|
import pulumi_signalfx as signalfx
|
|
525
530
|
|
|
526
531
|
mysvchart0 = signalfx.SingleValueChart("mysvchart0",
|
|
527
|
-
|
|
528
|
-
description="Very cool Single Value Chart",
|
|
529
|
-
is_timestamp_hidden=True,
|
|
530
|
-
max_delay=2,
|
|
531
|
-
max_precision=2,
|
|
532
|
+
name="CPU Total Idle - Single Value",
|
|
532
533
|
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
533
534
|
data("cpu.total.idle", filter=myfilters).publish()
|
|
534
|
-
|
|
535
535
|
\"\"\",
|
|
536
|
-
|
|
536
|
+
description="Very cool Single Value Chart",
|
|
537
|
+
color_by="Dimension",
|
|
538
|
+
max_delay=2,
|
|
539
|
+
refresh_interval=1,
|
|
540
|
+
max_precision=2,
|
|
541
|
+
is_timestamp_hidden=True)
|
|
537
542
|
```
|
|
538
543
|
|
|
539
|
-
## Arguments
|
|
540
|
-
|
|
541
|
-
The following arguments are supported in the resource block:
|
|
542
|
-
|
|
543
|
-
* `name` - (Required) Name of the chart.
|
|
544
|
-
* `program_text` - (Required) Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
545
|
-
* `description` - (Optional) Description of the chart.
|
|
546
|
-
* `color_by` - (Optional) Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
547
|
-
* `color_scale` - (Optional. `color_by` must be `"Scale"`) Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
548
|
-
* `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
549
|
-
* `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
550
|
-
* `lt` - (Optional) Indicates the upper threshold non-inculsive value for this range.
|
|
551
|
-
* `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
552
|
-
* `color` - (Required) The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
553
|
-
* `viz_options` - (Optional) Plot-level customization options, associated with a publish statement.
|
|
554
|
-
* `label` - (Required) Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
555
|
-
* `display_name` - (Optional) Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
|
|
556
|
-
* `color` - (Optional) The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
557
|
-
* `value_unit` - (Optional) A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
|
|
558
|
-
* `value_prefix`, `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
559
|
-
* `unit_prefix` - (Optional) Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
560
|
-
* `max_delay` - (Optional) How long (in seconds) to wait for late datapoints
|
|
561
|
-
* `refresh_interval` - (Optional) How often (in seconds) to refresh the value.
|
|
562
|
-
* `max_precision` - (Optional) The maximum precision to for value displayed.
|
|
563
|
-
* `is_timestamp_hidden` - (Optional) Whether to hide the timestamp in the chart. `false` by default.
|
|
564
|
-
* `secondary_visualization` - (Optional) The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
565
|
-
* `show_spark_line` - (Optional) Whether to show a trend line below the current value. `false` by default.
|
|
566
|
-
|
|
567
|
-
## Attributes
|
|
568
|
-
|
|
569
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
570
|
-
|
|
571
|
-
* `id` - The ID of the chart.
|
|
572
|
-
* `url` - The URL of the chart.
|
|
573
|
-
|
|
574
544
|
:param str resource_name: The name of the resource.
|
|
575
545
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
576
|
-
:param pulumi.Input[str] color_by:
|
|
577
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
578
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
579
|
-
:param pulumi.Input[bool] is_timestamp_hidden:
|
|
546
|
+
:param pulumi.Input[str] color_by: Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
547
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartColorScaleArgs', 'SingleValueChartColorScaleArgsDict']]]] color_scales: Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
548
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
549
|
+
:param pulumi.Input[bool] is_timestamp_hidden: Whether to hide the timestamp in the chart. `false` by default.
|
|
580
550
|
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
581
|
-
:param pulumi.Input[int] max_precision: The maximum precision to for
|
|
582
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
583
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
584
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the
|
|
585
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
586
|
-
:param pulumi.Input[bool] show_spark_line:
|
|
551
|
+
:param pulumi.Input[int] max_precision: The maximum precision to for value displayed.
|
|
552
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
553
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
554
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the value.
|
|
555
|
+
:param pulumi.Input[str] secondary_visualization: The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
556
|
+
:param pulumi.Input[bool] show_spark_line: Whether to show a trend line below the current value. `false` by default.
|
|
587
557
|
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
|
|
588
|
-
:param pulumi.Input[str] unit_prefix:
|
|
589
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
558
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
559
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartVizOptionArgs', 'SingleValueChartVizOptionArgsDict']]]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
590
560
|
"""
|
|
591
561
|
...
|
|
592
562
|
@overload
|
|
@@ -606,53 +576,18 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
606
576
|
import pulumi_signalfx as signalfx
|
|
607
577
|
|
|
608
578
|
mysvchart0 = signalfx.SingleValueChart("mysvchart0",
|
|
609
|
-
|
|
610
|
-
description="Very cool Single Value Chart",
|
|
611
|
-
is_timestamp_hidden=True,
|
|
612
|
-
max_delay=2,
|
|
613
|
-
max_precision=2,
|
|
579
|
+
name="CPU Total Idle - Single Value",
|
|
614
580
|
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
615
581
|
data("cpu.total.idle", filter=myfilters).publish()
|
|
616
|
-
|
|
617
582
|
\"\"\",
|
|
618
|
-
|
|
583
|
+
description="Very cool Single Value Chart",
|
|
584
|
+
color_by="Dimension",
|
|
585
|
+
max_delay=2,
|
|
586
|
+
refresh_interval=1,
|
|
587
|
+
max_precision=2,
|
|
588
|
+
is_timestamp_hidden=True)
|
|
619
589
|
```
|
|
620
590
|
|
|
621
|
-
## Arguments
|
|
622
|
-
|
|
623
|
-
The following arguments are supported in the resource block:
|
|
624
|
-
|
|
625
|
-
* `name` - (Required) Name of the chart.
|
|
626
|
-
* `program_text` - (Required) Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
627
|
-
* `description` - (Optional) Description of the chart.
|
|
628
|
-
* `color_by` - (Optional) Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
629
|
-
* `color_scale` - (Optional. `color_by` must be `"Scale"`) Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
630
|
-
* `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
631
|
-
* `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
632
|
-
* `lt` - (Optional) Indicates the upper threshold non-inculsive value for this range.
|
|
633
|
-
* `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
634
|
-
* `color` - (Required) The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
635
|
-
* `viz_options` - (Optional) Plot-level customization options, associated with a publish statement.
|
|
636
|
-
* `label` - (Required) Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
637
|
-
* `display_name` - (Optional) Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
|
|
638
|
-
* `color` - (Optional) The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
639
|
-
* `value_unit` - (Optional) A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
|
|
640
|
-
* `value_prefix`, `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
641
|
-
* `unit_prefix` - (Optional) Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
642
|
-
* `max_delay` - (Optional) How long (in seconds) to wait for late datapoints
|
|
643
|
-
* `refresh_interval` - (Optional) How often (in seconds) to refresh the value.
|
|
644
|
-
* `max_precision` - (Optional) The maximum precision to for value displayed.
|
|
645
|
-
* `is_timestamp_hidden` - (Optional) Whether to hide the timestamp in the chart. `false` by default.
|
|
646
|
-
* `secondary_visualization` - (Optional) The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
647
|
-
* `show_spark_line` - (Optional) Whether to show a trend line below the current value. `false` by default.
|
|
648
|
-
|
|
649
|
-
## Attributes
|
|
650
|
-
|
|
651
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
652
|
-
|
|
653
|
-
* `id` - The ID of the chart.
|
|
654
|
-
* `url` - The URL of the chart.
|
|
655
|
-
|
|
656
591
|
:param str resource_name: The name of the resource.
|
|
657
592
|
:param SingleValueChartArgs args: The arguments to use to populate this resource's properties.
|
|
658
593
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -669,7 +604,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
669
604
|
resource_name: str,
|
|
670
605
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
671
606
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
672
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
607
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartColorScaleArgs', 'SingleValueChartColorScaleArgsDict']]]]] = None,
|
|
673
608
|
description: Optional[pulumi.Input[str]] = None,
|
|
674
609
|
is_timestamp_hidden: Optional[pulumi.Input[bool]] = None,
|
|
675
610
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
@@ -681,7 +616,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
681
616
|
show_spark_line: Optional[pulumi.Input[bool]] = None,
|
|
682
617
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
683
618
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
684
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
619
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartVizOptionArgs', 'SingleValueChartVizOptionArgsDict']]]]] = None,
|
|
685
620
|
__props__=None):
|
|
686
621
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
687
622
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -719,7 +654,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
719
654
|
id: pulumi.Input[str],
|
|
720
655
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
721
656
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
722
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
657
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartColorScaleArgs', 'SingleValueChartColorScaleArgsDict']]]]] = None,
|
|
723
658
|
description: Optional[pulumi.Input[str]] = None,
|
|
724
659
|
is_timestamp_hidden: Optional[pulumi.Input[bool]] = None,
|
|
725
660
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
@@ -732,7 +667,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
732
667
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
733
668
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
734
669
|
url: Optional[pulumi.Input[str]] = None,
|
|
735
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
670
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartVizOptionArgs', 'SingleValueChartVizOptionArgsDict']]]]] = None) -> 'SingleValueChart':
|
|
736
671
|
"""
|
|
737
672
|
Get an existing SingleValueChart resource's state with the given name, id, and optional extra
|
|
738
673
|
properties used to qualify the lookup.
|
|
@@ -740,21 +675,21 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
740
675
|
:param str resource_name: The unique name of the resulting resource.
|
|
741
676
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
742
677
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
743
|
-
:param pulumi.Input[str] color_by:
|
|
744
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
745
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
746
|
-
:param pulumi.Input[bool] is_timestamp_hidden:
|
|
678
|
+
:param pulumi.Input[str] color_by: Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
679
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartColorScaleArgs', 'SingleValueChartColorScaleArgsDict']]]] color_scales: Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
680
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
681
|
+
:param pulumi.Input[bool] is_timestamp_hidden: Whether to hide the timestamp in the chart. `false` by default.
|
|
747
682
|
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
748
|
-
:param pulumi.Input[int] max_precision: The maximum precision to for
|
|
749
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
750
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
751
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the
|
|
752
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
753
|
-
:param pulumi.Input[bool] show_spark_line:
|
|
683
|
+
:param pulumi.Input[int] max_precision: The maximum precision to for value displayed.
|
|
684
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
685
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
686
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the value.
|
|
687
|
+
:param pulumi.Input[str] secondary_visualization: The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
688
|
+
:param pulumi.Input[bool] show_spark_line: Whether to show a trend line below the current value. `false` by default.
|
|
754
689
|
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
|
|
755
|
-
:param pulumi.Input[str] unit_prefix:
|
|
756
|
-
:param pulumi.Input[str] url: URL of the chart
|
|
757
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
690
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
691
|
+
:param pulumi.Input[str] url: The URL of the chart.
|
|
692
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartVizOptionArgs', 'SingleValueChartVizOptionArgsDict']]]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
758
693
|
"""
|
|
759
694
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
760
695
|
|
|
@@ -781,7 +716,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
781
716
|
@pulumi.getter(name="colorBy")
|
|
782
717
|
def color_by(self) -> pulumi.Output[Optional[str]]:
|
|
783
718
|
"""
|
|
784
|
-
|
|
719
|
+
Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
785
720
|
"""
|
|
786
721
|
return pulumi.get(self, "color_by")
|
|
787
722
|
|
|
@@ -789,7 +724,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
789
724
|
@pulumi.getter(name="colorScales")
|
|
790
725
|
def color_scales(self) -> pulumi.Output[Optional[Sequence['outputs.SingleValueChartColorScale']]]:
|
|
791
726
|
"""
|
|
792
|
-
Single color range including both the color to display for that range and the borders of the range
|
|
727
|
+
Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
793
728
|
"""
|
|
794
729
|
return pulumi.get(self, "color_scales")
|
|
795
730
|
|
|
@@ -797,7 +732,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
797
732
|
@pulumi.getter
|
|
798
733
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
799
734
|
"""
|
|
800
|
-
Description of the chart
|
|
735
|
+
Description of the chart.
|
|
801
736
|
"""
|
|
802
737
|
return pulumi.get(self, "description")
|
|
803
738
|
|
|
@@ -805,7 +740,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
805
740
|
@pulumi.getter(name="isTimestampHidden")
|
|
806
741
|
def is_timestamp_hidden(self) -> pulumi.Output[Optional[bool]]:
|
|
807
742
|
"""
|
|
808
|
-
|
|
743
|
+
Whether to hide the timestamp in the chart. `false` by default.
|
|
809
744
|
"""
|
|
810
745
|
return pulumi.get(self, "is_timestamp_hidden")
|
|
811
746
|
|
|
@@ -821,7 +756,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
821
756
|
@pulumi.getter(name="maxPrecision")
|
|
822
757
|
def max_precision(self) -> pulumi.Output[Optional[int]]:
|
|
823
758
|
"""
|
|
824
|
-
The maximum precision to for
|
|
759
|
+
The maximum precision to for value displayed.
|
|
825
760
|
"""
|
|
826
761
|
return pulumi.get(self, "max_precision")
|
|
827
762
|
|
|
@@ -829,7 +764,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
829
764
|
@pulumi.getter
|
|
830
765
|
def name(self) -> pulumi.Output[str]:
|
|
831
766
|
"""
|
|
832
|
-
Name of the chart
|
|
767
|
+
Name of the chart.
|
|
833
768
|
"""
|
|
834
769
|
return pulumi.get(self, "name")
|
|
835
770
|
|
|
@@ -837,7 +772,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
837
772
|
@pulumi.getter(name="programText")
|
|
838
773
|
def program_text(self) -> pulumi.Output[str]:
|
|
839
774
|
"""
|
|
840
|
-
Signalflow program text for the chart. More info
|
|
775
|
+
Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
841
776
|
"""
|
|
842
777
|
return pulumi.get(self, "program_text")
|
|
843
778
|
|
|
@@ -845,7 +780,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
845
780
|
@pulumi.getter(name="refreshInterval")
|
|
846
781
|
def refresh_interval(self) -> pulumi.Output[Optional[int]]:
|
|
847
782
|
"""
|
|
848
|
-
How often (in seconds) to refresh the
|
|
783
|
+
How often (in seconds) to refresh the value.
|
|
849
784
|
"""
|
|
850
785
|
return pulumi.get(self, "refresh_interval")
|
|
851
786
|
|
|
@@ -853,7 +788,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
853
788
|
@pulumi.getter(name="secondaryVisualization")
|
|
854
789
|
def secondary_visualization(self) -> pulumi.Output[Optional[str]]:
|
|
855
790
|
"""
|
|
856
|
-
|
|
791
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
857
792
|
"""
|
|
858
793
|
return pulumi.get(self, "secondary_visualization")
|
|
859
794
|
|
|
@@ -861,7 +796,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
861
796
|
@pulumi.getter(name="showSparkLine")
|
|
862
797
|
def show_spark_line(self) -> pulumi.Output[Optional[bool]]:
|
|
863
798
|
"""
|
|
864
|
-
|
|
799
|
+
Whether to show a trend line below the current value. `false` by default.
|
|
865
800
|
"""
|
|
866
801
|
return pulumi.get(self, "show_spark_line")
|
|
867
802
|
|
|
@@ -877,7 +812,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
877
812
|
@pulumi.getter(name="unitPrefix")
|
|
878
813
|
def unit_prefix(self) -> pulumi.Output[Optional[str]]:
|
|
879
814
|
"""
|
|
880
|
-
|
|
815
|
+
Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
881
816
|
"""
|
|
882
817
|
return pulumi.get(self, "unit_prefix")
|
|
883
818
|
|
|
@@ -885,7 +820,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
885
820
|
@pulumi.getter
|
|
886
821
|
def url(self) -> pulumi.Output[str]:
|
|
887
822
|
"""
|
|
888
|
-
URL of the chart
|
|
823
|
+
The URL of the chart.
|
|
889
824
|
"""
|
|
890
825
|
return pulumi.get(self, "url")
|
|
891
826
|
|
|
@@ -893,7 +828,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
893
828
|
@pulumi.getter(name="vizOptions")
|
|
894
829
|
def viz_options(self) -> pulumi.Output[Optional[Sequence['outputs.SingleValueChartVizOption']]]:
|
|
895
830
|
"""
|
|
896
|
-
Plot-level customization options, associated with a publish statement
|
|
831
|
+
Plot-level customization options, associated with a publish statement.
|
|
897
832
|
"""
|
|
898
833
|
return pulumi.get(self, "viz_options")
|
|
899
834
|
|