pulumi-newrelic 5.22.0a1711544599__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.
Files changed (68) hide show
  1. pulumi_newrelic/_inputs.py +183 -270
  2. pulumi_newrelic/account_management.py +20 -20
  3. pulumi_newrelic/alert_channel.py +76 -92
  4. pulumi_newrelic/alert_condition.py +104 -163
  5. pulumi_newrelic/alert_muting_rule.py +33 -35
  6. pulumi_newrelic/alert_policy.py +68 -43
  7. pulumi_newrelic/alert_policy_channel.py +12 -8
  8. pulumi_newrelic/cloud/_inputs.py +322 -1072
  9. pulumi_newrelic/cloud/aws_govcloud_link_account.py +4 -6
  10. pulumi_newrelic/cloud/aws_integrations.py +13 -15
  11. pulumi_newrelic/cloud/aws_link_account.py +4 -6
  12. pulumi_newrelic/cloud/azure_integrations.py +10 -12
  13. pulumi_newrelic/cloud/azure_link_account.py +4 -6
  14. pulumi_newrelic/cloud/gcp_integrations.py +6 -6
  15. pulumi_newrelic/cloud/gcp_link_account.py +4 -6
  16. pulumi_newrelic/cloud/outputs.py +322 -1072
  17. pulumi_newrelic/data_partition_rule.py +0 -4
  18. pulumi_newrelic/entity_tags.py +13 -17
  19. pulumi_newrelic/events_to_metrics_rule.py +2 -4
  20. pulumi_newrelic/get_account.py +0 -4
  21. pulumi_newrelic/get_application.py +8 -10
  22. pulumi_newrelic/get_authentication_domain.py +4 -8
  23. pulumi_newrelic/get_cloud_account.py +0 -4
  24. pulumi_newrelic/get_entity.py +48 -33
  25. pulumi_newrelic/get_group.py +42 -8
  26. pulumi_newrelic/get_key_transaction.py +8 -10
  27. pulumi_newrelic/get_notification_destination.py +20 -1
  28. pulumi_newrelic/get_obfuscation_expression.py +2 -4
  29. pulumi_newrelic/get_service_level_alert_helper.py +22 -46
  30. pulumi_newrelic/get_test_grok_pattern.py +4 -6
  31. pulumi_newrelic/get_user.py +0 -4
  32. pulumi_newrelic/group.py +40 -42
  33. pulumi_newrelic/infra_alert_condition.py +154 -145
  34. pulumi_newrelic/insights/event.py +8 -25
  35. pulumi_newrelic/log_parsing_rule.py +6 -10
  36. pulumi_newrelic/monitor_downtime.py +174 -193
  37. pulumi_newrelic/notification_channel.py +124 -150
  38. pulumi_newrelic/notification_destination.py +95 -1
  39. pulumi_newrelic/nrql_alert_condition.py +38 -48
  40. pulumi_newrelic/nrql_drop_rule.py +34 -38
  41. pulumi_newrelic/obfuscation_expression.py +2 -4
  42. pulumi_newrelic/obfuscation_rule.py +4 -4
  43. pulumi_newrelic/one_dashboard.py +42 -48
  44. pulumi_newrelic/one_dashboard_raw.py +86 -86
  45. pulumi_newrelic/outputs.py +180 -270
  46. pulumi_newrelic/plugins/_inputs.py +16 -16
  47. pulumi_newrelic/plugins/application_settings.py +20 -36
  48. pulumi_newrelic/plugins/outputs.py +16 -16
  49. pulumi_newrelic/plugins/workload.py +158 -40
  50. pulumi_newrelic/service_level.py +38 -123
  51. pulumi_newrelic/synthetics/alert_condition.py +34 -78
  52. pulumi_newrelic/synthetics/broken_links_monitor.py +18 -20
  53. pulumi_newrelic/synthetics/cert_check_monitor.py +16 -18
  54. pulumi_newrelic/synthetics/get_private_location.py +0 -8
  55. pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
  56. pulumi_newrelic/synthetics/monitor.py +48 -52
  57. pulumi_newrelic/synthetics/multi_location_alert_condition.py +69 -83
  58. pulumi_newrelic/synthetics/private_location.py +6 -6
  59. pulumi_newrelic/synthetics/script_monitor.py +38 -42
  60. pulumi_newrelic/synthetics/secure_credential.py +25 -22
  61. pulumi_newrelic/synthetics/step_monitor.py +18 -20
  62. pulumi_newrelic/user.py +8 -10
  63. pulumi_newrelic/workflow.py +20 -24
  64. {pulumi_newrelic-5.22.0a1711544599.dist-info → pulumi_newrelic-5.23.0.dist-info}/METADATA +1 -1
  65. pulumi_newrelic-5.23.0.dist-info/RECORD +89 -0
  66. pulumi_newrelic-5.22.0a1711544599.dist-info/RECORD +0 -89
  67. {pulumi_newrelic-5.22.0a1711544599.dist-info → pulumi_newrelic-5.23.0.dist-info}/WHEEL +0 -0
  68. {pulumi_newrelic-5.22.0a1711544599.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", 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=\"\"\" {
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
- 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=\"\"\" {
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
- 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
- )])
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", 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=\"\"\" {
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
- 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=\"\"\" {
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
- 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
- )])
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.