pulumi-newrelic 5.28.0a1723107045__py3-none-any.whl → 5.29.0a1723454189__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 (41) hide show
  1. pulumi_newrelic/alert_channel.py +69 -69
  2. pulumi_newrelic/alert_condition.py +49 -49
  3. pulumi_newrelic/alert_muting_rule.py +54 -54
  4. pulumi_newrelic/alert_policy.py +16 -16
  5. pulumi_newrelic/alert_policy_channel.py +16 -16
  6. pulumi_newrelic/cloud/aws_govcloud_integrations.py +100 -100
  7. pulumi_newrelic/cloud/aws_integrations.py +798 -798
  8. pulumi_newrelic/cloud/azure_integrations.py +424 -424
  9. pulumi_newrelic/cloud/gcp_integrations.py +288 -288
  10. pulumi_newrelic/entity_tags.py +21 -21
  11. pulumi_newrelic/get_application.py +14 -14
  12. pulumi_newrelic/get_entity.py +4 -4
  13. pulumi_newrelic/get_key_transaction.py +14 -14
  14. pulumi_newrelic/get_notification_destination.py +4 -4
  15. pulumi_newrelic/get_obfuscation_expression.py +10 -10
  16. pulumi_newrelic/get_service_level_alert_helper.py +76 -76
  17. pulumi_newrelic/infra_alert_condition.py +90 -90
  18. pulumi_newrelic/insights/event.py +43 -43
  19. pulumi_newrelic/monitor_downtime.py +52 -52
  20. pulumi_newrelic/notification_channel.py +187 -187
  21. pulumi_newrelic/notification_destination.py +25 -25
  22. pulumi_newrelic/nrql_alert_condition.py +164 -164
  23. pulumi_newrelic/obfuscation_rule.py +15 -15
  24. pulumi_newrelic/one_dashboard.py +10 -10
  25. pulumi_newrelic/one_dashboard_raw.py +75 -75
  26. pulumi_newrelic/plugins/workload.py +101 -101
  27. pulumi_newrelic/pulumi-plugin.json +1 -1
  28. pulumi_newrelic/service_level.py +164 -164
  29. pulumi_newrelic/synthetics/alert_condition.py +32 -32
  30. pulumi_newrelic/synthetics/broken_links_monitor.py +21 -21
  31. pulumi_newrelic/synthetics/cert_check_monitor.py +21 -21
  32. pulumi_newrelic/synthetics/get_private_location.py +6 -6
  33. pulumi_newrelic/synthetics/monitor.py +74 -74
  34. pulumi_newrelic/synthetics/multi_location_alert_condition.py +66 -66
  35. pulumi_newrelic/synthetics/script_monitor.py +58 -58
  36. pulumi_newrelic/synthetics/step_monitor.py +59 -59
  37. pulumi_newrelic/workflow.py +155 -155
  38. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0a1723454189.dist-info}/METADATA +1 -1
  39. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0a1723454189.dist-info}/RECORD +41 -41
  40. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0a1723454189.dist-info}/WHEEL +0 -0
  41. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0a1723454189.dist-info}/top_level.txt +0 -0
@@ -260,9 +260,9 @@ class OneDashboard(pulumi.CustomResource):
260
260
  account_id: Optional[pulumi.Input[str]] = None,
261
261
  description: Optional[pulumi.Input[str]] = None,
262
262
  name: Optional[pulumi.Input[str]] = None,
263
- pages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]]] = None,
263
+ pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
264
264
  permissions: Optional[pulumi.Input[str]] = None,
265
- variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]]] = None,
265
+ variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None,
266
266
  __props__=None):
267
267
  """
268
268
  ## Import
@@ -280,9 +280,9 @@ class OneDashboard(pulumi.CustomResource):
280
280
  :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
281
281
  :param pulumi.Input[str] description: Brief text describing the dashboard.
282
282
  :param pulumi.Input[str] name: The title of the dashboard.
283
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
283
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
284
284
  :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
285
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
285
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
286
286
  """
287
287
  ...
288
288
  @overload
@@ -319,9 +319,9 @@ class OneDashboard(pulumi.CustomResource):
319
319
  account_id: Optional[pulumi.Input[str]] = None,
320
320
  description: Optional[pulumi.Input[str]] = None,
321
321
  name: Optional[pulumi.Input[str]] = None,
322
- pages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]]] = None,
322
+ pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
323
323
  permissions: Optional[pulumi.Input[str]] = None,
324
- variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]]] = None,
324
+ variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None,
325
325
  __props__=None):
326
326
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
327
327
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -355,10 +355,10 @@ class OneDashboard(pulumi.CustomResource):
355
355
  description: Optional[pulumi.Input[str]] = None,
356
356
  guid: Optional[pulumi.Input[str]] = None,
357
357
  name: Optional[pulumi.Input[str]] = None,
358
- pages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]]] = None,
358
+ pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
359
359
  permalink: Optional[pulumi.Input[str]] = None,
360
360
  permissions: Optional[pulumi.Input[str]] = None,
361
- variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]]] = None) -> 'OneDashboard':
361
+ variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None) -> 'OneDashboard':
362
362
  """
363
363
  Get an existing OneDashboard resource's state with the given name, id, and optional extra
364
364
  properties used to qualify the lookup.
@@ -370,10 +370,10 @@ class OneDashboard(pulumi.CustomResource):
370
370
  :param pulumi.Input[str] description: Brief text describing the dashboard.
371
371
  :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
372
372
  :param pulumi.Input[str] name: The title of the dashboard.
373
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
373
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
374
374
  :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
375
375
  :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
376
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
376
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
377
377
  """
378
378
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
379
379
 
@@ -228,7 +228,7 @@ class OneDashboardRaw(pulumi.CustomResource):
228
228
  account_id: Optional[pulumi.Input[str]] = None,
229
229
  description: Optional[pulumi.Input[str]] = None,
230
230
  name: Optional[pulumi.Input[str]] = None,
231
- pages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardRawPageArgs']]]]] = None,
231
+ pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]]] = None,
232
232
  permissions: Optional[pulumi.Input[str]] = None,
233
233
  __props__=None):
234
234
  """
@@ -245,17 +245,17 @@ class OneDashboardRaw(pulumi.CustomResource):
245
245
 
246
246
  exampledash = newrelic.OneDashboardRaw("exampledash",
247
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=\"\"\" {
248
+ pages=[{
249
+ "name": "Page Name",
250
+ "widgets": [
251
+ {
252
+ "title": "Custom widget",
253
+ "row": 1,
254
+ "column": 1,
255
+ "width": 1,
256
+ "height": 1,
257
+ "visualization_id": "viz.custom",
258
+ "configuration": \"\"\" {
259
259
  "legend": {
260
260
  "enabled": false
261
261
  },
@@ -272,15 +272,15 @@ class OneDashboardRaw(pulumi.CustomResource):
272
272
  }
273
273
  }
274
274
  \"\"\",
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=\"\"\" {
275
+ },
276
+ {
277
+ "title": "Server CPU",
278
+ "row": 1,
279
+ "column": 2,
280
+ "width": 1,
281
+ "height": 1,
282
+ "visualization_id": "viz.testing",
283
+ "configuration": \"\"\" {
284
284
  "nrqlQueries": [
285
285
  {
286
286
  "accountId": ` + accountID + `,
@@ -289,27 +289,27 @@ class OneDashboardRaw(pulumi.CustomResource):
289
289
  ]
290
290
  }
291
291
  \"\"\",
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({
292
+ },
293
+ {
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
301
  "facet": {
302
- "showOtherSeries": False,
302
+ "show_other_series": False,
303
303
  },
304
- "nrqlQueries": [{
305
- "accountId": account_id,
304
+ "nrql_queries": [{
305
+ "account_id": account_id,
306
306
  "query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
307
307
  }],
308
308
  }),
309
- linked_entity_guids=["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
310
- ),
309
+ "linked_entity_guids": ["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
310
+ },
311
311
  ],
312
- )])
312
+ }])
313
313
  ```
314
314
 
315
315
  :param str resource_name: The name of the resource.
@@ -317,7 +317,7 @@ class OneDashboardRaw(pulumi.CustomResource):
317
317
  :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
318
318
  :param pulumi.Input[str] description: Brief text describing the dashboard.
319
319
  :param pulumi.Input[str] name: The title of the dashboard.
320
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardRawPageArgs']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
320
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
321
321
  :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
322
322
  """
323
323
  ...
@@ -340,17 +340,17 @@ class OneDashboardRaw(pulumi.CustomResource):
340
340
 
341
341
  exampledash = newrelic.OneDashboardRaw("exampledash",
342
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=\"\"\" {
343
+ pages=[{
344
+ "name": "Page Name",
345
+ "widgets": [
346
+ {
347
+ "title": "Custom widget",
348
+ "row": 1,
349
+ "column": 1,
350
+ "width": 1,
351
+ "height": 1,
352
+ "visualization_id": "viz.custom",
353
+ "configuration": \"\"\" {
354
354
  "legend": {
355
355
  "enabled": false
356
356
  },
@@ -367,15 +367,15 @@ class OneDashboardRaw(pulumi.CustomResource):
367
367
  }
368
368
  }
369
369
  \"\"\",
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=\"\"\" {
370
+ },
371
+ {
372
+ "title": "Server CPU",
373
+ "row": 1,
374
+ "column": 2,
375
+ "width": 1,
376
+ "height": 1,
377
+ "visualization_id": "viz.testing",
378
+ "configuration": \"\"\" {
379
379
  "nrqlQueries": [
380
380
  {
381
381
  "accountId": ` + accountID + `,
@@ -384,27 +384,27 @@ class OneDashboardRaw(pulumi.CustomResource):
384
384
  ]
385
385
  }
386
386
  \"\"\",
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({
387
+ },
388
+ {
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
396
  "facet": {
397
- "showOtherSeries": False,
397
+ "show_other_series": False,
398
398
  },
399
- "nrqlQueries": [{
400
- "accountId": account_id,
399
+ "nrql_queries": [{
400
+ "account_id": account_id,
401
401
  "query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
402
402
  }],
403
403
  }),
404
- linked_entity_guids=["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
405
- ),
404
+ "linked_entity_guids": ["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
405
+ },
406
406
  ],
407
- )])
407
+ }])
408
408
  ```
409
409
 
410
410
  :param str resource_name: The name of the resource.
@@ -425,7 +425,7 @@ class OneDashboardRaw(pulumi.CustomResource):
425
425
  account_id: Optional[pulumi.Input[str]] = None,
426
426
  description: Optional[pulumi.Input[str]] = None,
427
427
  name: Optional[pulumi.Input[str]] = None,
428
- pages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardRawPageArgs']]]]] = None,
428
+ pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]]] = None,
429
429
  permissions: Optional[pulumi.Input[str]] = None,
430
430
  __props__=None):
431
431
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -459,7 +459,7 @@ class OneDashboardRaw(pulumi.CustomResource):
459
459
  description: Optional[pulumi.Input[str]] = None,
460
460
  guid: Optional[pulumi.Input[str]] = None,
461
461
  name: Optional[pulumi.Input[str]] = None,
462
- pages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardRawPageArgs']]]]] = None,
462
+ pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]]] = None,
463
463
  permalink: Optional[pulumi.Input[str]] = None,
464
464
  permissions: Optional[pulumi.Input[str]] = None) -> 'OneDashboardRaw':
465
465
  """
@@ -473,7 +473,7 @@ class OneDashboardRaw(pulumi.CustomResource):
473
473
  :param pulumi.Input[str] description: Brief text describing the dashboard.
474
474
  :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
475
475
  :param pulumi.Input[str] name: The title of the dashboard.
476
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardRawPageArgs']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
476
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
477
477
  :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
478
478
  :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
479
479
  """