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/data_link.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 *
|
|
@@ -24,14 +29,12 @@ class DataLinkArgs:
|
|
|
24
29
|
target_splunks: Optional[pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSplunkArgs']]]] = None):
|
|
25
30
|
"""
|
|
26
31
|
The set of arguments for constructing a DataLink resource.
|
|
27
|
-
:param pulumi.Input[str] context_dashboard_id:
|
|
28
|
-
:param pulumi.Input[str] property_name: Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify
|
|
29
|
-
|
|
30
|
-
:param pulumi.Input[str] property_value: Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify
|
|
31
|
-
`property_name`.
|
|
32
|
+
:param pulumi.Input[str] context_dashboard_id: If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
|
|
33
|
+
:param pulumi.Input[str] property_name: Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
|
|
34
|
+
:param pulumi.Input[str] property_value: Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
|
|
32
35
|
:param pulumi.Input[Sequence[pulumi.Input['DataLinkTargetExternalUrlArgs']]] target_external_urls: Link to an external URL
|
|
33
36
|
:param pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSignalfxDashboardArgs']]] target_signalfx_dashboards: Link to a Splunk Observability Cloud dashboard
|
|
34
|
-
:param pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSplunkArgs']]] target_splunks: Link to
|
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSplunkArgs']]] target_splunks: Link to an external URL
|
|
35
38
|
"""
|
|
36
39
|
if context_dashboard_id is not None:
|
|
37
40
|
pulumi.set(__self__, "context_dashboard_id", context_dashboard_id)
|
|
@@ -50,7 +53,7 @@ class DataLinkArgs:
|
|
|
50
53
|
@pulumi.getter(name="contextDashboardId")
|
|
51
54
|
def context_dashboard_id(self) -> Optional[pulumi.Input[str]]:
|
|
52
55
|
"""
|
|
53
|
-
|
|
56
|
+
If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
|
|
54
57
|
"""
|
|
55
58
|
return pulumi.get(self, "context_dashboard_id")
|
|
56
59
|
|
|
@@ -62,8 +65,7 @@ class DataLinkArgs:
|
|
|
62
65
|
@pulumi.getter(name="propertyName")
|
|
63
66
|
def property_name(self) -> Optional[pulumi.Input[str]]:
|
|
64
67
|
"""
|
|
65
|
-
Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify
|
|
66
|
-
`property_name`.
|
|
68
|
+
Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
|
|
67
69
|
"""
|
|
68
70
|
return pulumi.get(self, "property_name")
|
|
69
71
|
|
|
@@ -75,8 +77,7 @@ class DataLinkArgs:
|
|
|
75
77
|
@pulumi.getter(name="propertyValue")
|
|
76
78
|
def property_value(self) -> Optional[pulumi.Input[str]]:
|
|
77
79
|
"""
|
|
78
|
-
Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify
|
|
79
|
-
`property_name`.
|
|
80
|
+
Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
|
|
80
81
|
"""
|
|
81
82
|
return pulumi.get(self, "property_value")
|
|
82
83
|
|
|
@@ -112,7 +113,7 @@ class DataLinkArgs:
|
|
|
112
113
|
@pulumi.getter(name="targetSplunks")
|
|
113
114
|
def target_splunks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSplunkArgs']]]]:
|
|
114
115
|
"""
|
|
115
|
-
Link to
|
|
116
|
+
Link to an external URL
|
|
116
117
|
"""
|
|
117
118
|
return pulumi.get(self, "target_splunks")
|
|
118
119
|
|
|
@@ -132,14 +133,12 @@ class _DataLinkState:
|
|
|
132
133
|
target_splunks: Optional[pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSplunkArgs']]]] = None):
|
|
133
134
|
"""
|
|
134
135
|
Input properties used for looking up and filtering DataLink resources.
|
|
135
|
-
:param pulumi.Input[str] context_dashboard_id:
|
|
136
|
-
:param pulumi.Input[str] property_name: Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify
|
|
137
|
-
|
|
138
|
-
:param pulumi.Input[str] property_value: Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify
|
|
139
|
-
`property_name`.
|
|
136
|
+
:param pulumi.Input[str] context_dashboard_id: If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
|
|
137
|
+
:param pulumi.Input[str] property_name: Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
|
|
138
|
+
:param pulumi.Input[str] property_value: Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
|
|
140
139
|
:param pulumi.Input[Sequence[pulumi.Input['DataLinkTargetExternalUrlArgs']]] target_external_urls: Link to an external URL
|
|
141
140
|
:param pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSignalfxDashboardArgs']]] target_signalfx_dashboards: Link to a Splunk Observability Cloud dashboard
|
|
142
|
-
:param pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSplunkArgs']]] target_splunks: Link to
|
|
141
|
+
:param pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSplunkArgs']]] target_splunks: Link to an external URL
|
|
143
142
|
"""
|
|
144
143
|
if context_dashboard_id is not None:
|
|
145
144
|
pulumi.set(__self__, "context_dashboard_id", context_dashboard_id)
|
|
@@ -158,7 +157,7 @@ class _DataLinkState:
|
|
|
158
157
|
@pulumi.getter(name="contextDashboardId")
|
|
159
158
|
def context_dashboard_id(self) -> Optional[pulumi.Input[str]]:
|
|
160
159
|
"""
|
|
161
|
-
|
|
160
|
+
If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
|
|
162
161
|
"""
|
|
163
162
|
return pulumi.get(self, "context_dashboard_id")
|
|
164
163
|
|
|
@@ -170,8 +169,7 @@ class _DataLinkState:
|
|
|
170
169
|
@pulumi.getter(name="propertyName")
|
|
171
170
|
def property_name(self) -> Optional[pulumi.Input[str]]:
|
|
172
171
|
"""
|
|
173
|
-
Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify
|
|
174
|
-
`property_name`.
|
|
172
|
+
Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
|
|
175
173
|
"""
|
|
176
174
|
return pulumi.get(self, "property_name")
|
|
177
175
|
|
|
@@ -183,8 +181,7 @@ class _DataLinkState:
|
|
|
183
181
|
@pulumi.getter(name="propertyValue")
|
|
184
182
|
def property_value(self) -> Optional[pulumi.Input[str]]:
|
|
185
183
|
"""
|
|
186
|
-
Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify
|
|
187
|
-
`property_name`.
|
|
184
|
+
Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
|
|
188
185
|
"""
|
|
189
186
|
return pulumi.get(self, "property_value")
|
|
190
187
|
|
|
@@ -220,7 +217,7 @@ class _DataLinkState:
|
|
|
220
217
|
@pulumi.getter(name="targetSplunks")
|
|
221
218
|
def target_splunks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DataLinkTargetSplunkArgs']]]]:
|
|
222
219
|
"""
|
|
223
|
-
Link to
|
|
220
|
+
Link to an external URL
|
|
224
221
|
"""
|
|
225
222
|
return pulumi.get(self, "target_splunks")
|
|
226
223
|
|
|
@@ -237,9 +234,9 @@ class DataLink(pulumi.CustomResource):
|
|
|
237
234
|
context_dashboard_id: Optional[pulumi.Input[str]] = None,
|
|
238
235
|
property_name: Optional[pulumi.Input[str]] = None,
|
|
239
236
|
property_value: Optional[pulumi.Input[str]] = None,
|
|
240
|
-
target_external_urls: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
241
|
-
target_signalfx_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
242
|
-
target_splunks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
237
|
+
target_external_urls: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetExternalUrlArgs', 'DataLinkTargetExternalUrlArgsDict']]]]] = None,
|
|
238
|
+
target_signalfx_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSignalfxDashboardArgs', 'DataLinkTargetSignalfxDashboardArgsDict']]]]] = None,
|
|
239
|
+
target_splunks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSplunkArgs', 'DataLinkTargetSplunkArgsDict']]]]] = None,
|
|
243
240
|
__props__=None):
|
|
244
241
|
"""
|
|
245
242
|
Manage Splunk Observability Cloud [Data Links](https://docs.signalfx.com/en/latest/managing/data-links.html).
|
|
@@ -251,68 +248,38 @@ class DataLink(pulumi.CustomResource):
|
|
|
251
248
|
import pulumi_signalfx as signalfx
|
|
252
249
|
|
|
253
250
|
# A global link to Splunk Observability Cloud dashboard.
|
|
254
|
-
my_data_link = signalfx.DataLink("
|
|
251
|
+
my_data_link = signalfx.DataLink("my_data_link",
|
|
255
252
|
property_name="pname",
|
|
256
253
|
property_value="pvalue",
|
|
257
|
-
target_signalfx_dashboards=[
|
|
258
|
-
is_default
|
|
259
|
-
name
|
|
260
|
-
dashboard_group_id
|
|
261
|
-
dashboard_id
|
|
262
|
-
|
|
254
|
+
target_signalfx_dashboards=[{
|
|
255
|
+
"is_default": True,
|
|
256
|
+
"name": "sfx_dash",
|
|
257
|
+
"dashboard_group_id": mydashboardgroup0["id"],
|
|
258
|
+
"dashboard_id": mydashboard0["id"],
|
|
259
|
+
}])
|
|
263
260
|
# A dashboard-specific link to an external URL
|
|
264
|
-
my_data_link_dash = signalfx.DataLink("
|
|
265
|
-
context_dashboard_id=
|
|
261
|
+
my_data_link_dash = signalfx.DataLink("my_data_link_dash",
|
|
262
|
+
context_dashboard_id=mydashboard0["id"],
|
|
266
263
|
property_name="pname2",
|
|
267
264
|
property_value="pvalue",
|
|
268
|
-
target_external_urls=[
|
|
269
|
-
name
|
|
270
|
-
time_format
|
|
271
|
-
url
|
|
272
|
-
property_key_mapping
|
|
265
|
+
target_external_urls=[{
|
|
266
|
+
"name": "ex_url",
|
|
267
|
+
"time_format": "ISO8601",
|
|
268
|
+
"url": "https://www.example.com",
|
|
269
|
+
"property_key_mapping": {
|
|
273
270
|
"foo": "bar",
|
|
274
271
|
},
|
|
275
|
-
|
|
272
|
+
}])
|
|
276
273
|
```
|
|
277
274
|
|
|
278
|
-
## Arguments
|
|
279
|
-
|
|
280
|
-
The following arguments are supported in the resource block:
|
|
281
|
-
|
|
282
|
-
* `property_name` - (Optional) Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
|
|
283
|
-
* `property_value` - (Optional) Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
|
|
284
|
-
* `context_dashboard_id` - (Optional) If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
|
|
285
|
-
* `target_external_url` - (Optional) Link to an external URL
|
|
286
|
-
* `name` (Required) User-assigned target name. Use this value to differentiate between the link targets for a data link object.
|
|
287
|
-
* `url`- (Required) URL string for a Splunk instance or external system data link target. [See the supported template variables](https://dev.splunk.com/observability/docs/administration/datalinks/).
|
|
288
|
-
* `time_format` - (Optional) [Designates the format](https://dev.splunk.com/observability/docs/administration/datalinks/) of `minimum_time_window` in the same data link target object. Must be one of `"ISO8601"`, `"EpochSeconds"` or `"Epoch"` (which is milliseconds). Defaults to `"ISO8601"`.
|
|
289
|
-
* `minimum_time_window` - (Optional) The [minimum time window](https://dev.splunk.com/observability/docs/administration/datalinks/) for a search sent to an external site. Defaults to `6000`
|
|
290
|
-
* `property_key_mapping` - Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
|
|
291
|
-
* `target_signalfx_dashboard` - (Optional) Link to a Splunk Observability Cloud dashboard
|
|
292
|
-
* `name` (Required) User-assigned target name. Use this value to differentiate between the link targets for a data link object.
|
|
293
|
-
* `is_default` - (Optional) Flag that designates a target as the default for a data link object. `true` by default
|
|
294
|
-
* `dashboard_id` - (Required) SignalFx-assigned ID of the dashboard link target
|
|
295
|
-
* `dashboard_group_id` - (Required) SignalFx-assigned ID of the dashboard link target's dashboard group
|
|
296
|
-
* `target_splunk` - (Optional) Link to an external URL
|
|
297
|
-
* `name` (Required) User-assigned target name. Use this value to differentiate between the link targets for a data link object.
|
|
298
|
-
* `property_key_mapping` - Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
|
|
299
|
-
|
|
300
|
-
## Attributes
|
|
301
|
-
|
|
302
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
303
|
-
|
|
304
|
-
* `id` - The ID of the link.
|
|
305
|
-
|
|
306
275
|
:param str resource_name: The name of the resource.
|
|
307
276
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
308
|
-
:param pulumi.Input[str] context_dashboard_id:
|
|
309
|
-
:param pulumi.Input[str] property_name: Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify
|
|
310
|
-
|
|
311
|
-
:param pulumi.Input[
|
|
312
|
-
|
|
313
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
314
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DataLinkTargetSignalfxDashboardArgs']]]] target_signalfx_dashboards: Link to a Splunk Observability Cloud dashboard
|
|
315
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DataLinkTargetSplunkArgs']]]] target_splunks: Link to a Splunk instance
|
|
277
|
+
:param pulumi.Input[str] context_dashboard_id: If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
|
|
278
|
+
:param pulumi.Input[str] property_name: Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
|
|
279
|
+
:param pulumi.Input[str] property_value: Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
|
|
280
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetExternalUrlArgs', 'DataLinkTargetExternalUrlArgsDict']]]] target_external_urls: Link to an external URL
|
|
281
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSignalfxDashboardArgs', 'DataLinkTargetSignalfxDashboardArgsDict']]]] target_signalfx_dashboards: Link to a Splunk Observability Cloud dashboard
|
|
282
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSplunkArgs', 'DataLinkTargetSplunkArgsDict']]]] target_splunks: Link to an external URL
|
|
316
283
|
"""
|
|
317
284
|
...
|
|
318
285
|
@overload
|
|
@@ -330,58 +297,30 @@ class DataLink(pulumi.CustomResource):
|
|
|
330
297
|
import pulumi_signalfx as signalfx
|
|
331
298
|
|
|
332
299
|
# A global link to Splunk Observability Cloud dashboard.
|
|
333
|
-
my_data_link = signalfx.DataLink("
|
|
300
|
+
my_data_link = signalfx.DataLink("my_data_link",
|
|
334
301
|
property_name="pname",
|
|
335
302
|
property_value="pvalue",
|
|
336
|
-
target_signalfx_dashboards=[
|
|
337
|
-
is_default
|
|
338
|
-
name
|
|
339
|
-
dashboard_group_id
|
|
340
|
-
dashboard_id
|
|
341
|
-
|
|
303
|
+
target_signalfx_dashboards=[{
|
|
304
|
+
"is_default": True,
|
|
305
|
+
"name": "sfx_dash",
|
|
306
|
+
"dashboard_group_id": mydashboardgroup0["id"],
|
|
307
|
+
"dashboard_id": mydashboard0["id"],
|
|
308
|
+
}])
|
|
342
309
|
# A dashboard-specific link to an external URL
|
|
343
|
-
my_data_link_dash = signalfx.DataLink("
|
|
344
|
-
context_dashboard_id=
|
|
310
|
+
my_data_link_dash = signalfx.DataLink("my_data_link_dash",
|
|
311
|
+
context_dashboard_id=mydashboard0["id"],
|
|
345
312
|
property_name="pname2",
|
|
346
313
|
property_value="pvalue",
|
|
347
|
-
target_external_urls=[
|
|
348
|
-
name
|
|
349
|
-
time_format
|
|
350
|
-
url
|
|
351
|
-
property_key_mapping
|
|
314
|
+
target_external_urls=[{
|
|
315
|
+
"name": "ex_url",
|
|
316
|
+
"time_format": "ISO8601",
|
|
317
|
+
"url": "https://www.example.com",
|
|
318
|
+
"property_key_mapping": {
|
|
352
319
|
"foo": "bar",
|
|
353
320
|
},
|
|
354
|
-
|
|
321
|
+
}])
|
|
355
322
|
```
|
|
356
323
|
|
|
357
|
-
## Arguments
|
|
358
|
-
|
|
359
|
-
The following arguments are supported in the resource block:
|
|
360
|
-
|
|
361
|
-
* `property_name` - (Optional) Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
|
|
362
|
-
* `property_value` - (Optional) Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
|
|
363
|
-
* `context_dashboard_id` - (Optional) If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
|
|
364
|
-
* `target_external_url` - (Optional) Link to an external URL
|
|
365
|
-
* `name` (Required) User-assigned target name. Use this value to differentiate between the link targets for a data link object.
|
|
366
|
-
* `url`- (Required) URL string for a Splunk instance or external system data link target. [See the supported template variables](https://dev.splunk.com/observability/docs/administration/datalinks/).
|
|
367
|
-
* `time_format` - (Optional) [Designates the format](https://dev.splunk.com/observability/docs/administration/datalinks/) of `minimum_time_window` in the same data link target object. Must be one of `"ISO8601"`, `"EpochSeconds"` or `"Epoch"` (which is milliseconds). Defaults to `"ISO8601"`.
|
|
368
|
-
* `minimum_time_window` - (Optional) The [minimum time window](https://dev.splunk.com/observability/docs/administration/datalinks/) for a search sent to an external site. Defaults to `6000`
|
|
369
|
-
* `property_key_mapping` - Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
|
|
370
|
-
* `target_signalfx_dashboard` - (Optional) Link to a Splunk Observability Cloud dashboard
|
|
371
|
-
* `name` (Required) User-assigned target name. Use this value to differentiate between the link targets for a data link object.
|
|
372
|
-
* `is_default` - (Optional) Flag that designates a target as the default for a data link object. `true` by default
|
|
373
|
-
* `dashboard_id` - (Required) SignalFx-assigned ID of the dashboard link target
|
|
374
|
-
* `dashboard_group_id` - (Required) SignalFx-assigned ID of the dashboard link target's dashboard group
|
|
375
|
-
* `target_splunk` - (Optional) Link to an external URL
|
|
376
|
-
* `name` (Required) User-assigned target name. Use this value to differentiate between the link targets for a data link object.
|
|
377
|
-
* `property_key_mapping` - Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
|
|
378
|
-
|
|
379
|
-
## Attributes
|
|
380
|
-
|
|
381
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
382
|
-
|
|
383
|
-
* `id` - The ID of the link.
|
|
384
|
-
|
|
385
324
|
:param str resource_name: The name of the resource.
|
|
386
325
|
:param DataLinkArgs args: The arguments to use to populate this resource's properties.
|
|
387
326
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -400,9 +339,9 @@ class DataLink(pulumi.CustomResource):
|
|
|
400
339
|
context_dashboard_id: Optional[pulumi.Input[str]] = None,
|
|
401
340
|
property_name: Optional[pulumi.Input[str]] = None,
|
|
402
341
|
property_value: Optional[pulumi.Input[str]] = None,
|
|
403
|
-
target_external_urls: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
404
|
-
target_signalfx_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
405
|
-
target_splunks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
342
|
+
target_external_urls: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetExternalUrlArgs', 'DataLinkTargetExternalUrlArgsDict']]]]] = None,
|
|
343
|
+
target_signalfx_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSignalfxDashboardArgs', 'DataLinkTargetSignalfxDashboardArgsDict']]]]] = None,
|
|
344
|
+
target_splunks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSplunkArgs', 'DataLinkTargetSplunkArgsDict']]]]] = None,
|
|
406
345
|
__props__=None):
|
|
407
346
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
408
347
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -431,9 +370,9 @@ class DataLink(pulumi.CustomResource):
|
|
|
431
370
|
context_dashboard_id: Optional[pulumi.Input[str]] = None,
|
|
432
371
|
property_name: Optional[pulumi.Input[str]] = None,
|
|
433
372
|
property_value: Optional[pulumi.Input[str]] = None,
|
|
434
|
-
target_external_urls: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
435
|
-
target_signalfx_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
436
|
-
target_splunks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
373
|
+
target_external_urls: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetExternalUrlArgs', 'DataLinkTargetExternalUrlArgsDict']]]]] = None,
|
|
374
|
+
target_signalfx_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSignalfxDashboardArgs', 'DataLinkTargetSignalfxDashboardArgsDict']]]]] = None,
|
|
375
|
+
target_splunks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSplunkArgs', 'DataLinkTargetSplunkArgsDict']]]]] = None) -> 'DataLink':
|
|
437
376
|
"""
|
|
438
377
|
Get an existing DataLink resource's state with the given name, id, and optional extra
|
|
439
378
|
properties used to qualify the lookup.
|
|
@@ -441,14 +380,12 @@ class DataLink(pulumi.CustomResource):
|
|
|
441
380
|
:param str resource_name: The unique name of the resulting resource.
|
|
442
381
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
443
382
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
444
|
-
:param pulumi.Input[str] context_dashboard_id:
|
|
445
|
-
:param pulumi.Input[str] property_name: Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify
|
|
446
|
-
|
|
447
|
-
:param pulumi.Input[
|
|
448
|
-
|
|
449
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
450
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DataLinkTargetSignalfxDashboardArgs']]]] target_signalfx_dashboards: Link to a Splunk Observability Cloud dashboard
|
|
451
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DataLinkTargetSplunkArgs']]]] target_splunks: Link to a Splunk instance
|
|
383
|
+
:param pulumi.Input[str] context_dashboard_id: If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
|
|
384
|
+
:param pulumi.Input[str] property_name: Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
|
|
385
|
+
:param pulumi.Input[str] property_value: Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
|
|
386
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetExternalUrlArgs', 'DataLinkTargetExternalUrlArgsDict']]]] target_external_urls: Link to an external URL
|
|
387
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSignalfxDashboardArgs', 'DataLinkTargetSignalfxDashboardArgsDict']]]] target_signalfx_dashboards: Link to a Splunk Observability Cloud dashboard
|
|
388
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DataLinkTargetSplunkArgs', 'DataLinkTargetSplunkArgsDict']]]] target_splunks: Link to an external URL
|
|
452
389
|
"""
|
|
453
390
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
454
391
|
|
|
@@ -466,7 +403,7 @@ class DataLink(pulumi.CustomResource):
|
|
|
466
403
|
@pulumi.getter(name="contextDashboardId")
|
|
467
404
|
def context_dashboard_id(self) -> pulumi.Output[Optional[str]]:
|
|
468
405
|
"""
|
|
469
|
-
|
|
406
|
+
If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
|
|
470
407
|
"""
|
|
471
408
|
return pulumi.get(self, "context_dashboard_id")
|
|
472
409
|
|
|
@@ -474,8 +411,7 @@ class DataLink(pulumi.CustomResource):
|
|
|
474
411
|
@pulumi.getter(name="propertyName")
|
|
475
412
|
def property_name(self) -> pulumi.Output[Optional[str]]:
|
|
476
413
|
"""
|
|
477
|
-
Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify
|
|
478
|
-
`property_name`.
|
|
414
|
+
Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
|
|
479
415
|
"""
|
|
480
416
|
return pulumi.get(self, "property_name")
|
|
481
417
|
|
|
@@ -483,8 +419,7 @@ class DataLink(pulumi.CustomResource):
|
|
|
483
419
|
@pulumi.getter(name="propertyValue")
|
|
484
420
|
def property_value(self) -> pulumi.Output[Optional[str]]:
|
|
485
421
|
"""
|
|
486
|
-
Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify
|
|
487
|
-
`property_name`.
|
|
422
|
+
Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
|
|
488
423
|
"""
|
|
489
424
|
return pulumi.get(self, "property_value")
|
|
490
425
|
|
|
@@ -508,7 +443,7 @@ class DataLink(pulumi.CustomResource):
|
|
|
508
443
|
@pulumi.getter(name="targetSplunks")
|
|
509
444
|
def target_splunks(self) -> pulumi.Output[Optional[Sequence['outputs.DataLinkTargetSplunk']]]:
|
|
510
445
|
"""
|
|
511
|
-
Link to
|
|
446
|
+
Link to an external URL
|
|
512
447
|
"""
|
|
513
448
|
return pulumi.get(self, "target_splunks")
|
|
514
449
|
|