pulumi-newrelic 5.28.0a1723009616__py3-none-any.whl → 5.29.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 (43) hide show
  1. pulumi_newrelic/_inputs.py +18 -18
  2. pulumi_newrelic/alert_channel.py +69 -69
  3. pulumi_newrelic/alert_condition.py +49 -49
  4. pulumi_newrelic/alert_muting_rule.py +54 -54
  5. pulumi_newrelic/alert_policy.py +16 -16
  6. pulumi_newrelic/alert_policy_channel.py +16 -16
  7. pulumi_newrelic/cloud/aws_govcloud_integrations.py +100 -100
  8. pulumi_newrelic/cloud/aws_integrations.py +798 -798
  9. pulumi_newrelic/cloud/azure_integrations.py +424 -424
  10. pulumi_newrelic/cloud/gcp_integrations.py +288 -288
  11. pulumi_newrelic/entity_tags.py +21 -21
  12. pulumi_newrelic/get_application.py +14 -14
  13. pulumi_newrelic/get_entity.py +4 -4
  14. pulumi_newrelic/get_key_transaction.py +14 -14
  15. pulumi_newrelic/get_notification_destination.py +5 -5
  16. pulumi_newrelic/get_obfuscation_expression.py +10 -10
  17. pulumi_newrelic/get_service_level_alert_helper.py +76 -76
  18. pulumi_newrelic/infra_alert_condition.py +90 -90
  19. pulumi_newrelic/insights/event.py +43 -43
  20. pulumi_newrelic/monitor_downtime.py +52 -52
  21. pulumi_newrelic/notification_channel.py +218 -194
  22. pulumi_newrelic/notification_destination.py +46 -39
  23. pulumi_newrelic/nrql_alert_condition.py +262 -164
  24. pulumi_newrelic/obfuscation_rule.py +15 -15
  25. pulumi_newrelic/one_dashboard.py +10 -10
  26. pulumi_newrelic/one_dashboard_raw.py +75 -75
  27. pulumi_newrelic/outputs.py +14 -14
  28. pulumi_newrelic/plugins/workload.py +101 -101
  29. pulumi_newrelic/pulumi-plugin.json +1 -1
  30. pulumi_newrelic/service_level.py +164 -164
  31. pulumi_newrelic/synthetics/alert_condition.py +32 -32
  32. pulumi_newrelic/synthetics/broken_links_monitor.py +21 -21
  33. pulumi_newrelic/synthetics/cert_check_monitor.py +21 -21
  34. pulumi_newrelic/synthetics/get_private_location.py +6 -6
  35. pulumi_newrelic/synthetics/monitor.py +74 -74
  36. pulumi_newrelic/synthetics/multi_location_alert_condition.py +66 -66
  37. pulumi_newrelic/synthetics/script_monitor.py +58 -58
  38. pulumi_newrelic/synthetics/step_monitor.py +59 -59
  39. pulumi_newrelic/workflow.py +155 -155
  40. {pulumi_newrelic-5.28.0a1723009616.dist-info → pulumi_newrelic-5.29.0.dist-info}/METADATA +1 -1
  41. {pulumi_newrelic-5.28.0a1723009616.dist-info → pulumi_newrelic-5.29.0.dist-info}/RECORD +43 -43
  42. {pulumi_newrelic-5.28.0a1723009616.dist-info → pulumi_newrelic-5.29.0.dist-info}/WHEEL +0 -0
  43. {pulumi_newrelic-5.28.0a1723009616.dist-info → pulumi_newrelic-5.29.0.dist-info}/top_level.txt +0 -0
@@ -232,10 +232,10 @@ class ServiceLevel(pulumi.CustomResource):
232
232
  resource_name: str,
233
233
  opts: Optional[pulumi.ResourceOptions] = None,
234
234
  description: Optional[pulumi.Input[str]] = None,
235
- events: Optional[pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']]] = None,
235
+ events: Optional[pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']]] = None,
236
236
  guid: Optional[pulumi.Input[str]] = None,
237
237
  name: Optional[pulumi.Input[str]] = None,
238
- objective: Optional[pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']]] = None,
238
+ objective: Optional[pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']]] = None,
239
239
  __props__=None):
240
240
  """
241
241
  Use this resource to create, update, and delete New Relic Service Level Indicators and Objectives.
@@ -258,26 +258,26 @@ class ServiceLevel(pulumi.CustomResource):
258
258
  guid="MXxBUE18QVBQTElDQVRJT058MQ",
259
259
  name="Latency",
260
260
  description="Proportion of requests that are served faster than a threshold.",
261
- events=newrelic.ServiceLevelEventsArgs(
262
- account_id="12345678",
263
- valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
264
- from_="Transaction",
265
- where="appName = 'Example application' AND (transactionType='Web')",
266
- ),
267
- good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
268
- from_="Transaction",
269
- where="appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
270
- ),
271
- ),
272
- objective=newrelic.ServiceLevelObjectiveArgs(
273
- target=99,
274
- time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
275
- rolling=newrelic.ServiceLevelObjectiveTimeWindowRollingArgs(
276
- count=7,
277
- unit="DAY",
278
- ),
279
- ),
280
- ))
261
+ events={
262
+ "account_id": "12345678",
263
+ "valid_events": {
264
+ "from_": "Transaction",
265
+ "where": "appName = 'Example application' AND (transactionType='Web')",
266
+ },
267
+ "good_events": {
268
+ "from_": "Transaction",
269
+ "where": "appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
270
+ },
271
+ },
272
+ objective={
273
+ "target": 99,
274
+ "time_window": {
275
+ "rolling": {
276
+ "count": 7,
277
+ "unit": "DAY",
278
+ },
279
+ },
280
+ })
281
281
  ```
282
282
 
283
283
  ## Additional Example
@@ -292,40 +292,40 @@ class ServiceLevel(pulumi.CustomResource):
292
292
  guid="MXxBUE18QVBQTElDQVRJT058MQ",
293
293
  name="My synthethic monitor - Success",
294
294
  description="Proportion of successful synthetic checks.",
295
- events=newrelic.ServiceLevelEventsArgs(
296
- account_id="12345678",
297
- valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
298
- from_="SyntheticCheck",
299
- where="entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ'",
300
- ),
301
- good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
302
- from_="SyntheticCheck",
303
- where="entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ' AND result='SUCCESS'",
304
- ),
305
- ),
306
- objective=newrelic.ServiceLevelObjectiveArgs(
307
- target=99,
308
- time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
309
- rolling=newrelic.ServiceLevelObjectiveTimeWindowRollingArgs(
310
- count=7,
311
- unit="DAY",
312
- ),
313
- ),
314
- ))
295
+ events={
296
+ "account_id": "12345678",
297
+ "valid_events": {
298
+ "from_": "SyntheticCheck",
299
+ "where": "entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ'",
300
+ },
301
+ "good_events": {
302
+ "from_": "SyntheticCheck",
303
+ "where": "entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ' AND result='SUCCESS'",
304
+ },
305
+ },
306
+ objective={
307
+ "target": 99,
308
+ "time_window": {
309
+ "rolling": {
310
+ "count": 7,
311
+ "unit": "DAY",
312
+ },
313
+ },
314
+ })
315
315
  my_synthetic_monitor_service_level_tags = newrelic.EntityTags("my_synthetic_monitor_service_level_tags",
316
316
  guid=my_synthetic_monitor_service_level.sli_guid,
317
317
  tags=[
318
- newrelic.EntityTagsTagArgs(
319
- key="user_journey",
320
- values=[
318
+ {
319
+ "key": "user_journey",
320
+ "values": [
321
321
  "authentication",
322
322
  "sso",
323
323
  ],
324
- ),
325
- newrelic.EntityTagsTagArgs(
326
- key="owner",
327
- values=["identityTeam"],
328
- ),
324
+ },
325
+ {
326
+ "key": "owner",
327
+ "values": ["identityTeam"],
328
+ },
329
329
  ])
330
330
  ```
331
331
 
@@ -339,35 +339,35 @@ class ServiceLevel(pulumi.CustomResource):
339
339
  guid="MXxBUE18QVBQTElDQVRJT058MQ",
340
340
  name="Duration distribution is under 7",
341
341
  description="Monitor created to test concurrent request from terraform",
342
- events=newrelic.ServiceLevelEventsArgs(
343
- account_id="313870",
344
- valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
345
- from_="Metric",
346
- select=newrelic.ServiceLevelEventsValidEventsSelectArgs(
347
- attribute="`query.wallClockTime.negative.distribution`",
348
- function="GET_FIELD",
349
- ),
350
- where="metricName = 'query.wallClockTime.negative.distribution'",
351
- ),
352
- good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
353
- from_="Metric",
354
- select=newrelic.ServiceLevelEventsGoodEventsSelectArgs(
355
- attribute="`query.wallClockTime.negative.distribution`",
356
- function="GET_CDF_COUNT",
357
- threshold=7,
358
- ),
359
- where="metricName = 'query.wallClockTime.negative.distribution'",
360
- ),
361
- ),
362
- objective=newrelic.ServiceLevelObjectiveArgs(
363
- target=49,
364
- time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
365
- rolling=newrelic.ServiceLevelObjectiveTimeWindowRollingArgs(
366
- count=7,
367
- unit="DAY",
368
- ),
369
- ),
370
- ))
342
+ events={
343
+ "account_id": "313870",
344
+ "valid_events": {
345
+ "from_": "Metric",
346
+ "select": {
347
+ "attribute": "`query.wallClockTime.negative.distribution`",
348
+ "function": "GET_FIELD",
349
+ },
350
+ "where": "metricName = 'query.wallClockTime.negative.distribution'",
351
+ },
352
+ "good_events": {
353
+ "from_": "Metric",
354
+ "select": {
355
+ "attribute": "`query.wallClockTime.negative.distribution`",
356
+ "function": "GET_CDF_COUNT",
357
+ "threshold": 7,
358
+ },
359
+ "where": "metricName = 'query.wallClockTime.negative.distribution'",
360
+ },
361
+ },
362
+ objective={
363
+ "target": 49,
364
+ "time_window": {
365
+ "rolling": {
366
+ "count": 7,
367
+ "unit": "DAY",
368
+ },
369
+ },
370
+ })
371
371
  ```
372
372
 
373
373
  For up-to-date documentation about the tagging resource, please check EntityTags
@@ -389,11 +389,11 @@ class ServiceLevel(pulumi.CustomResource):
389
389
  :param str resource_name: The name of the resource.
390
390
  :param pulumi.ResourceOptions opts: Options for the resource.
391
391
  :param pulumi.Input[str] description: The description of the SLI.
392
- :param pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']] events: The events that define the NRDB data for the SLI/SLO calculations.
392
+ :param pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']] events: The events that define the NRDB data for the SLI/SLO calculations.
393
393
  See Events below for details.
394
394
  :param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
395
395
  :param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
396
- :param pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']] objective: The objective of the SLI, only one can be defined.
396
+ :param pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']] objective: The objective of the SLI, only one can be defined.
397
397
  See Objective below for details.
398
398
  """
399
399
  ...
@@ -423,26 +423,26 @@ class ServiceLevel(pulumi.CustomResource):
423
423
  guid="MXxBUE18QVBQTElDQVRJT058MQ",
424
424
  name="Latency",
425
425
  description="Proportion of requests that are served faster than a threshold.",
426
- events=newrelic.ServiceLevelEventsArgs(
427
- account_id="12345678",
428
- valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
429
- from_="Transaction",
430
- where="appName = 'Example application' AND (transactionType='Web')",
431
- ),
432
- good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
433
- from_="Transaction",
434
- where="appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
435
- ),
436
- ),
437
- objective=newrelic.ServiceLevelObjectiveArgs(
438
- target=99,
439
- time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
440
- rolling=newrelic.ServiceLevelObjectiveTimeWindowRollingArgs(
441
- count=7,
442
- unit="DAY",
443
- ),
444
- ),
445
- ))
426
+ events={
427
+ "account_id": "12345678",
428
+ "valid_events": {
429
+ "from_": "Transaction",
430
+ "where": "appName = 'Example application' AND (transactionType='Web')",
431
+ },
432
+ "good_events": {
433
+ "from_": "Transaction",
434
+ "where": "appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
435
+ },
436
+ },
437
+ objective={
438
+ "target": 99,
439
+ "time_window": {
440
+ "rolling": {
441
+ "count": 7,
442
+ "unit": "DAY",
443
+ },
444
+ },
445
+ })
446
446
  ```
447
447
 
448
448
  ## Additional Example
@@ -457,40 +457,40 @@ class ServiceLevel(pulumi.CustomResource):
457
457
  guid="MXxBUE18QVBQTElDQVRJT058MQ",
458
458
  name="My synthethic monitor - Success",
459
459
  description="Proportion of successful synthetic checks.",
460
- events=newrelic.ServiceLevelEventsArgs(
461
- account_id="12345678",
462
- valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
463
- from_="SyntheticCheck",
464
- where="entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ'",
465
- ),
466
- good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
467
- from_="SyntheticCheck",
468
- where="entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ' AND result='SUCCESS'",
469
- ),
470
- ),
471
- objective=newrelic.ServiceLevelObjectiveArgs(
472
- target=99,
473
- time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
474
- rolling=newrelic.ServiceLevelObjectiveTimeWindowRollingArgs(
475
- count=7,
476
- unit="DAY",
477
- ),
478
- ),
479
- ))
460
+ events={
461
+ "account_id": "12345678",
462
+ "valid_events": {
463
+ "from_": "SyntheticCheck",
464
+ "where": "entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ'",
465
+ },
466
+ "good_events": {
467
+ "from_": "SyntheticCheck",
468
+ "where": "entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ' AND result='SUCCESS'",
469
+ },
470
+ },
471
+ objective={
472
+ "target": 99,
473
+ "time_window": {
474
+ "rolling": {
475
+ "count": 7,
476
+ "unit": "DAY",
477
+ },
478
+ },
479
+ })
480
480
  my_synthetic_monitor_service_level_tags = newrelic.EntityTags("my_synthetic_monitor_service_level_tags",
481
481
  guid=my_synthetic_monitor_service_level.sli_guid,
482
482
  tags=[
483
- newrelic.EntityTagsTagArgs(
484
- key="user_journey",
485
- values=[
483
+ {
484
+ "key": "user_journey",
485
+ "values": [
486
486
  "authentication",
487
487
  "sso",
488
488
  ],
489
- ),
490
- newrelic.EntityTagsTagArgs(
491
- key="owner",
492
- values=["identityTeam"],
493
- ),
489
+ },
490
+ {
491
+ "key": "owner",
492
+ "values": ["identityTeam"],
493
+ },
494
494
  ])
495
495
  ```
496
496
 
@@ -504,35 +504,35 @@ class ServiceLevel(pulumi.CustomResource):
504
504
  guid="MXxBUE18QVBQTElDQVRJT058MQ",
505
505
  name="Duration distribution is under 7",
506
506
  description="Monitor created to test concurrent request from terraform",
507
- events=newrelic.ServiceLevelEventsArgs(
508
- account_id="313870",
509
- valid_events=newrelic.ServiceLevelEventsValidEventsArgs(
510
- from_="Metric",
511
- select=newrelic.ServiceLevelEventsValidEventsSelectArgs(
512
- attribute="`query.wallClockTime.negative.distribution`",
513
- function="GET_FIELD",
514
- ),
515
- where="metricName = 'query.wallClockTime.negative.distribution'",
516
- ),
517
- good_events=newrelic.ServiceLevelEventsGoodEventsArgs(
518
- from_="Metric",
519
- select=newrelic.ServiceLevelEventsGoodEventsSelectArgs(
520
- attribute="`query.wallClockTime.negative.distribution`",
521
- function="GET_CDF_COUNT",
522
- threshold=7,
523
- ),
524
- where="metricName = 'query.wallClockTime.negative.distribution'",
525
- ),
526
- ),
527
- objective=newrelic.ServiceLevelObjectiveArgs(
528
- target=49,
529
- time_window=newrelic.ServiceLevelObjectiveTimeWindowArgs(
530
- rolling=newrelic.ServiceLevelObjectiveTimeWindowRollingArgs(
531
- count=7,
532
- unit="DAY",
533
- ),
534
- ),
535
- ))
507
+ events={
508
+ "account_id": "313870",
509
+ "valid_events": {
510
+ "from_": "Metric",
511
+ "select": {
512
+ "attribute": "`query.wallClockTime.negative.distribution`",
513
+ "function": "GET_FIELD",
514
+ },
515
+ "where": "metricName = 'query.wallClockTime.negative.distribution'",
516
+ },
517
+ "good_events": {
518
+ "from_": "Metric",
519
+ "select": {
520
+ "attribute": "`query.wallClockTime.negative.distribution`",
521
+ "function": "GET_CDF_COUNT",
522
+ "threshold": 7,
523
+ },
524
+ "where": "metricName = 'query.wallClockTime.negative.distribution'",
525
+ },
526
+ },
527
+ objective={
528
+ "target": 49,
529
+ "time_window": {
530
+ "rolling": {
531
+ "count": 7,
532
+ "unit": "DAY",
533
+ },
534
+ },
535
+ })
536
536
  ```
537
537
 
538
538
  For up-to-date documentation about the tagging resource, please check EntityTags
@@ -567,10 +567,10 @@ class ServiceLevel(pulumi.CustomResource):
567
567
  resource_name: str,
568
568
  opts: Optional[pulumi.ResourceOptions] = None,
569
569
  description: Optional[pulumi.Input[str]] = None,
570
- events: Optional[pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']]] = None,
570
+ events: Optional[pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']]] = None,
571
571
  guid: Optional[pulumi.Input[str]] = None,
572
572
  name: Optional[pulumi.Input[str]] = None,
573
- objective: Optional[pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']]] = None,
573
+ objective: Optional[pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']]] = None,
574
574
  __props__=None):
575
575
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
576
576
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -604,10 +604,10 @@ class ServiceLevel(pulumi.CustomResource):
604
604
  id: pulumi.Input[str],
605
605
  opts: Optional[pulumi.ResourceOptions] = None,
606
606
  description: Optional[pulumi.Input[str]] = None,
607
- events: Optional[pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']]] = None,
607
+ events: Optional[pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']]] = None,
608
608
  guid: Optional[pulumi.Input[str]] = None,
609
609
  name: Optional[pulumi.Input[str]] = None,
610
- objective: Optional[pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']]] = None,
610
+ objective: Optional[pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']]] = None,
611
611
  sli_guid: Optional[pulumi.Input[str]] = None,
612
612
  sli_id: Optional[pulumi.Input[str]] = None) -> 'ServiceLevel':
613
613
  """
@@ -618,11 +618,11 @@ class ServiceLevel(pulumi.CustomResource):
618
618
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
619
619
  :param pulumi.ResourceOptions opts: Options for the resource.
620
620
  :param pulumi.Input[str] description: The description of the SLI.
621
- :param pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']] events: The events that define the NRDB data for the SLI/SLO calculations.
621
+ :param pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']] events: The events that define the NRDB data for the SLI/SLO calculations.
622
622
  See Events below for details.
623
623
  :param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
624
624
  :param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
625
- :param pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']] objective: The objective of the SLI, only one can be defined.
625
+ :param pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']] objective: The objective of the SLI, only one can be defined.
626
626
  See Objective below for details.
627
627
  :param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
628
628
  :param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
@@ -262,18 +262,18 @@ class AlertCondition(pulumi.CustomResource):
262
262
  uri="https://www.one.newrelic.com",
263
263
  type="SIMPLE",
264
264
  locations_publics=["AP_EAST_1"],
265
- custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
266
- name="some_name",
267
- value="some_value",
268
- )],
265
+ custom_headers=[{
266
+ "name": "some_name",
267
+ "value": "some_value",
268
+ }],
269
269
  treat_redirect_as_failure=True,
270
270
  validation_string="success",
271
271
  bypass_head_request=True,
272
272
  verify_ssl=True,
273
- tags=[newrelic.synthetics.MonitorTagArgs(
274
- key="some_key",
275
- values=["some_value"],
276
- )])
273
+ tags=[{
274
+ "key": "some_key",
275
+ "values": ["some_value"],
276
+ }])
277
277
  foo_alert_condition = newrelic.synthetics.AlertCondition("foo",
278
278
  policy_id=foo.id,
279
279
  name="foo synthetics condition",
@@ -282,17 +282,17 @@ class AlertCondition(pulumi.CustomResource):
282
282
  my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
283
283
  guid=foo_alert_condition.entity_guid,
284
284
  tags=[
285
- newrelic.EntityTagsTagArgs(
286
- key="my-key",
287
- values=[
285
+ {
286
+ "key": "my-key",
287
+ "values": [
288
288
  "my-value",
289
289
  "my-other-value",
290
290
  ],
291
- ),
292
- newrelic.EntityTagsTagArgs(
293
- key="my-key-2",
294
- values=["my-value-2"],
295
- ),
291
+ },
292
+ {
293
+ "key": "my-key-2",
294
+ "values": ["my-value-2"],
295
+ },
296
296
  ])
297
297
  ```
298
298
 
@@ -356,18 +356,18 @@ class AlertCondition(pulumi.CustomResource):
356
356
  uri="https://www.one.newrelic.com",
357
357
  type="SIMPLE",
358
358
  locations_publics=["AP_EAST_1"],
359
- custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
360
- name="some_name",
361
- value="some_value",
362
- )],
359
+ custom_headers=[{
360
+ "name": "some_name",
361
+ "value": "some_value",
362
+ }],
363
363
  treat_redirect_as_failure=True,
364
364
  validation_string="success",
365
365
  bypass_head_request=True,
366
366
  verify_ssl=True,
367
- tags=[newrelic.synthetics.MonitorTagArgs(
368
- key="some_key",
369
- values=["some_value"],
370
- )])
367
+ tags=[{
368
+ "key": "some_key",
369
+ "values": ["some_value"],
370
+ }])
371
371
  foo_alert_condition = newrelic.synthetics.AlertCondition("foo",
372
372
  policy_id=foo.id,
373
373
  name="foo synthetics condition",
@@ -376,17 +376,17 @@ class AlertCondition(pulumi.CustomResource):
376
376
  my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
377
377
  guid=foo_alert_condition.entity_guid,
378
378
  tags=[
379
- newrelic.EntityTagsTagArgs(
380
- key="my-key",
381
- values=[
379
+ {
380
+ "key": "my-key",
381
+ "values": [
382
382
  "my-value",
383
383
  "my-other-value",
384
384
  ],
385
- ),
386
- newrelic.EntityTagsTagArgs(
387
- key="my-key-2",
388
- values=["my-value-2"],
389
- ),
385
+ },
386
+ {
387
+ "key": "my-key-2",
388
+ "values": ["my-value-2"],
389
+ },
390
390
  ])
391
391
  ```
392
392
 
@@ -407,7 +407,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
407
407
  runtime_type: Optional[pulumi.Input[str]] = None,
408
408
  runtime_type_version: Optional[pulumi.Input[str]] = None,
409
409
  status: Optional[pulumi.Input[str]] = None,
410
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]]] = None,
410
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]]] = None,
411
411
  uri: Optional[pulumi.Input[str]] = None,
412
412
  __props__=None):
413
413
  """
@@ -429,10 +429,10 @@ class BrokenLinksMonitor(pulumi.CustomResource):
429
429
  status="ENABLED",
430
430
  runtime_type="NODE_API",
431
431
  runtime_type_version="16.10",
432
- tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
433
- key="some_key",
434
- values=["some_value"],
435
- )])
432
+ tags=[{
433
+ "key": "some_key",
434
+ "values": ["some_value"],
435
+ }])
436
436
  ```
437
437
  See additional examples.
438
438
 
@@ -458,10 +458,10 @@ class BrokenLinksMonitor(pulumi.CustomResource):
458
458
  locations_privates=[foo.id],
459
459
  period="EVERY_6_HOURS",
460
460
  status="ENABLED",
461
- tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
462
- key="some_key",
463
- values=["some_value"],
464
- )])
461
+ tags=[{
462
+ "key": "some_key",
463
+ "values": ["some_value"],
464
+ }])
465
465
  ```
466
466
 
467
467
  ## Import
@@ -488,7 +488,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
488
488
 
489
489
  > **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after August 26, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
490
490
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
491
- :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
491
+ :param pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
492
492
  :param pulumi.Input[str] uri: The URI the monitor runs against.
493
493
  """
494
494
  ...
@@ -516,10 +516,10 @@ class BrokenLinksMonitor(pulumi.CustomResource):
516
516
  status="ENABLED",
517
517
  runtime_type="NODE_API",
518
518
  runtime_type_version="16.10",
519
- tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
520
- key="some_key",
521
- values=["some_value"],
522
- )])
519
+ tags=[{
520
+ "key": "some_key",
521
+ "values": ["some_value"],
522
+ }])
523
523
  ```
524
524
  See additional examples.
525
525
 
@@ -545,10 +545,10 @@ class BrokenLinksMonitor(pulumi.CustomResource):
545
545
  locations_privates=[foo.id],
546
546
  period="EVERY_6_HOURS",
547
547
  status="ENABLED",
548
- tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
549
- key="some_key",
550
- values=["some_value"],
551
- )])
548
+ tags=[{
549
+ "key": "some_key",
550
+ "values": ["some_value"],
551
+ }])
552
552
  ```
553
553
 
554
554
  ## Import
@@ -584,7 +584,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
584
584
  runtime_type: Optional[pulumi.Input[str]] = None,
585
585
  runtime_type_version: Optional[pulumi.Input[str]] = None,
586
586
  status: Optional[pulumi.Input[str]] = None,
587
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]]] = None,
587
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]]] = None,
588
588
  uri: Optional[pulumi.Input[str]] = None,
589
589
  __props__=None):
590
590
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -633,7 +633,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
633
633
  runtime_type: Optional[pulumi.Input[str]] = None,
634
634
  runtime_type_version: Optional[pulumi.Input[str]] = None,
635
635
  status: Optional[pulumi.Input[str]] = None,
636
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]]] = None,
636
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]]] = None,
637
637
  uri: Optional[pulumi.Input[str]] = None) -> 'BrokenLinksMonitor':
638
638
  """
639
639
  Get an existing BrokenLinksMonitor resource's state with the given name, id, and optional extra
@@ -656,7 +656,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
656
656
 
657
657
  > **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after August 26, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
658
658
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
659
- :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
659
+ :param pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
660
660
  :param pulumi.Input[str] uri: The URI the monitor runs against.
661
661
  """
662
662
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))