pulumi-signalfx 7.2.0a1710160099__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 +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.0a1736835428.dist-info}/METADATA +7 -6
- pulumi_signalfx-7.6.0a1736835428.dist-info/RECORD +65 -0
- {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736835428.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.0a1736835428.dist-info}/top_level.txt +0 -0
pulumi_signalfx/list_chart.py
CHANGED
|
@@ -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 *
|
|
@@ -38,27 +43,26 @@ class ListChartArgs:
|
|
|
38
43
|
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]]] = None):
|
|
39
44
|
"""
|
|
40
45
|
The set of arguments for constructing a ListChart resource.
|
|
41
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
42
|
-
:param pulumi.Input[str] color_by:
|
|
43
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]] color_scales: Single color range including both the color to display for that range and the borders of the range
|
|
44
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
45
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
46
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
47
|
-
:param pulumi.Input[bool] hide_missing_values:
|
|
48
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]] legend_options_fields: List of property and enabled flags
|
|
50
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
51
|
-
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down
|
|
52
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
53
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list
|
|
54
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
55
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use
|
|
56
|
-
|
|
57
|
-
:param pulumi.Input[int]
|
|
58
|
-
:param pulumi.Input[
|
|
59
|
-
:param pulumi.Input[str]
|
|
60
|
-
:param pulumi.Input[
|
|
61
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement
|
|
46
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
47
|
+
:param pulumi.Input[str] color_by: Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]] 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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
49
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
50
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
51
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
52
|
+
:param pulumi.Input[bool] hide_missing_values: Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legend_options_fields`.
|
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]] legend_options_fields: List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legend_fields_to_hide`.
|
|
55
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
56
|
+
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down.
|
|
57
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
58
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list.
|
|
59
|
+
: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 (`Sparkline`).
|
|
60
|
+
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sf_metric"` for plot.
|
|
61
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
62
|
+
:param pulumi.Input[int] time_range: How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
63
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
64
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
65
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
62
66
|
"""
|
|
63
67
|
pulumi.set(__self__, "program_text", program_text)
|
|
64
68
|
if color_by is not None:
|
|
@@ -107,7 +111,7 @@ class ListChartArgs:
|
|
|
107
111
|
@pulumi.getter(name="programText")
|
|
108
112
|
def program_text(self) -> pulumi.Input[str]:
|
|
109
113
|
"""
|
|
110
|
-
Signalflow program text for the chart. More info
|
|
114
|
+
Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
111
115
|
"""
|
|
112
116
|
return pulumi.get(self, "program_text")
|
|
113
117
|
|
|
@@ -119,7 +123,7 @@ class ListChartArgs:
|
|
|
119
123
|
@pulumi.getter(name="colorBy")
|
|
120
124
|
def color_by(self) -> Optional[pulumi.Input[str]]:
|
|
121
125
|
"""
|
|
122
|
-
|
|
126
|
+
Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
123
127
|
"""
|
|
124
128
|
return pulumi.get(self, "color_by")
|
|
125
129
|
|
|
@@ -131,7 +135,7 @@ class ListChartArgs:
|
|
|
131
135
|
@pulumi.getter(name="colorScales")
|
|
132
136
|
def color_scales(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]]]:
|
|
133
137
|
"""
|
|
134
|
-
Single color range including both the color to display for that range and the borders of the range
|
|
138
|
+
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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
135
139
|
"""
|
|
136
140
|
return pulumi.get(self, "color_scales")
|
|
137
141
|
|
|
@@ -143,7 +147,7 @@ class ListChartArgs:
|
|
|
143
147
|
@pulumi.getter
|
|
144
148
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
145
149
|
"""
|
|
146
|
-
Description of the chart
|
|
150
|
+
Description of the chart.
|
|
147
151
|
"""
|
|
148
152
|
return pulumi.get(self, "description")
|
|
149
153
|
|
|
@@ -155,7 +159,7 @@ class ListChartArgs:
|
|
|
155
159
|
@pulumi.getter(name="disableSampling")
|
|
156
160
|
def disable_sampling(self) -> Optional[pulumi.Input[bool]]:
|
|
157
161
|
"""
|
|
158
|
-
|
|
162
|
+
If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
159
163
|
"""
|
|
160
164
|
return pulumi.get(self, "disable_sampling")
|
|
161
165
|
|
|
@@ -167,7 +171,7 @@ class ListChartArgs:
|
|
|
167
171
|
@pulumi.getter(name="endTime")
|
|
168
172
|
def end_time(self) -> Optional[pulumi.Input[int]]:
|
|
169
173
|
"""
|
|
170
|
-
Seconds since epoch
|
|
174
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
171
175
|
"""
|
|
172
176
|
return pulumi.get(self, "end_time")
|
|
173
177
|
|
|
@@ -179,7 +183,7 @@ class ListChartArgs:
|
|
|
179
183
|
@pulumi.getter(name="hideMissingValues")
|
|
180
184
|
def hide_missing_values(self) -> Optional[pulumi.Input[bool]]:
|
|
181
185
|
"""
|
|
182
|
-
|
|
186
|
+
Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
183
187
|
"""
|
|
184
188
|
return pulumi.get(self, "hide_missing_values")
|
|
185
189
|
|
|
@@ -189,13 +193,11 @@ class ListChartArgs:
|
|
|
189
193
|
|
|
190
194
|
@property
|
|
191
195
|
@pulumi.getter(name="legendFieldsToHides")
|
|
196
|
+
@_utilities.deprecated("""Please use legend_options_fields""")
|
|
192
197
|
def legend_fields_to_hides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
193
198
|
"""
|
|
194
|
-
List of properties that
|
|
199
|
+
List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legend_options_fields`.
|
|
195
200
|
"""
|
|
196
|
-
warnings.warn("""Please use legend_options_fields""", DeprecationWarning)
|
|
197
|
-
pulumi.log.warn("""legend_fields_to_hides is deprecated: Please use legend_options_fields""")
|
|
198
|
-
|
|
199
201
|
return pulumi.get(self, "legend_fields_to_hides")
|
|
200
202
|
|
|
201
203
|
@legend_fields_to_hides.setter
|
|
@@ -206,7 +208,7 @@ class ListChartArgs:
|
|
|
206
208
|
@pulumi.getter(name="legendOptionsFields")
|
|
207
209
|
def legend_options_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]]]:
|
|
208
210
|
"""
|
|
209
|
-
List of property and enabled flags
|
|
211
|
+
List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legend_fields_to_hide`.
|
|
210
212
|
"""
|
|
211
213
|
return pulumi.get(self, "legend_options_fields")
|
|
212
214
|
|
|
@@ -218,7 +220,7 @@ class ListChartArgs:
|
|
|
218
220
|
@pulumi.getter(name="maxDelay")
|
|
219
221
|
def max_delay(self) -> Optional[pulumi.Input[int]]:
|
|
220
222
|
"""
|
|
221
|
-
How long (in seconds) to wait for late datapoints
|
|
223
|
+
How long (in seconds) to wait for late datapoints.
|
|
222
224
|
"""
|
|
223
225
|
return pulumi.get(self, "max_delay")
|
|
224
226
|
|
|
@@ -230,7 +232,7 @@ class ListChartArgs:
|
|
|
230
232
|
@pulumi.getter(name="maxPrecision")
|
|
231
233
|
def max_precision(self) -> Optional[pulumi.Input[int]]:
|
|
232
234
|
"""
|
|
233
|
-
Maximum number of digits to display when rounding values up or down
|
|
235
|
+
Maximum number of digits to display when rounding values up or down.
|
|
234
236
|
"""
|
|
235
237
|
return pulumi.get(self, "max_precision")
|
|
236
238
|
|
|
@@ -242,7 +244,7 @@ class ListChartArgs:
|
|
|
242
244
|
@pulumi.getter
|
|
243
245
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
244
246
|
"""
|
|
245
|
-
Name of the chart
|
|
247
|
+
Name of the chart.
|
|
246
248
|
"""
|
|
247
249
|
return pulumi.get(self, "name")
|
|
248
250
|
|
|
@@ -254,7 +256,7 @@ class ListChartArgs:
|
|
|
254
256
|
@pulumi.getter(name="refreshInterval")
|
|
255
257
|
def refresh_interval(self) -> Optional[pulumi.Input[int]]:
|
|
256
258
|
"""
|
|
257
|
-
How often (in seconds) to refresh the values of the list
|
|
259
|
+
How often (in seconds) to refresh the values of the list.
|
|
258
260
|
"""
|
|
259
261
|
return pulumi.get(self, "refresh_interval")
|
|
260
262
|
|
|
@@ -266,7 +268,7 @@ class ListChartArgs:
|
|
|
266
268
|
@pulumi.getter(name="secondaryVisualization")
|
|
267
269
|
def secondary_visualization(self) -> Optional[pulumi.Input[str]]:
|
|
268
270
|
"""
|
|
269
|
-
|
|
271
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
270
272
|
"""
|
|
271
273
|
return pulumi.get(self, "secondary_visualization")
|
|
272
274
|
|
|
@@ -278,8 +280,7 @@ class ListChartArgs:
|
|
|
278
280
|
@pulumi.getter(name="sortBy")
|
|
279
281
|
def sort_by(self) -> Optional[pulumi.Input[str]]:
|
|
280
282
|
"""
|
|
281
|
-
The property to use when sorting the elements. Use
|
|
282
|
-
ascending or - for descending (e.g. -foo)
|
|
283
|
+
The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sf_metric"` for plot.
|
|
283
284
|
"""
|
|
284
285
|
return pulumi.get(self, "sort_by")
|
|
285
286
|
|
|
@@ -291,7 +292,7 @@ class ListChartArgs:
|
|
|
291
292
|
@pulumi.getter(name="startTime")
|
|
292
293
|
def start_time(self) -> Optional[pulumi.Input[int]]:
|
|
293
294
|
"""
|
|
294
|
-
Seconds since epoch
|
|
295
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
295
296
|
"""
|
|
296
297
|
return pulumi.get(self, "start_time")
|
|
297
298
|
|
|
@@ -303,7 +304,7 @@ class ListChartArgs:
|
|
|
303
304
|
@pulumi.getter(name="timeRange")
|
|
304
305
|
def time_range(self) -> Optional[pulumi.Input[int]]:
|
|
305
306
|
"""
|
|
306
|
-
|
|
307
|
+
How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
307
308
|
"""
|
|
308
309
|
return pulumi.get(self, "time_range")
|
|
309
310
|
|
|
@@ -315,7 +316,7 @@ class ListChartArgs:
|
|
|
315
316
|
@pulumi.getter
|
|
316
317
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
317
318
|
"""
|
|
318
|
-
The property value is a string that denotes the geographic region associated with the time zone, (
|
|
319
|
+
The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
319
320
|
"""
|
|
320
321
|
return pulumi.get(self, "timezone")
|
|
321
322
|
|
|
@@ -327,7 +328,7 @@ class ListChartArgs:
|
|
|
327
328
|
@pulumi.getter(name="unitPrefix")
|
|
328
329
|
def unit_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
329
330
|
"""
|
|
330
|
-
|
|
331
|
+
Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
331
332
|
"""
|
|
332
333
|
return pulumi.get(self, "unit_prefix")
|
|
333
334
|
|
|
@@ -339,7 +340,7 @@ class ListChartArgs:
|
|
|
339
340
|
@pulumi.getter(name="vizOptions")
|
|
340
341
|
def viz_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]]]:
|
|
341
342
|
"""
|
|
342
|
-
Plot-level customization options, associated with a publish statement
|
|
343
|
+
Plot-level customization options, associated with a publish statement.
|
|
343
344
|
"""
|
|
344
345
|
return pulumi.get(self, "viz_options")
|
|
345
346
|
|
|
@@ -374,28 +375,27 @@ class _ListChartState:
|
|
|
374
375
|
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]]] = None):
|
|
375
376
|
"""
|
|
376
377
|
Input properties used for looking up and filtering ListChart resources.
|
|
377
|
-
:param pulumi.Input[str] color_by:
|
|
378
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]] color_scales: Single color range including both the color to display for that range and the borders of the range
|
|
379
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
380
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
381
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
382
|
-
:param pulumi.Input[bool] hide_missing_values:
|
|
383
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that
|
|
384
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]] legend_options_fields: List of property and enabled flags
|
|
385
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
386
|
-
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down
|
|
387
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
388
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
389
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list
|
|
390
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
391
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use
|
|
392
|
-
|
|
393
|
-
:param pulumi.Input[int]
|
|
394
|
-
:param pulumi.Input[
|
|
395
|
-
:param pulumi.Input[str]
|
|
396
|
-
:param pulumi.Input[str]
|
|
397
|
-
:param pulumi.Input[
|
|
398
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement
|
|
378
|
+
:param pulumi.Input[str] color_by: Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
379
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]] 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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
380
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
381
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
382
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
383
|
+
:param pulumi.Input[bool] hide_missing_values: Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
384
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legend_options_fields`.
|
|
385
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]] legend_options_fields: List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legend_fields_to_hide`.
|
|
386
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
387
|
+
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down.
|
|
388
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
389
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
390
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list.
|
|
391
|
+
: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 (`Sparkline`).
|
|
392
|
+
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sf_metric"` for plot.
|
|
393
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
394
|
+
:param pulumi.Input[int] time_range: How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
395
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
396
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
397
|
+
:param pulumi.Input[str] url: The URL of the chart.
|
|
398
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
399
399
|
"""
|
|
400
400
|
if color_by is not None:
|
|
401
401
|
pulumi.set(__self__, "color_by", color_by)
|
|
@@ -447,7 +447,7 @@ class _ListChartState:
|
|
|
447
447
|
@pulumi.getter(name="colorBy")
|
|
448
448
|
def color_by(self) -> Optional[pulumi.Input[str]]:
|
|
449
449
|
"""
|
|
450
|
-
|
|
450
|
+
Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
451
451
|
"""
|
|
452
452
|
return pulumi.get(self, "color_by")
|
|
453
453
|
|
|
@@ -459,7 +459,7 @@ class _ListChartState:
|
|
|
459
459
|
@pulumi.getter(name="colorScales")
|
|
460
460
|
def color_scales(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]]]:
|
|
461
461
|
"""
|
|
462
|
-
Single color range including both the color to display for that range and the borders of the range
|
|
462
|
+
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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
463
463
|
"""
|
|
464
464
|
return pulumi.get(self, "color_scales")
|
|
465
465
|
|
|
@@ -471,7 +471,7 @@ class _ListChartState:
|
|
|
471
471
|
@pulumi.getter
|
|
472
472
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
473
473
|
"""
|
|
474
|
-
Description of the chart
|
|
474
|
+
Description of the chart.
|
|
475
475
|
"""
|
|
476
476
|
return pulumi.get(self, "description")
|
|
477
477
|
|
|
@@ -483,7 +483,7 @@ class _ListChartState:
|
|
|
483
483
|
@pulumi.getter(name="disableSampling")
|
|
484
484
|
def disable_sampling(self) -> Optional[pulumi.Input[bool]]:
|
|
485
485
|
"""
|
|
486
|
-
|
|
486
|
+
If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
487
487
|
"""
|
|
488
488
|
return pulumi.get(self, "disable_sampling")
|
|
489
489
|
|
|
@@ -495,7 +495,7 @@ class _ListChartState:
|
|
|
495
495
|
@pulumi.getter(name="endTime")
|
|
496
496
|
def end_time(self) -> Optional[pulumi.Input[int]]:
|
|
497
497
|
"""
|
|
498
|
-
Seconds since epoch
|
|
498
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
499
499
|
"""
|
|
500
500
|
return pulumi.get(self, "end_time")
|
|
501
501
|
|
|
@@ -507,7 +507,7 @@ class _ListChartState:
|
|
|
507
507
|
@pulumi.getter(name="hideMissingValues")
|
|
508
508
|
def hide_missing_values(self) -> Optional[pulumi.Input[bool]]:
|
|
509
509
|
"""
|
|
510
|
-
|
|
510
|
+
Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
511
511
|
"""
|
|
512
512
|
return pulumi.get(self, "hide_missing_values")
|
|
513
513
|
|
|
@@ -517,13 +517,11 @@ class _ListChartState:
|
|
|
517
517
|
|
|
518
518
|
@property
|
|
519
519
|
@pulumi.getter(name="legendFieldsToHides")
|
|
520
|
+
@_utilities.deprecated("""Please use legend_options_fields""")
|
|
520
521
|
def legend_fields_to_hides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
521
522
|
"""
|
|
522
|
-
List of properties that
|
|
523
|
+
List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legend_options_fields`.
|
|
523
524
|
"""
|
|
524
|
-
warnings.warn("""Please use legend_options_fields""", DeprecationWarning)
|
|
525
|
-
pulumi.log.warn("""legend_fields_to_hides is deprecated: Please use legend_options_fields""")
|
|
526
|
-
|
|
527
525
|
return pulumi.get(self, "legend_fields_to_hides")
|
|
528
526
|
|
|
529
527
|
@legend_fields_to_hides.setter
|
|
@@ -534,7 +532,7 @@ class _ListChartState:
|
|
|
534
532
|
@pulumi.getter(name="legendOptionsFields")
|
|
535
533
|
def legend_options_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]]]:
|
|
536
534
|
"""
|
|
537
|
-
List of property and enabled flags
|
|
535
|
+
List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legend_fields_to_hide`.
|
|
538
536
|
"""
|
|
539
537
|
return pulumi.get(self, "legend_options_fields")
|
|
540
538
|
|
|
@@ -546,7 +544,7 @@ class _ListChartState:
|
|
|
546
544
|
@pulumi.getter(name="maxDelay")
|
|
547
545
|
def max_delay(self) -> Optional[pulumi.Input[int]]:
|
|
548
546
|
"""
|
|
549
|
-
How long (in seconds) to wait for late datapoints
|
|
547
|
+
How long (in seconds) to wait for late datapoints.
|
|
550
548
|
"""
|
|
551
549
|
return pulumi.get(self, "max_delay")
|
|
552
550
|
|
|
@@ -558,7 +556,7 @@ class _ListChartState:
|
|
|
558
556
|
@pulumi.getter(name="maxPrecision")
|
|
559
557
|
def max_precision(self) -> Optional[pulumi.Input[int]]:
|
|
560
558
|
"""
|
|
561
|
-
Maximum number of digits to display when rounding values up or down
|
|
559
|
+
Maximum number of digits to display when rounding values up or down.
|
|
562
560
|
"""
|
|
563
561
|
return pulumi.get(self, "max_precision")
|
|
564
562
|
|
|
@@ -570,7 +568,7 @@ class _ListChartState:
|
|
|
570
568
|
@pulumi.getter
|
|
571
569
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
572
570
|
"""
|
|
573
|
-
Name of the chart
|
|
571
|
+
Name of the chart.
|
|
574
572
|
"""
|
|
575
573
|
return pulumi.get(self, "name")
|
|
576
574
|
|
|
@@ -582,7 +580,7 @@ class _ListChartState:
|
|
|
582
580
|
@pulumi.getter(name="programText")
|
|
583
581
|
def program_text(self) -> Optional[pulumi.Input[str]]:
|
|
584
582
|
"""
|
|
585
|
-
Signalflow program text for the chart. More info
|
|
583
|
+
Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
586
584
|
"""
|
|
587
585
|
return pulumi.get(self, "program_text")
|
|
588
586
|
|
|
@@ -594,7 +592,7 @@ class _ListChartState:
|
|
|
594
592
|
@pulumi.getter(name="refreshInterval")
|
|
595
593
|
def refresh_interval(self) -> Optional[pulumi.Input[int]]:
|
|
596
594
|
"""
|
|
597
|
-
How often (in seconds) to refresh the values of the list
|
|
595
|
+
How often (in seconds) to refresh the values of the list.
|
|
598
596
|
"""
|
|
599
597
|
return pulumi.get(self, "refresh_interval")
|
|
600
598
|
|
|
@@ -606,7 +604,7 @@ class _ListChartState:
|
|
|
606
604
|
@pulumi.getter(name="secondaryVisualization")
|
|
607
605
|
def secondary_visualization(self) -> Optional[pulumi.Input[str]]:
|
|
608
606
|
"""
|
|
609
|
-
|
|
607
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
610
608
|
"""
|
|
611
609
|
return pulumi.get(self, "secondary_visualization")
|
|
612
610
|
|
|
@@ -618,8 +616,7 @@ class _ListChartState:
|
|
|
618
616
|
@pulumi.getter(name="sortBy")
|
|
619
617
|
def sort_by(self) -> Optional[pulumi.Input[str]]:
|
|
620
618
|
"""
|
|
621
|
-
The property to use when sorting the elements. Use
|
|
622
|
-
ascending or - for descending (e.g. -foo)
|
|
619
|
+
The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sf_metric"` for plot.
|
|
623
620
|
"""
|
|
624
621
|
return pulumi.get(self, "sort_by")
|
|
625
622
|
|
|
@@ -631,7 +628,7 @@ class _ListChartState:
|
|
|
631
628
|
@pulumi.getter(name="startTime")
|
|
632
629
|
def start_time(self) -> Optional[pulumi.Input[int]]:
|
|
633
630
|
"""
|
|
634
|
-
Seconds since epoch
|
|
631
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
635
632
|
"""
|
|
636
633
|
return pulumi.get(self, "start_time")
|
|
637
634
|
|
|
@@ -643,7 +640,7 @@ class _ListChartState:
|
|
|
643
640
|
@pulumi.getter(name="timeRange")
|
|
644
641
|
def time_range(self) -> Optional[pulumi.Input[int]]:
|
|
645
642
|
"""
|
|
646
|
-
|
|
643
|
+
How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
647
644
|
"""
|
|
648
645
|
return pulumi.get(self, "time_range")
|
|
649
646
|
|
|
@@ -655,7 +652,7 @@ class _ListChartState:
|
|
|
655
652
|
@pulumi.getter
|
|
656
653
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
657
654
|
"""
|
|
658
|
-
The property value is a string that denotes the geographic region associated with the time zone, (
|
|
655
|
+
The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
659
656
|
"""
|
|
660
657
|
return pulumi.get(self, "timezone")
|
|
661
658
|
|
|
@@ -667,7 +664,7 @@ class _ListChartState:
|
|
|
667
664
|
@pulumi.getter(name="unitPrefix")
|
|
668
665
|
def unit_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
669
666
|
"""
|
|
670
|
-
|
|
667
|
+
Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
671
668
|
"""
|
|
672
669
|
return pulumi.get(self, "unit_prefix")
|
|
673
670
|
|
|
@@ -679,7 +676,7 @@ class _ListChartState:
|
|
|
679
676
|
@pulumi.getter
|
|
680
677
|
def url(self) -> Optional[pulumi.Input[str]]:
|
|
681
678
|
"""
|
|
682
|
-
URL of the chart
|
|
679
|
+
The URL of the chart.
|
|
683
680
|
"""
|
|
684
681
|
return pulumi.get(self, "url")
|
|
685
682
|
|
|
@@ -691,7 +688,7 @@ class _ListChartState:
|
|
|
691
688
|
@pulumi.getter(name="vizOptions")
|
|
692
689
|
def viz_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]]]:
|
|
693
690
|
"""
|
|
694
|
-
Plot-level customization options, associated with a publish statement
|
|
691
|
+
Plot-level customization options, associated with a publish statement.
|
|
695
692
|
"""
|
|
696
693
|
return pulumi.get(self, "viz_options")
|
|
697
694
|
|
|
@@ -706,13 +703,13 @@ class ListChart(pulumi.CustomResource):
|
|
|
706
703
|
resource_name: str,
|
|
707
704
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
708
705
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
709
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
706
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]]] = None,
|
|
710
707
|
description: Optional[pulumi.Input[str]] = None,
|
|
711
708
|
disable_sampling: Optional[pulumi.Input[bool]] = None,
|
|
712
709
|
end_time: Optional[pulumi.Input[int]] = None,
|
|
713
710
|
hide_missing_values: Optional[pulumi.Input[bool]] = None,
|
|
714
711
|
legend_fields_to_hides: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
715
|
-
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
712
|
+
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]]] = None,
|
|
716
713
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
717
714
|
max_precision: Optional[pulumi.Input[int]] = None,
|
|
718
715
|
name: Optional[pulumi.Input[str]] = None,
|
|
@@ -724,7 +721,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
724
721
|
time_range: Optional[pulumi.Input[int]] = None,
|
|
725
722
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
726
723
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
727
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
724
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]]] = None,
|
|
728
725
|
__props__=None):
|
|
729
726
|
"""
|
|
730
727
|
This chart type displays current data values in a list format.
|
|
@@ -733,73 +730,70 @@ class ListChart(pulumi.CustomResource):
|
|
|
733
730
|
|
|
734
731
|
## Example
|
|
735
732
|
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
* `id` - The ID of the chart.
|
|
778
|
-
* `url` - The URL of the chart.
|
|
733
|
+
```python
|
|
734
|
+
import pulumi
|
|
735
|
+
import pulumi_signalfx as signalfx
|
|
736
|
+
|
|
737
|
+
mylistchart0 = signalfx.ListChart("mylistchart0",
|
|
738
|
+
name="CPU Total Idle - List",
|
|
739
|
+
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
740
|
+
data("cpu.total.idle", filter=myfilters).publish()
|
|
741
|
+
\"\"\",
|
|
742
|
+
description="Very cool List Chart",
|
|
743
|
+
color_by="Metric",
|
|
744
|
+
max_delay=2,
|
|
745
|
+
timezone="Europe/Paris",
|
|
746
|
+
disable_sampling=True,
|
|
747
|
+
refresh_interval=1,
|
|
748
|
+
hide_missing_values=True,
|
|
749
|
+
legend_options_fields=[
|
|
750
|
+
{
|
|
751
|
+
"property": "collector",
|
|
752
|
+
"enabled": False,
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"property": "cluster_name",
|
|
756
|
+
"enabled": True,
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"property": "role",
|
|
760
|
+
"enabled": True,
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"property": "collector",
|
|
764
|
+
"enabled": False,
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"property": "host",
|
|
768
|
+
"enabled": False,
|
|
769
|
+
},
|
|
770
|
+
],
|
|
771
|
+
max_precision=2,
|
|
772
|
+
sort_by="-value")
|
|
773
|
+
```
|
|
779
774
|
|
|
780
775
|
:param str resource_name: The name of the resource.
|
|
781
776
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
782
|
-
:param pulumi.Input[str] color_by:
|
|
783
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
784
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
785
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
786
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
787
|
-
:param pulumi.Input[bool] hide_missing_values:
|
|
788
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that
|
|
789
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
790
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
791
|
-
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down
|
|
792
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
793
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
794
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list
|
|
795
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
796
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use
|
|
797
|
-
|
|
798
|
-
:param pulumi.Input[int]
|
|
799
|
-
:param pulumi.Input[
|
|
800
|
-
:param pulumi.Input[str]
|
|
801
|
-
:param pulumi.Input[
|
|
802
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ListChartVizOptionArgs']]]] viz_options: Plot-level customization options, associated with a publish statement
|
|
777
|
+
:param pulumi.Input[str] color_by: Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
778
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]] 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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
779
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
780
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
781
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
782
|
+
:param pulumi.Input[bool] hide_missing_values: Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
783
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legend_options_fields`.
|
|
784
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]] legend_options_fields: List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legend_fields_to_hide`.
|
|
785
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
786
|
+
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down.
|
|
787
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
788
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
789
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list.
|
|
790
|
+
: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 (`Sparkline`).
|
|
791
|
+
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sf_metric"` for plot.
|
|
792
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
793
|
+
:param pulumi.Input[int] time_range: How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
794
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
795
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
796
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
803
797
|
"""
|
|
804
798
|
...
|
|
805
799
|
@overload
|
|
@@ -814,49 +808,47 @@ class ListChart(pulumi.CustomResource):
|
|
|
814
808
|
|
|
815
809
|
## Example
|
|
816
810
|
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
* `id` - The ID of the chart.
|
|
859
|
-
* `url` - The URL of the chart.
|
|
811
|
+
```python
|
|
812
|
+
import pulumi
|
|
813
|
+
import pulumi_signalfx as signalfx
|
|
814
|
+
|
|
815
|
+
mylistchart0 = signalfx.ListChart("mylistchart0",
|
|
816
|
+
name="CPU Total Idle - List",
|
|
817
|
+
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
818
|
+
data("cpu.total.idle", filter=myfilters).publish()
|
|
819
|
+
\"\"\",
|
|
820
|
+
description="Very cool List Chart",
|
|
821
|
+
color_by="Metric",
|
|
822
|
+
max_delay=2,
|
|
823
|
+
timezone="Europe/Paris",
|
|
824
|
+
disable_sampling=True,
|
|
825
|
+
refresh_interval=1,
|
|
826
|
+
hide_missing_values=True,
|
|
827
|
+
legend_options_fields=[
|
|
828
|
+
{
|
|
829
|
+
"property": "collector",
|
|
830
|
+
"enabled": False,
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"property": "cluster_name",
|
|
834
|
+
"enabled": True,
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"property": "role",
|
|
838
|
+
"enabled": True,
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"property": "collector",
|
|
842
|
+
"enabled": False,
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"property": "host",
|
|
846
|
+
"enabled": False,
|
|
847
|
+
},
|
|
848
|
+
],
|
|
849
|
+
max_precision=2,
|
|
850
|
+
sort_by="-value")
|
|
851
|
+
```
|
|
860
852
|
|
|
861
853
|
:param str resource_name: The name of the resource.
|
|
862
854
|
:param ListChartArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -874,13 +866,13 @@ class ListChart(pulumi.CustomResource):
|
|
|
874
866
|
resource_name: str,
|
|
875
867
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
876
868
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
877
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
869
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]]] = None,
|
|
878
870
|
description: Optional[pulumi.Input[str]] = None,
|
|
879
871
|
disable_sampling: Optional[pulumi.Input[bool]] = None,
|
|
880
872
|
end_time: Optional[pulumi.Input[int]] = None,
|
|
881
873
|
hide_missing_values: Optional[pulumi.Input[bool]] = None,
|
|
882
874
|
legend_fields_to_hides: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
883
|
-
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
875
|
+
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]]] = None,
|
|
884
876
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
885
877
|
max_precision: Optional[pulumi.Input[int]] = None,
|
|
886
878
|
name: Optional[pulumi.Input[str]] = None,
|
|
@@ -892,7 +884,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
892
884
|
time_range: Optional[pulumi.Input[int]] = None,
|
|
893
885
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
894
886
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
895
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
887
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]]] = None,
|
|
896
888
|
__props__=None):
|
|
897
889
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
898
890
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -936,13 +928,13 @@ class ListChart(pulumi.CustomResource):
|
|
|
936
928
|
id: pulumi.Input[str],
|
|
937
929
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
938
930
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
939
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
931
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]]] = None,
|
|
940
932
|
description: Optional[pulumi.Input[str]] = None,
|
|
941
933
|
disable_sampling: Optional[pulumi.Input[bool]] = None,
|
|
942
934
|
end_time: Optional[pulumi.Input[int]] = None,
|
|
943
935
|
hide_missing_values: Optional[pulumi.Input[bool]] = None,
|
|
944
936
|
legend_fields_to_hides: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
945
|
-
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
937
|
+
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]]] = None,
|
|
946
938
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
947
939
|
max_precision: Optional[pulumi.Input[int]] = None,
|
|
948
940
|
name: Optional[pulumi.Input[str]] = None,
|
|
@@ -955,7 +947,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
955
947
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
956
948
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
957
949
|
url: Optional[pulumi.Input[str]] = None,
|
|
958
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
950
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]]] = None) -> 'ListChart':
|
|
959
951
|
"""
|
|
960
952
|
Get an existing ListChart resource's state with the given name, id, and optional extra
|
|
961
953
|
properties used to qualify the lookup.
|
|
@@ -963,28 +955,27 @@ class ListChart(pulumi.CustomResource):
|
|
|
963
955
|
:param str resource_name: The unique name of the resulting resource.
|
|
964
956
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
965
957
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
966
|
-
:param pulumi.Input[str] color_by:
|
|
967
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
968
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
969
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
970
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
971
|
-
:param pulumi.Input[bool] hide_missing_values:
|
|
972
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that
|
|
973
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
974
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
975
|
-
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down
|
|
976
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
977
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
978
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list
|
|
979
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
980
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use
|
|
981
|
-
|
|
982
|
-
:param pulumi.Input[int]
|
|
983
|
-
:param pulumi.Input[
|
|
984
|
-
:param pulumi.Input[str]
|
|
985
|
-
:param pulumi.Input[str]
|
|
986
|
-
:param pulumi.Input[
|
|
987
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ListChartVizOptionArgs']]]] viz_options: Plot-level customization options, associated with a publish statement
|
|
958
|
+
:param pulumi.Input[str] color_by: Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
959
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]] 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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
960
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
961
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
962
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
963
|
+
:param pulumi.Input[bool] hide_missing_values: Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
964
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legend_options_fields`.
|
|
965
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]] legend_options_fields: List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legend_fields_to_hide`.
|
|
966
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
967
|
+
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down.
|
|
968
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
969
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
970
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list.
|
|
971
|
+
: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 (`Sparkline`).
|
|
972
|
+
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sf_metric"` for plot.
|
|
973
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
974
|
+
:param pulumi.Input[int] time_range: How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
975
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
976
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
977
|
+
:param pulumi.Input[str] url: The URL of the chart.
|
|
978
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
988
979
|
"""
|
|
989
980
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
990
981
|
|
|
@@ -1017,7 +1008,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1017
1008
|
@pulumi.getter(name="colorBy")
|
|
1018
1009
|
def color_by(self) -> pulumi.Output[Optional[str]]:
|
|
1019
1010
|
"""
|
|
1020
|
-
|
|
1011
|
+
Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
1021
1012
|
"""
|
|
1022
1013
|
return pulumi.get(self, "color_by")
|
|
1023
1014
|
|
|
@@ -1025,7 +1016,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1025
1016
|
@pulumi.getter(name="colorScales")
|
|
1026
1017
|
def color_scales(self) -> pulumi.Output[Optional[Sequence['outputs.ListChartColorScale']]]:
|
|
1027
1018
|
"""
|
|
1028
|
-
Single color range including both the color to display for that range and the borders of the range
|
|
1019
|
+
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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
1029
1020
|
"""
|
|
1030
1021
|
return pulumi.get(self, "color_scales")
|
|
1031
1022
|
|
|
@@ -1033,7 +1024,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1033
1024
|
@pulumi.getter
|
|
1034
1025
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
1035
1026
|
"""
|
|
1036
|
-
Description of the chart
|
|
1027
|
+
Description of the chart.
|
|
1037
1028
|
"""
|
|
1038
1029
|
return pulumi.get(self, "description")
|
|
1039
1030
|
|
|
@@ -1041,7 +1032,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1041
1032
|
@pulumi.getter(name="disableSampling")
|
|
1042
1033
|
def disable_sampling(self) -> pulumi.Output[Optional[bool]]:
|
|
1043
1034
|
"""
|
|
1044
|
-
|
|
1035
|
+
If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
1045
1036
|
"""
|
|
1046
1037
|
return pulumi.get(self, "disable_sampling")
|
|
1047
1038
|
|
|
@@ -1049,7 +1040,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1049
1040
|
@pulumi.getter(name="endTime")
|
|
1050
1041
|
def end_time(self) -> pulumi.Output[Optional[int]]:
|
|
1051
1042
|
"""
|
|
1052
|
-
Seconds since epoch
|
|
1043
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
1053
1044
|
"""
|
|
1054
1045
|
return pulumi.get(self, "end_time")
|
|
1055
1046
|
|
|
@@ -1057,26 +1048,24 @@ class ListChart(pulumi.CustomResource):
|
|
|
1057
1048
|
@pulumi.getter(name="hideMissingValues")
|
|
1058
1049
|
def hide_missing_values(self) -> pulumi.Output[Optional[bool]]:
|
|
1059
1050
|
"""
|
|
1060
|
-
|
|
1051
|
+
Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
1061
1052
|
"""
|
|
1062
1053
|
return pulumi.get(self, "hide_missing_values")
|
|
1063
1054
|
|
|
1064
1055
|
@property
|
|
1065
1056
|
@pulumi.getter(name="legendFieldsToHides")
|
|
1057
|
+
@_utilities.deprecated("""Please use legend_options_fields""")
|
|
1066
1058
|
def legend_fields_to_hides(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1067
1059
|
"""
|
|
1068
|
-
List of properties that
|
|
1060
|
+
List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legend_options_fields`.
|
|
1069
1061
|
"""
|
|
1070
|
-
warnings.warn("""Please use legend_options_fields""", DeprecationWarning)
|
|
1071
|
-
pulumi.log.warn("""legend_fields_to_hides is deprecated: Please use legend_options_fields""")
|
|
1072
|
-
|
|
1073
1062
|
return pulumi.get(self, "legend_fields_to_hides")
|
|
1074
1063
|
|
|
1075
1064
|
@property
|
|
1076
1065
|
@pulumi.getter(name="legendOptionsFields")
|
|
1077
1066
|
def legend_options_fields(self) -> pulumi.Output[Optional[Sequence['outputs.ListChartLegendOptionsField']]]:
|
|
1078
1067
|
"""
|
|
1079
|
-
List of property and enabled flags
|
|
1068
|
+
List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legend_fields_to_hide`.
|
|
1080
1069
|
"""
|
|
1081
1070
|
return pulumi.get(self, "legend_options_fields")
|
|
1082
1071
|
|
|
@@ -1084,7 +1073,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1084
1073
|
@pulumi.getter(name="maxDelay")
|
|
1085
1074
|
def max_delay(self) -> pulumi.Output[Optional[int]]:
|
|
1086
1075
|
"""
|
|
1087
|
-
How long (in seconds) to wait for late datapoints
|
|
1076
|
+
How long (in seconds) to wait for late datapoints.
|
|
1088
1077
|
"""
|
|
1089
1078
|
return pulumi.get(self, "max_delay")
|
|
1090
1079
|
|
|
@@ -1092,7 +1081,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1092
1081
|
@pulumi.getter(name="maxPrecision")
|
|
1093
1082
|
def max_precision(self) -> pulumi.Output[Optional[int]]:
|
|
1094
1083
|
"""
|
|
1095
|
-
Maximum number of digits to display when rounding values up or down
|
|
1084
|
+
Maximum number of digits to display when rounding values up or down.
|
|
1096
1085
|
"""
|
|
1097
1086
|
return pulumi.get(self, "max_precision")
|
|
1098
1087
|
|
|
@@ -1100,7 +1089,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1100
1089
|
@pulumi.getter
|
|
1101
1090
|
def name(self) -> pulumi.Output[str]:
|
|
1102
1091
|
"""
|
|
1103
|
-
Name of the chart
|
|
1092
|
+
Name of the chart.
|
|
1104
1093
|
"""
|
|
1105
1094
|
return pulumi.get(self, "name")
|
|
1106
1095
|
|
|
@@ -1108,7 +1097,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1108
1097
|
@pulumi.getter(name="programText")
|
|
1109
1098
|
def program_text(self) -> pulumi.Output[str]:
|
|
1110
1099
|
"""
|
|
1111
|
-
Signalflow program text for the chart. More info
|
|
1100
|
+
Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
1112
1101
|
"""
|
|
1113
1102
|
return pulumi.get(self, "program_text")
|
|
1114
1103
|
|
|
@@ -1116,7 +1105,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1116
1105
|
@pulumi.getter(name="refreshInterval")
|
|
1117
1106
|
def refresh_interval(self) -> pulumi.Output[Optional[int]]:
|
|
1118
1107
|
"""
|
|
1119
|
-
How often (in seconds) to refresh the values of the list
|
|
1108
|
+
How often (in seconds) to refresh the values of the list.
|
|
1120
1109
|
"""
|
|
1121
1110
|
return pulumi.get(self, "refresh_interval")
|
|
1122
1111
|
|
|
@@ -1124,7 +1113,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1124
1113
|
@pulumi.getter(name="secondaryVisualization")
|
|
1125
1114
|
def secondary_visualization(self) -> pulumi.Output[Optional[str]]:
|
|
1126
1115
|
"""
|
|
1127
|
-
|
|
1116
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
1128
1117
|
"""
|
|
1129
1118
|
return pulumi.get(self, "secondary_visualization")
|
|
1130
1119
|
|
|
@@ -1132,8 +1121,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1132
1121
|
@pulumi.getter(name="sortBy")
|
|
1133
1122
|
def sort_by(self) -> pulumi.Output[Optional[str]]:
|
|
1134
1123
|
"""
|
|
1135
|
-
The property to use when sorting the elements. Use
|
|
1136
|
-
ascending or - for descending (e.g. -foo)
|
|
1124
|
+
The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sf_metric"` for plot.
|
|
1137
1125
|
"""
|
|
1138
1126
|
return pulumi.get(self, "sort_by")
|
|
1139
1127
|
|
|
@@ -1141,7 +1129,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1141
1129
|
@pulumi.getter(name="startTime")
|
|
1142
1130
|
def start_time(self) -> pulumi.Output[Optional[int]]:
|
|
1143
1131
|
"""
|
|
1144
|
-
Seconds since epoch
|
|
1132
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
1145
1133
|
"""
|
|
1146
1134
|
return pulumi.get(self, "start_time")
|
|
1147
1135
|
|
|
@@ -1149,7 +1137,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1149
1137
|
@pulumi.getter(name="timeRange")
|
|
1150
1138
|
def time_range(self) -> pulumi.Output[Optional[int]]:
|
|
1151
1139
|
"""
|
|
1152
|
-
|
|
1140
|
+
How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
1153
1141
|
"""
|
|
1154
1142
|
return pulumi.get(self, "time_range")
|
|
1155
1143
|
|
|
@@ -1157,7 +1145,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1157
1145
|
@pulumi.getter
|
|
1158
1146
|
def timezone(self) -> pulumi.Output[Optional[str]]:
|
|
1159
1147
|
"""
|
|
1160
|
-
The property value is a string that denotes the geographic region associated with the time zone, (
|
|
1148
|
+
The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
1161
1149
|
"""
|
|
1162
1150
|
return pulumi.get(self, "timezone")
|
|
1163
1151
|
|
|
@@ -1165,7 +1153,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1165
1153
|
@pulumi.getter(name="unitPrefix")
|
|
1166
1154
|
def unit_prefix(self) -> pulumi.Output[Optional[str]]:
|
|
1167
1155
|
"""
|
|
1168
|
-
|
|
1156
|
+
Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
1169
1157
|
"""
|
|
1170
1158
|
return pulumi.get(self, "unit_prefix")
|
|
1171
1159
|
|
|
@@ -1173,7 +1161,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1173
1161
|
@pulumi.getter
|
|
1174
1162
|
def url(self) -> pulumi.Output[str]:
|
|
1175
1163
|
"""
|
|
1176
|
-
URL of the chart
|
|
1164
|
+
The URL of the chart.
|
|
1177
1165
|
"""
|
|
1178
1166
|
return pulumi.get(self, "url")
|
|
1179
1167
|
|
|
@@ -1181,7 +1169,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1181
1169
|
@pulumi.getter(name="vizOptions")
|
|
1182
1170
|
def viz_options(self) -> pulumi.Output[Optional[Sequence['outputs.ListChartVizOption']]]:
|
|
1183
1171
|
"""
|
|
1184
|
-
Plot-level customization options, associated with a publish statement
|
|
1172
|
+
Plot-level customization options, associated with a publish statement.
|
|
1185
1173
|
"""
|
|
1186
1174
|
return pulumi.get(self, "viz_options")
|
|
1187
1175
|
|