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