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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.0a1736835428.dist-info}/METADATA +7 -6
  51. pulumi_signalfx-7.6.0a1736835428.dist-info/RECORD +65 -0
  52. {pulumi_signalfx-7.2.0a1710160099.dist-info → pulumi_signalfx-7.6.0a1736835428.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.0a1736835428.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 *
@@ -26,13 +31,13 @@ class DashboardGroupArgs:
26
31
  teams: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
27
32
  """
28
33
  The set of arguments for constructing a DashboardGroup resource.
29
- :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_teams: Team IDs that have write access to this dashboard
30
- :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_users: User IDs that have write access to this dashboard
31
- :param pulumi.Input[Sequence[pulumi.Input['DashboardGroupDashboardArgs']]] dashboards: Dashboard IDs that are members of this dashboard group. Also handles 'mirrored' dashboards.
32
- :param pulumi.Input[str] description: Description of the dashboard group
33
- :param pulumi.Input[str] name: Name of the dashboard group
34
- :param pulumi.Input[Sequence[pulumi.Input['DashboardGroupPermissionArgs']]] permissions: The custom access control list for this dashboard
35
- :param pulumi.Input[Sequence[pulumi.Input[str]]] teams: Team IDs to associate the dashboard group to
34
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_teams: Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
35
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_users: User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
36
+ :param pulumi.Input[Sequence[pulumi.Input['DashboardGroupDashboardArgs']]] dashboards: [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
37
+ :param pulumi.Input[str] description: Description of the dashboard group.
38
+ :param pulumi.Input[str] name: Name of the dashboard group.
39
+ :param pulumi.Input[Sequence[pulumi.Input['DashboardGroupPermissionArgs']]] permissions: [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
40
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] teams: Team IDs to associate the dashboard group to.
36
41
  """
37
42
  if authorized_writer_teams is not None:
38
43
  warnings.warn("""Please use permissions field now""", DeprecationWarning)
@@ -59,13 +64,11 @@ class DashboardGroupArgs:
59
64
 
60
65
  @property
61
66
  @pulumi.getter(name="authorizedWriterTeams")
67
+ @_utilities.deprecated("""Please use permissions field now""")
62
68
  def authorized_writer_teams(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
63
69
  """
64
- Team IDs that have write access to this dashboard
70
+ Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
65
71
  """
66
- warnings.warn("""Please use permissions field now""", DeprecationWarning)
67
- pulumi.log.warn("""authorized_writer_teams is deprecated: Please use permissions field now""")
68
-
69
72
  return pulumi.get(self, "authorized_writer_teams")
70
73
 
71
74
  @authorized_writer_teams.setter
@@ -74,13 +77,11 @@ class DashboardGroupArgs:
74
77
 
75
78
  @property
76
79
  @pulumi.getter(name="authorizedWriterUsers")
80
+ @_utilities.deprecated("""Please use permissions field now""")
77
81
  def authorized_writer_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
78
82
  """
79
- User IDs that have write access to this dashboard
83
+ User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
80
84
  """
81
- warnings.warn("""Please use permissions field now""", DeprecationWarning)
82
- pulumi.log.warn("""authorized_writer_users is deprecated: Please use permissions field now""")
83
-
84
85
  return pulumi.get(self, "authorized_writer_users")
85
86
 
86
87
  @authorized_writer_users.setter
@@ -91,7 +92,7 @@ class DashboardGroupArgs:
91
92
  @pulumi.getter
92
93
  def dashboards(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardGroupDashboardArgs']]]]:
93
94
  """
94
- Dashboard IDs that are members of this dashboard group. Also handles 'mirrored' dashboards.
95
+ [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
95
96
  """
96
97
  return pulumi.get(self, "dashboards")
97
98
 
@@ -103,7 +104,7 @@ class DashboardGroupArgs:
103
104
  @pulumi.getter
104
105
  def description(self) -> Optional[pulumi.Input[str]]:
105
106
  """
106
- Description of the dashboard group
107
+ Description of the dashboard group.
107
108
  """
108
109
  return pulumi.get(self, "description")
109
110
 
@@ -124,7 +125,7 @@ class DashboardGroupArgs:
124
125
  @pulumi.getter
125
126
  def name(self) -> Optional[pulumi.Input[str]]:
126
127
  """
127
- Name of the dashboard group
128
+ Name of the dashboard group.
128
129
  """
129
130
  return pulumi.get(self, "name")
130
131
 
@@ -136,7 +137,7 @@ class DashboardGroupArgs:
136
137
  @pulumi.getter
137
138
  def permissions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardGroupPermissionArgs']]]]:
138
139
  """
139
- The custom access control list for this dashboard
140
+ [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
140
141
  """
141
142
  return pulumi.get(self, "permissions")
142
143
 
@@ -148,7 +149,7 @@ class DashboardGroupArgs:
148
149
  @pulumi.getter
149
150
  def teams(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
150
151
  """
151
- Team IDs to associate the dashboard group to
152
+ Team IDs to associate the dashboard group to.
152
153
  """
153
154
  return pulumi.get(self, "teams")
154
155
 
@@ -170,13 +171,13 @@ class _DashboardGroupState:
170
171
  teams: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
171
172
  """
172
173
  Input properties used for looking up and filtering DashboardGroup resources.
173
- :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_teams: Team IDs that have write access to this dashboard
174
- :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_users: User IDs that have write access to this dashboard
175
- :param pulumi.Input[Sequence[pulumi.Input['DashboardGroupDashboardArgs']]] dashboards: Dashboard IDs that are members of this dashboard group. Also handles 'mirrored' dashboards.
176
- :param pulumi.Input[str] description: Description of the dashboard group
177
- :param pulumi.Input[str] name: Name of the dashboard group
178
- :param pulumi.Input[Sequence[pulumi.Input['DashboardGroupPermissionArgs']]] permissions: The custom access control list for this dashboard
179
- :param pulumi.Input[Sequence[pulumi.Input[str]]] teams: Team IDs to associate the dashboard group to
174
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_teams: Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
175
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_users: User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
176
+ :param pulumi.Input[Sequence[pulumi.Input['DashboardGroupDashboardArgs']]] dashboards: [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
177
+ :param pulumi.Input[str] description: Description of the dashboard group.
178
+ :param pulumi.Input[str] name: Name of the dashboard group.
179
+ :param pulumi.Input[Sequence[pulumi.Input['DashboardGroupPermissionArgs']]] permissions: [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
180
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] teams: Team IDs to associate the dashboard group to.
180
181
  """
181
182
  if authorized_writer_teams is not None:
182
183
  warnings.warn("""Please use permissions field now""", DeprecationWarning)
@@ -203,13 +204,11 @@ class _DashboardGroupState:
203
204
 
204
205
  @property
205
206
  @pulumi.getter(name="authorizedWriterTeams")
207
+ @_utilities.deprecated("""Please use permissions field now""")
206
208
  def authorized_writer_teams(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
207
209
  """
208
- Team IDs that have write access to this dashboard
210
+ Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
209
211
  """
210
- warnings.warn("""Please use permissions field now""", DeprecationWarning)
211
- pulumi.log.warn("""authorized_writer_teams is deprecated: Please use permissions field now""")
212
-
213
212
  return pulumi.get(self, "authorized_writer_teams")
214
213
 
215
214
  @authorized_writer_teams.setter
@@ -218,13 +217,11 @@ class _DashboardGroupState:
218
217
 
219
218
  @property
220
219
  @pulumi.getter(name="authorizedWriterUsers")
220
+ @_utilities.deprecated("""Please use permissions field now""")
221
221
  def authorized_writer_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
222
222
  """
223
- User IDs that have write access to this dashboard
223
+ User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
224
224
  """
225
- warnings.warn("""Please use permissions field now""", DeprecationWarning)
226
- pulumi.log.warn("""authorized_writer_users is deprecated: Please use permissions field now""")
227
-
228
225
  return pulumi.get(self, "authorized_writer_users")
229
226
 
230
227
  @authorized_writer_users.setter
@@ -235,7 +232,7 @@ class _DashboardGroupState:
235
232
  @pulumi.getter
236
233
  def dashboards(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardGroupDashboardArgs']]]]:
237
234
  """
238
- Dashboard IDs that are members of this dashboard group. Also handles 'mirrored' dashboards.
235
+ [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
239
236
  """
240
237
  return pulumi.get(self, "dashboards")
241
238
 
@@ -247,7 +244,7 @@ class _DashboardGroupState:
247
244
  @pulumi.getter
248
245
  def description(self) -> Optional[pulumi.Input[str]]:
249
246
  """
250
- Description of the dashboard group
247
+ Description of the dashboard group.
251
248
  """
252
249
  return pulumi.get(self, "description")
253
250
 
@@ -268,7 +265,7 @@ class _DashboardGroupState:
268
265
  @pulumi.getter
269
266
  def name(self) -> Optional[pulumi.Input[str]]:
270
267
  """
271
- Name of the dashboard group
268
+ Name of the dashboard group.
272
269
  """
273
270
  return pulumi.get(self, "name")
274
271
 
@@ -280,7 +277,7 @@ class _DashboardGroupState:
280
277
  @pulumi.getter
281
278
  def permissions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardGroupPermissionArgs']]]]:
282
279
  """
283
- The custom access control list for this dashboard
280
+ [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
284
281
  """
285
282
  return pulumi.get(self, "permissions")
286
283
 
@@ -292,7 +289,7 @@ class _DashboardGroupState:
292
289
  @pulumi.getter
293
290
  def teams(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
294
291
  """
295
- Team IDs to associate the dashboard group to
292
+ Team IDs to associate the dashboard group to.
296
293
  """
297
294
  return pulumi.get(self, "teams")
298
295
 
@@ -308,11 +305,11 @@ class DashboardGroup(pulumi.CustomResource):
308
305
  opts: Optional[pulumi.ResourceOptions] = None,
309
306
  authorized_writer_teams: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
310
307
  authorized_writer_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
311
- dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupDashboardArgs']]]]] = None,
308
+ dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupDashboardArgs', 'DashboardGroupDashboardArgsDict']]]]] = None,
312
309
  description: Optional[pulumi.Input[str]] = None,
313
- import_qualifiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupImportQualifierArgs']]]]] = None,
310
+ import_qualifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupImportQualifierArgs', 'DashboardGroupImportQualifierArgsDict']]]]] = None,
314
311
  name: Optional[pulumi.Input[str]] = None,
315
- permissions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupPermissionArgs']]]]] = None,
312
+ permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupPermissionArgs', 'DashboardGroupPermissionArgsDict']]]]] = None,
316
313
  teams: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
317
314
  __props__=None):
318
315
  """
@@ -324,52 +321,81 @@ class DashboardGroup(pulumi.CustomResource):
324
321
 
325
322
  ## Example
326
323
 
324
+ ```python
325
+ import pulumi
326
+ import pulumi_signalfx as signalfx
327
+
328
+ mydashboardgroup0 = signalfx.DashboardGroup("mydashboardgroup0",
329
+ name="My team dashboard group",
330
+ description="Cool dashboard group",
331
+ authorized_writer_teams=[mycoolteam["id"]],
332
+ authorized_writer_users=["abc123"])
333
+ ```
334
+
327
335
  ## Example with permissions
328
336
 
337
+ ```python
338
+ import pulumi
339
+ import pulumi_signalfx as signalfx
340
+
341
+ mydashboardgroup_withpermissions = signalfx.DashboardGroup("mydashboardgroup_withpermissions",
342
+ name="My team dashboard group",
343
+ description="Cool dashboard group",
344
+ permissions=[
345
+ {
346
+ "principal_id": "abc123",
347
+ "principal_type": "ORG",
348
+ "actions": ["READ"],
349
+ },
350
+ {
351
+ "principal_id": "abc456",
352
+ "principal_type": "USER",
353
+ "actions": [
354
+ "READ",
355
+ "WRITE",
356
+ ],
357
+ },
358
+ ])
359
+ ```
360
+
329
361
  ## Example With mirrored dashboards
330
362
 
331
- ## Arguments
332
-
333
- The following arguments are supported in the resource block:
334
-
335
- * `name` - (Required) Name of the dashboard group.
336
- * `description` - (Required) Description of the dashboard group.
337
- * `teams` - (Optional) Team IDs to associate the dashboard group to.
338
- * `authorized_writer_teams` - (Optional) Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
339
- * `authorized_writer_users` - (Optional) User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
340
- * `permissions` - (Optional) [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
341
- * `principal_id` - (Required) ID of the user, team, or organization for which you're granting permissions.
342
- * `principal_type` - (Required) Clarify whether this permission configuration is for a user, a team, or an organization. Value can be one of "USER", "TEAM", or "ORG".
343
- * `actions` - (Required) Action the user, team, or organization can take with the dashboard group. List of values (value can be "READ" or "WRITE").
344
- * `dashboard` - (Optional) [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
345
- * `dashboard_id` - (Required) The dashboard id to mirror
346
- * `name_override` - (Optional) The name that will override the original dashboards's name.
347
- * `description_override` - (Optional) The description that will override the original dashboards's description.
348
- * `filter_override` - (Optional) The description that will override the original dashboards's description.
349
- * `property` - (Required) The name of a dimension to filter against.
350
- * `values` - (Required) A list of values to be used with the `property`, they will be combined via `OR`.
351
- * `negated` - (Optional) If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
352
- * `filter_override` - (Optional) The description that will override the original dashboards's description.
353
- * `property` - (Required) A metric time series dimension or property name.
354
- * `values` - (Optional) (Optional) List of of strings (which will be treated as an OR filter on the property).
355
- * `values_suggested` - (Optional) A list of strings of suggested values for this variable; these suggestions will receive priority when values are autosuggested for this variable.
356
-
357
- ## Attributes
358
-
359
- In a addition to all arguments above, the following attributes are exported:
360
-
361
- * `id` - The ID of the integration.
362
- * `dashboard.config_id` - The ID of the association between the dashboard group and the dashboard
363
+ ```python
364
+ import pulumi
365
+ import pulumi_signalfx as signalfx
366
+
367
+ mydashboardgroup_withmirrors = signalfx.DashboardGroup("mydashboardgroup_withmirrors",
368
+ name="My team dashboard group",
369
+ description="Cool dashboard group",
370
+ dashboards=[{
371
+ "dashboard_id": gc_dashboard["id"],
372
+ "name_override": "GC For My Service",
373
+ "description_override": "Garbage Collection dashboard maintained by JVM team",
374
+ "filter_overrides": [{
375
+ "property": "service",
376
+ "values": ["myservice"],
377
+ "negated": False,
378
+ }],
379
+ "variable_overrides": [{
380
+ "property": "region",
381
+ "values": ["us-west1"],
382
+ "values_suggesteds": [
383
+ "us-west-1",
384
+ "us-east-1",
385
+ ],
386
+ }],
387
+ }])
388
+ ```
363
389
 
364
390
  :param str resource_name: The name of the resource.
365
391
  :param pulumi.ResourceOptions opts: Options for the resource.
366
- :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_teams: Team IDs that have write access to this dashboard
367
- :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_users: User IDs that have write access to this dashboard
368
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupDashboardArgs']]]] dashboards: Dashboard IDs that are members of this dashboard group. Also handles 'mirrored' dashboards.
369
- :param pulumi.Input[str] description: Description of the dashboard group
370
- :param pulumi.Input[str] name: Name of the dashboard group
371
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupPermissionArgs']]]] permissions: The custom access control list for this dashboard
372
- :param pulumi.Input[Sequence[pulumi.Input[str]]] teams: Team IDs to associate the dashboard group to
392
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_teams: Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
393
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_users: User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
394
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupDashboardArgs', 'DashboardGroupDashboardArgsDict']]]] dashboards: [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
395
+ :param pulumi.Input[str] description: Description of the dashboard group.
396
+ :param pulumi.Input[str] name: Name of the dashboard group.
397
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupPermissionArgs', 'DashboardGroupPermissionArgsDict']]]] permissions: [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
398
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] teams: Team IDs to associate the dashboard group to.
373
399
  """
374
400
  ...
375
401
  @overload
@@ -386,42 +412,71 @@ class DashboardGroup(pulumi.CustomResource):
386
412
 
387
413
  ## Example
388
414
 
415
+ ```python
416
+ import pulumi
417
+ import pulumi_signalfx as signalfx
418
+
419
+ mydashboardgroup0 = signalfx.DashboardGroup("mydashboardgroup0",
420
+ name="My team dashboard group",
421
+ description="Cool dashboard group",
422
+ authorized_writer_teams=[mycoolteam["id"]],
423
+ authorized_writer_users=["abc123"])
424
+ ```
425
+
389
426
  ## Example with permissions
390
427
 
428
+ ```python
429
+ import pulumi
430
+ import pulumi_signalfx as signalfx
431
+
432
+ mydashboardgroup_withpermissions = signalfx.DashboardGroup("mydashboardgroup_withpermissions",
433
+ name="My team dashboard group",
434
+ description="Cool dashboard group",
435
+ permissions=[
436
+ {
437
+ "principal_id": "abc123",
438
+ "principal_type": "ORG",
439
+ "actions": ["READ"],
440
+ },
441
+ {
442
+ "principal_id": "abc456",
443
+ "principal_type": "USER",
444
+ "actions": [
445
+ "READ",
446
+ "WRITE",
447
+ ],
448
+ },
449
+ ])
450
+ ```
451
+
391
452
  ## Example With mirrored dashboards
392
453
 
393
- ## Arguments
394
-
395
- The following arguments are supported in the resource block:
396
-
397
- * `name` - (Required) Name of the dashboard group.
398
- * `description` - (Required) Description of the dashboard group.
399
- * `teams` - (Optional) Team IDs to associate the dashboard group to.
400
- * `authorized_writer_teams` - (Optional) Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
401
- * `authorized_writer_users` - (Optional) User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
402
- * `permissions` - (Optional) [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
403
- * `principal_id` - (Required) ID of the user, team, or organization for which you're granting permissions.
404
- * `principal_type` - (Required) Clarify whether this permission configuration is for a user, a team, or an organization. Value can be one of "USER", "TEAM", or "ORG".
405
- * `actions` - (Required) Action the user, team, or organization can take with the dashboard group. List of values (value can be "READ" or "WRITE").
406
- * `dashboard` - (Optional) [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
407
- * `dashboard_id` - (Required) The dashboard id to mirror
408
- * `name_override` - (Optional) The name that will override the original dashboards's name.
409
- * `description_override` - (Optional) The description that will override the original dashboards's description.
410
- * `filter_override` - (Optional) The description that will override the original dashboards's description.
411
- * `property` - (Required) The name of a dimension to filter against.
412
- * `values` - (Required) A list of values to be used with the `property`, they will be combined via `OR`.
413
- * `negated` - (Optional) If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
414
- * `filter_override` - (Optional) The description that will override the original dashboards's description.
415
- * `property` - (Required) A metric time series dimension or property name.
416
- * `values` - (Optional) (Optional) List of of strings (which will be treated as an OR filter on the property).
417
- * `values_suggested` - (Optional) A list of strings of suggested values for this variable; these suggestions will receive priority when values are autosuggested for this variable.
418
-
419
- ## Attributes
420
-
421
- In a addition to all arguments above, the following attributes are exported:
422
-
423
- * `id` - The ID of the integration.
424
- * `dashboard.config_id` - The ID of the association between the dashboard group and the dashboard
454
+ ```python
455
+ import pulumi
456
+ import pulumi_signalfx as signalfx
457
+
458
+ mydashboardgroup_withmirrors = signalfx.DashboardGroup("mydashboardgroup_withmirrors",
459
+ name="My team dashboard group",
460
+ description="Cool dashboard group",
461
+ dashboards=[{
462
+ "dashboard_id": gc_dashboard["id"],
463
+ "name_override": "GC For My Service",
464
+ "description_override": "Garbage Collection dashboard maintained by JVM team",
465
+ "filter_overrides": [{
466
+ "property": "service",
467
+ "values": ["myservice"],
468
+ "negated": False,
469
+ }],
470
+ "variable_overrides": [{
471
+ "property": "region",
472
+ "values": ["us-west1"],
473
+ "values_suggesteds": [
474
+ "us-west-1",
475
+ "us-east-1",
476
+ ],
477
+ }],
478
+ }])
479
+ ```
425
480
 
426
481
  :param str resource_name: The name of the resource.
427
482
  :param DashboardGroupArgs args: The arguments to use to populate this resource's properties.
@@ -440,11 +495,11 @@ class DashboardGroup(pulumi.CustomResource):
440
495
  opts: Optional[pulumi.ResourceOptions] = None,
441
496
  authorized_writer_teams: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
442
497
  authorized_writer_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
443
- dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupDashboardArgs']]]]] = None,
498
+ dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupDashboardArgs', 'DashboardGroupDashboardArgsDict']]]]] = None,
444
499
  description: Optional[pulumi.Input[str]] = None,
445
- import_qualifiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupImportQualifierArgs']]]]] = None,
500
+ import_qualifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupImportQualifierArgs', 'DashboardGroupImportQualifierArgsDict']]]]] = None,
446
501
  name: Optional[pulumi.Input[str]] = None,
447
- permissions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupPermissionArgs']]]]] = None,
502
+ permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupPermissionArgs', 'DashboardGroupPermissionArgsDict']]]]] = None,
448
503
  teams: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
449
504
  __props__=None):
450
505
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -475,11 +530,11 @@ class DashboardGroup(pulumi.CustomResource):
475
530
  opts: Optional[pulumi.ResourceOptions] = None,
476
531
  authorized_writer_teams: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
477
532
  authorized_writer_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
478
- dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupDashboardArgs']]]]] = None,
533
+ dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupDashboardArgs', 'DashboardGroupDashboardArgsDict']]]]] = None,
479
534
  description: Optional[pulumi.Input[str]] = None,
480
- import_qualifiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupImportQualifierArgs']]]]] = None,
535
+ import_qualifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupImportQualifierArgs', 'DashboardGroupImportQualifierArgsDict']]]]] = None,
481
536
  name: Optional[pulumi.Input[str]] = None,
482
- permissions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupPermissionArgs']]]]] = None,
537
+ permissions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupPermissionArgs', 'DashboardGroupPermissionArgsDict']]]]] = None,
483
538
  teams: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'DashboardGroup':
484
539
  """
485
540
  Get an existing DashboardGroup resource's state with the given name, id, and optional extra
@@ -488,13 +543,13 @@ class DashboardGroup(pulumi.CustomResource):
488
543
  :param str resource_name: The unique name of the resulting resource.
489
544
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
490
545
  :param pulumi.ResourceOptions opts: Options for the resource.
491
- :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_teams: Team IDs that have write access to this dashboard
492
- :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_users: User IDs that have write access to this dashboard
493
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupDashboardArgs']]]] dashboards: Dashboard IDs that are members of this dashboard group. Also handles 'mirrored' dashboards.
494
- :param pulumi.Input[str] description: Description of the dashboard group
495
- :param pulumi.Input[str] name: Name of the dashboard group
496
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DashboardGroupPermissionArgs']]]] permissions: The custom access control list for this dashboard
497
- :param pulumi.Input[Sequence[pulumi.Input[str]]] teams: Team IDs to associate the dashboard group to
546
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_teams: Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
547
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_writer_users: User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
548
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupDashboardArgs', 'DashboardGroupDashboardArgsDict']]]] dashboards: [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
549
+ :param pulumi.Input[str] description: Description of the dashboard group.
550
+ :param pulumi.Input[str] name: Name of the dashboard group.
551
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DashboardGroupPermissionArgs', 'DashboardGroupPermissionArgsDict']]]] permissions: [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
552
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] teams: Team IDs to associate the dashboard group to.
498
553
  """
499
554
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
500
555
 
@@ -512,31 +567,27 @@ class DashboardGroup(pulumi.CustomResource):
512
567
 
513
568
  @property
514
569
  @pulumi.getter(name="authorizedWriterTeams")
570
+ @_utilities.deprecated("""Please use permissions field now""")
515
571
  def authorized_writer_teams(self) -> pulumi.Output[Optional[Sequence[str]]]:
516
572
  """
517
- Team IDs that have write access to this dashboard
573
+ Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
518
574
  """
519
- warnings.warn("""Please use permissions field now""", DeprecationWarning)
520
- pulumi.log.warn("""authorized_writer_teams is deprecated: Please use permissions field now""")
521
-
522
575
  return pulumi.get(self, "authorized_writer_teams")
523
576
 
524
577
  @property
525
578
  @pulumi.getter(name="authorizedWriterUsers")
579
+ @_utilities.deprecated("""Please use permissions field now""")
526
580
  def authorized_writer_users(self) -> pulumi.Output[Optional[Sequence[str]]]:
527
581
  """
528
- User IDs that have write access to this dashboard
582
+ User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
529
583
  """
530
- warnings.warn("""Please use permissions field now""", DeprecationWarning)
531
- pulumi.log.warn("""authorized_writer_users is deprecated: Please use permissions field now""")
532
-
533
584
  return pulumi.get(self, "authorized_writer_users")
534
585
 
535
586
  @property
536
587
  @pulumi.getter
537
588
  def dashboards(self) -> pulumi.Output[Optional[Sequence['outputs.DashboardGroupDashboard']]]:
538
589
  """
539
- Dashboard IDs that are members of this dashboard group. Also handles 'mirrored' dashboards.
590
+ [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
540
591
  """
541
592
  return pulumi.get(self, "dashboards")
542
593
 
@@ -544,7 +595,7 @@ class DashboardGroup(pulumi.CustomResource):
544
595
  @pulumi.getter
545
596
  def description(self) -> pulumi.Output[Optional[str]]:
546
597
  """
547
- Description of the dashboard group
598
+ Description of the dashboard group.
548
599
  """
549
600
  return pulumi.get(self, "description")
550
601
 
@@ -557,7 +608,7 @@ class DashboardGroup(pulumi.CustomResource):
557
608
  @pulumi.getter
558
609
  def name(self) -> pulumi.Output[str]:
559
610
  """
560
- Name of the dashboard group
611
+ Name of the dashboard group.
561
612
  """
562
613
  return pulumi.get(self, "name")
563
614
 
@@ -565,7 +616,7 @@ class DashboardGroup(pulumi.CustomResource):
565
616
  @pulumi.getter
566
617
  def permissions(self) -> pulumi.Output[Sequence['outputs.DashboardGroupPermission']]:
567
618
  """
568
- The custom access control list for this dashboard
619
+ [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
569
620
  """
570
621
  return pulumi.get(self, "permissions")
571
622
 
@@ -573,7 +624,7 @@ class DashboardGroup(pulumi.CustomResource):
573
624
  @pulumi.getter
574
625
  def teams(self) -> pulumi.Output[Optional[Sequence[str]]]:
575
626
  """
576
- Team IDs to associate the dashboard group to
627
+ Team IDs to associate the dashboard group to.
577
628
  """
578
629
  return pulumi.get(self, "teams")
579
630