pulumi-newrelic 5.20.0a1709643785__py3-none-any.whl → 5.21.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 (70) hide show
  1. pulumi_newrelic/_inputs.py +69 -29
  2. pulumi_newrelic/account_management.py +6 -2
  3. pulumi_newrelic/alert_channel.py +34 -2
  4. pulumi_newrelic/alert_condition.py +26 -2
  5. pulumi_newrelic/alert_muting_rule.py +6 -2
  6. pulumi_newrelic/alert_policy.py +22 -4
  7. pulumi_newrelic/alert_policy_channel.py +8 -4
  8. pulumi_newrelic/api_access_key.py +6 -26
  9. pulumi_newrelic/browser_application.py +6 -2
  10. pulumi_newrelic/cloud/aws_govcloud_integrations.py +2 -2
  11. pulumi_newrelic/cloud/aws_govcloud_link_account.py +6 -2
  12. pulumi_newrelic/cloud/aws_integrations.py +6 -2
  13. pulumi_newrelic/cloud/aws_link_account.py +6 -2
  14. pulumi_newrelic/cloud/azure_integrations.py +6 -2
  15. pulumi_newrelic/cloud/azure_link_account.py +6 -2
  16. pulumi_newrelic/cloud/gcp_integrations.py +6 -2
  17. pulumi_newrelic/cloud/gcp_link_account.py +6 -2
  18. pulumi_newrelic/data_partition_rule.py +8 -2
  19. pulumi_newrelic/entity_tags.py +8 -4
  20. pulumi_newrelic/events_to_metrics_rule.py +8 -4
  21. pulumi_newrelic/get_account.py +4 -0
  22. pulumi_newrelic/get_application.py +4 -0
  23. pulumi_newrelic/get_authentication_domain.py +4 -0
  24. pulumi_newrelic/get_cloud_account.py +4 -0
  25. pulumi_newrelic/get_entity.py +66 -4
  26. pulumi_newrelic/get_group.py +4 -0
  27. pulumi_newrelic/get_key_transaction.py +4 -0
  28. pulumi_newrelic/get_notification_destination.py +14 -1
  29. pulumi_newrelic/get_obfuscation_expression.py +4 -0
  30. pulumi_newrelic/get_service_level_alert_helper.py +12 -0
  31. pulumi_newrelic/get_test_grok_pattern.py +4 -0
  32. pulumi_newrelic/get_user.py +4 -0
  33. pulumi_newrelic/group.py +14 -0
  34. pulumi_newrelic/infra_alert_condition.py +33 -9
  35. pulumi_newrelic/insights/event.py +6 -0
  36. pulumi_newrelic/log_parsing_rule.py +12 -2
  37. pulumi_newrelic/monitor_downtime.py +28 -2
  38. pulumi_newrelic/notification_channel.py +50 -4
  39. pulumi_newrelic/notification_destination.py +92 -72
  40. pulumi_newrelic/nrql_alert_condition.py +28 -4
  41. pulumi_newrelic/nrql_drop_rule.py +30 -4
  42. pulumi_newrelic/obfuscation_expression.py +6 -2
  43. pulumi_newrelic/obfuscation_rule.py +6 -2
  44. pulumi_newrelic/one_dashboard.py +2 -2
  45. pulumi_newrelic/one_dashboard_json.py +2 -2
  46. pulumi_newrelic/one_dashboard_raw.py +6 -0
  47. pulumi_newrelic/outputs.py +78 -29
  48. pulumi_newrelic/plugins/_inputs.py +2 -2
  49. pulumi_newrelic/plugins/application_settings.py +22 -2
  50. pulumi_newrelic/plugins/outputs.py +2 -2
  51. pulumi_newrelic/plugins/workload.py +112 -4
  52. pulumi_newrelic/service_level.py +20 -6
  53. pulumi_newrelic/synthetics/alert_condition.py +26 -2
  54. pulumi_newrelic/synthetics/broken_links_monitor.py +19 -23
  55. pulumi_newrelic/synthetics/cert_check_monitor.py +19 -23
  56. pulumi_newrelic/synthetics/get_private_location.py +8 -0
  57. pulumi_newrelic/synthetics/get_secure_credential.py +4 -0
  58. pulumi_newrelic/synthetics/monitor.py +27 -23
  59. pulumi_newrelic/synthetics/multi_location_alert_condition.py +12 -4
  60. pulumi_newrelic/synthetics/private_location.py +6 -2
  61. pulumi_newrelic/synthetics/script_monitor.py +27 -23
  62. pulumi_newrelic/synthetics/secure_credential.py +6 -2
  63. pulumi_newrelic/synthetics/step_monitor.py +15 -23
  64. pulumi_newrelic/user.py +4 -0
  65. pulumi_newrelic/workflow.py +22 -4
  66. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0.dist-info}/METADATA +1 -1
  67. pulumi_newrelic-5.21.0.dist-info/RECORD +89 -0
  68. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0.dist-info}/WHEEL +1 -1
  69. pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
  70. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0.dist-info}/top_level.txt +0 -0
@@ -370,13 +370,67 @@ class Workload(pulumi.CustomResource):
370
370
  attribute in the `provider` block or the `NEW_RELIC_API_KEY` environment
371
371
  variable with your User API key.
372
372
 
373
+ ## Example Usage
374
+
375
+ Include entities with a certain string on the name.
376
+ <!--Start PulumiCodeChooser -->
377
+ ```python
378
+ import pulumi
379
+ import pulumi_newrelic as newrelic
380
+
381
+ foo = newrelic.plugins.Workload("foo",
382
+ account_id=12345678,
383
+ entity_guids=["MjUyMDUyOHxBUE18QVBQTElDQVRJT058MjE1MDM3Nzk1"],
384
+ entity_search_queries=[newrelic.plugins.WorkloadEntitySearchQueryArgs(
385
+ query="name like '%Example application%'",
386
+ )],
387
+ scope_account_ids=[12345678])
388
+ ```
389
+ <!--End PulumiCodeChooser -->
390
+
391
+ Include entities with a set of tags.
392
+ <!--Start PulumiCodeChooser -->
393
+ ```python
394
+ import pulumi
395
+ import pulumi_newrelic as newrelic
396
+
397
+ foo = newrelic.plugins.Workload("foo",
398
+ account_id=12345678,
399
+ entity_guids=["MjUyMDUyOHxBUE18QVBQTElDQVRJT058MjE1MDM3Nzk1"],
400
+ entity_search_queries=[newrelic.plugins.WorkloadEntitySearchQueryArgs(
401
+ query="tags.accountId = '12345678' AND tags.environment='production' AND tags.language='java'",
402
+ )],
403
+ scope_account_ids=[12345678])
404
+ ```
405
+ <!--End PulumiCodeChooser -->
406
+
407
+ Include entities with a set of tags.
408
+ <!--Start PulumiCodeChooser -->
409
+ ```python
410
+ import pulumi
411
+ import pulumi_newrelic as newrelic
412
+
413
+ foo = newrelic.plugins.Workload("foo",
414
+ account_id=12345678,
415
+ entity_guids=["MjUyMDUyOHxBUE18QVBQTElDQVRJT058MjE1MDM3Nzk1"],
416
+ entity_search_queries=[newrelic.plugins.WorkloadEntitySearchQueryArgs(
417
+ query="tags.accountId = '12345678' AND tags.environment='production' AND tags.language='java'",
418
+ )],
419
+ scope_account_ids=[12345678])
420
+ ```
421
+ <!--End PulumiCodeChooser -->
422
+
423
+ Include automatic status
424
+
425
+ > The global status of your workload is a quick indicator of the workload health. You can configure it to be calculated automatically, and you can also set an alert and get a notification whenever the workload stops being operational. Alternatively, you can communicate a certain status of the workload by setting up a static value and a description. [See our docs](https://docs.newrelic.com/docs/workloads/use-workloads/workloads/workload-status)
426
+
373
427
  ## Import
374
428
 
375
429
  New Relic workloads can be imported using a concatenated string of the format
376
430
 
377
- `<account_id>:<workload_id>:<guid>`, e.g.
431
+ `<account_id>:<workload_id>:<guid>`, e.g.
378
432
 
379
- bash
433
+ bash
380
434
 
381
435
  ```sh
382
436
  $ pulumi import newrelic:plugins/workload:Workload foo 12345678:1456:MjUyMDUyOHxBUE18QVBRTElDQVRJT058MjE1MDM3Nzk1
@@ -406,13 +460,67 @@ class Workload(pulumi.CustomResource):
406
460
  attribute in the `provider` block or the `NEW_RELIC_API_KEY` environment
407
461
  variable with your User API key.
408
462
 
463
+ ## Example Usage
464
+
465
+ Include entities with a certain string on the name.
466
+ <!--Start PulumiCodeChooser -->
467
+ ```python
468
+ import pulumi
469
+ import pulumi_newrelic as newrelic
470
+
471
+ foo = newrelic.plugins.Workload("foo",
472
+ account_id=12345678,
473
+ entity_guids=["MjUyMDUyOHxBUE18QVBQTElDQVRJT058MjE1MDM3Nzk1"],
474
+ entity_search_queries=[newrelic.plugins.WorkloadEntitySearchQueryArgs(
475
+ query="name like '%Example application%'",
476
+ )],
477
+ scope_account_ids=[12345678])
478
+ ```
479
+ <!--End PulumiCodeChooser -->
480
+
481
+ Include entities with a set of tags.
482
+ <!--Start PulumiCodeChooser -->
483
+ ```python
484
+ import pulumi
485
+ import pulumi_newrelic as newrelic
486
+
487
+ foo = newrelic.plugins.Workload("foo",
488
+ account_id=12345678,
489
+ entity_guids=["MjUyMDUyOHxBUE18QVBQTElDQVRJT058MjE1MDM3Nzk1"],
490
+ entity_search_queries=[newrelic.plugins.WorkloadEntitySearchQueryArgs(
491
+ query="tags.accountId = '12345678' AND tags.environment='production' AND tags.language='java'",
492
+ )],
493
+ scope_account_ids=[12345678])
494
+ ```
495
+ <!--End PulumiCodeChooser -->
496
+
497
+ Include entities with a set of tags.
498
+ <!--Start PulumiCodeChooser -->
499
+ ```python
500
+ import pulumi
501
+ import pulumi_newrelic as newrelic
502
+
503
+ foo = newrelic.plugins.Workload("foo",
504
+ account_id=12345678,
505
+ entity_guids=["MjUyMDUyOHxBUE18QVBQTElDQVRJT058MjE1MDM3Nzk1"],
506
+ entity_search_queries=[newrelic.plugins.WorkloadEntitySearchQueryArgs(
507
+ query="tags.accountId = '12345678' AND tags.environment='production' AND tags.language='java'",
508
+ )],
509
+ scope_account_ids=[12345678])
510
+ ```
511
+ <!--End PulumiCodeChooser -->
512
+
513
+ Include automatic status
514
+
515
+ > The global status of your workload is a quick indicator of the workload health. You can configure it to be calculated automatically, and you can also set an alert and get a notification whenever the workload stops being operational. Alternatively, you can communicate a certain status of the workload by setting up a static value and a description. [See our docs](https://docs.newrelic.com/docs/workloads/use-workloads/workloads/workload-status)
516
+
409
517
  ## Import
410
518
 
411
519
  New Relic workloads can be imported using a concatenated string of the format
412
520
 
413
- `<account_id>:<workload_id>:<guid>`, e.g.
521
+ `<account_id>:<workload_id>:<guid>`, e.g.
414
522
 
415
- bash
523
+ bash
416
524
 
417
525
  ```sh
418
526
  $ pulumi import newrelic:plugins/workload:Workload foo 12345678:1456:MjUyMDUyOHxBUE18QVBRTElDQVRJT058MjE1MDM3Nzk1
@@ -250,6 +250,7 @@ class ServiceLevel(pulumi.CustomResource):
250
250
 
251
251
  ## Example Usage
252
252
 
253
+ <!--Start PulumiCodeChooser -->
253
254
  ```python
254
255
  import pulumi
255
256
  import pulumi_newrelic as newrelic
@@ -278,10 +279,13 @@ class ServiceLevel(pulumi.CustomResource):
278
279
  ),
279
280
  ))
280
281
  ```
282
+ <!--End PulumiCodeChooser -->
283
+
281
284
  ## Additional Example
282
285
 
283
286
  Service level with tags:
284
287
 
288
+ <!--Start PulumiCodeChooser -->
285
289
  ```python
286
290
  import pulumi
287
291
  import pulumi_newrelic as newrelic
@@ -325,9 +329,11 @@ class ServiceLevel(pulumi.CustomResource):
325
329
  ),
326
330
  ])
327
331
  ```
332
+ <!--End PulumiCodeChooser -->
328
333
 
329
334
  Using `select` for events
330
335
 
336
+ <!--Start PulumiCodeChooser -->
331
337
  ```python
332
338
  import pulumi
333
339
  import pulumi_newrelic as newrelic
@@ -365,6 +371,7 @@ class ServiceLevel(pulumi.CustomResource):
365
371
  ),
366
372
  ))
367
373
  ```
374
+ <!--End PulumiCodeChooser -->
368
375
 
369
376
  For up-to-date documentation about the tagging resource, please check EntityTags
370
377
 
@@ -372,11 +379,11 @@ class ServiceLevel(pulumi.CustomResource):
372
379
 
373
380
  New Relic Service Levels can be imported using a concatenated string of the format
374
381
 
375
- `<account_id>:<sli_id>:<guid>`, where the `guid` is the entity the SLI relates to.
382
+ `<account_id>:<sli_id>:<guid>`, where the `guid` is the entity the SLI relates to.
376
383
 
377
- Example:
384
+ Example:
378
385
 
379
- bash
386
+ bash
380
387
 
381
388
  ```sh
382
389
  $ pulumi import newrelic:index/serviceLevel:ServiceLevel foo 12345678:4321:MXxBUE18QVBQTElDQVRJT058MQ
@@ -411,6 +418,7 @@ class ServiceLevel(pulumi.CustomResource):
411
418
 
412
419
  ## Example Usage
413
420
 
421
+ <!--Start PulumiCodeChooser -->
414
422
  ```python
415
423
  import pulumi
416
424
  import pulumi_newrelic as newrelic
@@ -439,10 +447,13 @@ class ServiceLevel(pulumi.CustomResource):
439
447
  ),
440
448
  ))
441
449
  ```
450
+ <!--End PulumiCodeChooser -->
451
+
442
452
  ## Additional Example
443
453
 
444
454
  Service level with tags:
445
455
 
456
+ <!--Start PulumiCodeChooser -->
446
457
  ```python
447
458
  import pulumi
448
459
  import pulumi_newrelic as newrelic
@@ -486,9 +497,11 @@ class ServiceLevel(pulumi.CustomResource):
486
497
  ),
487
498
  ])
488
499
  ```
500
+ <!--End PulumiCodeChooser -->
489
501
 
490
502
  Using `select` for events
491
503
 
504
+ <!--Start PulumiCodeChooser -->
492
505
  ```python
493
506
  import pulumi
494
507
  import pulumi_newrelic as newrelic
@@ -526,6 +539,7 @@ class ServiceLevel(pulumi.CustomResource):
526
539
  ),
527
540
  ))
528
541
  ```
542
+ <!--End PulumiCodeChooser -->
529
543
 
530
544
  For up-to-date documentation about the tagging resource, please check EntityTags
531
545
 
@@ -533,11 +547,11 @@ class ServiceLevel(pulumi.CustomResource):
533
547
 
534
548
  New Relic Service Levels can be imported using a concatenated string of the format
535
549
 
536
- `<account_id>:<sli_id>:<guid>`, where the `guid` is the entity the SLI relates to.
550
+ `<account_id>:<sli_id>:<guid>`, where the `guid` is the entity the SLI relates to.
537
551
 
538
- Example:
552
+ Example:
539
553
 
540
- bash
554
+ bash
541
555
 
542
556
  ```sh
543
557
  $ pulumi import newrelic:index/serviceLevel:ServiceLevel foo 12345678:4321:MXxBUE18QVBQTElDQVRJT058MQ
@@ -25,9 +25,11 @@ class AlertConditionArgs:
25
25
  :param pulumi.Input[int] policy_id: The ID of the policy where this condition should be used.
26
26
  :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
27
27
 
28
+ <!--Start PulumiCodeChooser -->
28
29
  ```python
29
30
  import pulumi
30
31
  ```
32
+ <!--End PulumiCodeChooser -->
31
33
  :param pulumi.Input[str] name: The title of this condition.
32
34
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
33
35
  """
@@ -70,9 +72,11 @@ class AlertConditionArgs:
70
72
  """
71
73
  Set whether to enable the alert condition. Defaults to `true`.
72
74
 
75
+ <!--Start PulumiCodeChooser -->
73
76
  ```python
74
77
  import pulumi
75
78
  ```
79
+ <!--End PulumiCodeChooser -->
76
80
  """
77
81
  return pulumi.get(self, "enabled")
78
82
 
@@ -118,9 +122,11 @@ class _AlertConditionState:
118
122
  Input properties used for looking up and filtering AlertCondition resources.
119
123
  :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
120
124
 
125
+ <!--Start PulumiCodeChooser -->
121
126
  ```python
122
127
  import pulumi
123
128
  ```
129
+ <!--End PulumiCodeChooser -->
124
130
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
125
131
  :param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
126
132
  :param pulumi.Input[str] name: The title of this condition.
@@ -146,9 +152,11 @@ class _AlertConditionState:
146
152
  """
147
153
  Set whether to enable the alert condition. Defaults to `true`.
148
154
 
155
+ <!--Start PulumiCodeChooser -->
149
156
  ```python
150
157
  import pulumi
151
158
  ```
159
+ <!--End PulumiCodeChooser -->
152
160
  """
153
161
  return pulumi.get(self, "enabled")
154
162
 
@@ -235,6 +243,7 @@ class AlertCondition(pulumi.CustomResource):
235
243
 
236
244
  ## Example Usage
237
245
 
246
+ <!--Start PulumiCodeChooser -->
238
247
  ```python
239
248
  import pulumi
240
249
  import pulumi_newrelic as newrelic
@@ -244,10 +253,13 @@ class AlertCondition(pulumi.CustomResource):
244
253
  monitor_id=newrelic_synthetics_monitor["foo"]["id"],
245
254
  runbook_url="https://www.example.com")
246
255
  ```
256
+ <!--End PulumiCodeChooser -->
257
+
247
258
  ## Tags
248
259
 
249
260
  Manage synthetics alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
250
261
 
262
+ <!--Start PulumiCodeChooser -->
251
263
  ```python
252
264
  import pulumi
253
265
  import pulumi_newrelic as newrelic
@@ -291,22 +303,25 @@ class AlertCondition(pulumi.CustomResource):
291
303
  ),
292
304
  ])
293
305
  ```
306
+ <!--End PulumiCodeChooser -->
294
307
 
295
308
  ## Import
296
309
 
297
310
  Synthetics alert conditions can be imported using a composite ID of `<policy_id>:<condition_id>`, e.g.
298
311
 
299
312
  ```sh
300
- $ pulumi import newrelic:synthetics/alertCondition:AlertCondition main 12345:67890
313
+ $ pulumi import newrelic:synthetics/alertCondition:AlertCondition main 12345:67890
301
314
  ```
302
315
 
303
316
  :param str resource_name: The name of the resource.
304
317
  :param pulumi.ResourceOptions opts: Options for the resource.
305
318
  :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
306
319
 
320
+ <!--Start PulumiCodeChooser -->
307
321
  ```python
308
322
  import pulumi
309
323
  ```
324
+ <!--End PulumiCodeChooser -->
310
325
  :param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
311
326
  :param pulumi.Input[str] name: The title of this condition.
312
327
  :param pulumi.Input[int] policy_id: The ID of the policy where this condition should be used.
@@ -325,6 +340,7 @@ class AlertCondition(pulumi.CustomResource):
325
340
 
326
341
  ## Example Usage
327
342
 
343
+ <!--Start PulumiCodeChooser -->
328
344
  ```python
329
345
  import pulumi
330
346
  import pulumi_newrelic as newrelic
@@ -334,10 +350,13 @@ class AlertCondition(pulumi.CustomResource):
334
350
  monitor_id=newrelic_synthetics_monitor["foo"]["id"],
335
351
  runbook_url="https://www.example.com")
336
352
  ```
353
+ <!--End PulumiCodeChooser -->
354
+
337
355
  ## Tags
338
356
 
339
357
  Manage synthetics alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
340
358
 
359
+ <!--Start PulumiCodeChooser -->
341
360
  ```python
342
361
  import pulumi
343
362
  import pulumi_newrelic as newrelic
@@ -381,13 +400,14 @@ class AlertCondition(pulumi.CustomResource):
381
400
  ),
382
401
  ])
383
402
  ```
403
+ <!--End PulumiCodeChooser -->
384
404
 
385
405
  ## Import
386
406
 
387
407
  Synthetics alert conditions can be imported using a composite ID of `<policy_id>:<condition_id>`, e.g.
388
408
 
389
409
  ```sh
390
- $ pulumi import newrelic:synthetics/alertCondition:AlertCondition main 12345:67890
410
+ $ pulumi import newrelic:synthetics/alertCondition:AlertCondition main 12345:67890
391
411
  ```
392
412
 
393
413
  :param str resource_name: The name of the resource.
@@ -454,9 +474,11 @@ class AlertCondition(pulumi.CustomResource):
454
474
  :param pulumi.ResourceOptions opts: Options for the resource.
455
475
  :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
456
476
 
477
+ <!--Start PulumiCodeChooser -->
457
478
  ```python
458
479
  import pulumi
459
480
  ```
481
+ <!--End PulumiCodeChooser -->
460
482
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
461
483
  :param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
462
484
  :param pulumi.Input[str] name: The title of this condition.
@@ -481,9 +503,11 @@ class AlertCondition(pulumi.CustomResource):
481
503
  """
482
504
  Set whether to enable the alert condition. Defaults to `true`.
483
505
 
506
+ <!--Start PulumiCodeChooser -->
484
507
  ```python
485
508
  import pulumi
486
509
  ```
510
+ <!--End PulumiCodeChooser -->
487
511
  """
488
512
  return pulumi.get(self, "enabled")
489
513
 
@@ -27,9 +27,7 @@ class BrokenLinksMonitorArgs:
27
27
  """
28
28
  The set of arguments for constructing a BrokenLinksMonitor resource.
29
29
  :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
30
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
31
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
32
- refrain from using this value and shift to alternatives.
30
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
33
31
  :param pulumi.Input[str] uri: The URI the monitor runs against.
34
32
  :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
35
33
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
@@ -67,9 +65,7 @@ class BrokenLinksMonitorArgs:
67
65
  @pulumi.getter
68
66
  def status(self) -> pulumi.Input[str]:
69
67
  """
70
- The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
71
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
72
- refrain from using this value and shift to alternatives.
68
+ The monitor status (ENABLED or DISABLED).
73
69
  """
74
70
  return pulumi.get(self, "status")
75
71
 
@@ -172,9 +168,7 @@ class _BrokenLinksMonitorState:
172
168
  :param pulumi.Input[str] name: The name for the monitor.
173
169
  :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
174
170
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
175
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
176
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
177
- refrain from using this value and shift to alternatives.
171
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
178
172
  :param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
179
173
  :param pulumi.Input[str] uri: The URI the monitor runs against.
180
174
  """
@@ -287,9 +281,7 @@ class _BrokenLinksMonitorState:
287
281
  @pulumi.getter
288
282
  def status(self) -> Optional[pulumi.Input[str]]:
289
283
  """
290
- The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
291
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
292
- refrain from using this value and shift to alternatives.
284
+ The monitor status (ENABLED or DISABLED).
293
285
  """
294
286
  return pulumi.get(self, "status")
295
287
 
@@ -341,6 +333,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
341
333
 
342
334
  ## Example Usage
343
335
 
336
+ <!--Start PulumiCodeChooser -->
344
337
  ```python
345
338
  import pulumi
346
339
  import pulumi_newrelic as newrelic
@@ -355,7 +348,9 @@ class BrokenLinksMonitor(pulumi.CustomResource):
355
348
  )],
356
349
  uri="https://www.one.example.com")
357
350
  ```
351
+ <!--End PulumiCodeChooser -->
358
352
  See additional examples.
353
+
359
354
  ## Additional Examples
360
355
 
361
356
  ### Create a monitor with a private location
@@ -364,6 +359,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
364
359
 
365
360
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
366
361
 
362
+ <!--Start PulumiCodeChooser -->
367
363
  ```python
368
364
  import pulumi
369
365
  import pulumi_newrelic as newrelic
@@ -381,12 +377,13 @@ class BrokenLinksMonitor(pulumi.CustomResource):
381
377
  values=["some_value"],
382
378
  )])
383
379
  ```
380
+ <!--End PulumiCodeChooser -->
384
381
 
385
382
  ## Import
386
383
 
387
384
  Synthetics broken links monitor scripts can be imported using the `guid`, e.g.
388
385
 
389
- bash
386
+ bash
390
387
 
391
388
  ```sh
392
389
  $ pulumi import newrelic:synthetics/brokenLinksMonitor:BrokenLinksMonitor monitor <guid>
@@ -399,9 +396,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
399
396
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
400
397
  :param pulumi.Input[str] name: The name for the monitor.
401
398
  :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
402
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
403
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
404
- refrain from using this value and shift to alternatives.
399
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
405
400
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
406
401
  :param pulumi.Input[str] uri: The URI the monitor runs against.
407
402
  """
@@ -416,6 +411,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
416
411
 
417
412
  ## Example Usage
418
413
 
414
+ <!--Start PulumiCodeChooser -->
419
415
  ```python
420
416
  import pulumi
421
417
  import pulumi_newrelic as newrelic
@@ -430,7 +426,9 @@ class BrokenLinksMonitor(pulumi.CustomResource):
430
426
  )],
431
427
  uri="https://www.one.example.com")
432
428
  ```
429
+ <!--End PulumiCodeChooser -->
433
430
  See additional examples.
431
+
434
432
  ## Additional Examples
435
433
 
436
434
  ### Create a monitor with a private location
@@ -439,6 +437,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
439
437
 
440
438
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
441
439
 
440
+ <!--Start PulumiCodeChooser -->
442
441
  ```python
443
442
  import pulumi
444
443
  import pulumi_newrelic as newrelic
@@ -456,12 +455,13 @@ class BrokenLinksMonitor(pulumi.CustomResource):
456
455
  values=["some_value"],
457
456
  )])
458
457
  ```
458
+ <!--End PulumiCodeChooser -->
459
459
 
460
460
  ## Import
461
461
 
462
462
  Synthetics broken links monitor scripts can be imported using the `guid`, e.g.
463
463
 
464
- bash
464
+ bash
465
465
 
466
466
  ```sh
467
467
  $ pulumi import newrelic:synthetics/brokenLinksMonitor:BrokenLinksMonitor monitor <guid>
@@ -549,9 +549,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
549
549
  :param pulumi.Input[str] name: The name for the monitor.
550
550
  :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
551
551
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
552
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
553
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
554
- refrain from using this value and shift to alternatives.
552
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
555
553
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
556
554
  :param pulumi.Input[str] uri: The URI the monitor runs against.
557
555
  """
@@ -631,9 +629,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
631
629
  @pulumi.getter
632
630
  def status(self) -> pulumi.Output[str]:
633
631
  """
634
- The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
635
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
636
- refrain from using this value and shift to alternatives.
632
+ The monitor status (ENABLED or DISABLED).
637
633
  """
638
634
  return pulumi.get(self, "status")
639
635