pulumi-newrelic 5.11.0a1684215979__tar.gz → 5.11.0a1684328771__tar.gz

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-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/PKG-INFO +1 -1
  2. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/_inputs.py +8 -4
  3. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/alert_channel.py +8 -0
  4. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/alert_condition.py +42 -0
  5. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/alert_policy.py +2 -2
  6. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/alert_policy_channel.py +8 -0
  7. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/_inputs.py +1377 -125
  8. pulumi_newrelic-5.11.0a1684328771/pulumi_newrelic/cloud/aws_integrations.py +1383 -0
  9. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/aws_link_account.py +46 -0
  10. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/azure_integrations.py +356 -0
  11. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/azure_link_account.py +52 -0
  12. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/gcp_integrations.py +200 -0
  13. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/gcp_link_account.py +54 -0
  14. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/outputs.py +1361 -25
  15. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/infra_alert_condition.py +28 -0
  16. pulumi_newrelic-5.11.0a1684328771/pulumi_newrelic/notification_channel.py +1029 -0
  17. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/outputs.py +8 -4
  18. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/plugins/application_settings.py +28 -0
  19. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/alert_condition.py +28 -0
  20. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/monitor.py +28 -0
  21. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/multi_location_alert_condition.py +28 -0
  22. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/script_monitor.py +14 -0
  23. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic.egg-info/PKG-INFO +1 -1
  24. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/setup.py +2 -2
  25. pulumi_newrelic-5.11.0a1684215979/pulumi_newrelic/cloud/aws_integrations.py +0 -583
  26. pulumi_newrelic-5.11.0a1684215979/pulumi_newrelic/notification_channel.py +0 -459
  27. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/README.md +0 -0
  28. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/__init__.py +0 -0
  29. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/_utilities.py +0 -0
  30. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/account_management.py +0 -0
  31. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/alert_muting_rule.py +0 -0
  32. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/api_access_key.py +0 -0
  33. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/browser_application.py +0 -0
  34. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/__init__.py +0 -0
  35. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/aws_govcloud_integrations.py +0 -0
  36. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -0
  37. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/config/__init__.py +0 -0
  38. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/config/vars.py +0 -0
  39. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/data_partition_rule.py +0 -0
  40. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/entity_tags.py +0 -0
  41. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/events_to_metrics_rule.py +0 -0
  42. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_account.py +0 -0
  43. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_alert_channel.py +0 -0
  44. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_alert_policy.py +0 -0
  45. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_application.py +0 -0
  46. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_cloud_account.py +0 -0
  47. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_entity.py +0 -0
  48. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_key_transaction.py +0 -0
  49. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_notification_destination.py +0 -0
  50. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_obfuscation_expression.py +0 -0
  51. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_service_level_alert_helper.py +0 -0
  52. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/get_test_grok_pattern.py +0 -0
  53. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/insights/__init__.py +0 -0
  54. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/insights/_inputs.py +0 -0
  55. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/insights/event.py +0 -0
  56. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/insights/outputs.py +0 -0
  57. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/log_parsing_rule.py +0 -0
  58. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/notification_destination.py +0 -0
  59. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/nrql_alert_condition.py +0 -0
  60. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/nrql_drop_rule.py +0 -0
  61. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/obfuscation_expression.py +0 -0
  62. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/obfuscation_rule.py +0 -0
  63. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/one_dashboard.py +0 -0
  64. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/one_dashboard_json.py +0 -0
  65. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/one_dashboard_raw.py +0 -0
  66. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/plugins/__init__.py +0 -0
  67. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/plugins/_inputs.py +0 -0
  68. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/plugins/outputs.py +0 -0
  69. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/plugins/workload.py +0 -0
  70. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/provider.py +0 -0
  71. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/pulumi-plugin.json +0 -0
  72. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/py.typed +0 -0
  73. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/service_level.py +0 -0
  74. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/__init__.py +0 -0
  75. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/_inputs.py +0 -0
  76. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/broken_links_monitor.py +0 -0
  77. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/cert_check_monitor.py +0 -0
  78. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/get_private_location.py +0 -0
  79. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/get_secure_credential.py +0 -0
  80. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/outputs.py +0 -0
  81. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/private_location.py +0 -0
  82. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/secure_credential.py +0 -0
  83. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/synthetics/step_monitor.py +0 -0
  84. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic/workflow.py +0 -0
  85. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic.egg-info/SOURCES.txt +0 -0
  86. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic.egg-info/dependency_links.txt +0 -0
  87. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic.egg-info/not-zip-safe +0 -0
  88. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic.egg-info/requires.txt +0 -0
  89. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/pulumi_newrelic.egg-info/top_level.txt +0 -0
  90. {pulumi_newrelic-5.11.0a1684215979 → pulumi_newrelic-5.11.0a1684328771}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_newrelic
3
- Version: 5.11.0a1684215979
3
+ Version: 5.11.0a1684328771
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  Home-page: https://pulumi.io
6
6
  License: Apache-2.0
@@ -895,6 +895,8 @@ class NotificationChannelPropertyArgs:
895
895
  :param pulumi.Input[str] key: The notification property key.
896
896
  :param pulumi.Input[str] value: The notification property value.
897
897
  :param pulumi.Input[str] display_value: The notification property display value.
898
+
899
+ Each notification channel type supports a specific set of arguments for the `property` block:
898
900
  :param pulumi.Input[str] label: The notification property label.
899
901
  """
900
902
  pulumi.set(__self__, "key", key)
@@ -933,6 +935,8 @@ class NotificationChannelPropertyArgs:
933
935
  def display_value(self) -> Optional[pulumi.Input[str]]:
934
936
  """
935
937
  The notification property display value.
938
+
939
+ Each notification channel type supports a specific set of arguments for the `property` block:
936
940
  """
937
941
  return pulumi.get(self, "display_value")
938
942
 
@@ -996,7 +1000,6 @@ class NotificationDestinationAuthTokenArgs:
996
1000
  token: pulumi.Input[str],
997
1001
  prefix: Optional[pulumi.Input[str]] = None):
998
1002
  """
999
- :param pulumi.Input[str] token: Specifies the token for integrating.
1000
1003
  :param pulumi.Input[str] prefix: The prefix of the token auth.
1001
1004
  """
1002
1005
  pulumi.set(__self__, "token", token)
@@ -1006,9 +1009,6 @@ class NotificationDestinationAuthTokenArgs:
1006
1009
  @property
1007
1010
  @pulumi.getter
1008
1011
  def token(self) -> pulumi.Input[str]:
1009
- """
1010
- Specifies the token for integrating.
1011
- """
1012
1012
  return pulumi.get(self, "token")
1013
1013
 
1014
1014
  @token.setter
@@ -1039,6 +1039,8 @@ class NotificationDestinationPropertyArgs:
1039
1039
  :param pulumi.Input[str] key: The notification property key.
1040
1040
  :param pulumi.Input[str] value: The notification property value.
1041
1041
  :param pulumi.Input[str] display_value: The notification property display value.
1042
+
1043
+ Each notification destination type supports a specific set of arguments for the `property` block. See Additional Examples below for details:
1042
1044
  :param pulumi.Input[str] label: The notification property label.
1043
1045
  """
1044
1046
  pulumi.set(__self__, "key", key)
@@ -1077,6 +1079,8 @@ class NotificationDestinationPropertyArgs:
1077
1079
  def display_value(self) -> Optional[pulumi.Input[str]]:
1078
1080
  """
1079
1081
  The notification property display value.
1082
+
1083
+ Each notification destination type supports a specific set of arguments for the `property` block. See Additional Examples below for details:
1080
1084
  """
1081
1085
  return pulumi.get(self, "display_value")
1082
1086
 
@@ -167,6 +167,10 @@ class AlertChannel(pulumi.CustomResource):
167
167
  type: Optional[pulumi.Input[str]] = None,
168
168
  __props__=None):
169
169
  """
170
+ Use this resource to create and manage New Relic alert channels.
171
+
172
+ > **WARNING:** The `AlertChannel` resource is deprecated and will be removed in the next major release. For managing channel resources in Workflows, use `NotificationChannel`.
173
+
170
174
  ## Example Usage
171
175
  ### Email
172
176
  ```python
@@ -301,6 +305,10 @@ class AlertChannel(pulumi.CustomResource):
301
305
  args: AlertChannelArgs,
302
306
  opts: Optional[pulumi.ResourceOptions] = None):
303
307
  """
308
+ Use this resource to create and manage New Relic alert channels.
309
+
310
+ > **WARNING:** The `AlertChannel` resource is deprecated and will be removed in the next major release. For managing channel resources in Workflows, use `NotificationChannel`.
311
+
304
312
  ## Example Usage
305
313
  ### Email
306
314
  ```python
@@ -43,6 +43,12 @@ class AlertConditionArgs:
43
43
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
44
44
  :param pulumi.Input[str] user_defined_metric: A custom metric to be evaluated.
45
45
  :param pulumi.Input[str] user_defined_value_function: One of: `average`, `min`, `max`, `total`, `sample_size`, `rate` or `percent`.
46
+
47
+ > **NOTE:** The `user_defined_value_function` can have `rate` or `percent` only when the `type` is `mobile_metric`.
48
+
49
+ ```python
50
+ import pulumi
51
+ ```
46
52
  :param pulumi.Input[int] violation_close_timer: Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`.
47
53
  """
48
54
  pulumi.set(__self__, "entities", entities)
@@ -204,6 +210,12 @@ class AlertConditionArgs:
204
210
  def user_defined_value_function(self) -> Optional[pulumi.Input[str]]:
205
211
  """
206
212
  One of: `average`, `min`, `max`, `total`, `sample_size`, `rate` or `percent`.
213
+
214
+ > **NOTE:** The `user_defined_value_function` can have `rate` or `percent` only when the `type` is `mobile_metric`.
215
+
216
+ ```python
217
+ import pulumi
218
+ ```
207
219
  """
208
220
  return pulumi.get(self, "user_defined_value_function")
209
221
 
@@ -256,6 +268,12 @@ class _AlertConditionState:
256
268
  :param pulumi.Input[str] type: The type of condition. One of: `apm_app_metric`, `apm_jvm_metric`, `apm_kt_metric`, `browser_metric`, `mobile_metric`
257
269
  :param pulumi.Input[str] user_defined_metric: A custom metric to be evaluated.
258
270
  :param pulumi.Input[str] user_defined_value_function: One of: `average`, `min`, `max`, `total`, `sample_size`, `rate` or `percent`.
271
+
272
+ > **NOTE:** The `user_defined_value_function` can have `rate` or `percent` only when the `type` is `mobile_metric`.
273
+
274
+ ```python
275
+ import pulumi
276
+ ```
259
277
  :param pulumi.Input[int] violation_close_timer: Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`.
260
278
  """
261
279
  if condition_scope is not None:
@@ -436,6 +454,12 @@ class _AlertConditionState:
436
454
  def user_defined_value_function(self) -> Optional[pulumi.Input[str]]:
437
455
  """
438
456
  One of: `average`, `min`, `max`, `total`, `sample_size`, `rate` or `percent`.
457
+
458
+ > **NOTE:** The `user_defined_value_function` can have `rate` or `percent` only when the `type` is `mobile_metric`.
459
+
460
+ ```python
461
+ import pulumi
462
+ ```
439
463
  """
440
464
  return pulumi.get(self, "user_defined_value_function")
441
465
 
@@ -578,6 +602,12 @@ class AlertCondition(pulumi.CustomResource):
578
602
  :param pulumi.Input[str] type: The type of condition. One of: `apm_app_metric`, `apm_jvm_metric`, `apm_kt_metric`, `browser_metric`, `mobile_metric`
579
603
  :param pulumi.Input[str] user_defined_metric: A custom metric to be evaluated.
580
604
  :param pulumi.Input[str] user_defined_value_function: One of: `average`, `min`, `max`, `total`, `sample_size`, `rate` or `percent`.
605
+
606
+ > **NOTE:** The `user_defined_value_function` can have `rate` or `percent` only when the `type` is `mobile_metric`.
607
+
608
+ ```python
609
+ import pulumi
610
+ ```
581
611
  :param pulumi.Input[int] violation_close_timer: Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`.
582
612
  """
583
613
  ...
@@ -780,6 +810,12 @@ class AlertCondition(pulumi.CustomResource):
780
810
  :param pulumi.Input[str] type: The type of condition. One of: `apm_app_metric`, `apm_jvm_metric`, `apm_kt_metric`, `browser_metric`, `mobile_metric`
781
811
  :param pulumi.Input[str] user_defined_metric: A custom metric to be evaluated.
782
812
  :param pulumi.Input[str] user_defined_value_function: One of: `average`, `min`, `max`, `total`, `sample_size`, `rate` or `percent`.
813
+
814
+ > **NOTE:** The `user_defined_value_function` can have `rate` or `percent` only when the `type` is `mobile_metric`.
815
+
816
+ ```python
817
+ import pulumi
818
+ ```
783
819
  :param pulumi.Input[int] violation_close_timer: Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`.
784
820
  """
785
821
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -903,6 +939,12 @@ class AlertCondition(pulumi.CustomResource):
903
939
  def user_defined_value_function(self) -> pulumi.Output[Optional[str]]:
904
940
  """
905
941
  One of: `average`, `min`, `max`, `total`, `sample_size`, `rate` or `percent`.
942
+
943
+ > **NOTE:** The `user_defined_value_function` can have `rate` or `percent` only when the `type` is `mobile_metric`.
944
+
945
+ ```python
946
+ import pulumi
947
+ ```
906
948
  """
907
949
  return pulumi.get(self, "user_defined_value_function")
908
950
 
@@ -235,7 +235,7 @@ class AlertPolicy(pulumi.CustomResource):
235
235
  $ pulumi import newrelic:index/alertPolicy:AlertPolicy foo 23423556:4593020
236
236
  ```
237
237
 
238
- Please note that channel IDs (`channel_ids`) _cannot_ be imported due channels being a separate resource. However, to add channels to an imported alert policy, you can import the policy, add the `channel_ids` attribute with the associated channel IDs, then run `terraform apply`. This will result in the original alert policy being destroyed and a new alert policy being created along with the channels being added to the policy.
238
+ Please note that channel IDs (`channel_ids`) _cannot_ be imported due channels being a separate resource. However, to add channels to an imported alert policy, you can import the policy, add the `channel_ids` attribute with the associated channel IDs, then run `pulumi up`. This will result in the original alert policy being destroyed and a new alert policy being created along with the channels being added to the policy.
239
239
 
240
240
  :param str resource_name: The name of the resource.
241
241
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -314,7 +314,7 @@ class AlertPolicy(pulumi.CustomResource):
314
314
  $ pulumi import newrelic:index/alertPolicy:AlertPolicy foo 23423556:4593020
315
315
  ```
316
316
 
317
- Please note that channel IDs (`channel_ids`) _cannot_ be imported due channels being a separate resource. However, to add channels to an imported alert policy, you can import the policy, add the `channel_ids` attribute with the associated channel IDs, then run `terraform apply`. This will result in the original alert policy being destroyed and a new alert policy being created along with the channels being added to the policy.
317
+ Please note that channel IDs (`channel_ids`) _cannot_ be imported due channels being a separate resource. However, to add channels to an imported alert policy, you can import the policy, add the `channel_ids` attribute with the associated channel IDs, then run `pulumi up`. This will result in the original alert policy being destroyed and a new alert policy being created along with the channels being added to the policy.
318
318
 
319
319
  :param str resource_name: The name of the resource.
320
320
  :param AlertPolicyArgs args: The arguments to use to populate this resource's properties.
@@ -131,6 +131,10 @@ class AlertPolicyChannel(pulumi.CustomResource):
131
131
  policy_id: Optional[pulumi.Input[int]] = None,
132
132
  __props__=None):
133
133
  """
134
+ Use this resource to map alert policies to alert channels in New Relic.
135
+
136
+ > **WARNING:** The `AlertPolicyChannel` resource is deprecated and will be removed in the next major release. For managing channel resources in Workflows, use `NotificationChannel`.
137
+
134
138
  ## Example Usage
135
139
 
136
140
  The example below will apply multiple alert channels to an existing New Relic alert policy.
@@ -187,6 +191,10 @@ class AlertPolicyChannel(pulumi.CustomResource):
187
191
  args: AlertPolicyChannelArgs,
188
192
  opts: Optional[pulumi.ResourceOptions] = None):
189
193
  """
194
+ Use this resource to map alert policies to alert channels in New Relic.
195
+
196
+ > **WARNING:** The `AlertPolicyChannel` resource is deprecated and will be removed in the next major release. For managing channel resources in Workflows, use `NotificationChannel`.
197
+
190
198
  ## Example Usage
191
199
 
192
200
  The example below will apply multiple alert channels to an existing New Relic alert policy.