pulumi-newrelic 5.23.0__py3-none-any.whl → 5.23.0a1711605988__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_newrelic/_inputs.py +270 -183
- pulumi_newrelic/account_management.py +20 -20
- pulumi_newrelic/alert_channel.py +92 -76
- pulumi_newrelic/alert_condition.py +163 -104
- pulumi_newrelic/alert_muting_rule.py +35 -33
- pulumi_newrelic/alert_policy.py +43 -68
- pulumi_newrelic/alert_policy_channel.py +8 -12
- pulumi_newrelic/cloud/_inputs.py +1072 -322
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +6 -4
- pulumi_newrelic/cloud/aws_integrations.py +15 -13
- pulumi_newrelic/cloud/aws_link_account.py +6 -4
- pulumi_newrelic/cloud/azure_integrations.py +12 -10
- pulumi_newrelic/cloud/azure_link_account.py +6 -4
- pulumi_newrelic/cloud/gcp_integrations.py +6 -6
- pulumi_newrelic/cloud/gcp_link_account.py +6 -4
- pulumi_newrelic/cloud/outputs.py +1072 -322
- pulumi_newrelic/data_partition_rule.py +4 -0
- pulumi_newrelic/entity_tags.py +17 -13
- pulumi_newrelic/events_to_metrics_rule.py +4 -2
- pulumi_newrelic/get_account.py +4 -0
- pulumi_newrelic/get_application.py +10 -8
- pulumi_newrelic/get_authentication_domain.py +8 -4
- pulumi_newrelic/get_cloud_account.py +4 -0
- pulumi_newrelic/get_entity.py +33 -48
- pulumi_newrelic/get_group.py +8 -42
- pulumi_newrelic/get_key_transaction.py +10 -8
- pulumi_newrelic/get_notification_destination.py +1 -20
- pulumi_newrelic/get_obfuscation_expression.py +4 -2
- pulumi_newrelic/get_service_level_alert_helper.py +46 -22
- pulumi_newrelic/get_test_grok_pattern.py +6 -4
- pulumi_newrelic/get_user.py +4 -0
- pulumi_newrelic/group.py +42 -40
- pulumi_newrelic/infra_alert_condition.py +145 -154
- pulumi_newrelic/insights/event.py +25 -8
- pulumi_newrelic/log_parsing_rule.py +10 -6
- pulumi_newrelic/monitor_downtime.py +193 -174
- pulumi_newrelic/notification_channel.py +150 -124
- pulumi_newrelic/notification_destination.py +1 -95
- pulumi_newrelic/nrql_alert_condition.py +48 -38
- pulumi_newrelic/nrql_drop_rule.py +38 -34
- pulumi_newrelic/obfuscation_expression.py +4 -2
- pulumi_newrelic/obfuscation_rule.py +4 -4
- pulumi_newrelic/one_dashboard.py +48 -42
- pulumi_newrelic/one_dashboard_raw.py +86 -86
- pulumi_newrelic/outputs.py +270 -180
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +36 -20
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +40 -158
- pulumi_newrelic/service_level.py +123 -38
- pulumi_newrelic/synthetics/alert_condition.py +78 -34
- pulumi_newrelic/synthetics/broken_links_monitor.py +20 -18
- pulumi_newrelic/synthetics/cert_check_monitor.py +18 -16
- pulumi_newrelic/synthetics/get_private_location.py +8 -0
- pulumi_newrelic/synthetics/get_secure_credential.py +12 -0
- pulumi_newrelic/synthetics/monitor.py +52 -48
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +83 -69
- pulumi_newrelic/synthetics/private_location.py +6 -6
- pulumi_newrelic/synthetics/script_monitor.py +42 -38
- pulumi_newrelic/synthetics/secure_credential.py +22 -25
- pulumi_newrelic/synthetics/step_monitor.py +20 -18
- pulumi_newrelic/user.py +10 -8
- pulumi_newrelic/workflow.py +24 -20
- {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711605988.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0a1711605988.dist-info/RECORD +89 -0
- pulumi_newrelic-5.23.0.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711605988.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711605988.dist-info}/top_level.txt +0 -0
pulumi_newrelic/service_level.py
CHANGED
@@ -23,6 +23,13 @@ class ServiceLevelArgs:
|
|
23
23
|
name: Optional[pulumi.Input[str]] = None):
|
24
24
|
"""
|
25
25
|
The set of arguments for constructing a ServiceLevel resource.
|
26
|
+
:param pulumi.Input['ServiceLevelEventsArgs'] events: The events that define the NRDB data for the SLI/SLO calculations.
|
27
|
+
See Events below for details.
|
28
|
+
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
29
|
+
:param pulumi.Input['ServiceLevelObjectiveArgs'] objective: The objective of the SLI, only one can be defined.
|
30
|
+
See Objective below for details.
|
31
|
+
:param pulumi.Input[str] description: The description of the SLI.
|
32
|
+
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
26
33
|
"""
|
27
34
|
pulumi.set(__self__, "events", events)
|
28
35
|
pulumi.set(__self__, "guid", guid)
|
@@ -35,6 +42,10 @@ class ServiceLevelArgs:
|
|
35
42
|
@property
|
36
43
|
@pulumi.getter
|
37
44
|
def events(self) -> pulumi.Input['ServiceLevelEventsArgs']:
|
45
|
+
"""
|
46
|
+
The events that define the NRDB data for the SLI/SLO calculations.
|
47
|
+
See Events below for details.
|
48
|
+
"""
|
38
49
|
return pulumi.get(self, "events")
|
39
50
|
|
40
51
|
@events.setter
|
@@ -44,6 +55,9 @@ class ServiceLevelArgs:
|
|
44
55
|
@property
|
45
56
|
@pulumi.getter
|
46
57
|
def guid(self) -> pulumi.Input[str]:
|
58
|
+
"""
|
59
|
+
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
60
|
+
"""
|
47
61
|
return pulumi.get(self, "guid")
|
48
62
|
|
49
63
|
@guid.setter
|
@@ -53,6 +67,10 @@ class ServiceLevelArgs:
|
|
53
67
|
@property
|
54
68
|
@pulumi.getter
|
55
69
|
def objective(self) -> pulumi.Input['ServiceLevelObjectiveArgs']:
|
70
|
+
"""
|
71
|
+
The objective of the SLI, only one can be defined.
|
72
|
+
See Objective below for details.
|
73
|
+
"""
|
56
74
|
return pulumi.get(self, "objective")
|
57
75
|
|
58
76
|
@objective.setter
|
@@ -62,6 +80,9 @@ class ServiceLevelArgs:
|
|
62
80
|
@property
|
63
81
|
@pulumi.getter
|
64
82
|
def description(self) -> Optional[pulumi.Input[str]]:
|
83
|
+
"""
|
84
|
+
The description of the SLI.
|
85
|
+
"""
|
65
86
|
return pulumi.get(self, "description")
|
66
87
|
|
67
88
|
@description.setter
|
@@ -71,6 +92,9 @@ class ServiceLevelArgs:
|
|
71
92
|
@property
|
72
93
|
@pulumi.getter
|
73
94
|
def name(self) -> Optional[pulumi.Input[str]]:
|
95
|
+
"""
|
96
|
+
A short name for the SLI that will help anyone understand what it is about.
|
97
|
+
"""
|
74
98
|
return pulumi.get(self, "name")
|
75
99
|
|
76
100
|
@name.setter
|
@@ -90,6 +114,13 @@ class _ServiceLevelState:
|
|
90
114
|
sli_id: Optional[pulumi.Input[str]] = None):
|
91
115
|
"""
|
92
116
|
Input properties used for looking up and filtering ServiceLevel resources.
|
117
|
+
:param pulumi.Input[str] description: The description of the SLI.
|
118
|
+
:param pulumi.Input['ServiceLevelEventsArgs'] events: The events that define the NRDB data for the SLI/SLO calculations.
|
119
|
+
See Events below for details.
|
120
|
+
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
121
|
+
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
122
|
+
:param pulumi.Input['ServiceLevelObjectiveArgs'] objective: The objective of the SLI, only one can be defined.
|
123
|
+
See Objective below for details.
|
93
124
|
:param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
94
125
|
:param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
|
95
126
|
"""
|
@@ -111,6 +142,9 @@ class _ServiceLevelState:
|
|
111
142
|
@property
|
112
143
|
@pulumi.getter
|
113
144
|
def description(self) -> Optional[pulumi.Input[str]]:
|
145
|
+
"""
|
146
|
+
The description of the SLI.
|
147
|
+
"""
|
114
148
|
return pulumi.get(self, "description")
|
115
149
|
|
116
150
|
@description.setter
|
@@ -120,6 +154,10 @@ class _ServiceLevelState:
|
|
120
154
|
@property
|
121
155
|
@pulumi.getter
|
122
156
|
def events(self) -> Optional[pulumi.Input['ServiceLevelEventsArgs']]:
|
157
|
+
"""
|
158
|
+
The events that define the NRDB data for the SLI/SLO calculations.
|
159
|
+
See Events below for details.
|
160
|
+
"""
|
123
161
|
return pulumi.get(self, "events")
|
124
162
|
|
125
163
|
@events.setter
|
@@ -129,6 +167,9 @@ class _ServiceLevelState:
|
|
129
167
|
@property
|
130
168
|
@pulumi.getter
|
131
169
|
def guid(self) -> Optional[pulumi.Input[str]]:
|
170
|
+
"""
|
171
|
+
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
172
|
+
"""
|
132
173
|
return pulumi.get(self, "guid")
|
133
174
|
|
134
175
|
@guid.setter
|
@@ -138,6 +179,9 @@ class _ServiceLevelState:
|
|
138
179
|
@property
|
139
180
|
@pulumi.getter
|
140
181
|
def name(self) -> Optional[pulumi.Input[str]]:
|
182
|
+
"""
|
183
|
+
A short name for the SLI that will help anyone understand what it is about.
|
184
|
+
"""
|
141
185
|
return pulumi.get(self, "name")
|
142
186
|
|
143
187
|
@name.setter
|
@@ -147,6 +191,10 @@ class _ServiceLevelState:
|
|
147
191
|
@property
|
148
192
|
@pulumi.getter
|
149
193
|
def objective(self) -> Optional[pulumi.Input['ServiceLevelObjectiveArgs']]:
|
194
|
+
"""
|
195
|
+
The objective of the SLI, only one can be defined.
|
196
|
+
See Objective below for details.
|
197
|
+
"""
|
150
198
|
return pulumi.get(self, "objective")
|
151
199
|
|
152
200
|
@objective.setter
|
@@ -202,25 +250,25 @@ class ServiceLevel(pulumi.CustomResource):
|
|
202
250
|
|
203
251
|
## Example Usage
|
204
252
|
|
253
|
+
<!--Start PulumiCodeChooser -->
|
205
254
|
```python
|
206
255
|
import pulumi
|
207
256
|
import pulumi_newrelic as newrelic
|
208
257
|
|
209
258
|
foo = newrelic.ServiceLevel("foo",
|
210
|
-
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
211
|
-
name="Latency",
|
212
259
|
description="Proportion of requests that are served faster than a threshold.",
|
213
260
|
events=newrelic.ServiceLevelEventsArgs(
|
214
261
|
account_id=12345678,
|
215
|
-
valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
|
216
|
-
from_="Transaction",
|
217
|
-
where="appName = 'Example application' AND (transactionType='Web')",
|
218
|
-
),
|
219
262
|
good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
|
220
263
|
from_="Transaction",
|
221
264
|
where="appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
|
222
265
|
),
|
266
|
+
valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
|
267
|
+
from_="Transaction",
|
268
|
+
where="appName = 'Example application' AND (transactionType='Web')",
|
269
|
+
),
|
223
270
|
),
|
271
|
+
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
224
272
|
objective=newrelic.ServiceLevelObjectiveArgs(
|
225
273
|
target=99,
|
226
274
|
time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
|
@@ -231,18 +279,19 @@ class ServiceLevel(pulumi.CustomResource):
|
|
231
279
|
),
|
232
280
|
))
|
233
281
|
```
|
282
|
+
<!--End PulumiCodeChooser -->
|
234
283
|
|
235
284
|
## Additional Example
|
236
285
|
|
237
286
|
Service level with tags:
|
238
287
|
|
288
|
+
<!--Start PulumiCodeChooser -->
|
239
289
|
```python
|
240
290
|
import pulumi
|
241
291
|
import pulumi_newrelic as newrelic
|
242
292
|
|
243
|
-
my_synthetic_monitor_service_level = newrelic.ServiceLevel("
|
293
|
+
my_synthetic_monitor_service_level = newrelic.ServiceLevel("mySyntheticMonitorServiceLevel",
|
244
294
|
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
245
|
-
name="My synthethic monitor - Success",
|
246
295
|
description="Proportion of successful synthetic checks.",
|
247
296
|
events=newrelic.ServiceLevelEventsArgs(
|
248
297
|
account_id=12345678,
|
@@ -264,7 +313,7 @@ class ServiceLevel(pulumi.CustomResource):
|
|
264
313
|
),
|
265
314
|
),
|
266
315
|
))
|
267
|
-
my_synthetic_monitor_service_level_tags = newrelic.EntityTags("
|
316
|
+
my_synthetic_monitor_service_level_tags = newrelic.EntityTags("mySyntheticMonitorServiceLevelTags",
|
268
317
|
guid=my_synthetic_monitor_service_level.sli_guid,
|
269
318
|
tags=[
|
270
319
|
newrelic.EntityTagsTagArgs(
|
@@ -280,37 +329,38 @@ class ServiceLevel(pulumi.CustomResource):
|
|
280
329
|
),
|
281
330
|
])
|
282
331
|
```
|
332
|
+
<!--End PulumiCodeChooser -->
|
283
333
|
|
284
334
|
Using `select` for events
|
285
335
|
|
336
|
+
<!--Start PulumiCodeChooser -->
|
286
337
|
```python
|
287
338
|
import pulumi
|
288
339
|
import pulumi_newrelic as newrelic
|
289
340
|
|
290
|
-
my_synthetic_monitor_duration_service_level = newrelic.ServiceLevel("
|
291
|
-
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
292
|
-
name="Duration distribution is under 7",
|
341
|
+
my_synthetic_monitor_duration_service_level = newrelic.ServiceLevel("mySyntheticMonitorDurationServiceLevel",
|
293
342
|
description="Monitor created to test concurrent request from terraform",
|
294
343
|
events=newrelic.ServiceLevelEventsArgs(
|
295
344
|
account_id=313870,
|
296
|
-
|
345
|
+
good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
|
297
346
|
from_="Metric",
|
298
|
-
select=newrelic.
|
347
|
+
select=newrelic.ServiceLevelEventsGoodEventsSelectArgs(
|
299
348
|
attribute="`query.wallClockTime.negative.distribution`",
|
300
|
-
function="
|
349
|
+
function="GET_CDF_COUNT",
|
350
|
+
threshold=7,
|
301
351
|
),
|
302
352
|
where="metricName = 'query.wallClockTime.negative.distribution'",
|
303
353
|
),
|
304
|
-
|
354
|
+
valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
|
305
355
|
from_="Metric",
|
306
|
-
select=newrelic.
|
356
|
+
select=newrelic.ServiceLevelEventsValidEventsSelectArgs(
|
307
357
|
attribute="`query.wallClockTime.negative.distribution`",
|
308
|
-
function="
|
309
|
-
threshold=7,
|
358
|
+
function="GET_FIELD",
|
310
359
|
),
|
311
360
|
where="metricName = 'query.wallClockTime.negative.distribution'",
|
312
361
|
),
|
313
362
|
),
|
363
|
+
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
314
364
|
objective=newrelic.ServiceLevelObjectiveArgs(
|
315
365
|
target=49,
|
316
366
|
time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
|
@@ -321,6 +371,7 @@ class ServiceLevel(pulumi.CustomResource):
|
|
321
371
|
),
|
322
372
|
))
|
323
373
|
```
|
374
|
+
<!--End PulumiCodeChooser -->
|
324
375
|
|
325
376
|
For up-to-date documentation about the tagging resource, please check EntityTags
|
326
377
|
|
@@ -340,6 +391,13 @@ class ServiceLevel(pulumi.CustomResource):
|
|
340
391
|
|
341
392
|
:param str resource_name: The name of the resource.
|
342
393
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
394
|
+
:param pulumi.Input[str] description: The description of the SLI.
|
395
|
+
:param pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']] events: The events that define the NRDB data for the SLI/SLO calculations.
|
396
|
+
See Events below for details.
|
397
|
+
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
398
|
+
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
399
|
+
:param pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']] objective: The objective of the SLI, only one can be defined.
|
400
|
+
See Objective below for details.
|
343
401
|
"""
|
344
402
|
...
|
345
403
|
@overload
|
@@ -360,25 +418,25 @@ class ServiceLevel(pulumi.CustomResource):
|
|
360
418
|
|
361
419
|
## Example Usage
|
362
420
|
|
421
|
+
<!--Start PulumiCodeChooser -->
|
363
422
|
```python
|
364
423
|
import pulumi
|
365
424
|
import pulumi_newrelic as newrelic
|
366
425
|
|
367
426
|
foo = newrelic.ServiceLevel("foo",
|
368
|
-
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
369
|
-
name="Latency",
|
370
427
|
description="Proportion of requests that are served faster than a threshold.",
|
371
428
|
events=newrelic.ServiceLevelEventsArgs(
|
372
429
|
account_id=12345678,
|
373
|
-
valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
|
374
|
-
from_="Transaction",
|
375
|
-
where="appName = 'Example application' AND (transactionType='Web')",
|
376
|
-
),
|
377
430
|
good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
|
378
431
|
from_="Transaction",
|
379
432
|
where="appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
|
380
433
|
),
|
434
|
+
valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
|
435
|
+
from_="Transaction",
|
436
|
+
where="appName = 'Example application' AND (transactionType='Web')",
|
437
|
+
),
|
381
438
|
),
|
439
|
+
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
382
440
|
objective=newrelic.ServiceLevelObjectiveArgs(
|
383
441
|
target=99,
|
384
442
|
time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
|
@@ -389,18 +447,19 @@ class ServiceLevel(pulumi.CustomResource):
|
|
389
447
|
),
|
390
448
|
))
|
391
449
|
```
|
450
|
+
<!--End PulumiCodeChooser -->
|
392
451
|
|
393
452
|
## Additional Example
|
394
453
|
|
395
454
|
Service level with tags:
|
396
455
|
|
456
|
+
<!--Start PulumiCodeChooser -->
|
397
457
|
```python
|
398
458
|
import pulumi
|
399
459
|
import pulumi_newrelic as newrelic
|
400
460
|
|
401
|
-
my_synthetic_monitor_service_level = newrelic.ServiceLevel("
|
461
|
+
my_synthetic_monitor_service_level = newrelic.ServiceLevel("mySyntheticMonitorServiceLevel",
|
402
462
|
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
403
|
-
name="My synthethic monitor - Success",
|
404
463
|
description="Proportion of successful synthetic checks.",
|
405
464
|
events=newrelic.ServiceLevelEventsArgs(
|
406
465
|
account_id=12345678,
|
@@ -422,7 +481,7 @@ class ServiceLevel(pulumi.CustomResource):
|
|
422
481
|
),
|
423
482
|
),
|
424
483
|
))
|
425
|
-
my_synthetic_monitor_service_level_tags = newrelic.EntityTags("
|
484
|
+
my_synthetic_monitor_service_level_tags = newrelic.EntityTags("mySyntheticMonitorServiceLevelTags",
|
426
485
|
guid=my_synthetic_monitor_service_level.sli_guid,
|
427
486
|
tags=[
|
428
487
|
newrelic.EntityTagsTagArgs(
|
@@ -438,37 +497,38 @@ class ServiceLevel(pulumi.CustomResource):
|
|
438
497
|
),
|
439
498
|
])
|
440
499
|
```
|
500
|
+
<!--End PulumiCodeChooser -->
|
441
501
|
|
442
502
|
Using `select` for events
|
443
503
|
|
504
|
+
<!--Start PulumiCodeChooser -->
|
444
505
|
```python
|
445
506
|
import pulumi
|
446
507
|
import pulumi_newrelic as newrelic
|
447
508
|
|
448
|
-
my_synthetic_monitor_duration_service_level = newrelic.ServiceLevel("
|
449
|
-
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
450
|
-
name="Duration distribution is under 7",
|
509
|
+
my_synthetic_monitor_duration_service_level = newrelic.ServiceLevel("mySyntheticMonitorDurationServiceLevel",
|
451
510
|
description="Monitor created to test concurrent request from terraform",
|
452
511
|
events=newrelic.ServiceLevelEventsArgs(
|
453
512
|
account_id=313870,
|
454
|
-
|
513
|
+
good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
|
455
514
|
from_="Metric",
|
456
|
-
select=newrelic.
|
515
|
+
select=newrelic.ServiceLevelEventsGoodEventsSelectArgs(
|
457
516
|
attribute="`query.wallClockTime.negative.distribution`",
|
458
|
-
function="
|
517
|
+
function="GET_CDF_COUNT",
|
518
|
+
threshold=7,
|
459
519
|
),
|
460
520
|
where="metricName = 'query.wallClockTime.negative.distribution'",
|
461
521
|
),
|
462
|
-
|
522
|
+
valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
|
463
523
|
from_="Metric",
|
464
|
-
select=newrelic.
|
524
|
+
select=newrelic.ServiceLevelEventsValidEventsSelectArgs(
|
465
525
|
attribute="`query.wallClockTime.negative.distribution`",
|
466
|
-
function="
|
467
|
-
threshold=7,
|
526
|
+
function="GET_FIELD",
|
468
527
|
),
|
469
528
|
where="metricName = 'query.wallClockTime.negative.distribution'",
|
470
529
|
),
|
471
530
|
),
|
531
|
+
guid="MXxBUE18QVBQTElDQVRJT058MQ",
|
472
532
|
objective=newrelic.ServiceLevelObjectiveArgs(
|
473
533
|
target=49,
|
474
534
|
time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
|
@@ -479,6 +539,7 @@ class ServiceLevel(pulumi.CustomResource):
|
|
479
539
|
),
|
480
540
|
))
|
481
541
|
```
|
542
|
+
<!--End PulumiCodeChooser -->
|
482
543
|
|
483
544
|
For up-to-date documentation about the tagging resource, please check EntityTags
|
484
545
|
|
@@ -562,6 +623,13 @@ class ServiceLevel(pulumi.CustomResource):
|
|
562
623
|
:param str resource_name: The unique name of the resulting resource.
|
563
624
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
564
625
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
626
|
+
:param pulumi.Input[str] description: The description of the SLI.
|
627
|
+
:param pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']] events: The events that define the NRDB data for the SLI/SLO calculations.
|
628
|
+
See Events below for details.
|
629
|
+
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
630
|
+
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
631
|
+
:param pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']] objective: The objective of the SLI, only one can be defined.
|
632
|
+
See Objective below for details.
|
565
633
|
:param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
566
634
|
:param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
|
567
635
|
"""
|
@@ -581,26 +649,43 @@ class ServiceLevel(pulumi.CustomResource):
|
|
581
649
|
@property
|
582
650
|
@pulumi.getter
|
583
651
|
def description(self) -> pulumi.Output[Optional[str]]:
|
652
|
+
"""
|
653
|
+
The description of the SLI.
|
654
|
+
"""
|
584
655
|
return pulumi.get(self, "description")
|
585
656
|
|
586
657
|
@property
|
587
658
|
@pulumi.getter
|
588
659
|
def events(self) -> pulumi.Output['outputs.ServiceLevelEvents']:
|
660
|
+
"""
|
661
|
+
The events that define the NRDB data for the SLI/SLO calculations.
|
662
|
+
See Events below for details.
|
663
|
+
"""
|
589
664
|
return pulumi.get(self, "events")
|
590
665
|
|
591
666
|
@property
|
592
667
|
@pulumi.getter
|
593
668
|
def guid(self) -> pulumi.Output[str]:
|
669
|
+
"""
|
670
|
+
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
671
|
+
"""
|
594
672
|
return pulumi.get(self, "guid")
|
595
673
|
|
596
674
|
@property
|
597
675
|
@pulumi.getter
|
598
676
|
def name(self) -> pulumi.Output[str]:
|
677
|
+
"""
|
678
|
+
A short name for the SLI that will help anyone understand what it is about.
|
679
|
+
"""
|
599
680
|
return pulumi.get(self, "name")
|
600
681
|
|
601
682
|
@property
|
602
683
|
@pulumi.getter
|
603
684
|
def objective(self) -> pulumi.Output['outputs.ServiceLevelObjective']:
|
685
|
+
"""
|
686
|
+
The objective of the SLI, only one can be defined.
|
687
|
+
See Objective below for details.
|
688
|
+
"""
|
604
689
|
return pulumi.get(self, "objective")
|
605
690
|
|
606
691
|
@property
|