pulumi-newrelic 5.46.0a1748078992__py3-none-any.whl → 5.46.1a1749527247__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 (90) hide show
  1. pulumi_newrelic/__init__.py +1 -1
  2. pulumi_newrelic/_inputs.py +61 -1
  3. pulumi_newrelic/_utilities.py +1 -1
  4. pulumi_newrelic/account_management.py +1 -1
  5. pulumi_newrelic/alert_channel.py +1 -1
  6. pulumi_newrelic/alert_condition.py +1 -1
  7. pulumi_newrelic/alert_muting_rule.py +1 -1
  8. pulumi_newrelic/alert_policy.py +1 -1
  9. pulumi_newrelic/alert_policy_channel.py +1 -1
  10. pulumi_newrelic/api_access_key.py +1 -49
  11. pulumi_newrelic/browser_application.py +1 -1
  12. pulumi_newrelic/cloud/__init__.py +1 -1
  13. pulumi_newrelic/cloud/_inputs.py +1 -1
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +1 -1
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +1 -1
  16. pulumi_newrelic/cloud/aws_integrations.py +1 -1
  17. pulumi_newrelic/cloud/aws_link_account.py +1 -1
  18. pulumi_newrelic/cloud/azure_integrations.py +1 -1
  19. pulumi_newrelic/cloud/azure_link_account.py +1 -1
  20. pulumi_newrelic/cloud/gcp_integrations.py +1 -1
  21. pulumi_newrelic/cloud/gcp_link_account.py +1 -1
  22. pulumi_newrelic/cloud/outputs.py +1 -1
  23. pulumi_newrelic/config/__init__.py +1 -1
  24. pulumi_newrelic/config/__init__.pyi +1 -1
  25. pulumi_newrelic/config/vars.py +1 -1
  26. pulumi_newrelic/data_partition_rule.py +1 -1
  27. pulumi_newrelic/entity_tags.py +1 -1
  28. pulumi_newrelic/events_to_metrics_rule.py +1 -1
  29. pulumi_newrelic/get_account.py +1 -1
  30. pulumi_newrelic/get_alert_channel.py +1 -1
  31. pulumi_newrelic/get_alert_policy.py +1 -1
  32. pulumi_newrelic/get_application.py +1 -1
  33. pulumi_newrelic/get_authentication_domain.py +1 -1
  34. pulumi_newrelic/get_cloud_account.py +1 -1
  35. pulumi_newrelic/get_entity.py +1 -1
  36. pulumi_newrelic/get_group.py +1 -1
  37. pulumi_newrelic/get_key_transaction.py +1 -1
  38. pulumi_newrelic/get_notification_destination.py +1 -1
  39. pulumi_newrelic/get_obfuscation_expression.py +1 -1
  40. pulumi_newrelic/get_service_level_alert_helper.py +1 -1
  41. pulumi_newrelic/get_test_grok_pattern.py +1 -1
  42. pulumi_newrelic/get_user.py +1 -1
  43. pulumi_newrelic/group.py +1 -1
  44. pulumi_newrelic/infra_alert_condition.py +1 -1
  45. pulumi_newrelic/insights/__init__.py +1 -1
  46. pulumi_newrelic/insights/_inputs.py +1 -1
  47. pulumi_newrelic/insights/event.py +1 -1
  48. pulumi_newrelic/insights/outputs.py +1 -1
  49. pulumi_newrelic/key_transaction.py +1 -1
  50. pulumi_newrelic/log_parsing_rule.py +1 -1
  51. pulumi_newrelic/monitor_downtime.py +1 -1
  52. pulumi_newrelic/notification_channel.py +1 -1
  53. pulumi_newrelic/notification_destination.py +1 -1
  54. pulumi_newrelic/nrql_alert_condition.py +3 -1
  55. pulumi_newrelic/nrql_drop_rule.py +1 -1
  56. pulumi_newrelic/obfuscation_expression.py +1 -1
  57. pulumi_newrelic/obfuscation_rule.py +1 -1
  58. pulumi_newrelic/one_dashboard.py +1 -1
  59. pulumi_newrelic/one_dashboard_json.py +1 -1
  60. pulumi_newrelic/one_dashboard_raw.py +1 -1
  61. pulumi_newrelic/outputs.py +46 -4
  62. pulumi_newrelic/plugins/__init__.py +1 -1
  63. pulumi_newrelic/plugins/_inputs.py +1 -1
  64. pulumi_newrelic/plugins/application_settings.py +1 -1
  65. pulumi_newrelic/plugins/outputs.py +1 -1
  66. pulumi_newrelic/plugins/workload.py +1 -1
  67. pulumi_newrelic/provider.py +15 -16
  68. pulumi_newrelic/pulumi-plugin.json +1 -1
  69. pulumi_newrelic/service_level.py +1 -1
  70. pulumi_newrelic/synthetics/__init__.py +1 -1
  71. pulumi_newrelic/synthetics/_inputs.py +1 -1
  72. pulumi_newrelic/synthetics/alert_condition.py +1 -1
  73. pulumi_newrelic/synthetics/broken_links_monitor.py +1 -1
  74. pulumi_newrelic/synthetics/cert_check_monitor.py +1 -1
  75. pulumi_newrelic/synthetics/get_private_location.py +1 -1
  76. pulumi_newrelic/synthetics/get_secure_credential.py +1 -1
  77. pulumi_newrelic/synthetics/monitor.py +1 -1
  78. pulumi_newrelic/synthetics/multi_location_alert_condition.py +1 -1
  79. pulumi_newrelic/synthetics/outputs.py +1 -1
  80. pulumi_newrelic/synthetics/private_location.py +1 -1
  81. pulumi_newrelic/synthetics/script_monitor.py +1 -1
  82. pulumi_newrelic/synthetics/secure_credential.py +1 -1
  83. pulumi_newrelic/synthetics/step_monitor.py +1 -1
  84. pulumi_newrelic/user.py +1 -1
  85. pulumi_newrelic/workflow.py +1 -1
  86. {pulumi_newrelic-5.46.0a1748078992.dist-info → pulumi_newrelic-5.46.1a1749527247.dist-info}/METADATA +1 -1
  87. pulumi_newrelic-5.46.1a1749527247.dist-info/RECORD +90 -0
  88. {pulumi_newrelic-5.46.0a1748078992.dist-info → pulumi_newrelic-5.46.1a1749527247.dist-info}/WHEEL +1 -1
  89. pulumi_newrelic-5.46.0a1748078992.dist-info/RECORD +0 -90
  90. {pulumi_newrelic-5.46.0a1748078992.dist-info → pulumi_newrelic-5.46.1a1749527247.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1082,6 +1082,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1082
1082
  - `duration` - (Optional) **DEPRECATED:** Use `threshold_duration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive).
1083
1083
  - `time_function` - (Optional) **DEPRECATED:** Use `threshold_occurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.
1084
1084
  - `prediction` - (Optional) **BETA PREVIEW: the `prediction` field is in limited release and only enabled for preview on a per-account basis.** Use `prediction` to open alerts when your static threshold is predicted to be reached in the future. The `prediction` field is only available for _static_ NRQL alert conditions. See Prediction below for details.
1085
+ - `disable_health_status_reporting` - (Optional) `true` or `false`. Defaults to `false` when field not included in TF config. Violations will not change system health status for this term.
1085
1086
 
1086
1087
  > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `duration` or `threshold_duration` (one of the two) is mandatory. Both of these should not be specified.
1087
1088
 
@@ -1394,6 +1395,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1394
1395
  - `duration` - (Optional) **DEPRECATED:** Use `threshold_duration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive).
1395
1396
  - `time_function` - (Optional) **DEPRECATED:** Use `threshold_occurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.
1396
1397
  - `prediction` - (Optional) **BETA PREVIEW: the `prediction` field is in limited release and only enabled for preview on a per-account basis.** Use `prediction` to open alerts when your static threshold is predicted to be reached in the future. The `prediction` field is only available for _static_ NRQL alert conditions. See Prediction below for details.
1398
+ - `disable_health_status_reporting` - (Optional) `true` or `false`. Defaults to `false` when field not included in TF config. Violations will not change system health status for this term.
1397
1399
 
1398
1400
  > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `duration` or `threshold_duration` (one of the two) is mandatory. Both of these should not be specified.
1399
1401
 
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1332,7 +1332,9 @@ class NrqlAlertConditionCritical(dict):
1332
1332
  @staticmethod
1333
1333
  def __key_warning(key: str):
1334
1334
  suggest = None
1335
- if key == "thresholdDuration":
1335
+ if key == "disableHealthStatusReporting":
1336
+ suggest = "disable_health_status_reporting"
1337
+ elif key == "thresholdDuration":
1336
1338
  suggest = "threshold_duration"
1337
1339
  elif key == "thresholdOccurrences":
1338
1340
  suggest = "threshold_occurrences"
@@ -1352,6 +1354,7 @@ class NrqlAlertConditionCritical(dict):
1352
1354
 
1353
1355
  def __init__(__self__, *,
1354
1356
  threshold: builtins.float,
1357
+ disable_health_status_reporting: Optional[builtins.bool] = None,
1355
1358
  duration: Optional[builtins.int] = None,
1356
1359
  operator: Optional[builtins.str] = None,
1357
1360
  prediction: Optional['outputs.NrqlAlertConditionCriticalPrediction'] = None,
@@ -1360,6 +1363,7 @@ class NrqlAlertConditionCritical(dict):
1360
1363
  time_function: Optional[builtins.str] = None):
1361
1364
  """
1362
1365
  :param builtins.float threshold: For baseline conditions must be in range [1, 1000].
1366
+ :param builtins.bool disable_health_status_reporting: Violations will not change system health status for this term.
1363
1367
  :param builtins.int duration: In minutes, must be in the range of 1 to 120 (inclusive).
1364
1368
  :param builtins.str operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
1365
1369
  :param 'NrqlAlertConditionCriticalPredictionArgs' prediction: BETA PREVIEW: the `prediction` field is in limited release and only enabled for preview on a per-account basis. - Use `prediction` to open alerts when your static threshold is predicted to be reached in the future. The `prediction` field is only available for static conditions.
@@ -1368,6 +1372,8 @@ class NrqlAlertConditionCritical(dict):
1368
1372
  :param builtins.str time_function: Valid values are: 'all' or 'any'
1369
1373
  """
1370
1374
  pulumi.set(__self__, "threshold", threshold)
1375
+ if disable_health_status_reporting is not None:
1376
+ pulumi.set(__self__, "disable_health_status_reporting", disable_health_status_reporting)
1371
1377
  if duration is not None:
1372
1378
  pulumi.set(__self__, "duration", duration)
1373
1379
  if operator is not None:
@@ -1389,6 +1395,14 @@ class NrqlAlertConditionCritical(dict):
1389
1395
  """
1390
1396
  return pulumi.get(self, "threshold")
1391
1397
 
1398
+ @property
1399
+ @pulumi.getter(name="disableHealthStatusReporting")
1400
+ def disable_health_status_reporting(self) -> Optional[builtins.bool]:
1401
+ """
1402
+ Violations will not change system health status for this term.
1403
+ """
1404
+ return pulumi.get(self, "disable_health_status_reporting")
1405
+
1392
1406
  @property
1393
1407
  @pulumi.getter
1394
1408
  @_utilities.deprecated("""use `threshold_duration` attribute instead""")
@@ -1568,7 +1582,9 @@ class NrqlAlertConditionTerm(dict):
1568
1582
  @staticmethod
1569
1583
  def __key_warning(key: str):
1570
1584
  suggest = None
1571
- if key == "thresholdDuration":
1585
+ if key == "disableHealthStatusReporting":
1586
+ suggest = "disable_health_status_reporting"
1587
+ elif key == "thresholdDuration":
1572
1588
  suggest = "threshold_duration"
1573
1589
  elif key == "thresholdOccurrences":
1574
1590
  suggest = "threshold_occurrences"
@@ -1588,6 +1604,7 @@ class NrqlAlertConditionTerm(dict):
1588
1604
 
1589
1605
  def __init__(__self__, *,
1590
1606
  threshold: builtins.float,
1607
+ disable_health_status_reporting: Optional[builtins.bool] = None,
1591
1608
  duration: Optional[builtins.int] = None,
1592
1609
  operator: Optional[builtins.str] = None,
1593
1610
  prediction: Optional['outputs.NrqlAlertConditionTermPrediction'] = None,
@@ -1597,6 +1614,7 @@ class NrqlAlertConditionTerm(dict):
1597
1614
  time_function: Optional[builtins.str] = None):
1598
1615
  """
1599
1616
  :param builtins.float threshold: For baseline conditions must be in range [1, 1000].
1617
+ :param builtins.bool disable_health_status_reporting: Violations will not change system health status for this term.
1600
1618
  :param builtins.int duration: In minutes, must be in the range of 1 to 120 (inclusive).
1601
1619
  :param builtins.str operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
1602
1620
  :param 'NrqlAlertConditionTermPredictionArgs' prediction: BETA PREVIEW: the `prediction` field is in limited release and only enabled for preview on a per-account basis. - Use `prediction` to open alerts when your static threshold is predicted to be reached in the future. The `prediction` field is only available for static conditions.
@@ -1606,6 +1624,8 @@ class NrqlAlertConditionTerm(dict):
1606
1624
  :param builtins.str time_function: Valid values are: 'all' or 'any'
1607
1625
  """
1608
1626
  pulumi.set(__self__, "threshold", threshold)
1627
+ if disable_health_status_reporting is not None:
1628
+ pulumi.set(__self__, "disable_health_status_reporting", disable_health_status_reporting)
1609
1629
  if duration is not None:
1610
1630
  pulumi.set(__self__, "duration", duration)
1611
1631
  if operator is not None:
@@ -1629,6 +1649,14 @@ class NrqlAlertConditionTerm(dict):
1629
1649
  """
1630
1650
  return pulumi.get(self, "threshold")
1631
1651
 
1652
+ @property
1653
+ @pulumi.getter(name="disableHealthStatusReporting")
1654
+ def disable_health_status_reporting(self) -> Optional[builtins.bool]:
1655
+ """
1656
+ Violations will not change system health status for this term.
1657
+ """
1658
+ return pulumi.get(self, "disable_health_status_reporting")
1659
+
1632
1660
  @property
1633
1661
  @pulumi.getter
1634
1662
  @_utilities.deprecated("""use `threshold_duration` attribute instead""")
@@ -1743,7 +1771,9 @@ class NrqlAlertConditionWarning(dict):
1743
1771
  @staticmethod
1744
1772
  def __key_warning(key: str):
1745
1773
  suggest = None
1746
- if key == "thresholdDuration":
1774
+ if key == "disableHealthStatusReporting":
1775
+ suggest = "disable_health_status_reporting"
1776
+ elif key == "thresholdDuration":
1747
1777
  suggest = "threshold_duration"
1748
1778
  elif key == "thresholdOccurrences":
1749
1779
  suggest = "threshold_occurrences"
@@ -1763,6 +1793,7 @@ class NrqlAlertConditionWarning(dict):
1763
1793
 
1764
1794
  def __init__(__self__, *,
1765
1795
  threshold: builtins.float,
1796
+ disable_health_status_reporting: Optional[builtins.bool] = None,
1766
1797
  duration: Optional[builtins.int] = None,
1767
1798
  operator: Optional[builtins.str] = None,
1768
1799
  prediction: Optional['outputs.NrqlAlertConditionWarningPrediction'] = None,
@@ -1771,6 +1802,7 @@ class NrqlAlertConditionWarning(dict):
1771
1802
  time_function: Optional[builtins.str] = None):
1772
1803
  """
1773
1804
  :param builtins.float threshold: For baseline conditions must be in range [1, 1000].
1805
+ :param builtins.bool disable_health_status_reporting: Violations will not change system health status for this term.
1774
1806
  :param builtins.int duration: In minutes, must be in the range of 1 to 120 (inclusive).
1775
1807
  :param builtins.str operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
1776
1808
  :param 'NrqlAlertConditionWarningPredictionArgs' prediction: BETA PREVIEW: the `prediction` field is in limited release and only enabled for preview on a per-account basis. - Use `prediction` to open alerts when your static threshold is predicted to be reached in the future. The `prediction` field is only available for static conditions.
@@ -1779,6 +1811,8 @@ class NrqlAlertConditionWarning(dict):
1779
1811
  :param builtins.str time_function: Valid values are: 'all' or 'any'
1780
1812
  """
1781
1813
  pulumi.set(__self__, "threshold", threshold)
1814
+ if disable_health_status_reporting is not None:
1815
+ pulumi.set(__self__, "disable_health_status_reporting", disable_health_status_reporting)
1782
1816
  if duration is not None:
1783
1817
  pulumi.set(__self__, "duration", duration)
1784
1818
  if operator is not None:
@@ -1800,6 +1834,14 @@ class NrqlAlertConditionWarning(dict):
1800
1834
  """
1801
1835
  return pulumi.get(self, "threshold")
1802
1836
 
1837
+ @property
1838
+ @pulumi.getter(name="disableHealthStatusReporting")
1839
+ def disable_health_status_reporting(self) -> Optional[builtins.bool]:
1840
+ """
1841
+ Violations will not change system health status for this term.
1842
+ """
1843
+ return pulumi.get(self, "disable_health_status_reporting")
1844
+
1803
1845
  @property
1804
1846
  @pulumi.getter
1805
1847
  @_utilities.deprecated("""use `threshold_duration` attribute instead""")
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -20,9 +20,9 @@ __all__ = ['ProviderArgs', 'Provider']
20
20
  @pulumi.input_type
21
21
  class ProviderArgs:
22
22
  def __init__(__self__, *,
23
- api_key: pulumi.Input[builtins.str],
24
23
  account_id: Optional[pulumi.Input[builtins.str]] = None,
25
24
  admin_api_key: Optional[pulumi.Input[builtins.str]] = None,
25
+ api_key: Optional[pulumi.Input[builtins.str]] = None,
26
26
  api_url: Optional[pulumi.Input[builtins.str]] = None,
27
27
  cacert_file: Optional[pulumi.Input[builtins.str]] = None,
28
28
  infrastructure_api_url: Optional[pulumi.Input[builtins.str]] = None,
@@ -37,13 +37,14 @@ class ProviderArgs:
37
37
  The set of arguments for constructing a Provider resource.
38
38
  :param pulumi.Input[builtins.str] region: The data center for which your New Relic account is configured. Only one region per provider block is permitted.
39
39
  """
40
- pulumi.set(__self__, "api_key", api_key)
41
40
  if account_id is None:
42
41
  account_id = _utilities.get_env('NEW_RELIC_ACCOUNT_ID')
43
42
  if account_id is not None:
44
43
  pulumi.set(__self__, "account_id", account_id)
45
44
  if admin_api_key is not None:
46
45
  pulumi.set(__self__, "admin_api_key", admin_api_key)
46
+ if api_key is not None:
47
+ pulumi.set(__self__, "api_key", api_key)
47
48
  if api_url is not None:
48
49
  warnings.warn("""New Relic internal use only. API URLs are now configured based on the configured region.""", DeprecationWarning)
49
50
  pulumi.log.warn("""api_url is deprecated: New Relic internal use only. API URLs are now configured based on the configured region.""")
@@ -79,15 +80,6 @@ class ProviderArgs:
79
80
  if synthetics_api_url is not None:
80
81
  pulumi.set(__self__, "synthetics_api_url", synthetics_api_url)
81
82
 
82
- @property
83
- @pulumi.getter(name="apiKey")
84
- def api_key(self) -> pulumi.Input[builtins.str]:
85
- return pulumi.get(self, "api_key")
86
-
87
- @api_key.setter
88
- def api_key(self, value: pulumi.Input[builtins.str]):
89
- pulumi.set(self, "api_key", value)
90
-
91
83
  @property
92
84
  @pulumi.getter(name="accountId")
93
85
  def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -106,6 +98,15 @@ class ProviderArgs:
106
98
  def admin_api_key(self, value: Optional[pulumi.Input[builtins.str]]):
107
99
  pulumi.set(self, "admin_api_key", value)
108
100
 
101
+ @property
102
+ @pulumi.getter(name="apiKey")
103
+ def api_key(self) -> Optional[pulumi.Input[builtins.str]]:
104
+ return pulumi.get(self, "api_key")
105
+
106
+ @api_key.setter
107
+ def api_key(self, value: Optional[pulumi.Input[builtins.str]]):
108
+ pulumi.set(self, "api_key", value)
109
+
109
110
  @property
110
111
  @pulumi.getter(name="apiUrl")
111
112
  @_utilities.deprecated("""New Relic internal use only. API URLs are now configured based on the configured region.""")
@@ -238,7 +239,7 @@ class Provider(pulumi.ProviderResource):
238
239
  @overload
239
240
  def __init__(__self__,
240
241
  resource_name: str,
241
- args: ProviderArgs,
242
+ args: Optional[ProviderArgs] = None,
242
243
  opts: Optional[pulumi.ResourceOptions] = None):
243
244
  """
244
245
  The provider type for the newrelic package. By default, resources use package-wide configuration
@@ -287,8 +288,6 @@ class Provider(pulumi.ProviderResource):
287
288
  account_id = _utilities.get_env('NEW_RELIC_ACCOUNT_ID')
288
289
  __props__.__dict__["account_id"] = None if account_id is None else pulumi.Output.secret(account_id)
289
290
  __props__.__dict__["admin_api_key"] = None if admin_api_key is None else pulumi.Output.secret(admin_api_key)
290
- if api_key is None and not opts.urn:
291
- raise TypeError("Missing required property 'api_key'")
292
291
  __props__.__dict__["api_key"] = None if api_key is None else pulumi.Output.secret(api_key)
293
292
  __props__.__dict__["api_url"] = api_url
294
293
  __props__.__dict__["cacert_file"] = cacert_file
@@ -322,7 +321,7 @@ class Provider(pulumi.ProviderResource):
322
321
 
323
322
  @property
324
323
  @pulumi.getter(name="apiKey")
325
- def api_key(self) -> pulumi.Output[builtins.str]:
324
+ def api_key(self) -> pulumi.Output[Optional[builtins.str]]:
326
325
  return pulumi.get(self, "api_key")
327
326
 
328
327
  @property
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "newrelic",
4
- "version": "5.46.0-alpha.1748078992"
4
+ "version": "5.46.1-alpha.1749527247"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
pulumi_newrelic/user.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_newrelic
3
- Version: 5.46.0a1748078992
3
+ Version: 5.46.1a1749527247
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io