pulumi-signalfx 7.2.0a1710160099__py3-none-any.whl → 7.6.0a1736849687__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 +126 -72
- pulumi_signalfx/aws/_inputs.py +85 -16
- pulumi_signalfx/aws/external_integration.py +20 -43
- pulumi_signalfx/aws/integration.py +252 -321
- pulumi_signalfx/aws/outputs.py +21 -16
- pulumi_signalfx/aws/token_integration.py +76 -31
- pulumi_signalfx/azure/_inputs.py +41 -4
- pulumi_signalfx/azure/integration.py +170 -217
- 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 +191 -140
- pulumi_signalfx/data_link.py +102 -109
- pulumi_signalfx/detector.py +318 -383
- pulumi_signalfx/event_feed_chart.py +51 -86
- pulumi_signalfx/gcp/_inputs.py +51 -0
- pulumi_signalfx/gcp/integration.py +224 -148
- pulumi_signalfx/gcp/outputs.py +44 -0
- pulumi_signalfx/get_dimension_values.py +47 -8
- pulumi_signalfx/heatmap_chart.py +191 -174
- pulumi_signalfx/jira/integration.py +86 -103
- pulumi_signalfx/list_chart.py +243 -255
- pulumi_signalfx/log/_inputs.py +33 -2
- pulumi_signalfx/log/outputs.py +7 -2
- pulumi_signalfx/log/timeline.py +76 -87
- pulumi_signalfx/log/view.py +146 -113
- pulumi_signalfx/metric_ruleset.py +213 -70
- pulumi_signalfx/opsgenie/integration.py +51 -50
- pulumi_signalfx/org_token.py +111 -104
- pulumi_signalfx/outputs.py +661 -339
- pulumi_signalfx/pagerduty/get_integration.py +22 -25
- pulumi_signalfx/pagerduty/integration.py +42 -39
- pulumi_signalfx/provider.py +99 -0
- pulumi_signalfx/pulumi-plugin.json +2 -1
- pulumi_signalfx/servicenow/integration.py +68 -95
- pulumi_signalfx/single_value_chart.py +131 -162
- pulumi_signalfx/slack/integration.py +42 -41
- pulumi_signalfx/slo.py +97 -243
- pulumi_signalfx/slo_chart.py +197 -0
- pulumi_signalfx/table_chart.py +66 -65
- pulumi_signalfx/team.py +100 -107
- pulumi_signalfx/text_chart.py +72 -45
- pulumi_signalfx/time_chart.py +287 -352
- pulumi_signalfx/victorops/integration.py +42 -41
- pulumi_signalfx/webhook_integration.py +168 -61
- {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736849687.dist-info}/METADATA +7 -6
- pulumi_signalfx-7.6.0a1736849687.dist-info/RECORD +65 -0
- {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736849687.dist-info}/WHEEL +1 -1
- pulumi_signalfx-7.2.0a1710160099.dist-info/RECORD +0 -64
- {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736849687.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.
|
|
@@ -519,57 +524,39 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
519
524
|
|
|
520
525
|
## Example
|
|
521
526
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
* `display_name` - (Optional) Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
|
|
539
|
-
* `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.
|
|
540
|
-
* `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`.
|
|
541
|
-
* `value_prefix`, `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
542
|
-
* `unit_prefix` - (Optional) Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
543
|
-
* `max_delay` - (Optional) How long (in seconds) to wait for late datapoints
|
|
544
|
-
* `refresh_interval` - (Optional) How often (in seconds) to refresh the value.
|
|
545
|
-
* `max_precision` - (Optional) The maximum precision to for value displayed.
|
|
546
|
-
* `is_timestamp_hidden` - (Optional) Whether to hide the timestamp in the chart. `false` by default.
|
|
547
|
-
* `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`).
|
|
548
|
-
* `show_spark_line` - (Optional) Whether to show a trend line below the current value. `false` by default.
|
|
549
|
-
|
|
550
|
-
## Attributes
|
|
551
|
-
|
|
552
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
553
|
-
|
|
554
|
-
* `id` - The ID of the chart.
|
|
555
|
-
* `url` - The URL of the chart.
|
|
527
|
+
```python
|
|
528
|
+
import pulumi
|
|
529
|
+
import pulumi_signalfx as signalfx
|
|
530
|
+
|
|
531
|
+
mysvchart0 = signalfx.SingleValueChart("mysvchart0",
|
|
532
|
+
name="CPU Total Idle - Single Value",
|
|
533
|
+
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
534
|
+
data("cpu.total.idle", filter=myfilters).publish()
|
|
535
|
+
\"\"\",
|
|
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)
|
|
542
|
+
```
|
|
556
543
|
|
|
557
544
|
:param str resource_name: The name of the resource.
|
|
558
545
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
559
|
-
:param pulumi.Input[str] color_by:
|
|
560
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
561
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
562
|
-
: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.
|
|
563
550
|
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
564
|
-
:param pulumi.Input[int] max_precision: The maximum precision to for
|
|
565
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
566
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
567
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the
|
|
568
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
569
|
-
: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.
|
|
570
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)
|
|
571
|
-
:param pulumi.Input[str] unit_prefix:
|
|
572
|
-
: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.
|
|
573
560
|
"""
|
|
574
561
|
...
|
|
575
562
|
@overload
|
|
@@ -584,40 +571,22 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
584
571
|
|
|
585
572
|
## Example
|
|
586
573
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
* `display_name` - (Optional) Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
|
|
604
|
-
* `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.
|
|
605
|
-
* `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`.
|
|
606
|
-
* `value_prefix`, `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
607
|
-
* `unit_prefix` - (Optional) Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
608
|
-
* `max_delay` - (Optional) How long (in seconds) to wait for late datapoints
|
|
609
|
-
* `refresh_interval` - (Optional) How often (in seconds) to refresh the value.
|
|
610
|
-
* `max_precision` - (Optional) The maximum precision to for value displayed.
|
|
611
|
-
* `is_timestamp_hidden` - (Optional) Whether to hide the timestamp in the chart. `false` by default.
|
|
612
|
-
* `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`).
|
|
613
|
-
* `show_spark_line` - (Optional) Whether to show a trend line below the current value. `false` by default.
|
|
614
|
-
|
|
615
|
-
## Attributes
|
|
616
|
-
|
|
617
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
618
|
-
|
|
619
|
-
* `id` - The ID of the chart.
|
|
620
|
-
* `url` - The URL of the chart.
|
|
574
|
+
```python
|
|
575
|
+
import pulumi
|
|
576
|
+
import pulumi_signalfx as signalfx
|
|
577
|
+
|
|
578
|
+
mysvchart0 = signalfx.SingleValueChart("mysvchart0",
|
|
579
|
+
name="CPU Total Idle - Single Value",
|
|
580
|
+
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
581
|
+
data("cpu.total.idle", filter=myfilters).publish()
|
|
582
|
+
\"\"\",
|
|
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)
|
|
589
|
+
```
|
|
621
590
|
|
|
622
591
|
:param str resource_name: The name of the resource.
|
|
623
592
|
:param SingleValueChartArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -635,7 +604,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
635
604
|
resource_name: str,
|
|
636
605
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
637
606
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
638
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
607
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartColorScaleArgs', 'SingleValueChartColorScaleArgsDict']]]]] = None,
|
|
639
608
|
description: Optional[pulumi.Input[str]] = None,
|
|
640
609
|
is_timestamp_hidden: Optional[pulumi.Input[bool]] = None,
|
|
641
610
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
@@ -647,7 +616,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
647
616
|
show_spark_line: Optional[pulumi.Input[bool]] = None,
|
|
648
617
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
649
618
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
650
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
619
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartVizOptionArgs', 'SingleValueChartVizOptionArgsDict']]]]] = None,
|
|
651
620
|
__props__=None):
|
|
652
621
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
653
622
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -685,7 +654,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
685
654
|
id: pulumi.Input[str],
|
|
686
655
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
687
656
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
688
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
657
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartColorScaleArgs', 'SingleValueChartColorScaleArgsDict']]]]] = None,
|
|
689
658
|
description: Optional[pulumi.Input[str]] = None,
|
|
690
659
|
is_timestamp_hidden: Optional[pulumi.Input[bool]] = None,
|
|
691
660
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
@@ -698,7 +667,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
698
667
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
699
668
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
700
669
|
url: Optional[pulumi.Input[str]] = None,
|
|
701
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
670
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SingleValueChartVizOptionArgs', 'SingleValueChartVizOptionArgsDict']]]]] = None) -> 'SingleValueChart':
|
|
702
671
|
"""
|
|
703
672
|
Get an existing SingleValueChart resource's state with the given name, id, and optional extra
|
|
704
673
|
properties used to qualify the lookup.
|
|
@@ -706,21 +675,21 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
706
675
|
:param str resource_name: The unique name of the resulting resource.
|
|
707
676
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
708
677
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
709
|
-
:param pulumi.Input[str] color_by:
|
|
710
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
711
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
712
|
-
: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.
|
|
713
682
|
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
714
|
-
:param pulumi.Input[int] max_precision: The maximum precision to for
|
|
715
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
716
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
717
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the
|
|
718
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
719
|
-
: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.
|
|
720
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)
|
|
721
|
-
:param pulumi.Input[str] unit_prefix:
|
|
722
|
-
:param pulumi.Input[str] url: URL of the chart
|
|
723
|
-
: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.
|
|
724
693
|
"""
|
|
725
694
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
726
695
|
|
|
@@ -747,7 +716,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
747
716
|
@pulumi.getter(name="colorBy")
|
|
748
717
|
def color_by(self) -> pulumi.Output[Optional[str]]:
|
|
749
718
|
"""
|
|
750
|
-
|
|
719
|
+
Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
751
720
|
"""
|
|
752
721
|
return pulumi.get(self, "color_by")
|
|
753
722
|
|
|
@@ -755,7 +724,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
755
724
|
@pulumi.getter(name="colorScales")
|
|
756
725
|
def color_scales(self) -> pulumi.Output[Optional[Sequence['outputs.SingleValueChartColorScale']]]:
|
|
757
726
|
"""
|
|
758
|
-
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).
|
|
759
728
|
"""
|
|
760
729
|
return pulumi.get(self, "color_scales")
|
|
761
730
|
|
|
@@ -763,7 +732,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
763
732
|
@pulumi.getter
|
|
764
733
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
765
734
|
"""
|
|
766
|
-
Description of the chart
|
|
735
|
+
Description of the chart.
|
|
767
736
|
"""
|
|
768
737
|
return pulumi.get(self, "description")
|
|
769
738
|
|
|
@@ -771,7 +740,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
771
740
|
@pulumi.getter(name="isTimestampHidden")
|
|
772
741
|
def is_timestamp_hidden(self) -> pulumi.Output[Optional[bool]]:
|
|
773
742
|
"""
|
|
774
|
-
|
|
743
|
+
Whether to hide the timestamp in the chart. `false` by default.
|
|
775
744
|
"""
|
|
776
745
|
return pulumi.get(self, "is_timestamp_hidden")
|
|
777
746
|
|
|
@@ -787,7 +756,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
787
756
|
@pulumi.getter(name="maxPrecision")
|
|
788
757
|
def max_precision(self) -> pulumi.Output[Optional[int]]:
|
|
789
758
|
"""
|
|
790
|
-
The maximum precision to for
|
|
759
|
+
The maximum precision to for value displayed.
|
|
791
760
|
"""
|
|
792
761
|
return pulumi.get(self, "max_precision")
|
|
793
762
|
|
|
@@ -795,7 +764,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
795
764
|
@pulumi.getter
|
|
796
765
|
def name(self) -> pulumi.Output[str]:
|
|
797
766
|
"""
|
|
798
|
-
Name of the chart
|
|
767
|
+
Name of the chart.
|
|
799
768
|
"""
|
|
800
769
|
return pulumi.get(self, "name")
|
|
801
770
|
|
|
@@ -803,7 +772,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
803
772
|
@pulumi.getter(name="programText")
|
|
804
773
|
def program_text(self) -> pulumi.Output[str]:
|
|
805
774
|
"""
|
|
806
|
-
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/).
|
|
807
776
|
"""
|
|
808
777
|
return pulumi.get(self, "program_text")
|
|
809
778
|
|
|
@@ -811,7 +780,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
811
780
|
@pulumi.getter(name="refreshInterval")
|
|
812
781
|
def refresh_interval(self) -> pulumi.Output[Optional[int]]:
|
|
813
782
|
"""
|
|
814
|
-
How often (in seconds) to refresh the
|
|
783
|
+
How often (in seconds) to refresh the value.
|
|
815
784
|
"""
|
|
816
785
|
return pulumi.get(self, "refresh_interval")
|
|
817
786
|
|
|
@@ -819,7 +788,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
819
788
|
@pulumi.getter(name="secondaryVisualization")
|
|
820
789
|
def secondary_visualization(self) -> pulumi.Output[Optional[str]]:
|
|
821
790
|
"""
|
|
822
|
-
|
|
791
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
823
792
|
"""
|
|
824
793
|
return pulumi.get(self, "secondary_visualization")
|
|
825
794
|
|
|
@@ -827,7 +796,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
827
796
|
@pulumi.getter(name="showSparkLine")
|
|
828
797
|
def show_spark_line(self) -> pulumi.Output[Optional[bool]]:
|
|
829
798
|
"""
|
|
830
|
-
|
|
799
|
+
Whether to show a trend line below the current value. `false` by default.
|
|
831
800
|
"""
|
|
832
801
|
return pulumi.get(self, "show_spark_line")
|
|
833
802
|
|
|
@@ -843,7 +812,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
843
812
|
@pulumi.getter(name="unitPrefix")
|
|
844
813
|
def unit_prefix(self) -> pulumi.Output[Optional[str]]:
|
|
845
814
|
"""
|
|
846
|
-
|
|
815
|
+
Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
847
816
|
"""
|
|
848
817
|
return pulumi.get(self, "unit_prefix")
|
|
849
818
|
|
|
@@ -851,7 +820,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
851
820
|
@pulumi.getter
|
|
852
821
|
def url(self) -> pulumi.Output[str]:
|
|
853
822
|
"""
|
|
854
|
-
URL of the chart
|
|
823
|
+
The URL of the chart.
|
|
855
824
|
"""
|
|
856
825
|
return pulumi.get(self, "url")
|
|
857
826
|
|
|
@@ -859,7 +828,7 @@ class SingleValueChart(pulumi.CustomResource):
|
|
|
859
828
|
@pulumi.getter(name="vizOptions")
|
|
860
829
|
def viz_options(self) -> pulumi.Output[Optional[Sequence['outputs.SingleValueChartVizOption']]]:
|
|
861
830
|
"""
|
|
862
|
-
Plot-level customization options, associated with a publish statement
|
|
831
|
+
Plot-level customization options, associated with a publish statement.
|
|
863
832
|
"""
|
|
864
833
|
return pulumi.get(self, "viz_options")
|
|
865
834
|
|