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
@@ -238,24 +238,23 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
238
238
|
|
239
239
|
### Create A New Relic One Dashboard With RawConfiguration
|
240
240
|
|
241
|
+
<!--Start PulumiCodeChooser -->
|
241
242
|
```python
|
242
243
|
import pulumi
|
243
244
|
import json
|
244
245
|
import pulumi_newrelic as newrelic
|
245
246
|
|
246
|
-
exampledash = newrelic.OneDashboardRaw("exampledash",
|
247
|
-
name="
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
visualization_id="viz.custom",
|
258
|
-
configuration=\"\"\" {
|
247
|
+
exampledash = newrelic.OneDashboardRaw("exampledash", pages=[newrelic.OneDashboardRawPageArgs(
|
248
|
+
name="Page Name",
|
249
|
+
widgets=[
|
250
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
251
|
+
title="Custom widget",
|
252
|
+
row=1,
|
253
|
+
column=1,
|
254
|
+
width=1,
|
255
|
+
height=1,
|
256
|
+
visualization_id="viz.custom",
|
257
|
+
configuration=\"\"\" {
|
259
258
|
"legend": {
|
260
259
|
"enabled": false
|
261
260
|
},
|
@@ -272,15 +271,15 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
272
271
|
}
|
273
272
|
}
|
274
273
|
\"\"\",
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
274
|
+
),
|
275
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
276
|
+
title="Server CPU",
|
277
|
+
row=1,
|
278
|
+
column=2,
|
279
|
+
width=1,
|
280
|
+
height=1,
|
281
|
+
visualization_id="viz.testing",
|
282
|
+
configuration=\"\"\" {
|
284
283
|
"nrqlQueries": [
|
285
284
|
{
|
286
285
|
"accountId": ` + accountID + `,
|
@@ -289,28 +288,29 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
289
288
|
]
|
290
289
|
}
|
291
290
|
\"\"\",
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
291
|
+
),
|
292
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
293
|
+
title="Docker Server CPU",
|
294
|
+
row=1,
|
295
|
+
column=3,
|
296
|
+
height=1,
|
297
|
+
width=1,
|
298
|
+
visualization_id="viz.bar",
|
299
|
+
configuration=json.dumps({
|
300
|
+
"facet": {
|
301
|
+
"showOtherSeries": False,
|
302
|
+
},
|
303
|
+
"nrqlQueries": [{
|
304
|
+
"accountId": local["accountID"],
|
305
|
+
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
|
306
|
+
}],
|
307
|
+
}),
|
308
|
+
linked_entity_guids=["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
|
309
|
+
),
|
310
|
+
],
|
311
|
+
)])
|
313
312
|
```
|
313
|
+
<!--End PulumiCodeChooser -->
|
314
314
|
|
315
315
|
:param str resource_name: The name of the resource.
|
316
316
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -333,24 +333,23 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
333
333
|
|
334
334
|
### Create A New Relic One Dashboard With RawConfiguration
|
335
335
|
|
336
|
+
<!--Start PulumiCodeChooser -->
|
336
337
|
```python
|
337
338
|
import pulumi
|
338
339
|
import json
|
339
340
|
import pulumi_newrelic as newrelic
|
340
341
|
|
341
|
-
exampledash = newrelic.OneDashboardRaw("exampledash",
|
342
|
-
name="
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
visualization_id="viz.custom",
|
353
|
-
configuration=\"\"\" {
|
342
|
+
exampledash = newrelic.OneDashboardRaw("exampledash", pages=[newrelic.OneDashboardRawPageArgs(
|
343
|
+
name="Page Name",
|
344
|
+
widgets=[
|
345
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
346
|
+
title="Custom widget",
|
347
|
+
row=1,
|
348
|
+
column=1,
|
349
|
+
width=1,
|
350
|
+
height=1,
|
351
|
+
visualization_id="viz.custom",
|
352
|
+
configuration=\"\"\" {
|
354
353
|
"legend": {
|
355
354
|
"enabled": false
|
356
355
|
},
|
@@ -367,15 +366,15 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
367
366
|
}
|
368
367
|
}
|
369
368
|
\"\"\",
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
369
|
+
),
|
370
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
371
|
+
title="Server CPU",
|
372
|
+
row=1,
|
373
|
+
column=2,
|
374
|
+
width=1,
|
375
|
+
height=1,
|
376
|
+
visualization_id="viz.testing",
|
377
|
+
configuration=\"\"\" {
|
379
378
|
"nrqlQueries": [
|
380
379
|
{
|
381
380
|
"accountId": ` + accountID + `,
|
@@ -384,28 +383,29 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
384
383
|
]
|
385
384
|
}
|
386
385
|
\"\"\",
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
386
|
+
),
|
387
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
388
|
+
title="Docker Server CPU",
|
389
|
+
row=1,
|
390
|
+
column=3,
|
391
|
+
height=1,
|
392
|
+
width=1,
|
393
|
+
visualization_id="viz.bar",
|
394
|
+
configuration=json.dumps({
|
395
|
+
"facet": {
|
396
|
+
"showOtherSeries": False,
|
397
|
+
},
|
398
|
+
"nrqlQueries": [{
|
399
|
+
"accountId": local["accountID"],
|
400
|
+
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
|
401
|
+
}],
|
402
|
+
}),
|
403
|
+
linked_entity_guids=["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
|
404
|
+
),
|
405
|
+
],
|
406
|
+
)])
|
408
407
|
```
|
408
|
+
<!--End PulumiCodeChooser -->
|
409
409
|
|
410
410
|
:param str resource_name: The name of the resource.
|
411
411
|
:param OneDashboardRawArgs args: The arguments to use to populate this resource's properties.
|