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