pulumi-newrelic 5.28.0a1723107045__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 (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 +262 -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.0.dist-info}/METADATA +1 -1
  39. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/RECORD +41 -41
  40. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/WHEEL +0 -0
  41. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/top_level.txt +0 -0
@@ -355,9 +355,9 @@ class MonitorDowntime(pulumi.CustomResource):
355
355
  resource_name: str,
356
356
  opts: Optional[pulumi.ResourceOptions] = None,
357
357
  account_id: Optional[pulumi.Input[str]] = None,
358
- end_repeat: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']]] = None,
358
+ end_repeat: Optional[pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']]] = None,
359
359
  end_time: Optional[pulumi.Input[str]] = None,
360
- frequency: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']]] = None,
360
+ frequency: Optional[pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']]] = None,
361
361
  maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
362
362
  mode: Optional[pulumi.Input[str]] = None,
363
363
  monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -384,9 +384,9 @@ class MonitorDowntime(pulumi.CustomResource):
384
384
  start_time="2023-11-30T10:30:00",
385
385
  end_time="2023-12-10T02:45:30",
386
386
  time_zone="Asia/Kolkata",
387
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
388
- on_date="2023-12-20",
389
- ),
387
+ end_repeat={
388
+ "on_date": "2023-12-20",
389
+ },
390
390
  maintenance_days=[
391
391
  "FRIDAY",
392
392
  "SATURDAY",
@@ -435,9 +435,9 @@ class MonitorDowntime(pulumi.CustomResource):
435
435
  mode="DAILY",
436
436
  start_time="2023-12-04T18:15:00",
437
437
  end_time="2024-01-04T07:15:00",
438
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
439
- on_date="2023-12-25",
440
- ),
438
+ end_repeat={
439
+ "on_date": "2023-12-25",
440
+ },
441
441
  time_zone="Asia/Kolkata")
442
442
  ```
443
443
 
@@ -486,16 +486,16 @@ class MonitorDowntime(pulumi.CustomResource):
486
486
  mode="MONTHLY",
487
487
  start_time="2023-12-04T07:15:00",
488
488
  end_time="2024-01-04T19:15:00",
489
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
490
- on_repeat=6,
491
- ),
489
+ end_repeat={
490
+ "on_repeat": 6,
491
+ },
492
492
  time_zone="Europe/Dublin",
493
- frequency=newrelic.MonitorDowntimeFrequencyArgs(
494
- days_of_week=newrelic.MonitorDowntimeFrequencyDaysOfWeekArgs(
495
- ordinal_day_of_month="SECOND",
496
- week_day="SATURDAY",
497
- ),
498
- ))
493
+ frequency={
494
+ "days_of_week": {
495
+ "ordinal_day_of_month": "SECOND",
496
+ "week_day": "SATURDAY",
497
+ },
498
+ })
499
499
  ```
500
500
  However, the `frequency` block in monthly monitor downtimes may also be specified with its other nested argument, `days_of_month`, as shown in the example below - though both `days_of_month` and `days_of_week` cannot be specified together, as they are mutually exclusive.
501
501
  ```python
@@ -511,18 +511,18 @@ class MonitorDowntime(pulumi.CustomResource):
511
511
  mode="MONTHLY",
512
512
  start_time="2023-12-04T07:15:00",
513
513
  end_time="2024-01-04T19:15:00",
514
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
515
- on_repeat=6,
516
- ),
514
+ end_repeat={
515
+ "on_repeat": 6,
516
+ },
517
517
  time_zone="Europe/Dublin",
518
- frequency=newrelic.MonitorDowntimeFrequencyArgs(
519
- days_of_months=[
518
+ frequency={
519
+ "days_of_months": [
520
520
  3,
521
521
  6,
522
522
  14,
523
523
  23,
524
524
  ],
525
- ))
525
+ })
526
526
  ```
527
527
 
528
528
  ## Import
@@ -539,9 +539,9 @@ class MonitorDowntime(pulumi.CustomResource):
539
539
  :param pulumi.ResourceOptions opts: Options for the resource.
540
540
  :param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
541
541
  provider{} configuration if not specified.
542
- :param pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
542
+ :param pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
543
543
  :param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
544
- :param pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']] frequency: Configuration options for which days of the month a monitor downtime will occur
544
+ :param pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']] frequency: Configuration options for which days of the month a monitor downtime will occur
545
545
  :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
546
546
  :param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
547
547
  :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
@@ -574,9 +574,9 @@ class MonitorDowntime(pulumi.CustomResource):
574
574
  start_time="2023-11-30T10:30:00",
575
575
  end_time="2023-12-10T02:45:30",
576
576
  time_zone="Asia/Kolkata",
577
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
578
- on_date="2023-12-20",
579
- ),
577
+ end_repeat={
578
+ "on_date": "2023-12-20",
579
+ },
580
580
  maintenance_days=[
581
581
  "FRIDAY",
582
582
  "SATURDAY",
@@ -625,9 +625,9 @@ class MonitorDowntime(pulumi.CustomResource):
625
625
  mode="DAILY",
626
626
  start_time="2023-12-04T18:15:00",
627
627
  end_time="2024-01-04T07:15:00",
628
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
629
- on_date="2023-12-25",
630
- ),
628
+ end_repeat={
629
+ "on_date": "2023-12-25",
630
+ },
631
631
  time_zone="Asia/Kolkata")
632
632
  ```
633
633
 
@@ -676,16 +676,16 @@ class MonitorDowntime(pulumi.CustomResource):
676
676
  mode="MONTHLY",
677
677
  start_time="2023-12-04T07:15:00",
678
678
  end_time="2024-01-04T19:15:00",
679
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
680
- on_repeat=6,
681
- ),
679
+ end_repeat={
680
+ "on_repeat": 6,
681
+ },
682
682
  time_zone="Europe/Dublin",
683
- frequency=newrelic.MonitorDowntimeFrequencyArgs(
684
- days_of_week=newrelic.MonitorDowntimeFrequencyDaysOfWeekArgs(
685
- ordinal_day_of_month="SECOND",
686
- week_day="SATURDAY",
687
- ),
688
- ))
683
+ frequency={
684
+ "days_of_week": {
685
+ "ordinal_day_of_month": "SECOND",
686
+ "week_day": "SATURDAY",
687
+ },
688
+ })
689
689
  ```
690
690
  However, the `frequency` block in monthly monitor downtimes may also be specified with its other nested argument, `days_of_month`, as shown in the example below - though both `days_of_month` and `days_of_week` cannot be specified together, as they are mutually exclusive.
691
691
  ```python
@@ -701,18 +701,18 @@ class MonitorDowntime(pulumi.CustomResource):
701
701
  mode="MONTHLY",
702
702
  start_time="2023-12-04T07:15:00",
703
703
  end_time="2024-01-04T19:15:00",
704
- end_repeat=newrelic.MonitorDowntimeEndRepeatArgs(
705
- on_repeat=6,
706
- ),
704
+ end_repeat={
705
+ "on_repeat": 6,
706
+ },
707
707
  time_zone="Europe/Dublin",
708
- frequency=newrelic.MonitorDowntimeFrequencyArgs(
709
- days_of_months=[
708
+ frequency={
709
+ "days_of_months": [
710
710
  3,
711
711
  6,
712
712
  14,
713
713
  23,
714
714
  ],
715
- ))
715
+ })
716
716
  ```
717
717
 
718
718
  ## Import
@@ -741,9 +741,9 @@ class MonitorDowntime(pulumi.CustomResource):
741
741
  resource_name: str,
742
742
  opts: Optional[pulumi.ResourceOptions] = None,
743
743
  account_id: Optional[pulumi.Input[str]] = None,
744
- end_repeat: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']]] = None,
744
+ end_repeat: Optional[pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']]] = None,
745
745
  end_time: Optional[pulumi.Input[str]] = None,
746
- frequency: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']]] = None,
746
+ frequency: Optional[pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']]] = None,
747
747
  maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
748
748
  mode: Optional[pulumi.Input[str]] = None,
749
749
  monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -788,9 +788,9 @@ class MonitorDowntime(pulumi.CustomResource):
788
788
  id: pulumi.Input[str],
789
789
  opts: Optional[pulumi.ResourceOptions] = None,
790
790
  account_id: Optional[pulumi.Input[str]] = None,
791
- end_repeat: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']]] = None,
791
+ end_repeat: Optional[pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']]] = None,
792
792
  end_time: Optional[pulumi.Input[str]] = None,
793
- frequency: Optional[pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']]] = None,
793
+ frequency: Optional[pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']]] = None,
794
794
  maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
795
795
  mode: Optional[pulumi.Input[str]] = None,
796
796
  monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -806,9 +806,9 @@ class MonitorDowntime(pulumi.CustomResource):
806
806
  :param pulumi.ResourceOptions opts: Options for the resource.
807
807
  :param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
808
808
  provider{} configuration if not specified.
809
- :param pulumi.Input[pulumi.InputType['MonitorDowntimeEndRepeatArgs']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
809
+ :param pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
810
810
  :param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
811
- :param pulumi.Input[pulumi.InputType['MonitorDowntimeFrequencyArgs']] frequency: Configuration options for which days of the month a monitor downtime will occur
811
+ :param pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']] frequency: Configuration options for which days of the month a monitor downtime will occur
812
812
  :param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
813
813
  :param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
814
814
  :param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.