pulumi-signalfx 7.2.0a1709367777__py3-none-any.whl → 7.6.0a1736835428__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_signalfx/__init__.py +9 -0
- pulumi_signalfx/_inputs.py +1976 -339
- pulumi_signalfx/_utilities.py +41 -5
- pulumi_signalfx/alert_muting_rule.py +110 -86
- pulumi_signalfx/aws/_inputs.py +85 -16
- pulumi_signalfx/aws/external_integration.py +20 -275
- pulumi_signalfx/aws/integration.py +222 -367
- pulumi_signalfx/aws/outputs.py +21 -16
- pulumi_signalfx/aws/token_integration.py +46 -65
- pulumi_signalfx/azure/_inputs.py +41 -4
- pulumi_signalfx/azure/integration.py +144 -259
- pulumi_signalfx/azure/outputs.py +15 -4
- pulumi_signalfx/config/__init__.pyi +22 -0
- pulumi_signalfx/config/vars.py +28 -0
- pulumi_signalfx/dashboard.py +171 -186
- pulumi_signalfx/dashboard_group.py +131 -198
- pulumi_signalfx/data_link.py +76 -141
- pulumi_signalfx/detector.py +264 -369
- pulumi_signalfx/event_feed_chart.py +51 -82
- pulumi_signalfx/gcp/_inputs.py +51 -0
- pulumi_signalfx/gcp/integration.py +224 -192
- pulumi_signalfx/gcp/outputs.py +44 -0
- pulumi_signalfx/get_dimension_values.py +47 -24
- pulumi_signalfx/heatmap_chart.py +165 -228
- pulumi_signalfx/jira/integration.py +70 -119
- pulumi_signalfx/list_chart.py +219 -315
- pulumi_signalfx/log/_inputs.py +33 -2
- pulumi_signalfx/log/outputs.py +7 -2
- pulumi_signalfx/log/timeline.py +64 -99
- pulumi_signalfx/log/view.py +134 -173
- pulumi_signalfx/metric_ruleset.py +217 -70
- pulumi_signalfx/opsgenie/integration.py +41 -60
- pulumi_signalfx/org_token.py +97 -128
- pulumi_signalfx/outputs.py +661 -339
- pulumi_signalfx/pagerduty/get_integration.py +22 -21
- pulumi_signalfx/pagerduty/integration.py +34 -49
- pulumi_signalfx/provider.py +99 -0
- pulumi_signalfx/pulumi-plugin.json +2 -1
- pulumi_signalfx/servicenow/integration.py +52 -107
- pulumi_signalfx/single_value_chart.py +113 -178
- pulumi_signalfx/slack/integration.py +30 -47
- pulumi_signalfx/slo.py +99 -197
- pulumi_signalfx/slo_chart.py +197 -0
- pulumi_signalfx/table_chart.py +50 -75
- pulumi_signalfx/team.py +74 -109
- pulumi_signalfx/text_chart.py +64 -89
- pulumi_signalfx/time_chart.py +271 -400
- pulumi_signalfx/victorops/integration.py +30 -47
- pulumi_signalfx/webhook_integration.py +154 -75
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/METADATA +7 -6
- pulumi_signalfx-7.6.0a1736835428.dist-info/RECORD +65 -0
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/WHEEL +1 -1
- pulumi_signalfx-7.2.0a1709367777.dist-info/RECORD +0 -64
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/top_level.txt +0 -0
pulumi_signalfx/heatmap_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 *
|
|
@@ -32,20 +37,20 @@ class HeatmapChartArgs:
|
|
|
32
37
|
unit_prefix: Optional[pulumi.Input[str]] = None):
|
|
33
38
|
"""
|
|
34
39
|
The set of arguments for constructing a HeatmapChart resource.
|
|
35
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at
|
|
36
|
-
:param pulumi.Input['HeatmapChartColorRangeArgs'] color_range: Values and color for the color range. Example:
|
|
37
|
-
:param pulumi.Input[Sequence[pulumi.Input['HeatmapChartColorScaleArgs']]] color_scales:
|
|
38
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
39
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
40
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] group_bies: Properties to group by in the heatmap (in nesting order)
|
|
41
|
-
:param pulumi.Input[bool] hide_timestamp:
|
|
42
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
43
|
-
:param pulumi.Input[int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program
|
|
44
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
45
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the heatmap
|
|
46
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Must be prepended with
|
|
47
|
-
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (
|
|
48
|
-
:param pulumi.Input[str] unit_prefix:
|
|
40
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
41
|
+
:param pulumi.Input['HeatmapChartColorRangeArgs'] color_range: Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input['HeatmapChartColorScaleArgs']]] color_scales: One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
43
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
44
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] group_bies: Properties to group by in the heatmap (in nesting order).
|
|
46
|
+
:param pulumi.Input[bool] hide_timestamp: Whether to show the timestamp in the chart. `false` by default.
|
|
47
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
48
|
+
:param pulumi.Input[int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program.
|
|
49
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
50
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the heatmap.
|
|
51
|
+
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
52
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
53
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
49
54
|
"""
|
|
50
55
|
pulumi.set(__self__, "program_text", program_text)
|
|
51
56
|
if color_range is not None:
|
|
@@ -79,7 +84,7 @@ class HeatmapChartArgs:
|
|
|
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 at
|
|
87
|
+
Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
83
88
|
"""
|
|
84
89
|
return pulumi.get(self, "program_text")
|
|
85
90
|
|
|
@@ -91,7 +96,7 @@ class HeatmapChartArgs:
|
|
|
91
96
|
@pulumi.getter(name="colorRange")
|
|
92
97
|
def color_range(self) -> Optional[pulumi.Input['HeatmapChartColorRangeArgs']]:
|
|
93
98
|
"""
|
|
94
|
-
Values and color for the color range. Example:
|
|
99
|
+
Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
95
100
|
"""
|
|
96
101
|
return pulumi.get(self, "color_range")
|
|
97
102
|
|
|
@@ -103,7 +108,7 @@ class HeatmapChartArgs:
|
|
|
103
108
|
@pulumi.getter(name="colorScales")
|
|
104
109
|
def color_scales(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HeatmapChartColorScaleArgs']]]]:
|
|
105
110
|
"""
|
|
106
|
-
|
|
111
|
+
One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
107
112
|
"""
|
|
108
113
|
return pulumi.get(self, "color_scales")
|
|
109
114
|
|
|
@@ -115,7 +120,7 @@ class HeatmapChartArgs:
|
|
|
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 HeatmapChartArgs:
|
|
|
127
132
|
@pulumi.getter(name="disableSampling")
|
|
128
133
|
def disable_sampling(self) -> Optional[pulumi.Input[bool]]:
|
|
129
134
|
"""
|
|
130
|
-
|
|
135
|
+
If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
131
136
|
"""
|
|
132
137
|
return pulumi.get(self, "disable_sampling")
|
|
133
138
|
|
|
@@ -139,7 +144,7 @@ class HeatmapChartArgs:
|
|
|
139
144
|
@pulumi.getter(name="groupBies")
|
|
140
145
|
def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
141
146
|
"""
|
|
142
|
-
Properties to group by in the heatmap (in nesting order)
|
|
147
|
+
Properties to group by in the heatmap (in nesting order).
|
|
143
148
|
"""
|
|
144
149
|
return pulumi.get(self, "group_bies")
|
|
145
150
|
|
|
@@ -151,7 +156,7 @@ class HeatmapChartArgs:
|
|
|
151
156
|
@pulumi.getter(name="hideTimestamp")
|
|
152
157
|
def hide_timestamp(self) -> Optional[pulumi.Input[bool]]:
|
|
153
158
|
"""
|
|
154
|
-
|
|
159
|
+
Whether to show the timestamp in the chart. `false` by default.
|
|
155
160
|
"""
|
|
156
161
|
return pulumi.get(self, "hide_timestamp")
|
|
157
162
|
|
|
@@ -163,7 +168,7 @@ class HeatmapChartArgs:
|
|
|
163
168
|
@pulumi.getter(name="maxDelay")
|
|
164
169
|
def max_delay(self) -> Optional[pulumi.Input[int]]:
|
|
165
170
|
"""
|
|
166
|
-
How long (in seconds) to wait for late datapoints
|
|
171
|
+
How long (in seconds) to wait for late datapoints.
|
|
167
172
|
"""
|
|
168
173
|
return pulumi.get(self, "max_delay")
|
|
169
174
|
|
|
@@ -175,7 +180,7 @@ class HeatmapChartArgs:
|
|
|
175
180
|
@pulumi.getter(name="minimumResolution")
|
|
176
181
|
def minimum_resolution(self) -> Optional[pulumi.Input[int]]:
|
|
177
182
|
"""
|
|
178
|
-
The minimum resolution (in seconds) to use for computing the underlying program
|
|
183
|
+
The minimum resolution (in seconds) to use for computing the underlying program.
|
|
179
184
|
"""
|
|
180
185
|
return pulumi.get(self, "minimum_resolution")
|
|
181
186
|
|
|
@@ -187,7 +192,7 @@ class HeatmapChartArgs:
|
|
|
187
192
|
@pulumi.getter
|
|
188
193
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
189
194
|
"""
|
|
190
|
-
Name of the chart
|
|
195
|
+
Name of the chart.
|
|
191
196
|
"""
|
|
192
197
|
return pulumi.get(self, "name")
|
|
193
198
|
|
|
@@ -199,7 +204,7 @@ class HeatmapChartArgs:
|
|
|
199
204
|
@pulumi.getter(name="refreshInterval")
|
|
200
205
|
def refresh_interval(self) -> Optional[pulumi.Input[int]]:
|
|
201
206
|
"""
|
|
202
|
-
How often (in seconds) to refresh the values of the heatmap
|
|
207
|
+
How often (in seconds) to refresh the values of the heatmap.
|
|
203
208
|
"""
|
|
204
209
|
return pulumi.get(self, "refresh_interval")
|
|
205
210
|
|
|
@@ -211,7 +216,7 @@ class HeatmapChartArgs:
|
|
|
211
216
|
@pulumi.getter(name="sortBy")
|
|
212
217
|
def sort_by(self) -> Optional[pulumi.Input[str]]:
|
|
213
218
|
"""
|
|
214
|
-
The property to use when sorting the elements. Must be prepended with
|
|
219
|
+
The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
215
220
|
"""
|
|
216
221
|
return pulumi.get(self, "sort_by")
|
|
217
222
|
|
|
@@ -223,7 +228,7 @@ class HeatmapChartArgs:
|
|
|
223
228
|
@pulumi.getter
|
|
224
229
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
225
230
|
"""
|
|
226
|
-
The property value is a string that denotes the geographic region associated with the time zone, (
|
|
231
|
+
The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
227
232
|
"""
|
|
228
233
|
return pulumi.get(self, "timezone")
|
|
229
234
|
|
|
@@ -235,7 +240,7 @@ class HeatmapChartArgs:
|
|
|
235
240
|
@pulumi.getter(name="unitPrefix")
|
|
236
241
|
def unit_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
237
242
|
"""
|
|
238
|
-
|
|
243
|
+
Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
239
244
|
"""
|
|
240
245
|
return pulumi.get(self, "unit_prefix")
|
|
241
246
|
|
|
@@ -264,21 +269,21 @@ class _HeatmapChartState:
|
|
|
264
269
|
url: Optional[pulumi.Input[str]] = None):
|
|
265
270
|
"""
|
|
266
271
|
Input properties used for looking up and filtering HeatmapChart resources.
|
|
267
|
-
:param pulumi.Input['HeatmapChartColorRangeArgs'] color_range: Values and color for the color range. Example:
|
|
268
|
-
:param pulumi.Input[Sequence[pulumi.Input['HeatmapChartColorScaleArgs']]] color_scales:
|
|
269
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
270
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
271
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] group_bies: Properties to group by in the heatmap (in nesting order)
|
|
272
|
-
:param pulumi.Input[bool] hide_timestamp:
|
|
273
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
274
|
-
:param pulumi.Input[int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program
|
|
275
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
276
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at
|
|
277
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the heatmap
|
|
278
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Must be prepended with
|
|
279
|
-
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (
|
|
280
|
-
:param pulumi.Input[str] unit_prefix:
|
|
281
|
-
:param pulumi.Input[str] url: URL of the chart
|
|
272
|
+
:param pulumi.Input['HeatmapChartColorRangeArgs'] color_range: Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
273
|
+
:param pulumi.Input[Sequence[pulumi.Input['HeatmapChartColorScaleArgs']]] color_scales: One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
274
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
275
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
276
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] group_bies: Properties to group by in the heatmap (in nesting order).
|
|
277
|
+
:param pulumi.Input[bool] hide_timestamp: Whether to show the timestamp in the chart. `false` by default.
|
|
278
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
279
|
+
:param pulumi.Input[int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program.
|
|
280
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
281
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
282
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the heatmap.
|
|
283
|
+
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
284
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
285
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
286
|
+
:param pulumi.Input[str] url: The URL of the chart.
|
|
282
287
|
"""
|
|
283
288
|
if color_range is not None:
|
|
284
289
|
pulumi.set(__self__, "color_range", color_range)
|
|
@@ -315,7 +320,7 @@ class _HeatmapChartState:
|
|
|
315
320
|
@pulumi.getter(name="colorRange")
|
|
316
321
|
def color_range(self) -> Optional[pulumi.Input['HeatmapChartColorRangeArgs']]:
|
|
317
322
|
"""
|
|
318
|
-
Values and color for the color range. Example:
|
|
323
|
+
Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
319
324
|
"""
|
|
320
325
|
return pulumi.get(self, "color_range")
|
|
321
326
|
|
|
@@ -327,7 +332,7 @@ class _HeatmapChartState:
|
|
|
327
332
|
@pulumi.getter(name="colorScales")
|
|
328
333
|
def color_scales(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HeatmapChartColorScaleArgs']]]]:
|
|
329
334
|
"""
|
|
330
|
-
|
|
335
|
+
One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
331
336
|
"""
|
|
332
337
|
return pulumi.get(self, "color_scales")
|
|
333
338
|
|
|
@@ -339,7 +344,7 @@ class _HeatmapChartState:
|
|
|
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 _HeatmapChartState:
|
|
|
351
356
|
@pulumi.getter(name="disableSampling")
|
|
352
357
|
def disable_sampling(self) -> Optional[pulumi.Input[bool]]:
|
|
353
358
|
"""
|
|
354
|
-
|
|
359
|
+
If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
355
360
|
"""
|
|
356
361
|
return pulumi.get(self, "disable_sampling")
|
|
357
362
|
|
|
@@ -363,7 +368,7 @@ class _HeatmapChartState:
|
|
|
363
368
|
@pulumi.getter(name="groupBies")
|
|
364
369
|
def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
365
370
|
"""
|
|
366
|
-
Properties to group by in the heatmap (in nesting order)
|
|
371
|
+
Properties to group by in the heatmap (in nesting order).
|
|
367
372
|
"""
|
|
368
373
|
return pulumi.get(self, "group_bies")
|
|
369
374
|
|
|
@@ -375,7 +380,7 @@ class _HeatmapChartState:
|
|
|
375
380
|
@pulumi.getter(name="hideTimestamp")
|
|
376
381
|
def hide_timestamp(self) -> Optional[pulumi.Input[bool]]:
|
|
377
382
|
"""
|
|
378
|
-
|
|
383
|
+
Whether to show the timestamp in the chart. `false` by default.
|
|
379
384
|
"""
|
|
380
385
|
return pulumi.get(self, "hide_timestamp")
|
|
381
386
|
|
|
@@ -387,7 +392,7 @@ class _HeatmapChartState:
|
|
|
387
392
|
@pulumi.getter(name="maxDelay")
|
|
388
393
|
def max_delay(self) -> Optional[pulumi.Input[int]]:
|
|
389
394
|
"""
|
|
390
|
-
How long (in seconds) to wait for late datapoints
|
|
395
|
+
How long (in seconds) to wait for late datapoints.
|
|
391
396
|
"""
|
|
392
397
|
return pulumi.get(self, "max_delay")
|
|
393
398
|
|
|
@@ -399,7 +404,7 @@ class _HeatmapChartState:
|
|
|
399
404
|
@pulumi.getter(name="minimumResolution")
|
|
400
405
|
def minimum_resolution(self) -> Optional[pulumi.Input[int]]:
|
|
401
406
|
"""
|
|
402
|
-
The minimum resolution (in seconds) to use for computing the underlying program
|
|
407
|
+
The minimum resolution (in seconds) to use for computing the underlying program.
|
|
403
408
|
"""
|
|
404
409
|
return pulumi.get(self, "minimum_resolution")
|
|
405
410
|
|
|
@@ -411,7 +416,7 @@ class _HeatmapChartState:
|
|
|
411
416
|
@pulumi.getter
|
|
412
417
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
413
418
|
"""
|
|
414
|
-
Name of the chart
|
|
419
|
+
Name of the chart.
|
|
415
420
|
"""
|
|
416
421
|
return pulumi.get(self, "name")
|
|
417
422
|
|
|
@@ -423,7 +428,7 @@ class _HeatmapChartState:
|
|
|
423
428
|
@pulumi.getter(name="programText")
|
|
424
429
|
def program_text(self) -> Optional[pulumi.Input[str]]:
|
|
425
430
|
"""
|
|
426
|
-
Signalflow program text for the chart. More info at
|
|
431
|
+
Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
427
432
|
"""
|
|
428
433
|
return pulumi.get(self, "program_text")
|
|
429
434
|
|
|
@@ -435,7 +440,7 @@ class _HeatmapChartState:
|
|
|
435
440
|
@pulumi.getter(name="refreshInterval")
|
|
436
441
|
def refresh_interval(self) -> Optional[pulumi.Input[int]]:
|
|
437
442
|
"""
|
|
438
|
-
How often (in seconds) to refresh the values of the heatmap
|
|
443
|
+
How often (in seconds) to refresh the values of the heatmap.
|
|
439
444
|
"""
|
|
440
445
|
return pulumi.get(self, "refresh_interval")
|
|
441
446
|
|
|
@@ -447,7 +452,7 @@ class _HeatmapChartState:
|
|
|
447
452
|
@pulumi.getter(name="sortBy")
|
|
448
453
|
def sort_by(self) -> Optional[pulumi.Input[str]]:
|
|
449
454
|
"""
|
|
450
|
-
The property to use when sorting the elements. Must be prepended with
|
|
455
|
+
The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
451
456
|
"""
|
|
452
457
|
return pulumi.get(self, "sort_by")
|
|
453
458
|
|
|
@@ -459,7 +464,7 @@ class _HeatmapChartState:
|
|
|
459
464
|
@pulumi.getter
|
|
460
465
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
461
466
|
"""
|
|
462
|
-
The property value is a string that denotes the geographic region associated with the time zone, (
|
|
467
|
+
The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
463
468
|
"""
|
|
464
469
|
return pulumi.get(self, "timezone")
|
|
465
470
|
|
|
@@ -471,7 +476,7 @@ class _HeatmapChartState:
|
|
|
471
476
|
@pulumi.getter(name="unitPrefix")
|
|
472
477
|
def unit_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
473
478
|
"""
|
|
474
|
-
|
|
479
|
+
Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
475
480
|
"""
|
|
476
481
|
return pulumi.get(self, "unit_prefix")
|
|
477
482
|
|
|
@@ -483,7 +488,7 @@ class _HeatmapChartState:
|
|
|
483
488
|
@pulumi.getter
|
|
484
489
|
def url(self) -> Optional[pulumi.Input[str]]:
|
|
485
490
|
"""
|
|
486
|
-
URL of the chart
|
|
491
|
+
The URL of the chart.
|
|
487
492
|
"""
|
|
488
493
|
return pulumi.get(self, "url")
|
|
489
494
|
|
|
@@ -497,8 +502,8 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
497
502
|
def __init__(__self__,
|
|
498
503
|
resource_name: str,
|
|
499
504
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
500
|
-
color_range: Optional[pulumi.Input[
|
|
501
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
505
|
+
color_range: Optional[pulumi.Input[Union['HeatmapChartColorRangeArgs', 'HeatmapChartColorRangeArgsDict']]] = None,
|
|
506
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HeatmapChartColorScaleArgs', 'HeatmapChartColorScaleArgsDict']]]]] = None,
|
|
502
507
|
description: Optional[pulumi.Input[str]] = None,
|
|
503
508
|
disable_sampling: Optional[pulumi.Input[bool]] = None,
|
|
504
509
|
group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -522,91 +527,57 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
522
527
|
import pulumi_signalfx as signalfx
|
|
523
528
|
|
|
524
529
|
myheatmapchart0 = signalfx.HeatmapChart("myheatmapchart0",
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
),
|
|
530
|
-
color_scales=[
|
|
531
|
-
signalfx.HeatmapChartColorScaleArgs(
|
|
532
|
-
color="green",
|
|
533
|
-
gte=99,
|
|
534
|
-
),
|
|
535
|
-
signalfx.HeatmapChartColorScaleArgs(
|
|
536
|
-
color="yellow",
|
|
537
|
-
gte=95,
|
|
538
|
-
lt=99,
|
|
539
|
-
),
|
|
540
|
-
signalfx.HeatmapChartColorScaleArgs(
|
|
541
|
-
color="red",
|
|
542
|
-
lt=95,
|
|
543
|
-
),
|
|
544
|
-
],
|
|
530
|
+
name="CPU Total Idle - Heatmap",
|
|
531
|
+
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
532
|
+
data("cpu.total.idle", filter=myfilters).publish()
|
|
533
|
+
\"\"\",
|
|
545
534
|
description="Very cool Heatmap",
|
|
546
535
|
disable_sampling=True,
|
|
536
|
+
sort_by="+host",
|
|
547
537
|
group_bies=[
|
|
548
538
|
"hostname",
|
|
549
539
|
"host",
|
|
550
540
|
],
|
|
551
541
|
hide_timestamp=True,
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
542
|
+
timezone="Europe/Paris",
|
|
543
|
+
color_range={
|
|
544
|
+
"min_value": 0,
|
|
545
|
+
"max_value": 100,
|
|
546
|
+
"color": "#ff0000",
|
|
547
|
+
},
|
|
548
|
+
color_scales=[
|
|
549
|
+
{
|
|
550
|
+
"gte": 99,
|
|
551
|
+
"color": "green",
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"lt": 99,
|
|
555
|
+
"gte": 95,
|
|
556
|
+
"color": "yellow",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"lt": 95,
|
|
560
|
+
"color": "red",
|
|
561
|
+
},
|
|
562
|
+
])
|
|
558
563
|
```
|
|
559
564
|
|
|
560
|
-
## Arguments
|
|
561
|
-
|
|
562
|
-
The following arguments are supported in the resource block:
|
|
563
|
-
|
|
564
|
-
* `name` - (Required) Name of the chart.
|
|
565
|
-
* `program_text` - (Required) Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
566
|
-
* `description` - (Optional) Description of the chart.
|
|
567
|
-
* `unit_prefix` - (Optional) Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
568
|
-
* `minimum_resolution` - (Optional) The minimum resolution (in seconds) to use for computing the underlying program.
|
|
569
|
-
* `max_delay` - (Optional) How long (in seconds) to wait for late datapoints.
|
|
570
|
-
* `timezone` - (Optional) The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
571
|
-
* `refresh_interval` - (Optional) How often (in seconds) to refresh the values of the heatmap.
|
|
572
|
-
* `disable_sampling` - (Optional) If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
573
|
-
* `group_by` - (Optional) Properties to group by in the heatmap (in nesting order).
|
|
574
|
-
* `sort_by` - (Optional) The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
575
|
-
* `hide_timestamp` - (Optional) Whether to show the timestamp in the chart. `false` by default.
|
|
576
|
-
* `color_range` - (Optional, Default) Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
577
|
-
* `min_value` - (Optional) The minimum value within the coloring range.
|
|
578
|
-
* `max_value` - (Optional) The maximum value within the coloring range.
|
|
579
|
-
* `color` - (Required) The color range to use. The starting hex color value for data values in a heatmap chart. Specify the value as a 6-character hexadecimal value preceded by the '#' character, for example "#ea1849" (grass green).
|
|
580
|
-
* `color_scale` - (Optional. Conflicts with `color_range`) One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
581
|
-
* `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
582
|
-
* `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
583
|
-
* `lt` - (Optional) Indicates the upper threshold non-inclusive value for this range.
|
|
584
|
-
* `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
585
|
-
* `color` - (Required) The color range to use. Hex values are not supported here. 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.
|
|
586
|
-
|
|
587
|
-
## Attributes
|
|
588
|
-
|
|
589
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
590
|
-
|
|
591
|
-
* `id` - The ID of the chart.
|
|
592
|
-
* `url` - The URL of the chart.
|
|
593
|
-
|
|
594
565
|
:param str resource_name: The name of the resource.
|
|
595
566
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
596
|
-
:param pulumi.Input[
|
|
597
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
598
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
599
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
600
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] group_bies: Properties to group by in the heatmap (in nesting order)
|
|
601
|
-
:param pulumi.Input[bool] hide_timestamp:
|
|
602
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
603
|
-
:param pulumi.Input[int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program
|
|
604
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
605
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at
|
|
606
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the heatmap
|
|
607
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Must be prepended with
|
|
608
|
-
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (
|
|
609
|
-
:param pulumi.Input[str] unit_prefix:
|
|
567
|
+
:param pulumi.Input[Union['HeatmapChartColorRangeArgs', 'HeatmapChartColorRangeArgsDict']] color_range: Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
568
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['HeatmapChartColorScaleArgs', 'HeatmapChartColorScaleArgsDict']]]] color_scales: One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
569
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
570
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
571
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] group_bies: Properties to group by in the heatmap (in nesting order).
|
|
572
|
+
:param pulumi.Input[bool] hide_timestamp: Whether to show the timestamp in the chart. `false` by default.
|
|
573
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
574
|
+
:param pulumi.Input[int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program.
|
|
575
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
576
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
577
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the heatmap.
|
|
578
|
+
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
579
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
580
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
610
581
|
"""
|
|
611
582
|
...
|
|
612
583
|
@overload
|
|
@@ -624,75 +595,41 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
624
595
|
import pulumi_signalfx as signalfx
|
|
625
596
|
|
|
626
597
|
myheatmapchart0 = signalfx.HeatmapChart("myheatmapchart0",
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
),
|
|
632
|
-
color_scales=[
|
|
633
|
-
signalfx.HeatmapChartColorScaleArgs(
|
|
634
|
-
color="green",
|
|
635
|
-
gte=99,
|
|
636
|
-
),
|
|
637
|
-
signalfx.HeatmapChartColorScaleArgs(
|
|
638
|
-
color="yellow",
|
|
639
|
-
gte=95,
|
|
640
|
-
lt=99,
|
|
641
|
-
),
|
|
642
|
-
signalfx.HeatmapChartColorScaleArgs(
|
|
643
|
-
color="red",
|
|
644
|
-
lt=95,
|
|
645
|
-
),
|
|
646
|
-
],
|
|
598
|
+
name="CPU Total Idle - Heatmap",
|
|
599
|
+
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
600
|
+
data("cpu.total.idle", filter=myfilters).publish()
|
|
601
|
+
\"\"\",
|
|
647
602
|
description="Very cool Heatmap",
|
|
648
603
|
disable_sampling=True,
|
|
604
|
+
sort_by="+host",
|
|
649
605
|
group_bies=[
|
|
650
606
|
"hostname",
|
|
651
607
|
"host",
|
|
652
608
|
],
|
|
653
609
|
hide_timestamp=True,
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
610
|
+
timezone="Europe/Paris",
|
|
611
|
+
color_range={
|
|
612
|
+
"min_value": 0,
|
|
613
|
+
"max_value": 100,
|
|
614
|
+
"color": "#ff0000",
|
|
615
|
+
},
|
|
616
|
+
color_scales=[
|
|
617
|
+
{
|
|
618
|
+
"gte": 99,
|
|
619
|
+
"color": "green",
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"lt": 99,
|
|
623
|
+
"gte": 95,
|
|
624
|
+
"color": "yellow",
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"lt": 95,
|
|
628
|
+
"color": "red",
|
|
629
|
+
},
|
|
630
|
+
])
|
|
660
631
|
```
|
|
661
632
|
|
|
662
|
-
## Arguments
|
|
663
|
-
|
|
664
|
-
The following arguments are supported in the resource block:
|
|
665
|
-
|
|
666
|
-
* `name` - (Required) Name of the chart.
|
|
667
|
-
* `program_text` - (Required) Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
668
|
-
* `description` - (Optional) Description of the chart.
|
|
669
|
-
* `unit_prefix` - (Optional) Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
670
|
-
* `minimum_resolution` - (Optional) The minimum resolution (in seconds) to use for computing the underlying program.
|
|
671
|
-
* `max_delay` - (Optional) How long (in seconds) to wait for late datapoints.
|
|
672
|
-
* `timezone` - (Optional) The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
673
|
-
* `refresh_interval` - (Optional) How often (in seconds) to refresh the values of the heatmap.
|
|
674
|
-
* `disable_sampling` - (Optional) If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
675
|
-
* `group_by` - (Optional) Properties to group by in the heatmap (in nesting order).
|
|
676
|
-
* `sort_by` - (Optional) The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
677
|
-
* `hide_timestamp` - (Optional) Whether to show the timestamp in the chart. `false` by default.
|
|
678
|
-
* `color_range` - (Optional, Default) Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
679
|
-
* `min_value` - (Optional) The minimum value within the coloring range.
|
|
680
|
-
* `max_value` - (Optional) The maximum value within the coloring range.
|
|
681
|
-
* `color` - (Required) The color range to use. The starting hex color value for data values in a heatmap chart. Specify the value as a 6-character hexadecimal value preceded by the '#' character, for example "#ea1849" (grass green).
|
|
682
|
-
* `color_scale` - (Optional. Conflicts with `color_range`) One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
683
|
-
* `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
684
|
-
* `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
685
|
-
* `lt` - (Optional) Indicates the upper threshold non-inclusive value for this range.
|
|
686
|
-
* `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
687
|
-
* `color` - (Required) The color range to use. Hex values are not supported here. 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.
|
|
688
|
-
|
|
689
|
-
## Attributes
|
|
690
|
-
|
|
691
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
692
|
-
|
|
693
|
-
* `id` - The ID of the chart.
|
|
694
|
-
* `url` - The URL of the chart.
|
|
695
|
-
|
|
696
633
|
:param str resource_name: The name of the resource.
|
|
697
634
|
:param HeatmapChartArgs args: The arguments to use to populate this resource's properties.
|
|
698
635
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -708,8 +645,8 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
708
645
|
def _internal_init(__self__,
|
|
709
646
|
resource_name: str,
|
|
710
647
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
711
|
-
color_range: Optional[pulumi.Input[
|
|
712
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
648
|
+
color_range: Optional[pulumi.Input[Union['HeatmapChartColorRangeArgs', 'HeatmapChartColorRangeArgsDict']]] = None,
|
|
649
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HeatmapChartColorScaleArgs', 'HeatmapChartColorScaleArgsDict']]]]] = None,
|
|
713
650
|
description: Optional[pulumi.Input[str]] = None,
|
|
714
651
|
disable_sampling: Optional[pulumi.Input[bool]] = None,
|
|
715
652
|
group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -758,8 +695,8 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
758
695
|
def get(resource_name: str,
|
|
759
696
|
id: pulumi.Input[str],
|
|
760
697
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
761
|
-
color_range: Optional[pulumi.Input[
|
|
762
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
698
|
+
color_range: Optional[pulumi.Input[Union['HeatmapChartColorRangeArgs', 'HeatmapChartColorRangeArgsDict']]] = None,
|
|
699
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HeatmapChartColorScaleArgs', 'HeatmapChartColorScaleArgsDict']]]]] = None,
|
|
763
700
|
description: Optional[pulumi.Input[str]] = None,
|
|
764
701
|
disable_sampling: Optional[pulumi.Input[bool]] = None,
|
|
765
702
|
group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -780,21 +717,21 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
780
717
|
:param str resource_name: The unique name of the resulting resource.
|
|
781
718
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
782
719
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
783
|
-
:param pulumi.Input[
|
|
784
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
785
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
786
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
787
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] group_bies: Properties to group by in the heatmap (in nesting order)
|
|
788
|
-
:param pulumi.Input[bool] hide_timestamp:
|
|
789
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
790
|
-
:param pulumi.Input[int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program
|
|
791
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
792
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at
|
|
793
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the heatmap
|
|
794
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Must be prepended with
|
|
795
|
-
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (
|
|
796
|
-
:param pulumi.Input[str] unit_prefix:
|
|
797
|
-
:param pulumi.Input[str] url: URL of the chart
|
|
720
|
+
:param pulumi.Input[Union['HeatmapChartColorRangeArgs', 'HeatmapChartColorRangeArgsDict']] color_range: Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
721
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['HeatmapChartColorScaleArgs', 'HeatmapChartColorScaleArgsDict']]]] color_scales: One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
722
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
723
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
724
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] group_bies: Properties to group by in the heatmap (in nesting order).
|
|
725
|
+
:param pulumi.Input[bool] hide_timestamp: Whether to show the timestamp in the chart. `false` by default.
|
|
726
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
727
|
+
:param pulumi.Input[int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program.
|
|
728
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
729
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
730
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the heatmap.
|
|
731
|
+
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
732
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
733
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
734
|
+
:param pulumi.Input[str] url: The URL of the chart.
|
|
798
735
|
"""
|
|
799
736
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
800
737
|
|
|
@@ -821,7 +758,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
821
758
|
@pulumi.getter(name="colorRange")
|
|
822
759
|
def color_range(self) -> pulumi.Output[Optional['outputs.HeatmapChartColorRange']]:
|
|
823
760
|
"""
|
|
824
|
-
Values and color for the color range. Example:
|
|
761
|
+
Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
825
762
|
"""
|
|
826
763
|
return pulumi.get(self, "color_range")
|
|
827
764
|
|
|
@@ -829,7 +766,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
829
766
|
@pulumi.getter(name="colorScales")
|
|
830
767
|
def color_scales(self) -> pulumi.Output[Optional[Sequence['outputs.HeatmapChartColorScale']]]:
|
|
831
768
|
"""
|
|
832
|
-
|
|
769
|
+
One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
833
770
|
"""
|
|
834
771
|
return pulumi.get(self, "color_scales")
|
|
835
772
|
|
|
@@ -837,7 +774,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
837
774
|
@pulumi.getter
|
|
838
775
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
839
776
|
"""
|
|
840
|
-
Description of the chart
|
|
777
|
+
Description of the chart.
|
|
841
778
|
"""
|
|
842
779
|
return pulumi.get(self, "description")
|
|
843
780
|
|
|
@@ -845,7 +782,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
845
782
|
@pulumi.getter(name="disableSampling")
|
|
846
783
|
def disable_sampling(self) -> pulumi.Output[Optional[bool]]:
|
|
847
784
|
"""
|
|
848
|
-
|
|
785
|
+
If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
849
786
|
"""
|
|
850
787
|
return pulumi.get(self, "disable_sampling")
|
|
851
788
|
|
|
@@ -853,7 +790,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
853
790
|
@pulumi.getter(name="groupBies")
|
|
854
791
|
def group_bies(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
855
792
|
"""
|
|
856
|
-
Properties to group by in the heatmap (in nesting order)
|
|
793
|
+
Properties to group by in the heatmap (in nesting order).
|
|
857
794
|
"""
|
|
858
795
|
return pulumi.get(self, "group_bies")
|
|
859
796
|
|
|
@@ -861,7 +798,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
861
798
|
@pulumi.getter(name="hideTimestamp")
|
|
862
799
|
def hide_timestamp(self) -> pulumi.Output[Optional[bool]]:
|
|
863
800
|
"""
|
|
864
|
-
|
|
801
|
+
Whether to show the timestamp in the chart. `false` by default.
|
|
865
802
|
"""
|
|
866
803
|
return pulumi.get(self, "hide_timestamp")
|
|
867
804
|
|
|
@@ -869,7 +806,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
869
806
|
@pulumi.getter(name="maxDelay")
|
|
870
807
|
def max_delay(self) -> pulumi.Output[Optional[int]]:
|
|
871
808
|
"""
|
|
872
|
-
How long (in seconds) to wait for late datapoints
|
|
809
|
+
How long (in seconds) to wait for late datapoints.
|
|
873
810
|
"""
|
|
874
811
|
return pulumi.get(self, "max_delay")
|
|
875
812
|
|
|
@@ -877,7 +814,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
877
814
|
@pulumi.getter(name="minimumResolution")
|
|
878
815
|
def minimum_resolution(self) -> pulumi.Output[Optional[int]]:
|
|
879
816
|
"""
|
|
880
|
-
The minimum resolution (in seconds) to use for computing the underlying program
|
|
817
|
+
The minimum resolution (in seconds) to use for computing the underlying program.
|
|
881
818
|
"""
|
|
882
819
|
return pulumi.get(self, "minimum_resolution")
|
|
883
820
|
|
|
@@ -885,7 +822,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
885
822
|
@pulumi.getter
|
|
886
823
|
def name(self) -> pulumi.Output[str]:
|
|
887
824
|
"""
|
|
888
|
-
Name of the chart
|
|
825
|
+
Name of the chart.
|
|
889
826
|
"""
|
|
890
827
|
return pulumi.get(self, "name")
|
|
891
828
|
|
|
@@ -893,7 +830,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
893
830
|
@pulumi.getter(name="programText")
|
|
894
831
|
def program_text(self) -> pulumi.Output[str]:
|
|
895
832
|
"""
|
|
896
|
-
Signalflow program text for the chart. More info at
|
|
833
|
+
Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
897
834
|
"""
|
|
898
835
|
return pulumi.get(self, "program_text")
|
|
899
836
|
|
|
@@ -901,7 +838,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
901
838
|
@pulumi.getter(name="refreshInterval")
|
|
902
839
|
def refresh_interval(self) -> pulumi.Output[Optional[int]]:
|
|
903
840
|
"""
|
|
904
|
-
How often (in seconds) to refresh the values of the heatmap
|
|
841
|
+
How often (in seconds) to refresh the values of the heatmap.
|
|
905
842
|
"""
|
|
906
843
|
return pulumi.get(self, "refresh_interval")
|
|
907
844
|
|
|
@@ -909,7 +846,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
909
846
|
@pulumi.getter(name="sortBy")
|
|
910
847
|
def sort_by(self) -> pulumi.Output[Optional[str]]:
|
|
911
848
|
"""
|
|
912
|
-
The property to use when sorting the elements. Must be prepended with
|
|
849
|
+
The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
913
850
|
"""
|
|
914
851
|
return pulumi.get(self, "sort_by")
|
|
915
852
|
|
|
@@ -917,7 +854,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
917
854
|
@pulumi.getter
|
|
918
855
|
def timezone(self) -> pulumi.Output[Optional[str]]:
|
|
919
856
|
"""
|
|
920
|
-
The property value is a string that denotes the geographic region associated with the time zone, (
|
|
857
|
+
The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
921
858
|
"""
|
|
922
859
|
return pulumi.get(self, "timezone")
|
|
923
860
|
|
|
@@ -925,7 +862,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
925
862
|
@pulumi.getter(name="unitPrefix")
|
|
926
863
|
def unit_prefix(self) -> pulumi.Output[Optional[str]]:
|
|
927
864
|
"""
|
|
928
|
-
|
|
865
|
+
Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
929
866
|
"""
|
|
930
867
|
return pulumi.get(self, "unit_prefix")
|
|
931
868
|
|
|
@@ -933,7 +870,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
933
870
|
@pulumi.getter
|
|
934
871
|
def url(self) -> pulumi.Output[str]:
|
|
935
872
|
"""
|
|
936
|
-
URL of the chart
|
|
873
|
+
The URL of the chart.
|
|
937
874
|
"""
|
|
938
875
|
return pulumi.get(self, "url")
|
|
939
876
|
|