pulumi-newrelic 5.22.1__py3-none-any.whl → 5.23.0__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 +183 -270
- pulumi_newrelic/account_management.py +20 -20
- pulumi_newrelic/alert_channel.py +76 -92
- pulumi_newrelic/alert_condition.py +104 -163
- pulumi_newrelic/alert_muting_rule.py +33 -35
- pulumi_newrelic/alert_policy.py +68 -43
- pulumi_newrelic/alert_policy_channel.py +12 -8
- pulumi_newrelic/cloud/_inputs.py +322 -1072
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +4 -6
- pulumi_newrelic/cloud/aws_integrations.py +13 -15
- pulumi_newrelic/cloud/aws_link_account.py +4 -6
- pulumi_newrelic/cloud/azure_integrations.py +10 -12
- pulumi_newrelic/cloud/azure_link_account.py +4 -6
- pulumi_newrelic/cloud/gcp_integrations.py +6 -6
- pulumi_newrelic/cloud/gcp_link_account.py +4 -6
- pulumi_newrelic/cloud/outputs.py +322 -1072
- pulumi_newrelic/data_partition_rule.py +0 -4
- pulumi_newrelic/entity_tags.py +13 -17
- pulumi_newrelic/events_to_metrics_rule.py +2 -4
- pulumi_newrelic/get_account.py +0 -4
- pulumi_newrelic/get_application.py +8 -10
- pulumi_newrelic/get_authentication_domain.py +4 -8
- pulumi_newrelic/get_cloud_account.py +0 -4
- pulumi_newrelic/get_entity.py +28 -32
- pulumi_newrelic/get_group.py +42 -8
- pulumi_newrelic/get_key_transaction.py +8 -10
- pulumi_newrelic/get_notification_destination.py +20 -1
- pulumi_newrelic/get_obfuscation_expression.py +2 -4
- pulumi_newrelic/get_service_level_alert_helper.py +22 -46
- pulumi_newrelic/get_test_grok_pattern.py +4 -6
- pulumi_newrelic/get_user.py +0 -4
- pulumi_newrelic/group.py +40 -42
- pulumi_newrelic/infra_alert_condition.py +154 -145
- pulumi_newrelic/insights/event.py +8 -25
- pulumi_newrelic/log_parsing_rule.py +6 -10
- pulumi_newrelic/monitor_downtime.py +174 -193
- pulumi_newrelic/notification_channel.py +124 -150
- pulumi_newrelic/notification_destination.py +95 -1
- pulumi_newrelic/nrql_alert_condition.py +38 -48
- pulumi_newrelic/nrql_drop_rule.py +34 -38
- pulumi_newrelic/obfuscation_expression.py +2 -4
- pulumi_newrelic/obfuscation_rule.py +4 -4
- pulumi_newrelic/one_dashboard.py +42 -48
- pulumi_newrelic/one_dashboard_raw.py +86 -86
- pulumi_newrelic/outputs.py +180 -270
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +20 -36
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +158 -40
- pulumi_newrelic/service_level.py +38 -123
- pulumi_newrelic/synthetics/alert_condition.py +34 -78
- pulumi_newrelic/synthetics/broken_links_monitor.py +18 -20
- pulumi_newrelic/synthetics/cert_check_monitor.py +16 -18
- pulumi_newrelic/synthetics/get_private_location.py +0 -8
- pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
- pulumi_newrelic/synthetics/monitor.py +48 -52
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +69 -83
- pulumi_newrelic/synthetics/private_location.py +6 -6
- pulumi_newrelic/synthetics/script_monitor.py +38 -42
- pulumi_newrelic/synthetics/secure_credential.py +25 -22
- pulumi_newrelic/synthetics/step_monitor.py +18 -20
- pulumi_newrelic/user.py +8 -10
- pulumi_newrelic/workflow.py +20 -24
- {pulumi_newrelic-5.22.1.dist-info → pulumi_newrelic-5.23.0.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0.dist-info/RECORD +89 -0
- pulumi_newrelic-5.22.1.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.22.1.dist-info → pulumi_newrelic-5.23.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.22.1.dist-info → pulumi_newrelic-5.23.0.dist-info}/top_level.txt +0 -0
@@ -238,23 +238,24 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
238
238
|
|
239
239
|
### Create A New Relic One Dashboard With RawConfiguration
|
240
240
|
|
241
|
-
<!--Start PulumiCodeChooser -->
|
242
241
|
```python
|
243
242
|
import pulumi
|
244
243
|
import json
|
245
244
|
import pulumi_newrelic as newrelic
|
246
245
|
|
247
|
-
exampledash = newrelic.OneDashboardRaw("exampledash",
|
248
|
-
name="
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
246
|
+
exampledash = newrelic.OneDashboardRaw("exampledash",
|
247
|
+
name="New Relic Terraform Example",
|
248
|
+
pages=[newrelic.OneDashboardRawPageArgs(
|
249
|
+
name="Page Name",
|
250
|
+
widgets=[
|
251
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
252
|
+
title="Custom widget",
|
253
|
+
row=1,
|
254
|
+
column=1,
|
255
|
+
width=1,
|
256
|
+
height=1,
|
257
|
+
visualization_id="viz.custom",
|
258
|
+
configuration=\"\"\" {
|
258
259
|
"legend": {
|
259
260
|
"enabled": false
|
260
261
|
},
|
@@ -271,15 +272,15 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
271
272
|
}
|
272
273
|
}
|
273
274
|
\"\"\",
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
275
|
+
),
|
276
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
277
|
+
title="Server CPU",
|
278
|
+
row=1,
|
279
|
+
column=2,
|
280
|
+
width=1,
|
281
|
+
height=1,
|
282
|
+
visualization_id="viz.testing",
|
283
|
+
configuration=\"\"\" {
|
283
284
|
"nrqlQueries": [
|
284
285
|
{
|
285
286
|
"accountId": ` + accountID + `,
|
@@ -288,29 +289,28 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
288
289
|
]
|
289
290
|
}
|
290
291
|
\"\"\",
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
292
|
+
),
|
293
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
294
|
+
title="Docker Server CPU",
|
295
|
+
row=1,
|
296
|
+
column=3,
|
297
|
+
height=1,
|
298
|
+
width=1,
|
299
|
+
visualization_id="viz.bar",
|
300
|
+
configuration=json.dumps({
|
301
|
+
"facet": {
|
302
|
+
"showOtherSeries": False,
|
303
|
+
},
|
304
|
+
"nrqlQueries": [{
|
305
|
+
"accountId": account_id,
|
306
|
+
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
|
307
|
+
}],
|
308
|
+
}),
|
309
|
+
linked_entity_guids=["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
|
310
|
+
),
|
311
|
+
],
|
312
|
+
)])
|
312
313
|
```
|
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,23 +333,24 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
333
333
|
|
334
334
|
### Create A New Relic One Dashboard With RawConfiguration
|
335
335
|
|
336
|
-
<!--Start PulumiCodeChooser -->
|
337
336
|
```python
|
338
337
|
import pulumi
|
339
338
|
import json
|
340
339
|
import pulumi_newrelic as newrelic
|
341
340
|
|
342
|
-
exampledash = newrelic.OneDashboardRaw("exampledash",
|
343
|
-
name="
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
341
|
+
exampledash = newrelic.OneDashboardRaw("exampledash",
|
342
|
+
name="New Relic Terraform Example",
|
343
|
+
pages=[newrelic.OneDashboardRawPageArgs(
|
344
|
+
name="Page Name",
|
345
|
+
widgets=[
|
346
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
347
|
+
title="Custom widget",
|
348
|
+
row=1,
|
349
|
+
column=1,
|
350
|
+
width=1,
|
351
|
+
height=1,
|
352
|
+
visualization_id="viz.custom",
|
353
|
+
configuration=\"\"\" {
|
353
354
|
"legend": {
|
354
355
|
"enabled": false
|
355
356
|
},
|
@@ -366,15 +367,15 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
366
367
|
}
|
367
368
|
}
|
368
369
|
\"\"\",
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
370
|
+
),
|
371
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
372
|
+
title="Server CPU",
|
373
|
+
row=1,
|
374
|
+
column=2,
|
375
|
+
width=1,
|
376
|
+
height=1,
|
377
|
+
visualization_id="viz.testing",
|
378
|
+
configuration=\"\"\" {
|
378
379
|
"nrqlQueries": [
|
379
380
|
{
|
380
381
|
"accountId": ` + accountID + `,
|
@@ -383,29 +384,28 @@ class OneDashboardRaw(pulumi.CustomResource):
|
|
383
384
|
]
|
384
385
|
}
|
385
386
|
\"\"\",
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
387
|
+
),
|
388
|
+
newrelic.OneDashboardRawPageWidgetArgs(
|
389
|
+
title="Docker Server CPU",
|
390
|
+
row=1,
|
391
|
+
column=3,
|
392
|
+
height=1,
|
393
|
+
width=1,
|
394
|
+
visualization_id="viz.bar",
|
395
|
+
configuration=json.dumps({
|
396
|
+
"facet": {
|
397
|
+
"showOtherSeries": False,
|
398
|
+
},
|
399
|
+
"nrqlQueries": [{
|
400
|
+
"accountId": account_id,
|
401
|
+
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
|
402
|
+
}],
|
403
|
+
}),
|
404
|
+
linked_entity_guids=["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
|
405
|
+
),
|
406
|
+
],
|
407
|
+
)])
|
407
408
|
```
|
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.
|