pulumi-signalfx 7.2.0a1710160099__py3-none-any.whl → 7.6.0a1736849687__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. pulumi_signalfx/__init__.py +9 -0
  2. pulumi_signalfx/_inputs.py +1976 -339
  3. pulumi_signalfx/_utilities.py +41 -5
  4. pulumi_signalfx/alert_muting_rule.py +126 -72
  5. pulumi_signalfx/aws/_inputs.py +85 -16
  6. pulumi_signalfx/aws/external_integration.py +20 -43
  7. pulumi_signalfx/aws/integration.py +252 -321
  8. pulumi_signalfx/aws/outputs.py +21 -16
  9. pulumi_signalfx/aws/token_integration.py +76 -31
  10. pulumi_signalfx/azure/_inputs.py +41 -4
  11. pulumi_signalfx/azure/integration.py +170 -217
  12. pulumi_signalfx/azure/outputs.py +15 -4
  13. pulumi_signalfx/config/__init__.pyi +22 -0
  14. pulumi_signalfx/config/vars.py +28 -0
  15. pulumi_signalfx/dashboard.py +171 -186
  16. pulumi_signalfx/dashboard_group.py +191 -140
  17. pulumi_signalfx/data_link.py +102 -109
  18. pulumi_signalfx/detector.py +318 -383
  19. pulumi_signalfx/event_feed_chart.py +51 -86
  20. pulumi_signalfx/gcp/_inputs.py +51 -0
  21. pulumi_signalfx/gcp/integration.py +224 -148
  22. pulumi_signalfx/gcp/outputs.py +44 -0
  23. pulumi_signalfx/get_dimension_values.py +47 -8
  24. pulumi_signalfx/heatmap_chart.py +191 -174
  25. pulumi_signalfx/jira/integration.py +86 -103
  26. pulumi_signalfx/list_chart.py +243 -255
  27. pulumi_signalfx/log/_inputs.py +33 -2
  28. pulumi_signalfx/log/outputs.py +7 -2
  29. pulumi_signalfx/log/timeline.py +76 -87
  30. pulumi_signalfx/log/view.py +146 -113
  31. pulumi_signalfx/metric_ruleset.py +213 -70
  32. pulumi_signalfx/opsgenie/integration.py +51 -50
  33. pulumi_signalfx/org_token.py +111 -104
  34. pulumi_signalfx/outputs.py +661 -339
  35. pulumi_signalfx/pagerduty/get_integration.py +22 -25
  36. pulumi_signalfx/pagerduty/integration.py +42 -39
  37. pulumi_signalfx/provider.py +99 -0
  38. pulumi_signalfx/pulumi-plugin.json +2 -1
  39. pulumi_signalfx/servicenow/integration.py +68 -95
  40. pulumi_signalfx/single_value_chart.py +131 -162
  41. pulumi_signalfx/slack/integration.py +42 -41
  42. pulumi_signalfx/slo.py +97 -243
  43. pulumi_signalfx/slo_chart.py +197 -0
  44. pulumi_signalfx/table_chart.py +66 -65
  45. pulumi_signalfx/team.py +100 -107
  46. pulumi_signalfx/text_chart.py +72 -45
  47. pulumi_signalfx/time_chart.py +287 -352
  48. pulumi_signalfx/victorops/integration.py +42 -41
  49. pulumi_signalfx/webhook_integration.py +168 -61
  50. {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736849687.dist-info}/METADATA +7 -6
  51. pulumi_signalfx-7.6.0a1736849687.dist-info/RECORD +65 -0
  52. {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736849687.dist-info}/WHEEL +1 -1
  53. pulumi_signalfx-7.2.0a1710160099.dist-info/RECORD +0 -64
  54. {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736849687.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -27,15 +32,15 @@ class ViewArgs:
27
32
  time_range: Optional[pulumi.Input[int]] = None):
28
33
  """
29
34
  The set of arguments for constructing a View resource.
30
- :param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
31
- :param pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]] columns: Column configuration
32
- :param pulumi.Input[str] default_connection: default connection that the dashboard uses
33
- :param pulumi.Input[str] description: Description of the chart (Optional)
34
- :param pulumi.Input[int] end_time: Seconds since epoch to end the visualization
35
- :param pulumi.Input[str] name: Name of the chart
36
- :param pulumi.Input[Sequence[pulumi.Input['ViewSortOptionArgs']]] sort_options: Sorting options configuration
37
- :param pulumi.Input[int] start_time: Seconds since epoch to start the visualization
38
- :param pulumi.Input[int] time_range: Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
35
+ :param pulumi.Input[str] program_text: Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
36
+ :param pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]] columns: The column headers to show on the log view.
37
+ :param pulumi.Input[str] default_connection: The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
38
+ :param pulumi.Input[str] description: Description of the log view.
39
+ :param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
40
+ :param pulumi.Input[str] name: Name of the log view.
41
+ :param pulumi.Input[Sequence[pulumi.Input['ViewSortOptionArgs']]] sort_options: The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
42
+ :param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
43
+ :param pulumi.Input[int] time_range: From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
39
44
  """
40
45
  pulumi.set(__self__, "program_text", program_text)
41
46
  if columns is not None:
@@ -59,7 +64,7 @@ class ViewArgs:
59
64
  @pulumi.getter(name="programText")
60
65
  def program_text(self) -> pulumi.Input[str]:
61
66
  """
62
- Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
67
+ Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
63
68
  """
64
69
  return pulumi.get(self, "program_text")
65
70
 
@@ -71,7 +76,7 @@ class ViewArgs:
71
76
  @pulumi.getter
72
77
  def columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]]]:
73
78
  """
74
- Column configuration
79
+ The column headers to show on the log view.
75
80
  """
76
81
  return pulumi.get(self, "columns")
77
82
 
@@ -83,7 +88,7 @@ class ViewArgs:
83
88
  @pulumi.getter(name="defaultConnection")
84
89
  def default_connection(self) -> Optional[pulumi.Input[str]]:
85
90
  """
86
- default connection that the dashboard uses
91
+ The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
87
92
  """
88
93
  return pulumi.get(self, "default_connection")
89
94
 
@@ -95,7 +100,7 @@ class ViewArgs:
95
100
  @pulumi.getter
96
101
  def description(self) -> Optional[pulumi.Input[str]]:
97
102
  """
98
- Description of the chart (Optional)
103
+ Description of the log view.
99
104
  """
100
105
  return pulumi.get(self, "description")
101
106
 
@@ -107,7 +112,7 @@ class ViewArgs:
107
112
  @pulumi.getter(name="endTime")
108
113
  def end_time(self) -> Optional[pulumi.Input[int]]:
109
114
  """
110
- Seconds since epoch to end the visualization
115
+ Seconds since epoch. Used for visualization. Conflicts with `time_range`.
111
116
  """
112
117
  return pulumi.get(self, "end_time")
113
118
 
@@ -119,7 +124,7 @@ class ViewArgs:
119
124
  @pulumi.getter
120
125
  def name(self) -> Optional[pulumi.Input[str]]:
121
126
  """
122
- Name of the chart
127
+ Name of the log view.
123
128
  """
124
129
  return pulumi.get(self, "name")
125
130
 
@@ -131,7 +136,7 @@ class ViewArgs:
131
136
  @pulumi.getter(name="sortOptions")
132
137
  def sort_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ViewSortOptionArgs']]]]:
133
138
  """
134
- Sorting options configuration
139
+ The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
135
140
  """
136
141
  return pulumi.get(self, "sort_options")
137
142
 
@@ -143,7 +148,7 @@ class ViewArgs:
143
148
  @pulumi.getter(name="startTime")
144
149
  def start_time(self) -> Optional[pulumi.Input[int]]:
145
150
  """
146
- Seconds since epoch to start the visualization
151
+ Seconds since epoch. Used for visualization. Conflicts with `time_range`.
147
152
  """
148
153
  return pulumi.get(self, "start_time")
149
154
 
@@ -155,7 +160,7 @@ class ViewArgs:
155
160
  @pulumi.getter(name="timeRange")
156
161
  def time_range(self) -> Optional[pulumi.Input[int]]:
157
162
  """
158
- Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
163
+ From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
159
164
  """
160
165
  return pulumi.get(self, "time_range")
161
166
 
@@ -179,16 +184,16 @@ class _ViewState:
179
184
  url: Optional[pulumi.Input[str]] = None):
180
185
  """
181
186
  Input properties used for looking up and filtering View resources.
182
- :param pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]] columns: Column configuration
183
- :param pulumi.Input[str] default_connection: default connection that the dashboard uses
184
- :param pulumi.Input[str] description: Description of the chart (Optional)
185
- :param pulumi.Input[int] end_time: Seconds since epoch to end the visualization
186
- :param pulumi.Input[str] name: Name of the chart
187
- :param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
188
- :param pulumi.Input[Sequence[pulumi.Input['ViewSortOptionArgs']]] sort_options: Sorting options configuration
189
- :param pulumi.Input[int] start_time: Seconds since epoch to start the visualization
190
- :param pulumi.Input[int] time_range: Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
191
- :param pulumi.Input[str] url: URL of the chart
187
+ :param pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]] columns: The column headers to show on the log view.
188
+ :param pulumi.Input[str] default_connection: The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
189
+ :param pulumi.Input[str] description: Description of the log view.
190
+ :param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
191
+ :param pulumi.Input[str] name: Name of the log view.
192
+ :param pulumi.Input[str] program_text: Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
193
+ :param pulumi.Input[Sequence[pulumi.Input['ViewSortOptionArgs']]] sort_options: The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
194
+ :param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
195
+ :param pulumi.Input[int] time_range: From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
196
+ :param pulumi.Input[str] url: The URL of the log view.
192
197
  """
193
198
  if columns is not None:
194
199
  pulumi.set(__self__, "columns", columns)
@@ -215,7 +220,7 @@ class _ViewState:
215
220
  @pulumi.getter
216
221
  def columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]]]:
217
222
  """
218
- Column configuration
223
+ The column headers to show on the log view.
219
224
  """
220
225
  return pulumi.get(self, "columns")
221
226
 
@@ -227,7 +232,7 @@ class _ViewState:
227
232
  @pulumi.getter(name="defaultConnection")
228
233
  def default_connection(self) -> Optional[pulumi.Input[str]]:
229
234
  """
230
- default connection that the dashboard uses
235
+ The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
231
236
  """
232
237
  return pulumi.get(self, "default_connection")
233
238
 
@@ -239,7 +244,7 @@ class _ViewState:
239
244
  @pulumi.getter
240
245
  def description(self) -> Optional[pulumi.Input[str]]:
241
246
  """
242
- Description of the chart (Optional)
247
+ Description of the log view.
243
248
  """
244
249
  return pulumi.get(self, "description")
245
250
 
@@ -251,7 +256,7 @@ class _ViewState:
251
256
  @pulumi.getter(name="endTime")
252
257
  def end_time(self) -> Optional[pulumi.Input[int]]:
253
258
  """
254
- Seconds since epoch to end the visualization
259
+ Seconds since epoch. Used for visualization. Conflicts with `time_range`.
255
260
  """
256
261
  return pulumi.get(self, "end_time")
257
262
 
@@ -263,7 +268,7 @@ class _ViewState:
263
268
  @pulumi.getter
264
269
  def name(self) -> Optional[pulumi.Input[str]]:
265
270
  """
266
- Name of the chart
271
+ Name of the log view.
267
272
  """
268
273
  return pulumi.get(self, "name")
269
274
 
@@ -275,7 +280,7 @@ class _ViewState:
275
280
  @pulumi.getter(name="programText")
276
281
  def program_text(self) -> Optional[pulumi.Input[str]]:
277
282
  """
278
- Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
283
+ Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
279
284
  """
280
285
  return pulumi.get(self, "program_text")
281
286
 
@@ -287,7 +292,7 @@ class _ViewState:
287
292
  @pulumi.getter(name="sortOptions")
288
293
  def sort_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ViewSortOptionArgs']]]]:
289
294
  """
290
- Sorting options configuration
295
+ The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
291
296
  """
292
297
  return pulumi.get(self, "sort_options")
293
298
 
@@ -299,7 +304,7 @@ class _ViewState:
299
304
  @pulumi.getter(name="startTime")
300
305
  def start_time(self) -> Optional[pulumi.Input[int]]:
301
306
  """
302
- Seconds since epoch to start the visualization
307
+ Seconds since epoch. Used for visualization. Conflicts with `time_range`.
303
308
  """
304
309
  return pulumi.get(self, "start_time")
305
310
 
@@ -311,7 +316,7 @@ class _ViewState:
311
316
  @pulumi.getter(name="timeRange")
312
317
  def time_range(self) -> Optional[pulumi.Input[int]]:
313
318
  """
314
- Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
319
+ From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
315
320
  """
316
321
  return pulumi.get(self, "time_range")
317
322
 
@@ -323,7 +328,7 @@ class _ViewState:
323
328
  @pulumi.getter
324
329
  def url(self) -> Optional[pulumi.Input[str]]:
325
330
  """
326
- URL of the chart
331
+ The URL of the log view.
327
332
  """
328
333
  return pulumi.get(self, "url")
329
334
 
@@ -337,13 +342,13 @@ class View(pulumi.CustomResource):
337
342
  def __init__(__self__,
338
343
  resource_name: str,
339
344
  opts: Optional[pulumi.ResourceOptions] = None,
340
- columns: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewColumnArgs']]]]] = None,
345
+ columns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]]] = None,
341
346
  default_connection: Optional[pulumi.Input[str]] = None,
342
347
  description: Optional[pulumi.Input[str]] = None,
343
348
  end_time: Optional[pulumi.Input[int]] = None,
344
349
  name: Optional[pulumi.Input[str]] = None,
345
350
  program_text: Optional[pulumi.Input[str]] = None,
346
- sort_options: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewSortOptionArgs']]]]] = None,
351
+ sort_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewSortOptionArgs', 'ViewSortOptionArgsDict']]]]] = None,
347
352
  start_time: Optional[pulumi.Input[int]] = None,
348
353
  time_range: Optional[pulumi.Input[int]] = None,
349
354
  __props__=None):
@@ -354,38 +359,52 @@ class View(pulumi.CustomResource):
354
359
 
355
360
  ## Example
356
361
 
357
- ## Arguments
358
-
359
- The following arguments are supported in the resource block:
360
-
361
- * `name` - (Required) Name of the log view.
362
- * `program_text` - (Required) Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
363
- * `description` - (Optional) Description of the log view.
364
- * `time_range` - (Optional) From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
365
- * `start_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
366
- * `end_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
367
- * `columns` - (Optional) The column headers to show on the log view.
368
- * `sort_options` - (Optional) The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
369
- * `default_connection` - (Optional) The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
370
-
371
- ## Attributes
372
-
373
- In a addition to all arguments above, the following attributes are exported:
374
-
375
- * `id` - The ID of the log view.
376
- * `url` - The URL of the log view.
362
+ ```python
363
+ import pulumi
364
+ import pulumi_signalfx as signalfx
365
+
366
+ my_log_view = signalfx.log.View("my_log_view",
367
+ name="Sample Log View",
368
+ description="Lorem ipsum dolor sit amet, laudem tibique iracundia at mea. Nam posse dolores ex, nec cu adhuc putent honestatis",
369
+ program_text="logs(filter=field('message') == 'Transaction processed' and field('service.name') == 'paymentservice').publish()\\n",
370
+ time_range=900,
371
+ sort_options=[{
372
+ "descending": False,
373
+ "field": "severity",
374
+ }],
375
+ columns=[
376
+ {
377
+ "name": "severity",
378
+ },
379
+ {
380
+ "name": "time",
381
+ },
382
+ {
383
+ "name": "amount.currency_code",
384
+ },
385
+ {
386
+ "name": "amount.nanos",
387
+ },
388
+ {
389
+ "name": "amount.units",
390
+ },
391
+ {
392
+ "name": "message",
393
+ },
394
+ ])
395
+ ```
377
396
 
378
397
  :param str resource_name: The name of the resource.
379
398
  :param pulumi.ResourceOptions opts: Options for the resource.
380
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewColumnArgs']]]] columns: Column configuration
381
- :param pulumi.Input[str] default_connection: default connection that the dashboard uses
382
- :param pulumi.Input[str] description: Description of the chart (Optional)
383
- :param pulumi.Input[int] end_time: Seconds since epoch to end the visualization
384
- :param pulumi.Input[str] name: Name of the chart
385
- :param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
386
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewSortOptionArgs']]]] sort_options: Sorting options configuration
387
- :param pulumi.Input[int] start_time: Seconds since epoch to start the visualization
388
- :param pulumi.Input[int] time_range: Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
399
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]] columns: The column headers to show on the log view.
400
+ :param pulumi.Input[str] default_connection: The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
401
+ :param pulumi.Input[str] description: Description of the log view.
402
+ :param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
403
+ :param pulumi.Input[str] name: Name of the log view.
404
+ :param pulumi.Input[str] program_text: Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
405
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ViewSortOptionArgs', 'ViewSortOptionArgsDict']]]] sort_options: The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
406
+ :param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
407
+ :param pulumi.Input[int] time_range: From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
389
408
  """
390
409
  ...
391
410
  @overload
@@ -400,26 +419,40 @@ class View(pulumi.CustomResource):
400
419
 
401
420
  ## Example
402
421
 
403
- ## Arguments
404
-
405
- The following arguments are supported in the resource block:
406
-
407
- * `name` - (Required) Name of the log view.
408
- * `program_text` - (Required) Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
409
- * `description` - (Optional) Description of the log view.
410
- * `time_range` - (Optional) From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
411
- * `start_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
412
- * `end_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
413
- * `columns` - (Optional) The column headers to show on the log view.
414
- * `sort_options` - (Optional) The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
415
- * `default_connection` - (Optional) The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
416
-
417
- ## Attributes
418
-
419
- In a addition to all arguments above, the following attributes are exported:
420
-
421
- * `id` - The ID of the log view.
422
- * `url` - The URL of the log view.
422
+ ```python
423
+ import pulumi
424
+ import pulumi_signalfx as signalfx
425
+
426
+ my_log_view = signalfx.log.View("my_log_view",
427
+ name="Sample Log View",
428
+ description="Lorem ipsum dolor sit amet, laudem tibique iracundia at mea. Nam posse dolores ex, nec cu adhuc putent honestatis",
429
+ program_text="logs(filter=field('message') == 'Transaction processed' and field('service.name') == 'paymentservice').publish()\\n",
430
+ time_range=900,
431
+ sort_options=[{
432
+ "descending": False,
433
+ "field": "severity",
434
+ }],
435
+ columns=[
436
+ {
437
+ "name": "severity",
438
+ },
439
+ {
440
+ "name": "time",
441
+ },
442
+ {
443
+ "name": "amount.currency_code",
444
+ },
445
+ {
446
+ "name": "amount.nanos",
447
+ },
448
+ {
449
+ "name": "amount.units",
450
+ },
451
+ {
452
+ "name": "message",
453
+ },
454
+ ])
455
+ ```
423
456
 
424
457
  :param str resource_name: The name of the resource.
425
458
  :param ViewArgs args: The arguments to use to populate this resource's properties.
@@ -436,13 +469,13 @@ class View(pulumi.CustomResource):
436
469
  def _internal_init(__self__,
437
470
  resource_name: str,
438
471
  opts: Optional[pulumi.ResourceOptions] = None,
439
- columns: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewColumnArgs']]]]] = None,
472
+ columns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]]] = None,
440
473
  default_connection: Optional[pulumi.Input[str]] = None,
441
474
  description: Optional[pulumi.Input[str]] = None,
442
475
  end_time: Optional[pulumi.Input[int]] = None,
443
476
  name: Optional[pulumi.Input[str]] = None,
444
477
  program_text: Optional[pulumi.Input[str]] = None,
445
- sort_options: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewSortOptionArgs']]]]] = None,
478
+ sort_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewSortOptionArgs', 'ViewSortOptionArgsDict']]]]] = None,
446
479
  start_time: Optional[pulumi.Input[int]] = None,
447
480
  time_range: Optional[pulumi.Input[int]] = None,
448
481
  __props__=None):
@@ -478,13 +511,13 @@ class View(pulumi.CustomResource):
478
511
  def get(resource_name: str,
479
512
  id: pulumi.Input[str],
480
513
  opts: Optional[pulumi.ResourceOptions] = None,
481
- columns: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewColumnArgs']]]]] = None,
514
+ columns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]]] = None,
482
515
  default_connection: Optional[pulumi.Input[str]] = None,
483
516
  description: Optional[pulumi.Input[str]] = None,
484
517
  end_time: Optional[pulumi.Input[int]] = None,
485
518
  name: Optional[pulumi.Input[str]] = None,
486
519
  program_text: Optional[pulumi.Input[str]] = None,
487
- sort_options: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewSortOptionArgs']]]]] = None,
520
+ sort_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewSortOptionArgs', 'ViewSortOptionArgsDict']]]]] = None,
488
521
  start_time: Optional[pulumi.Input[int]] = None,
489
522
  time_range: Optional[pulumi.Input[int]] = None,
490
523
  url: Optional[pulumi.Input[str]] = None) -> 'View':
@@ -495,16 +528,16 @@ class View(pulumi.CustomResource):
495
528
  :param str resource_name: The unique name of the resulting resource.
496
529
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
497
530
  :param pulumi.ResourceOptions opts: Options for the resource.
498
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewColumnArgs']]]] columns: Column configuration
499
- :param pulumi.Input[str] default_connection: default connection that the dashboard uses
500
- :param pulumi.Input[str] description: Description of the chart (Optional)
501
- :param pulumi.Input[int] end_time: Seconds since epoch to end the visualization
502
- :param pulumi.Input[str] name: Name of the chart
503
- :param pulumi.Input[str] program_text: Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
504
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ViewSortOptionArgs']]]] sort_options: Sorting options configuration
505
- :param pulumi.Input[int] start_time: Seconds since epoch to start the visualization
506
- :param pulumi.Input[int] time_range: Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
507
- :param pulumi.Input[str] url: URL of the chart
531
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]] columns: The column headers to show on the log view.
532
+ :param pulumi.Input[str] default_connection: The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
533
+ :param pulumi.Input[str] description: Description of the log view.
534
+ :param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
535
+ :param pulumi.Input[str] name: Name of the log view.
536
+ :param pulumi.Input[str] program_text: Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
537
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ViewSortOptionArgs', 'ViewSortOptionArgsDict']]]] sort_options: The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
538
+ :param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
539
+ :param pulumi.Input[int] time_range: From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
540
+ :param pulumi.Input[str] url: The URL of the log view.
508
541
  """
509
542
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
510
543
 
@@ -526,7 +559,7 @@ class View(pulumi.CustomResource):
526
559
  @pulumi.getter
527
560
  def columns(self) -> pulumi.Output[Optional[Sequence['outputs.ViewColumn']]]:
528
561
  """
529
- Column configuration
562
+ The column headers to show on the log view.
530
563
  """
531
564
  return pulumi.get(self, "columns")
532
565
 
@@ -534,7 +567,7 @@ class View(pulumi.CustomResource):
534
567
  @pulumi.getter(name="defaultConnection")
535
568
  def default_connection(self) -> pulumi.Output[Optional[str]]:
536
569
  """
537
- default connection that the dashboard uses
570
+ The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
538
571
  """
539
572
  return pulumi.get(self, "default_connection")
540
573
 
@@ -542,7 +575,7 @@ class View(pulumi.CustomResource):
542
575
  @pulumi.getter
543
576
  def description(self) -> pulumi.Output[Optional[str]]:
544
577
  """
545
- Description of the chart (Optional)
578
+ Description of the log view.
546
579
  """
547
580
  return pulumi.get(self, "description")
548
581
 
@@ -550,7 +583,7 @@ class View(pulumi.CustomResource):
550
583
  @pulumi.getter(name="endTime")
551
584
  def end_time(self) -> pulumi.Output[Optional[int]]:
552
585
  """
553
- Seconds since epoch to end the visualization
586
+ Seconds since epoch. Used for visualization. Conflicts with `time_range`.
554
587
  """
555
588
  return pulumi.get(self, "end_time")
556
589
 
@@ -558,7 +591,7 @@ class View(pulumi.CustomResource):
558
591
  @pulumi.getter
559
592
  def name(self) -> pulumi.Output[str]:
560
593
  """
561
- Name of the chart
594
+ Name of the log view.
562
595
  """
563
596
  return pulumi.get(self, "name")
564
597
 
@@ -566,7 +599,7 @@ class View(pulumi.CustomResource):
566
599
  @pulumi.getter(name="programText")
567
600
  def program_text(self) -> pulumi.Output[str]:
568
601
  """
569
- Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
602
+ Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
570
603
  """
571
604
  return pulumi.get(self, "program_text")
572
605
 
@@ -574,7 +607,7 @@ class View(pulumi.CustomResource):
574
607
  @pulumi.getter(name="sortOptions")
575
608
  def sort_options(self) -> pulumi.Output[Optional[Sequence['outputs.ViewSortOption']]]:
576
609
  """
577
- Sorting options configuration
610
+ The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
578
611
  """
579
612
  return pulumi.get(self, "sort_options")
580
613
 
@@ -582,7 +615,7 @@ class View(pulumi.CustomResource):
582
615
  @pulumi.getter(name="startTime")
583
616
  def start_time(self) -> pulumi.Output[Optional[int]]:
584
617
  """
585
- Seconds since epoch to start the visualization
618
+ Seconds since epoch. Used for visualization. Conflicts with `time_range`.
586
619
  """
587
620
  return pulumi.get(self, "start_time")
588
621
 
@@ -590,7 +623,7 @@ class View(pulumi.CustomResource):
590
623
  @pulumi.getter(name="timeRange")
591
624
  def time_range(self) -> pulumi.Output[Optional[int]]:
592
625
  """
593
- Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
626
+ From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
594
627
  """
595
628
  return pulumi.get(self, "time_range")
596
629
 
@@ -598,7 +631,7 @@ class View(pulumi.CustomResource):
598
631
  @pulumi.getter
599
632
  def url(self) -> pulumi.Output[str]:
600
633
  """
601
- URL of the chart
634
+ The URL of the log view.
602
635
  """
603
636
  return pulumi.get(self, "url")
604
637