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
 
12
17
  __all__ = ['IntegrationArgs', 'Integration']
@@ -20,10 +25,10 @@ class IntegrationArgs:
20
25
  name: Optional[pulumi.Input[str]] = None):
21
26
  """
22
27
  The set of arguments for constructing a Integration resource.
23
- :param pulumi.Input[str] api_key: Opsgenie API key
24
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
25
- :param pulumi.Input[str] api_url: Opsgenie API URL for integration
26
- :param pulumi.Input[str] name: Name of the integration
28
+ :param pulumi.Input[str] api_key: The API key
29
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
30
+ :param pulumi.Input[str] api_url: Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
31
+ :param pulumi.Input[str] name: Name of the integration.
27
32
  """
28
33
  pulumi.set(__self__, "api_key", api_key)
29
34
  pulumi.set(__self__, "enabled", enabled)
@@ -36,7 +41,7 @@ class IntegrationArgs:
36
41
  @pulumi.getter(name="apiKey")
37
42
  def api_key(self) -> pulumi.Input[str]:
38
43
  """
39
- Opsgenie API key
44
+ The API key
40
45
  """
41
46
  return pulumi.get(self, "api_key")
42
47
 
@@ -48,7 +53,7 @@ class IntegrationArgs:
48
53
  @pulumi.getter
49
54
  def enabled(self) -> pulumi.Input[bool]:
50
55
  """
51
- Whether the integration is enabled or not
56
+ Whether the integration is enabled.
52
57
  """
53
58
  return pulumi.get(self, "enabled")
54
59
 
@@ -60,7 +65,7 @@ class IntegrationArgs:
60
65
  @pulumi.getter(name="apiUrl")
61
66
  def api_url(self) -> Optional[pulumi.Input[str]]:
62
67
  """
63
- Opsgenie API URL for integration
68
+ Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
64
69
  """
65
70
  return pulumi.get(self, "api_url")
66
71
 
@@ -72,7 +77,7 @@ class IntegrationArgs:
72
77
  @pulumi.getter
73
78
  def name(self) -> Optional[pulumi.Input[str]]:
74
79
  """
75
- Name of the integration
80
+ Name of the integration.
76
81
  """
77
82
  return pulumi.get(self, "name")
78
83
 
@@ -90,10 +95,10 @@ class _IntegrationState:
90
95
  name: Optional[pulumi.Input[str]] = None):
91
96
  """
92
97
  Input properties used for looking up and filtering Integration resources.
93
- :param pulumi.Input[str] api_key: Opsgenie API key
94
- :param pulumi.Input[str] api_url: Opsgenie API URL for integration
95
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
96
- :param pulumi.Input[str] name: Name of the integration
98
+ :param pulumi.Input[str] api_key: The API key
99
+ :param pulumi.Input[str] api_url: Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
100
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
101
+ :param pulumi.Input[str] name: Name of the integration.
97
102
  """
98
103
  if api_key is not None:
99
104
  pulumi.set(__self__, "api_key", api_key)
@@ -108,7 +113,7 @@ class _IntegrationState:
108
113
  @pulumi.getter(name="apiKey")
109
114
  def api_key(self) -> Optional[pulumi.Input[str]]:
110
115
  """
111
- Opsgenie API key
116
+ The API key
112
117
  """
113
118
  return pulumi.get(self, "api_key")
114
119
 
@@ -120,7 +125,7 @@ class _IntegrationState:
120
125
  @pulumi.getter(name="apiUrl")
121
126
  def api_url(self) -> Optional[pulumi.Input[str]]:
122
127
  """
123
- Opsgenie API URL for integration
128
+ Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
124
129
  """
125
130
  return pulumi.get(self, "api_url")
126
131
 
@@ -132,7 +137,7 @@ class _IntegrationState:
132
137
  @pulumi.getter
133
138
  def enabled(self) -> Optional[pulumi.Input[bool]]:
134
139
  """
135
- Whether the integration is enabled or not
140
+ Whether the integration is enabled.
136
141
  """
137
142
  return pulumi.get(self, "enabled")
138
143
 
@@ -144,7 +149,7 @@ class _IntegrationState:
144
149
  @pulumi.getter
145
150
  def name(self) -> Optional[pulumi.Input[str]]:
146
151
  """
147
- Name of the integration
152
+ Name of the integration.
148
153
  """
149
154
  return pulumi.get(self, "name")
150
155
 
@@ -170,25 +175,23 @@ class Integration(pulumi.CustomResource):
170
175
 
171
176
  ## Example
172
177
 
173
- ## Arguments
178
+ ```python
179
+ import pulumi
180
+ import pulumi_signalfx as signalfx
174
181
 
175
- * `name` - (Required) Name of the integration.
176
- * `enabled` - (Required) Whether the integration is enabled.
177
- * `api_key` - (Required) The API key
178
- * `api_url` - (Optional) Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
179
-
180
- ## Attributes
181
-
182
- In a addition to all arguments above, the following attributes are exported:
183
-
184
- * `id` - The ID of the integration.
182
+ opgenie_myteam = signalfx.opsgenie.Integration("opgenie_myteam",
183
+ name="Opsgenie - My Team",
184
+ enabled=True,
185
+ api_key="my-key",
186
+ api_url="https://api.opsgenie.com")
187
+ ```
185
188
 
186
189
  :param str resource_name: The name of the resource.
187
190
  :param pulumi.ResourceOptions opts: Options for the resource.
188
- :param pulumi.Input[str] api_key: Opsgenie API key
189
- :param pulumi.Input[str] api_url: Opsgenie API URL for integration
190
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
191
- :param pulumi.Input[str] name: Name of the integration
191
+ :param pulumi.Input[str] api_key: The API key
192
+ :param pulumi.Input[str] api_url: Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
193
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
194
+ :param pulumi.Input[str] name: Name of the integration.
192
195
  """
193
196
  ...
194
197
  @overload
@@ -203,18 +206,16 @@ class Integration(pulumi.CustomResource):
203
206
 
204
207
  ## Example
205
208
 
206
- ## Arguments
207
-
208
- * `name` - (Required) Name of the integration.
209
- * `enabled` - (Required) Whether the integration is enabled.
210
- * `api_key` - (Required) The API key
211
- * `api_url` - (Optional) Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
212
-
213
- ## Attributes
214
-
215
- In a addition to all arguments above, the following attributes are exported:
209
+ ```python
210
+ import pulumi
211
+ import pulumi_signalfx as signalfx
216
212
 
217
- * `id` - The ID of the integration.
213
+ opgenie_myteam = signalfx.opsgenie.Integration("opgenie_myteam",
214
+ name="Opsgenie - My Team",
215
+ enabled=True,
216
+ api_key="my-key",
217
+ api_url="https://api.opsgenie.com")
218
+ ```
218
219
 
219
220
  :param str resource_name: The name of the resource.
220
221
  :param IntegrationArgs args: The arguments to use to populate this resource's properties.
@@ -275,10 +276,10 @@ class Integration(pulumi.CustomResource):
275
276
  :param str resource_name: The unique name of the resulting resource.
276
277
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
277
278
  :param pulumi.ResourceOptions opts: Options for the resource.
278
- :param pulumi.Input[str] api_key: Opsgenie API key
279
- :param pulumi.Input[str] api_url: Opsgenie API URL for integration
280
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
281
- :param pulumi.Input[str] name: Name of the integration
279
+ :param pulumi.Input[str] api_key: The API key
280
+ :param pulumi.Input[str] api_url: Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
281
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
282
+ :param pulumi.Input[str] name: Name of the integration.
282
283
  """
283
284
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
284
285
 
@@ -294,7 +295,7 @@ class Integration(pulumi.CustomResource):
294
295
  @pulumi.getter(name="apiKey")
295
296
  def api_key(self) -> pulumi.Output[str]:
296
297
  """
297
- Opsgenie API key
298
+ The API key
298
299
  """
299
300
  return pulumi.get(self, "api_key")
300
301
 
@@ -302,7 +303,7 @@ class Integration(pulumi.CustomResource):
302
303
  @pulumi.getter(name="apiUrl")
303
304
  def api_url(self) -> pulumi.Output[Optional[str]]:
304
305
  """
305
- Opsgenie API URL for integration
306
+ Opsgenie API URL. Will default to `https://api.opsgenie.com`. You might also want `https://api.eu.opsgenie.com`.
306
307
  """
307
308
  return pulumi.get(self, "api_url")
308
309
 
@@ -310,7 +311,7 @@ class Integration(pulumi.CustomResource):
310
311
  @pulumi.getter
311
312
  def enabled(self) -> pulumi.Output[bool]:
312
313
  """
313
- Whether the integration is enabled or not
314
+ Whether the integration is enabled.
314
315
  """
315
316
  return pulumi.get(self, "enabled")
316
317
 
@@ -318,7 +319,7 @@ class Integration(pulumi.CustomResource):
318
319
  @pulumi.getter
319
320
  def name(self) -> pulumi.Output[str]:
320
321
  """
321
- Name of the integration
322
+ Name of the integration.
322
323
  """
323
324
  return pulumi.get(self, "name")
324
325
 
@@ -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,12 +31,12 @@ class OrgTokenArgs:
26
31
  """
27
32
  The set of arguments for constructing a OrgToken resource.
28
33
  :param pulumi.Input[Sequence[pulumi.Input[str]]] auth_scopes: Authentication scope, ex: INGEST, API, RUM ... (Optional)
29
- :param pulumi.Input[str] description: Description of the token (Optional)
30
- :param pulumi.Input[bool] disabled: Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
31
- Defaults to `false`
32
- :param pulumi.Input[str] name: Name of the token
33
- :param pulumi.Input[Sequence[pulumi.Input[str]]] notifications: List of strings specifying where notifications will be sent when an incident occurs. See
34
- https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
34
+ :param pulumi.Input[str] description: Description of the token.
35
+ :param pulumi.Input[bool] disabled: Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
36
+ :param pulumi.Input['OrgTokenDpmLimitsArgs'] dpm_limits: Specify DPM-based limits for this token.
37
+ :param pulumi.Input['OrgTokenHostOrUsageLimitsArgs'] host_or_usage_limits: Specify Usage-based limits for this token.
38
+ :param pulumi.Input[str] name: Name of the token.
39
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] notifications: Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
35
40
  """
36
41
  if auth_scopes is not None:
37
42
  pulumi.set(__self__, "auth_scopes", auth_scopes)
@@ -64,7 +69,7 @@ class OrgTokenArgs:
64
69
  @pulumi.getter
65
70
  def description(self) -> Optional[pulumi.Input[str]]:
66
71
  """
67
- Description of the token (Optional)
72
+ Description of the token.
68
73
  """
69
74
  return pulumi.get(self, "description")
70
75
 
@@ -76,8 +81,7 @@ class OrgTokenArgs:
76
81
  @pulumi.getter
77
82
  def disabled(self) -> Optional[pulumi.Input[bool]]:
78
83
  """
79
- Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
80
- Defaults to `false`
84
+ Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
81
85
  """
82
86
  return pulumi.get(self, "disabled")
83
87
 
@@ -88,6 +92,9 @@ class OrgTokenArgs:
88
92
  @property
89
93
  @pulumi.getter(name="dpmLimits")
90
94
  def dpm_limits(self) -> Optional[pulumi.Input['OrgTokenDpmLimitsArgs']]:
95
+ """
96
+ Specify DPM-based limits for this token.
97
+ """
91
98
  return pulumi.get(self, "dpm_limits")
92
99
 
93
100
  @dpm_limits.setter
@@ -97,6 +104,9 @@ class OrgTokenArgs:
97
104
  @property
98
105
  @pulumi.getter(name="hostOrUsageLimits")
99
106
  def host_or_usage_limits(self) -> Optional[pulumi.Input['OrgTokenHostOrUsageLimitsArgs']]:
107
+ """
108
+ Specify Usage-based limits for this token.
109
+ """
100
110
  return pulumi.get(self, "host_or_usage_limits")
101
111
 
102
112
  @host_or_usage_limits.setter
@@ -107,7 +117,7 @@ class OrgTokenArgs:
107
117
  @pulumi.getter
108
118
  def name(self) -> Optional[pulumi.Input[str]]:
109
119
  """
110
- Name of the token
120
+ Name of the token.
111
121
  """
112
122
  return pulumi.get(self, "name")
113
123
 
@@ -119,8 +129,7 @@ class OrgTokenArgs:
119
129
  @pulumi.getter
120
130
  def notifications(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
121
131
  """
122
- List of strings specifying where notifications will be sent when an incident occurs. See
123
- https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
132
+ Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
124
133
  """
125
134
  return pulumi.get(self, "notifications")
126
135
 
@@ -143,12 +152,13 @@ class _OrgTokenState:
143
152
  """
144
153
  Input properties used for looking up and filtering OrgToken resources.
145
154
  :param pulumi.Input[Sequence[pulumi.Input[str]]] auth_scopes: Authentication scope, ex: INGEST, API, RUM ... (Optional)
146
- :param pulumi.Input[str] description: Description of the token (Optional)
147
- :param pulumi.Input[bool] disabled: Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
148
- Defaults to `false`
149
- :param pulumi.Input[str] name: Name of the token
150
- :param pulumi.Input[Sequence[pulumi.Input[str]]] notifications: List of strings specifying where notifications will be sent when an incident occurs. See
151
- https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
155
+ :param pulumi.Input[str] description: Description of the token.
156
+ :param pulumi.Input[bool] disabled: Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
157
+ :param pulumi.Input['OrgTokenDpmLimitsArgs'] dpm_limits: Specify DPM-based limits for this token.
158
+ :param pulumi.Input['OrgTokenHostOrUsageLimitsArgs'] host_or_usage_limits: Specify Usage-based limits for this token.
159
+ :param pulumi.Input[str] name: Name of the token.
160
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] notifications: Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
161
+ :param pulumi.Input[str] secret: The secret token created by the API. You cannot set this value.
152
162
  """
153
163
  if auth_scopes is not None:
154
164
  pulumi.set(__self__, "auth_scopes", auth_scopes)
@@ -183,7 +193,7 @@ class _OrgTokenState:
183
193
  @pulumi.getter
184
194
  def description(self) -> Optional[pulumi.Input[str]]:
185
195
  """
186
- Description of the token (Optional)
196
+ Description of the token.
187
197
  """
188
198
  return pulumi.get(self, "description")
189
199
 
@@ -195,8 +205,7 @@ class _OrgTokenState:
195
205
  @pulumi.getter
196
206
  def disabled(self) -> Optional[pulumi.Input[bool]]:
197
207
  """
198
- Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
199
- Defaults to `false`
208
+ Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
200
209
  """
201
210
  return pulumi.get(self, "disabled")
202
211
 
@@ -207,6 +216,9 @@ class _OrgTokenState:
207
216
  @property
208
217
  @pulumi.getter(name="dpmLimits")
209
218
  def dpm_limits(self) -> Optional[pulumi.Input['OrgTokenDpmLimitsArgs']]:
219
+ """
220
+ Specify DPM-based limits for this token.
221
+ """
210
222
  return pulumi.get(self, "dpm_limits")
211
223
 
212
224
  @dpm_limits.setter
@@ -216,6 +228,9 @@ class _OrgTokenState:
216
228
  @property
217
229
  @pulumi.getter(name="hostOrUsageLimits")
218
230
  def host_or_usage_limits(self) -> Optional[pulumi.Input['OrgTokenHostOrUsageLimitsArgs']]:
231
+ """
232
+ Specify Usage-based limits for this token.
233
+ """
219
234
  return pulumi.get(self, "host_or_usage_limits")
220
235
 
221
236
  @host_or_usage_limits.setter
@@ -226,7 +241,7 @@ class _OrgTokenState:
226
241
  @pulumi.getter
227
242
  def name(self) -> Optional[pulumi.Input[str]]:
228
243
  """
229
- Name of the token
244
+ Name of the token.
230
245
  """
231
246
  return pulumi.get(self, "name")
232
247
 
@@ -238,8 +253,7 @@ class _OrgTokenState:
238
253
  @pulumi.getter
239
254
  def notifications(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
240
255
  """
241
- List of strings specifying where notifications will be sent when an incident occurs. See
242
- https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
256
+ Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
243
257
  """
244
258
  return pulumi.get(self, "notifications")
245
259
 
@@ -250,6 +264,9 @@ class _OrgTokenState:
250
264
  @property
251
265
  @pulumi.getter
252
266
  def secret(self) -> Optional[pulumi.Input[str]]:
267
+ """
268
+ The secret token created by the API. You cannot set this value.
269
+ """
253
270
  return pulumi.get(self, "secret")
254
271
 
255
272
  @secret.setter
@@ -265,8 +282,8 @@ class OrgToken(pulumi.CustomResource):
265
282
  auth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
266
283
  description: Optional[pulumi.Input[str]] = None,
267
284
  disabled: Optional[pulumi.Input[bool]] = None,
268
- dpm_limits: Optional[pulumi.Input[pulumi.InputType['OrgTokenDpmLimitsArgs']]] = None,
269
- host_or_usage_limits: Optional[pulumi.Input[pulumi.InputType['OrgTokenHostOrUsageLimitsArgs']]] = None,
285
+ dpm_limits: Optional[pulumi.Input[Union['OrgTokenDpmLimitsArgs', 'OrgTokenDpmLimitsArgsDict']]] = None,
286
+ host_or_usage_limits: Optional[pulumi.Input[Union['OrgTokenHostOrUsageLimitsArgs', 'OrgTokenHostOrUsageLimitsArgsDict']]] = None,
270
287
  name: Optional[pulumi.Input[str]] = None,
271
288
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
272
289
  __props__=None):
@@ -277,44 +294,35 @@ class OrgToken(pulumi.CustomResource):
277
294
 
278
295
  ## Example
279
296
 
280
- ## Arguments
281
-
282
- The following arguments are supported in the resource block:
283
-
284
- * `name` - (Required) Name of the token.
285
- * `description` - (Optional) Description of the token.
286
- * `disabled` - (Optional) Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
287
- * `secret` - The secret token created by the API. You cannot set this value.
288
- * `notifications` - (Optional) Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
289
- * `host_or_usage_limits` - (Optional) Specify Usage-based limits for this token.
290
- * `host_limit` - (Optional) Max number of hosts that can use this token
291
- * `host_notification_threshold` - (Optional) Notification threshold for hosts
292
- * `container_limit` - (Optional) Max number of Docker containers that can use this token
293
- * `container_notification_threshold` - (Optional) Notification threshold for Docker containers
294
- * `custom_metrics_limit` - (Optional) Max number of custom metrics that can be sent with this token
295
- * `custom_metrics_notification_threshold` - (Optional) Notification threshold for custom metrics
296
- * `high_res_metrics_limit` - (Optional) Max number of hi-res metrics that can be sent with this toke
297
- * `high_res_metrics_notification_threshold` - (Optional) Notification threshold for hi-res metrics
298
- * `dpm_limits` (Optional) Specify DPM-based limits for this token.
299
- * `dpm_notification_threshold` - (Optional) DPM level at which Splunk Observability Cloud sends the notification for this token. If you don't specify a notification, Splunk Observability Cloud sends the generic notification.
300
- * `dpm_limit` - (Required) The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
301
-
302
- ## Attributes
303
-
304
- In a addition to all arguments above, the following attributes are exported:
305
-
306
- * `id` - The ID of the token.
307
- * `secret` - The assigned token.
297
+ ```python
298
+ import pulumi
299
+ import pulumi_signalfx as signalfx
300
+
301
+ myteamkey0 = signalfx.OrgToken("myteamkey0",
302
+ name="TeamIDKey",
303
+ description="My team's rad key",
304
+ notifications=["Email,foo-alerts@bar.com"],
305
+ host_or_usage_limits={
306
+ "host_limit": 100,
307
+ "host_notification_threshold": 90,
308
+ "container_limit": 200,
309
+ "container_notification_threshold": 180,
310
+ "custom_metrics_limit": 1000,
311
+ "custom_metrics_notification_threshold": 900,
312
+ "high_res_metrics_limit": 1000,
313
+ "high_res_metrics_notification_threshold": 900,
314
+ })
315
+ ```
308
316
 
309
317
  :param str resource_name: The name of the resource.
310
318
  :param pulumi.ResourceOptions opts: Options for the resource.
311
319
  :param pulumi.Input[Sequence[pulumi.Input[str]]] auth_scopes: Authentication scope, ex: INGEST, API, RUM ... (Optional)
312
- :param pulumi.Input[str] description: Description of the token (Optional)
313
- :param pulumi.Input[bool] disabled: Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
314
- Defaults to `false`
315
- :param pulumi.Input[str] name: Name of the token
316
- :param pulumi.Input[Sequence[pulumi.Input[str]]] notifications: List of strings specifying where notifications will be sent when an incident occurs. See
317
- https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
320
+ :param pulumi.Input[str] description: Description of the token.
321
+ :param pulumi.Input[bool] disabled: Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
322
+ :param pulumi.Input[Union['OrgTokenDpmLimitsArgs', 'OrgTokenDpmLimitsArgsDict']] dpm_limits: Specify DPM-based limits for this token.
323
+ :param pulumi.Input[Union['OrgTokenHostOrUsageLimitsArgs', 'OrgTokenHostOrUsageLimitsArgsDict']] host_or_usage_limits: Specify Usage-based limits for this token.
324
+ :param pulumi.Input[str] name: Name of the token.
325
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] notifications: Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
318
326
  """
319
327
  ...
320
328
  @overload
@@ -329,34 +337,25 @@ class OrgToken(pulumi.CustomResource):
329
337
 
330
338
  ## Example
331
339
 
332
- ## Arguments
333
-
334
- The following arguments are supported in the resource block:
335
-
336
- * `name` - (Required) Name of the token.
337
- * `description` - (Optional) Description of the token.
338
- * `disabled` - (Optional) Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
339
- * `secret` - The secret token created by the API. You cannot set this value.
340
- * `notifications` - (Optional) Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
341
- * `host_or_usage_limits` - (Optional) Specify Usage-based limits for this token.
342
- * `host_limit` - (Optional) Max number of hosts that can use this token
343
- * `host_notification_threshold` - (Optional) Notification threshold for hosts
344
- * `container_limit` - (Optional) Max number of Docker containers that can use this token
345
- * `container_notification_threshold` - (Optional) Notification threshold for Docker containers
346
- * `custom_metrics_limit` - (Optional) Max number of custom metrics that can be sent with this token
347
- * `custom_metrics_notification_threshold` - (Optional) Notification threshold for custom metrics
348
- * `high_res_metrics_limit` - (Optional) Max number of hi-res metrics that can be sent with this toke
349
- * `high_res_metrics_notification_threshold` - (Optional) Notification threshold for hi-res metrics
350
- * `dpm_limits` (Optional) Specify DPM-based limits for this token.
351
- * `dpm_notification_threshold` - (Optional) DPM level at which Splunk Observability Cloud sends the notification for this token. If you don't specify a notification, Splunk Observability Cloud sends the generic notification.
352
- * `dpm_limit` - (Required) The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
353
-
354
- ## Attributes
355
-
356
- In a addition to all arguments above, the following attributes are exported:
357
-
358
- * `id` - The ID of the token.
359
- * `secret` - The assigned token.
340
+ ```python
341
+ import pulumi
342
+ import pulumi_signalfx as signalfx
343
+
344
+ myteamkey0 = signalfx.OrgToken("myteamkey0",
345
+ name="TeamIDKey",
346
+ description="My team's rad key",
347
+ notifications=["Email,foo-alerts@bar.com"],
348
+ host_or_usage_limits={
349
+ "host_limit": 100,
350
+ "host_notification_threshold": 90,
351
+ "container_limit": 200,
352
+ "container_notification_threshold": 180,
353
+ "custom_metrics_limit": 1000,
354
+ "custom_metrics_notification_threshold": 900,
355
+ "high_res_metrics_limit": 1000,
356
+ "high_res_metrics_notification_threshold": 900,
357
+ })
358
+ ```
360
359
 
361
360
  :param str resource_name: The name of the resource.
362
361
  :param OrgTokenArgs args: The arguments to use to populate this resource's properties.
@@ -376,8 +375,8 @@ class OrgToken(pulumi.CustomResource):
376
375
  auth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
377
376
  description: Optional[pulumi.Input[str]] = None,
378
377
  disabled: Optional[pulumi.Input[bool]] = None,
379
- dpm_limits: Optional[pulumi.Input[pulumi.InputType['OrgTokenDpmLimitsArgs']]] = None,
380
- host_or_usage_limits: Optional[pulumi.Input[pulumi.InputType['OrgTokenHostOrUsageLimitsArgs']]] = None,
378
+ dpm_limits: Optional[pulumi.Input[Union['OrgTokenDpmLimitsArgs', 'OrgTokenDpmLimitsArgsDict']]] = None,
379
+ host_or_usage_limits: Optional[pulumi.Input[Union['OrgTokenHostOrUsageLimitsArgs', 'OrgTokenHostOrUsageLimitsArgsDict']]] = None,
381
380
  name: Optional[pulumi.Input[str]] = None,
382
381
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
383
382
  __props__=None):
@@ -412,8 +411,8 @@ class OrgToken(pulumi.CustomResource):
412
411
  auth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
413
412
  description: Optional[pulumi.Input[str]] = None,
414
413
  disabled: Optional[pulumi.Input[bool]] = None,
415
- dpm_limits: Optional[pulumi.Input[pulumi.InputType['OrgTokenDpmLimitsArgs']]] = None,
416
- host_or_usage_limits: Optional[pulumi.Input[pulumi.InputType['OrgTokenHostOrUsageLimitsArgs']]] = None,
414
+ dpm_limits: Optional[pulumi.Input[Union['OrgTokenDpmLimitsArgs', 'OrgTokenDpmLimitsArgsDict']]] = None,
415
+ host_or_usage_limits: Optional[pulumi.Input[Union['OrgTokenHostOrUsageLimitsArgs', 'OrgTokenHostOrUsageLimitsArgsDict']]] = None,
417
416
  name: Optional[pulumi.Input[str]] = None,
418
417
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
419
418
  secret: Optional[pulumi.Input[str]] = None) -> 'OrgToken':
@@ -425,12 +424,13 @@ class OrgToken(pulumi.CustomResource):
425
424
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
426
425
  :param pulumi.ResourceOptions opts: Options for the resource.
427
426
  :param pulumi.Input[Sequence[pulumi.Input[str]]] auth_scopes: Authentication scope, ex: INGEST, API, RUM ... (Optional)
428
- :param pulumi.Input[str] description: Description of the token (Optional)
429
- :param pulumi.Input[bool] disabled: Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
430
- Defaults to `false`
431
- :param pulumi.Input[str] name: Name of the token
432
- :param pulumi.Input[Sequence[pulumi.Input[str]]] notifications: List of strings specifying where notifications will be sent when an incident occurs. See
433
- https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
427
+ :param pulumi.Input[str] description: Description of the token.
428
+ :param pulumi.Input[bool] disabled: Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
429
+ :param pulumi.Input[Union['OrgTokenDpmLimitsArgs', 'OrgTokenDpmLimitsArgsDict']] dpm_limits: Specify DPM-based limits for this token.
430
+ :param pulumi.Input[Union['OrgTokenHostOrUsageLimitsArgs', 'OrgTokenHostOrUsageLimitsArgsDict']] host_or_usage_limits: Specify Usage-based limits for this token.
431
+ :param pulumi.Input[str] name: Name of the token.
432
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] notifications: Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
433
+ :param pulumi.Input[str] secret: The secret token created by the API. You cannot set this value.
434
434
  """
435
435
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
436
436
 
@@ -458,7 +458,7 @@ class OrgToken(pulumi.CustomResource):
458
458
  @pulumi.getter
459
459
  def description(self) -> pulumi.Output[Optional[str]]:
460
460
  """
461
- Description of the token (Optional)
461
+ Description of the token.
462
462
  """
463
463
  return pulumi.get(self, "description")
464
464
 
@@ -466,26 +466,31 @@ class OrgToken(pulumi.CustomResource):
466
466
  @pulumi.getter
467
467
  def disabled(self) -> pulumi.Output[Optional[bool]]:
468
468
  """
469
- Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
470
- Defaults to `false`
469
+ Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication. Defaults to `false`.
471
470
  """
472
471
  return pulumi.get(self, "disabled")
473
472
 
474
473
  @property
475
474
  @pulumi.getter(name="dpmLimits")
476
475
  def dpm_limits(self) -> pulumi.Output[Optional['outputs.OrgTokenDpmLimits']]:
476
+ """
477
+ Specify DPM-based limits for this token.
478
+ """
477
479
  return pulumi.get(self, "dpm_limits")
478
480
 
479
481
  @property
480
482
  @pulumi.getter(name="hostOrUsageLimits")
481
483
  def host_or_usage_limits(self) -> pulumi.Output[Optional['outputs.OrgTokenHostOrUsageLimits']]:
484
+ """
485
+ Specify Usage-based limits for this token.
486
+ """
482
487
  return pulumi.get(self, "host_or_usage_limits")
483
488
 
484
489
  @property
485
490
  @pulumi.getter
486
491
  def name(self) -> pulumi.Output[str]:
487
492
  """
488
- Name of the token
493
+ Name of the token.
489
494
  """
490
495
  return pulumi.get(self, "name")
491
496
 
@@ -493,13 +498,15 @@ class OrgToken(pulumi.CustomResource):
493
498
  @pulumi.getter
494
499
  def notifications(self) -> pulumi.Output[Optional[Sequence[str]]]:
495
500
  """
496
- List of strings specifying where notifications will be sent when an incident occurs. See
497
- https://developers.signalfx.com/v2/docs/detector-model#notifications-models for more info
501
+ Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
498
502
  """
499
503
  return pulumi.get(self, "notifications")
500
504
 
501
505
  @property
502
506
  @pulumi.getter
503
507
  def secret(self) -> pulumi.Output[str]:
508
+ """
509
+ The secret token created by the API. You cannot set this value.
510
+ """
504
511
  return pulumi.get(self, "secret")
505
512