pulumi-newrelic 5.23.0a1713333809__py3-none-any.whl → 5.23.0a1713975814__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 (66) hide show
  1. pulumi_newrelic/_inputs.py +110 -270
  2. pulumi_newrelic/account_management.py +20 -20
  3. pulumi_newrelic/alert_channel.py +76 -92
  4. pulumi_newrelic/alert_condition.py +104 -149
  5. pulumi_newrelic/alert_muting_rule.py +33 -35
  6. pulumi_newrelic/alert_policy.py +68 -43
  7. pulumi_newrelic/alert_policy_channel.py +12 -8
  8. pulumi_newrelic/cloud/_inputs.py +322 -1072
  9. pulumi_newrelic/cloud/aws_govcloud_link_account.py +4 -6
  10. pulumi_newrelic/cloud/aws_integrations.py +13 -15
  11. pulumi_newrelic/cloud/aws_link_account.py +4 -6
  12. pulumi_newrelic/cloud/azure_integrations.py +10 -12
  13. pulumi_newrelic/cloud/azure_link_account.py +4 -6
  14. pulumi_newrelic/cloud/gcp_integrations.py +6 -6
  15. pulumi_newrelic/cloud/gcp_link_account.py +4 -6
  16. pulumi_newrelic/cloud/outputs.py +322 -1072
  17. pulumi_newrelic/data_partition_rule.py +0 -4
  18. pulumi_newrelic/entity_tags.py +13 -17
  19. pulumi_newrelic/events_to_metrics_rule.py +2 -4
  20. pulumi_newrelic/get_account.py +0 -4
  21. pulumi_newrelic/get_application.py +8 -10
  22. pulumi_newrelic/get_authentication_domain.py +4 -8
  23. pulumi_newrelic/get_cloud_account.py +0 -4
  24. pulumi_newrelic/get_entity.py +28 -32
  25. pulumi_newrelic/get_group.py +42 -8
  26. pulumi_newrelic/get_key_transaction.py +8 -10
  27. pulumi_newrelic/get_obfuscation_expression.py +2 -4
  28. pulumi_newrelic/get_service_level_alert_helper.py +22 -46
  29. pulumi_newrelic/get_test_grok_pattern.py +4 -6
  30. pulumi_newrelic/get_user.py +0 -4
  31. pulumi_newrelic/group.py +40 -42
  32. pulumi_newrelic/infra_alert_condition.py +154 -131
  33. pulumi_newrelic/insights/event.py +8 -25
  34. pulumi_newrelic/log_parsing_rule.py +6 -10
  35. pulumi_newrelic/monitor_downtime.py +174 -193
  36. pulumi_newrelic/notification_channel.py +124 -150
  37. pulumi_newrelic/nrql_alert_condition.py +38 -48
  38. pulumi_newrelic/nrql_drop_rule.py +34 -38
  39. pulumi_newrelic/obfuscation_expression.py +2 -4
  40. pulumi_newrelic/obfuscation_rule.py +4 -4
  41. pulumi_newrelic/one_dashboard.py +42 -48
  42. pulumi_newrelic/one_dashboard_raw.py +86 -86
  43. pulumi_newrelic/outputs.py +110 -270
  44. pulumi_newrelic/plugins/_inputs.py +16 -16
  45. pulumi_newrelic/plugins/application_settings.py +6 -8
  46. pulumi_newrelic/plugins/outputs.py +16 -16
  47. pulumi_newrelic/plugins/workload.py +158 -40
  48. pulumi_newrelic/service_level.py +38 -123
  49. pulumi_newrelic/synthetics/alert_condition.py +34 -64
  50. pulumi_newrelic/synthetics/broken_links_monitor.py +18 -20
  51. pulumi_newrelic/synthetics/cert_check_monitor.py +16 -18
  52. pulumi_newrelic/synthetics/get_private_location.py +0 -8
  53. pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
  54. pulumi_newrelic/synthetics/monitor.py +48 -52
  55. pulumi_newrelic/synthetics/multi_location_alert_condition.py +69 -83
  56. pulumi_newrelic/synthetics/private_location.py +6 -6
  57. pulumi_newrelic/synthetics/script_monitor.py +38 -42
  58. pulumi_newrelic/synthetics/secure_credential.py +25 -22
  59. pulumi_newrelic/synthetics/step_monitor.py +18 -20
  60. pulumi_newrelic/user.py +8 -10
  61. pulumi_newrelic/workflow.py +20 -24
  62. {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/METADATA +1 -1
  63. pulumi_newrelic-5.23.0a1713975814.dist-info/RECORD +89 -0
  64. pulumi_newrelic-5.23.0a1713333809.dist-info/RECORD +0 -89
  65. {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/WHEEL +0 -0
  66. {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/top_level.txt +0 -0
@@ -730,57 +730,55 @@ class Monitor(pulumi.CustomResource):
730
730
 
731
731
  ## Example Usage
732
732
 
733
- <!--Start PulumiCodeChooser -->
734
733
  ```python
735
734
  import pulumi
736
735
  import pulumi_newrelic as newrelic
737
736
 
738
737
  monitor = newrelic.synthetics.Monitor("monitor",
739
- bypass_head_request=True,
738
+ status="ENABLED",
739
+ name="monitor",
740
+ period="EVERY_MINUTE",
741
+ uri="https://www.one.newrelic.com",
742
+ type="SIMPLE",
743
+ locations_publics=["AP_SOUTH_1"],
740
744
  custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
741
745
  name="some_name",
742
746
  value="some_value",
743
747
  )],
744
- locations_publics=["AP_SOUTH_1"],
745
- period="EVERY_MINUTE",
746
- status="ENABLED",
748
+ treat_redirect_as_failure=True,
749
+ validation_string="success",
750
+ bypass_head_request=True,
751
+ verify_ssl=True,
747
752
  tags=[newrelic.synthetics.MonitorTagArgs(
748
753
  key="some_key",
749
754
  values=["some_value"],
750
- )],
751
- treat_redirect_as_failure=True,
752
- type="SIMPLE",
753
- uri="https://www.one.newrelic.com",
754
- validation_string="success",
755
- verify_ssl=True)
755
+ )])
756
756
  ```
757
- <!--End PulumiCodeChooser -->
758
757
  ##### Type: `SIMPLE BROWSER`
759
758
 
760
- <!--Start PulumiCodeChooser -->
761
759
  ```python
762
760
  import pulumi
763
761
  import pulumi_newrelic as newrelic
764
762
 
765
763
  monitor = newrelic.synthetics.Monitor("monitor",
764
+ status="ENABLED",
765
+ name="monitor",
766
+ period="EVERY_MINUTE",
767
+ uri="https://www.one.newrelic.com",
768
+ type="BROWSER",
769
+ locations_publics=["AP_SOUTH_1"],
766
770
  custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
767
771
  name="some_name",
768
772
  value="some_value",
769
773
  )],
770
774
  enable_screenshot_on_failure_and_script=True,
771
- locations_publics=["AP_SOUTH_1"],
772
- period="EVERY_MINUTE",
773
- status="ENABLED",
775
+ validation_string="success",
776
+ verify_ssl=True,
774
777
  tags=[newrelic.synthetics.MonitorTagArgs(
775
778
  key="some_key",
776
779
  values=["some_value"],
777
- )],
778
- type="BROWSER",
779
- uri="https://www.one.newrelic.com",
780
- validation_string="success",
781
- verify_ssl=True)
780
+ )])
782
781
  ```
783
- <!--End PulumiCodeChooser -->
784
782
  See additional examples.
785
783
 
786
784
  ## Additional Examples
@@ -793,16 +791,17 @@ class Monitor(pulumi.CustomResource):
793
791
 
794
792
  ##### Type: `SIMPLE`
795
793
 
796
- <!--Start PulumiCodeChooser -->
797
794
  ```python
798
795
  import pulumi
799
796
  import pulumi_newrelic as newrelic
800
797
 
801
798
  location = newrelic.synthetics.PrivateLocation("location",
802
799
  description="Example private location",
800
+ name="private_location",
803
801
  verified_script_execution=False)
804
802
  monitor = newrelic.synthetics.Monitor("monitor",
805
803
  status="ENABLED",
804
+ name="monitor",
806
805
  period="EVERY_MINUTE",
807
806
  uri="https://www.one.newrelic.com",
808
807
  type="SIMPLE",
@@ -820,21 +819,21 @@ class Monitor(pulumi.CustomResource):
820
819
  values=["some_value"],
821
820
  )])
822
821
  ```
823
- <!--End PulumiCodeChooser -->
824
822
  ##### Type: `BROWSER`
825
823
 
826
- <!--Start PulumiCodeChooser -->
827
824
  ```python
828
825
  import pulumi
829
826
  import pulumi_newrelic as newrelic
830
827
 
831
828
  location = newrelic.synthetics.PrivateLocation("location",
832
829
  description="Example private location",
830
+ name="private-location",
833
831
  verified_script_execution=False)
834
832
  monitor = newrelic.synthetics.Monitor("monitor",
835
833
  status="ENABLED",
836
834
  type="BROWSER",
837
835
  uri="https://www.one.newrelic.com",
836
+ name="monitor",
838
837
  period="EVERY_MINUTE",
839
838
  locations_privates=[location.id],
840
839
  custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
@@ -852,7 +851,6 @@ class Monitor(pulumi.CustomResource):
852
851
  values=["some_value"],
853
852
  )])
854
853
  ```
855
- <!--End PulumiCodeChooser -->
856
854
 
857
855
  ## Import
858
856
 
@@ -902,57 +900,55 @@ class Monitor(pulumi.CustomResource):
902
900
 
903
901
  ## Example Usage
904
902
 
905
- <!--Start PulumiCodeChooser -->
906
903
  ```python
907
904
  import pulumi
908
905
  import pulumi_newrelic as newrelic
909
906
 
910
907
  monitor = newrelic.synthetics.Monitor("monitor",
911
- bypass_head_request=True,
908
+ status="ENABLED",
909
+ name="monitor",
910
+ period="EVERY_MINUTE",
911
+ uri="https://www.one.newrelic.com",
912
+ type="SIMPLE",
913
+ locations_publics=["AP_SOUTH_1"],
912
914
  custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
913
915
  name="some_name",
914
916
  value="some_value",
915
917
  )],
916
- locations_publics=["AP_SOUTH_1"],
917
- period="EVERY_MINUTE",
918
- status="ENABLED",
918
+ treat_redirect_as_failure=True,
919
+ validation_string="success",
920
+ bypass_head_request=True,
921
+ verify_ssl=True,
919
922
  tags=[newrelic.synthetics.MonitorTagArgs(
920
923
  key="some_key",
921
924
  values=["some_value"],
922
- )],
923
- treat_redirect_as_failure=True,
924
- type="SIMPLE",
925
- uri="https://www.one.newrelic.com",
926
- validation_string="success",
927
- verify_ssl=True)
925
+ )])
928
926
  ```
929
- <!--End PulumiCodeChooser -->
930
927
  ##### Type: `SIMPLE BROWSER`
931
928
 
932
- <!--Start PulumiCodeChooser -->
933
929
  ```python
934
930
  import pulumi
935
931
  import pulumi_newrelic as newrelic
936
932
 
937
933
  monitor = newrelic.synthetics.Monitor("monitor",
934
+ status="ENABLED",
935
+ name="monitor",
936
+ period="EVERY_MINUTE",
937
+ uri="https://www.one.newrelic.com",
938
+ type="BROWSER",
939
+ locations_publics=["AP_SOUTH_1"],
938
940
  custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
939
941
  name="some_name",
940
942
  value="some_value",
941
943
  )],
942
944
  enable_screenshot_on_failure_and_script=True,
943
- locations_publics=["AP_SOUTH_1"],
944
- period="EVERY_MINUTE",
945
- status="ENABLED",
945
+ validation_string="success",
946
+ verify_ssl=True,
946
947
  tags=[newrelic.synthetics.MonitorTagArgs(
947
948
  key="some_key",
948
949
  values=["some_value"],
949
- )],
950
- type="BROWSER",
951
- uri="https://www.one.newrelic.com",
952
- validation_string="success",
953
- verify_ssl=True)
950
+ )])
954
951
  ```
955
- <!--End PulumiCodeChooser -->
956
952
  See additional examples.
957
953
 
958
954
  ## Additional Examples
@@ -965,16 +961,17 @@ class Monitor(pulumi.CustomResource):
965
961
 
966
962
  ##### Type: `SIMPLE`
967
963
 
968
- <!--Start PulumiCodeChooser -->
969
964
  ```python
970
965
  import pulumi
971
966
  import pulumi_newrelic as newrelic
972
967
 
973
968
  location = newrelic.synthetics.PrivateLocation("location",
974
969
  description="Example private location",
970
+ name="private_location",
975
971
  verified_script_execution=False)
976
972
  monitor = newrelic.synthetics.Monitor("monitor",
977
973
  status="ENABLED",
974
+ name="monitor",
978
975
  period="EVERY_MINUTE",
979
976
  uri="https://www.one.newrelic.com",
980
977
  type="SIMPLE",
@@ -992,21 +989,21 @@ class Monitor(pulumi.CustomResource):
992
989
  values=["some_value"],
993
990
  )])
994
991
  ```
995
- <!--End PulumiCodeChooser -->
996
992
  ##### Type: `BROWSER`
997
993
 
998
- <!--Start PulumiCodeChooser -->
999
994
  ```python
1000
995
  import pulumi
1001
996
  import pulumi_newrelic as newrelic
1002
997
 
1003
998
  location = newrelic.synthetics.PrivateLocation("location",
1004
999
  description="Example private location",
1000
+ name="private-location",
1005
1001
  verified_script_execution=False)
1006
1002
  monitor = newrelic.synthetics.Monitor("monitor",
1007
1003
  status="ENABLED",
1008
1004
  type="BROWSER",
1009
1005
  uri="https://www.one.newrelic.com",
1006
+ name="monitor",
1010
1007
  period="EVERY_MINUTE",
1011
1008
  locations_privates=[location.id],
1012
1009
  custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
@@ -1024,7 +1021,6 @@ class Monitor(pulumi.CustomResource):
1024
1021
  values=["some_value"],
1025
1022
  )])
1026
1023
  ```
1027
- <!--End PulumiCodeChooser -->
1028
1024
 
1029
1025
  ## Import
1030
1026