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/org_token.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 *
|
|
@@ -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
|
|
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
|
-
|
|
32
|
-
:param pulumi.Input[
|
|
33
|
-
:param pulumi.Input[
|
|
34
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
149
|
-
:param pulumi.Input[
|
|
150
|
-
:param pulumi.Input[
|
|
151
|
-
|
|
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
|
|
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
|
-
|
|
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[
|
|
269
|
-
host_or_usage_limits: Optional[pulumi.Input[
|
|
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):
|
|
@@ -282,58 +299,30 @@ class OrgToken(pulumi.CustomResource):
|
|
|
282
299
|
import pulumi_signalfx as signalfx
|
|
283
300
|
|
|
284
301
|
myteamkey0 = signalfx.OrgToken("myteamkey0",
|
|
302
|
+
name="TeamIDKey",
|
|
285
303
|
description="My team's rad key",
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
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
|
+
})
|
|
297
315
|
```
|
|
298
316
|
|
|
299
|
-
## Arguments
|
|
300
|
-
|
|
301
|
-
The following arguments are supported in the resource block:
|
|
302
|
-
|
|
303
|
-
* `name` - (Required) Name of the token.
|
|
304
|
-
* `description` - (Optional) Description of the token.
|
|
305
|
-
* `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`.
|
|
306
|
-
* `secret` - The secret token created by the API. You cannot set this value.
|
|
307
|
-
* `notifications` - (Optional) Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
|
|
308
|
-
* `host_or_usage_limits` - (Optional) Specify Usage-based limits for this token.
|
|
309
|
-
* `host_limit` - (Optional) Max number of hosts that can use this token
|
|
310
|
-
* `host_notification_threshold` - (Optional) Notification threshold for hosts
|
|
311
|
-
* `container_limit` - (Optional) Max number of Docker containers that can use this token
|
|
312
|
-
* `container_notification_threshold` - (Optional) Notification threshold for Docker containers
|
|
313
|
-
* `custom_metrics_limit` - (Optional) Max number of custom metrics that can be sent with this token
|
|
314
|
-
* `custom_metrics_notification_threshold` - (Optional) Notification threshold for custom metrics
|
|
315
|
-
* `high_res_metrics_limit` - (Optional) Max number of hi-res metrics that can be sent with this toke
|
|
316
|
-
* `high_res_metrics_notification_threshold` - (Optional) Notification threshold for hi-res metrics
|
|
317
|
-
* `dpm_limits` (Optional) Specify DPM-based limits for this token.
|
|
318
|
-
* `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.
|
|
319
|
-
* `dpm_limit` - (Required) The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
|
|
320
|
-
|
|
321
|
-
## Attributes
|
|
322
|
-
|
|
323
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
324
|
-
|
|
325
|
-
* `id` - The ID of the token.
|
|
326
|
-
* `secret` - The assigned token.
|
|
327
|
-
|
|
328
317
|
:param str resource_name: The name of the resource.
|
|
329
318
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
330
319
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] auth_scopes: Authentication scope, ex: INGEST, API, RUM ... (Optional)
|
|
331
|
-
:param pulumi.Input[str] description: Description of the token
|
|
332
|
-
: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.
|
|
333
|
-
|
|
334
|
-
:param pulumi.Input[
|
|
335
|
-
:param pulumi.Input[
|
|
336
|
-
|
|
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.
|
|
337
326
|
"""
|
|
338
327
|
...
|
|
339
328
|
@overload
|
|
@@ -353,49 +342,21 @@ class OrgToken(pulumi.CustomResource):
|
|
|
353
342
|
import pulumi_signalfx as signalfx
|
|
354
343
|
|
|
355
344
|
myteamkey0 = signalfx.OrgToken("myteamkey0",
|
|
345
|
+
name="TeamIDKey",
|
|
356
346
|
description="My team's rad key",
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
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
|
+
})
|
|
368
358
|
```
|
|
369
359
|
|
|
370
|
-
## Arguments
|
|
371
|
-
|
|
372
|
-
The following arguments are supported in the resource block:
|
|
373
|
-
|
|
374
|
-
* `name` - (Required) Name of the token.
|
|
375
|
-
* `description` - (Optional) Description of the token.
|
|
376
|
-
* `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`.
|
|
377
|
-
* `secret` - The secret token created by the API. You cannot set this value.
|
|
378
|
-
* `notifications` - (Optional) Where to send notifications about this token's limits. See the Notification Format laid out in detectors.
|
|
379
|
-
* `host_or_usage_limits` - (Optional) Specify Usage-based limits for this token.
|
|
380
|
-
* `host_limit` - (Optional) Max number of hosts that can use this token
|
|
381
|
-
* `host_notification_threshold` - (Optional) Notification threshold for hosts
|
|
382
|
-
* `container_limit` - (Optional) Max number of Docker containers that can use this token
|
|
383
|
-
* `container_notification_threshold` - (Optional) Notification threshold for Docker containers
|
|
384
|
-
* `custom_metrics_limit` - (Optional) Max number of custom metrics that can be sent with this token
|
|
385
|
-
* `custom_metrics_notification_threshold` - (Optional) Notification threshold for custom metrics
|
|
386
|
-
* `high_res_metrics_limit` - (Optional) Max number of hi-res metrics that can be sent with this toke
|
|
387
|
-
* `high_res_metrics_notification_threshold` - (Optional) Notification threshold for hi-res metrics
|
|
388
|
-
* `dpm_limits` (Optional) Specify DPM-based limits for this token.
|
|
389
|
-
* `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.
|
|
390
|
-
* `dpm_limit` - (Required) The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
|
|
391
|
-
|
|
392
|
-
## Attributes
|
|
393
|
-
|
|
394
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
395
|
-
|
|
396
|
-
* `id` - The ID of the token.
|
|
397
|
-
* `secret` - The assigned token.
|
|
398
|
-
|
|
399
360
|
:param str resource_name: The name of the resource.
|
|
400
361
|
:param OrgTokenArgs args: The arguments to use to populate this resource's properties.
|
|
401
362
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -414,8 +375,8 @@ class OrgToken(pulumi.CustomResource):
|
|
|
414
375
|
auth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
415
376
|
description: Optional[pulumi.Input[str]] = None,
|
|
416
377
|
disabled: Optional[pulumi.Input[bool]] = None,
|
|
417
|
-
dpm_limits: Optional[pulumi.Input[
|
|
418
|
-
host_or_usage_limits: Optional[pulumi.Input[
|
|
378
|
+
dpm_limits: Optional[pulumi.Input[Union['OrgTokenDpmLimitsArgs', 'OrgTokenDpmLimitsArgsDict']]] = None,
|
|
379
|
+
host_or_usage_limits: Optional[pulumi.Input[Union['OrgTokenHostOrUsageLimitsArgs', 'OrgTokenHostOrUsageLimitsArgsDict']]] = None,
|
|
419
380
|
name: Optional[pulumi.Input[str]] = None,
|
|
420
381
|
notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
421
382
|
__props__=None):
|
|
@@ -450,8 +411,8 @@ class OrgToken(pulumi.CustomResource):
|
|
|
450
411
|
auth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
451
412
|
description: Optional[pulumi.Input[str]] = None,
|
|
452
413
|
disabled: Optional[pulumi.Input[bool]] = None,
|
|
453
|
-
dpm_limits: Optional[pulumi.Input[
|
|
454
|
-
host_or_usage_limits: Optional[pulumi.Input[
|
|
414
|
+
dpm_limits: Optional[pulumi.Input[Union['OrgTokenDpmLimitsArgs', 'OrgTokenDpmLimitsArgsDict']]] = None,
|
|
415
|
+
host_or_usage_limits: Optional[pulumi.Input[Union['OrgTokenHostOrUsageLimitsArgs', 'OrgTokenHostOrUsageLimitsArgsDict']]] = None,
|
|
455
416
|
name: Optional[pulumi.Input[str]] = None,
|
|
456
417
|
notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
457
418
|
secret: Optional[pulumi.Input[str]] = None) -> 'OrgToken':
|
|
@@ -463,12 +424,13 @@ class OrgToken(pulumi.CustomResource):
|
|
|
463
424
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
464
425
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
465
426
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] auth_scopes: Authentication scope, ex: INGEST, API, RUM ... (Optional)
|
|
466
|
-
:param pulumi.Input[str] description: Description of the token
|
|
467
|
-
: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.
|
|
468
|
-
|
|
469
|
-
:param pulumi.Input[
|
|
470
|
-
:param pulumi.Input[
|
|
471
|
-
|
|
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.
|
|
472
434
|
"""
|
|
473
435
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
474
436
|
|
|
@@ -496,7 +458,7 @@ class OrgToken(pulumi.CustomResource):
|
|
|
496
458
|
@pulumi.getter
|
|
497
459
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
498
460
|
"""
|
|
499
|
-
Description of the token
|
|
461
|
+
Description of the token.
|
|
500
462
|
"""
|
|
501
463
|
return pulumi.get(self, "description")
|
|
502
464
|
|
|
@@ -504,26 +466,31 @@ class OrgToken(pulumi.CustomResource):
|
|
|
504
466
|
@pulumi.getter
|
|
505
467
|
def disabled(self) -> pulumi.Output[Optional[bool]]:
|
|
506
468
|
"""
|
|
507
|
-
Flag that controls enabling the token. If set to `true`, the token is disabled, and you can't use it for authentication.
|
|
508
|
-
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`.
|
|
509
470
|
"""
|
|
510
471
|
return pulumi.get(self, "disabled")
|
|
511
472
|
|
|
512
473
|
@property
|
|
513
474
|
@pulumi.getter(name="dpmLimits")
|
|
514
475
|
def dpm_limits(self) -> pulumi.Output[Optional['outputs.OrgTokenDpmLimits']]:
|
|
476
|
+
"""
|
|
477
|
+
Specify DPM-based limits for this token.
|
|
478
|
+
"""
|
|
515
479
|
return pulumi.get(self, "dpm_limits")
|
|
516
480
|
|
|
517
481
|
@property
|
|
518
482
|
@pulumi.getter(name="hostOrUsageLimits")
|
|
519
483
|
def host_or_usage_limits(self) -> pulumi.Output[Optional['outputs.OrgTokenHostOrUsageLimits']]:
|
|
484
|
+
"""
|
|
485
|
+
Specify Usage-based limits for this token.
|
|
486
|
+
"""
|
|
520
487
|
return pulumi.get(self, "host_or_usage_limits")
|
|
521
488
|
|
|
522
489
|
@property
|
|
523
490
|
@pulumi.getter
|
|
524
491
|
def name(self) -> pulumi.Output[str]:
|
|
525
492
|
"""
|
|
526
|
-
Name of the token
|
|
493
|
+
Name of the token.
|
|
527
494
|
"""
|
|
528
495
|
return pulumi.get(self, "name")
|
|
529
496
|
|
|
@@ -531,13 +498,15 @@ class OrgToken(pulumi.CustomResource):
|
|
|
531
498
|
@pulumi.getter
|
|
532
499
|
def notifications(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
533
500
|
"""
|
|
534
|
-
|
|
535
|
-
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.
|
|
536
502
|
"""
|
|
537
503
|
return pulumi.get(self, "notifications")
|
|
538
504
|
|
|
539
505
|
@property
|
|
540
506
|
@pulumi.getter
|
|
541
507
|
def secret(self) -> pulumi.Output[str]:
|
|
508
|
+
"""
|
|
509
|
+
The secret token created by the API. You cannot set this value.
|
|
510
|
+
"""
|
|
542
511
|
return pulumi.get(self, "secret")
|
|
543
512
|
|