pulumi-newrelic 5.24.0a1715356536__py3-none-any.whl → 5.25.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 (69) hide show
  1. pulumi_newrelic/_inputs.py +499 -93
  2. pulumi_newrelic/account_management.py +14 -14
  3. pulumi_newrelic/alert_channel.py +38 -38
  4. pulumi_newrelic/alert_condition.py +153 -112
  5. pulumi_newrelic/alert_muting_rule.py +31 -31
  6. pulumi_newrelic/alert_policy.py +47 -41
  7. pulumi_newrelic/alert_policy_channel.py +42 -42
  8. pulumi_newrelic/api_access_key.py +28 -28
  9. pulumi_newrelic/browser_application.py +14 -14
  10. pulumi_newrelic/cloud/aws_govcloud_integrations.py +28 -28
  11. pulumi_newrelic/cloud/aws_govcloud_link_account.py +14 -14
  12. pulumi_newrelic/cloud/aws_integrations.py +28 -28
  13. pulumi_newrelic/cloud/aws_link_account.py +14 -14
  14. pulumi_newrelic/cloud/azure_integrations.py +28 -28
  15. pulumi_newrelic/cloud/azure_link_account.py +14 -14
  16. pulumi_newrelic/cloud/gcp_integrations.py +28 -28
  17. pulumi_newrelic/cloud/gcp_link_account.py +14 -14
  18. pulumi_newrelic/config/__init__.pyi +1 -1
  19. pulumi_newrelic/config/vars.py +2 -2
  20. pulumi_newrelic/data_partition_rule.py +14 -14
  21. pulumi_newrelic/entity_tags.py +7 -7
  22. pulumi_newrelic/events_to_metrics_rule.py +16 -16
  23. pulumi_newrelic/get_account.py +7 -7
  24. pulumi_newrelic/get_alert_channel.py +8 -8
  25. pulumi_newrelic/get_alert_policy.py +16 -7
  26. pulumi_newrelic/get_application.py +2 -2
  27. pulumi_newrelic/get_cloud_account.py +9 -9
  28. pulumi_newrelic/get_entity.py +15 -15
  29. pulumi_newrelic/get_notification_destination.py +7 -7
  30. pulumi_newrelic/get_obfuscation_expression.py +9 -9
  31. pulumi_newrelic/get_service_level_alert_helper.py +28 -10
  32. pulumi_newrelic/get_test_grok_pattern.py +7 -7
  33. pulumi_newrelic/infra_alert_condition.py +119 -140
  34. pulumi_newrelic/insights/event.py +13 -0
  35. pulumi_newrelic/log_parsing_rule.py +14 -14
  36. pulumi_newrelic/monitor_downtime.py +14 -14
  37. pulumi_newrelic/notification_channel.py +36 -36
  38. pulumi_newrelic/notification_destination.py +28 -24
  39. pulumi_newrelic/nrql_alert_condition.py +32 -32
  40. pulumi_newrelic/nrql_drop_rule.py +44 -44
  41. pulumi_newrelic/obfuscation_expression.py +16 -16
  42. pulumi_newrelic/obfuscation_rule.py +14 -14
  43. pulumi_newrelic/one_dashboard.py +58 -52
  44. pulumi_newrelic/one_dashboard_json.py +14 -14
  45. pulumi_newrelic/one_dashboard_raw.py +14 -14
  46. pulumi_newrelic/outputs.py +482 -77
  47. pulumi_newrelic/plugins/_inputs.py +8 -8
  48. pulumi_newrelic/plugins/outputs.py +8 -8
  49. pulumi_newrelic/plugins/workload.py +83 -83
  50. pulumi_newrelic/provider.py +14 -9
  51. pulumi_newrelic/pulumi-plugin.json +2 -1
  52. pulumi_newrelic/service_level.py +85 -6
  53. pulumi_newrelic/synthetics/alert_condition.py +56 -28
  54. pulumi_newrelic/synthetics/broken_links_monitor.py +32 -14
  55. pulumi_newrelic/synthetics/cert_check_monitor.py +32 -14
  56. pulumi_newrelic/synthetics/get_private_location.py +11 -11
  57. pulumi_newrelic/synthetics/get_secure_credential.py +13 -5
  58. pulumi_newrelic/synthetics/monitor.py +18 -14
  59. pulumi_newrelic/synthetics/multi_location_alert_condition.py +77 -63
  60. pulumi_newrelic/synthetics/private_location.py +14 -14
  61. pulumi_newrelic/synthetics/script_monitor.py +18 -14
  62. pulumi_newrelic/synthetics/secure_credential.py +24 -31
  63. pulumi_newrelic/synthetics/step_monitor.py +32 -14
  64. pulumi_newrelic/workflow.py +14 -14
  65. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.25.0.dist-info}/METADATA +1 -1
  66. pulumi_newrelic-5.25.0.dist-info/RECORD +89 -0
  67. pulumi_newrelic-5.24.0a1715356536.dist-info/RECORD +0 -89
  68. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.25.0.dist-info}/WHEEL +0 -0
  69. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.25.0.dist-info}/top_level.txt +0 -0
@@ -18,7 +18,7 @@ class MonitorArgs:
18
18
  def __init__(__self__, *,
19
19
  status: pulumi.Input[str],
20
20
  type: pulumi.Input[str],
21
- account_id: Optional[pulumi.Input[int]] = None,
21
+ account_id: Optional[pulumi.Input[str]] = None,
22
22
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
23
23
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]]] = None,
24
24
  device_orientation: Optional[pulumi.Input[str]] = None,
@@ -40,7 +40,7 @@ class MonitorArgs:
40
40
  The set of arguments for constructing a Monitor resource.
41
41
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
42
42
  :param pulumi.Input[str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
43
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
43
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
44
44
  :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
45
45
 
46
46
  The `BROWSER` monitor type supports the following additional arguments:
@@ -128,14 +128,14 @@ class MonitorArgs:
128
128
 
129
129
  @property
130
130
  @pulumi.getter(name="accountId")
131
- def account_id(self) -> Optional[pulumi.Input[int]]:
131
+ def account_id(self) -> Optional[pulumi.Input[str]]:
132
132
  """
133
133
  The account in which the Synthetics monitor will be created.
134
134
  """
135
135
  return pulumi.get(self, "account_id")
136
136
 
137
137
  @account_id.setter
138
- def account_id(self, value: Optional[pulumi.Input[int]]):
138
+ def account_id(self, value: Optional[pulumi.Input[str]]):
139
139
  pulumi.set(self, "account_id", value)
140
140
 
141
141
  @property
@@ -350,7 +350,7 @@ class MonitorArgs:
350
350
  @pulumi.input_type
351
351
  class _MonitorState:
352
352
  def __init__(__self__, *,
353
- account_id: Optional[pulumi.Input[int]] = None,
353
+ account_id: Optional[pulumi.Input[str]] = None,
354
354
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
355
355
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]]] = None,
356
356
  device_orientation: Optional[pulumi.Input[str]] = None,
@@ -373,7 +373,7 @@ class _MonitorState:
373
373
  verify_ssl: Optional[pulumi.Input[bool]] = None):
374
374
  """
375
375
  Input properties used for looking up and filtering Monitor resources.
376
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
376
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
377
377
  :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
378
378
 
379
379
  The `BROWSER` monitor type supports the following additional arguments:
@@ -444,14 +444,14 @@ class _MonitorState:
444
444
 
445
445
  @property
446
446
  @pulumi.getter(name="accountId")
447
- def account_id(self) -> Optional[pulumi.Input[int]]:
447
+ def account_id(self) -> Optional[pulumi.Input[str]]:
448
448
  """
449
449
  The account in which the Synthetics monitor will be created.
450
450
  """
451
451
  return pulumi.get(self, "account_id")
452
452
 
453
453
  @account_id.setter
454
- def account_id(self, value: Optional[pulumi.Input[int]]):
454
+ def account_id(self, value: Optional[pulumi.Input[str]]):
455
455
  pulumi.set(self, "account_id", value)
456
456
 
457
457
  @property
@@ -704,7 +704,7 @@ class Monitor(pulumi.CustomResource):
704
704
  def __init__(__self__,
705
705
  resource_name: str,
706
706
  opts: Optional[pulumi.ResourceOptions] = None,
707
- account_id: Optional[pulumi.Input[int]] = None,
707
+ account_id: Optional[pulumi.Input[str]] = None,
708
708
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
709
709
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitorCustomHeaderArgs']]]]] = None,
710
710
  device_orientation: Optional[pulumi.Input[str]] = None,
@@ -726,6 +726,8 @@ class Monitor(pulumi.CustomResource):
726
726
  verify_ssl: Optional[pulumi.Input[bool]] = None,
727
727
  __props__=None):
728
728
  """
729
+ > **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
730
+
729
731
  Use this resource to create, update, and delete a Simple or Browser Synthetics Monitor in New Relic.
730
732
 
731
733
  ## Example Usage
@@ -864,7 +866,7 @@ class Monitor(pulumi.CustomResource):
864
866
 
865
867
  :param str resource_name: The name of the resource.
866
868
  :param pulumi.ResourceOptions opts: Options for the resource.
867
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
869
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
868
870
  :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
869
871
 
870
872
  The `BROWSER` monitor type supports the following additional arguments:
@@ -896,6 +898,8 @@ class Monitor(pulumi.CustomResource):
896
898
  args: MonitorArgs,
897
899
  opts: Optional[pulumi.ResourceOptions] = None):
898
900
  """
901
+ > **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
902
+
899
903
  Use this resource to create, update, and delete a Simple or Browser Synthetics Monitor in New Relic.
900
904
 
901
905
  ## Example Usage
@@ -1047,7 +1051,7 @@ class Monitor(pulumi.CustomResource):
1047
1051
  def _internal_init(__self__,
1048
1052
  resource_name: str,
1049
1053
  opts: Optional[pulumi.ResourceOptions] = None,
1050
- account_id: Optional[pulumi.Input[int]] = None,
1054
+ account_id: Optional[pulumi.Input[str]] = None,
1051
1055
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
1052
1056
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitorCustomHeaderArgs']]]]] = None,
1053
1057
  device_orientation: Optional[pulumi.Input[str]] = None,
@@ -1111,7 +1115,7 @@ class Monitor(pulumi.CustomResource):
1111
1115
  def get(resource_name: str,
1112
1116
  id: pulumi.Input[str],
1113
1117
  opts: Optional[pulumi.ResourceOptions] = None,
1114
- account_id: Optional[pulumi.Input[int]] = None,
1118
+ account_id: Optional[pulumi.Input[str]] = None,
1115
1119
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
1116
1120
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitorCustomHeaderArgs']]]]] = None,
1117
1121
  device_orientation: Optional[pulumi.Input[str]] = None,
@@ -1139,7 +1143,7 @@ class Monitor(pulumi.CustomResource):
1139
1143
  :param str resource_name: The unique name of the resulting resource.
1140
1144
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1141
1145
  :param pulumi.ResourceOptions opts: Options for the resource.
1142
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
1146
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
1143
1147
  :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
1144
1148
 
1145
1149
  The `BROWSER` monitor type supports the following additional arguments:
@@ -1194,7 +1198,7 @@ class Monitor(pulumi.CustomResource):
1194
1198
 
1195
1199
  @property
1196
1200
  @pulumi.getter(name="accountId")
1197
- def account_id(self) -> pulumi.Output[int]:
1201
+ def account_id(self) -> pulumi.Output[str]:
1198
1202
  """
1199
1203
  The account in which the Synthetics monitor will be created.
1200
1204
  """
@@ -18,7 +18,7 @@ class MultiLocationAlertConditionArgs:
18
18
  def __init__(__self__, *,
19
19
  critical: pulumi.Input['MultiLocationAlertConditionCriticalArgs'],
20
20
  entities: pulumi.Input[Sequence[pulumi.Input[str]]],
21
- policy_id: pulumi.Input[int],
21
+ policy_id: pulumi.Input[str],
22
22
  enabled: Optional[pulumi.Input[bool]] = None,
23
23
  name: Optional[pulumi.Input[str]] = None,
24
24
  runbook_url: Optional[pulumi.Input[str]] = None,
@@ -26,15 +26,17 @@ class MultiLocationAlertConditionArgs:
26
26
  warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
27
27
  """
28
28
  The set of arguments for constructing a MultiLocationAlertCondition resource.
29
- :param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with priority set to critical.
30
- :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
31
- :param pulumi.Input[int] policy_id: The ID of the policy where this condition will be used.
32
- :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
33
- :param pulumi.Input[str] name: The title of this condition.
29
+ :param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with the priority set to critical.
30
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
31
+ :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
32
+ :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
33
+ :param pulumi.Input[str] name: The title of the condition.
34
34
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
35
- :param pulumi.Input[int] violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
36
- select. Must be in the range of 300 to 2592000 (inclusive)
37
- :param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with priority set to warning.
35
+ :param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
36
+ :param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with the priority set to warning.
37
+
38
+
39
+ > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
38
40
  """
39
41
  pulumi.set(__self__, "critical", critical)
40
42
  pulumi.set(__self__, "entities", entities)
@@ -54,7 +56,7 @@ class MultiLocationAlertConditionArgs:
54
56
  @pulumi.getter
55
57
  def critical(self) -> pulumi.Input['MultiLocationAlertConditionCriticalArgs']:
56
58
  """
57
- A condition term with priority set to critical.
59
+ A condition term with the priority set to critical.
58
60
  """
59
61
  return pulumi.get(self, "critical")
60
62
 
@@ -66,7 +68,7 @@ class MultiLocationAlertConditionArgs:
66
68
  @pulumi.getter
67
69
  def entities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
68
70
  """
69
- The GUIDs of the Synthetics monitors to alert on.
71
+ The Monitor GUID's of the Synthetics monitors to alert on.
70
72
  """
71
73
  return pulumi.get(self, "entities")
72
74
 
@@ -76,21 +78,21 @@ class MultiLocationAlertConditionArgs:
76
78
 
77
79
  @property
78
80
  @pulumi.getter(name="policyId")
79
- def policy_id(self) -> pulumi.Input[int]:
81
+ def policy_id(self) -> pulumi.Input[str]:
80
82
  """
81
83
  The ID of the policy where this condition will be used.
82
84
  """
83
85
  return pulumi.get(self, "policy_id")
84
86
 
85
87
  @policy_id.setter
86
- def policy_id(self, value: pulumi.Input[int]):
88
+ def policy_id(self, value: pulumi.Input[str]):
87
89
  pulumi.set(self, "policy_id", value)
88
90
 
89
91
  @property
90
92
  @pulumi.getter
91
93
  def enabled(self) -> Optional[pulumi.Input[bool]]:
92
94
  """
93
- Set whether to enable the alert condition. Defaults to true.
95
+ Set whether to enable the alert condition. Defaults to true.
94
96
  """
95
97
  return pulumi.get(self, "enabled")
96
98
 
@@ -102,7 +104,7 @@ class MultiLocationAlertConditionArgs:
102
104
  @pulumi.getter
103
105
  def name(self) -> Optional[pulumi.Input[str]]:
104
106
  """
105
- The title of this condition.
107
+ The title of the condition.
106
108
  """
107
109
  return pulumi.get(self, "name")
108
110
 
@@ -126,8 +128,7 @@ class MultiLocationAlertConditionArgs:
126
128
  @pulumi.getter(name="violationTimeLimitSeconds")
127
129
  def violation_time_limit_seconds(self) -> Optional[pulumi.Input[int]]:
128
130
  """
129
- Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
130
- select. Must be in the range of 300 to 2592000 (inclusive)
131
+ The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
131
132
  """
132
133
  return pulumi.get(self, "violation_time_limit_seconds")
133
134
 
@@ -139,7 +140,10 @@ class MultiLocationAlertConditionArgs:
139
140
  @pulumi.getter
140
141
  def warning(self) -> Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']]:
141
142
  """
142
- A condition term with priority set to warning.
143
+ A condition term with the priority set to warning.
144
+
145
+
146
+ > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
143
147
  """
144
148
  return pulumi.get(self, "warning")
145
149
 
@@ -156,22 +160,24 @@ class _MultiLocationAlertConditionState:
156
160
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
157
161
  entity_guid: Optional[pulumi.Input[str]] = None,
158
162
  name: Optional[pulumi.Input[str]] = None,
159
- policy_id: Optional[pulumi.Input[int]] = None,
163
+ policy_id: Optional[pulumi.Input[str]] = None,
160
164
  runbook_url: Optional[pulumi.Input[str]] = None,
161
165
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
162
166
  warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
163
167
  """
164
168
  Input properties used for looking up and filtering MultiLocationAlertCondition resources.
165
- :param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with priority set to critical.
166
- :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
167
- :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
169
+ :param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with the priority set to critical.
170
+ :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
171
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
168
172
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
169
- :param pulumi.Input[str] name: The title of this condition.
170
- :param pulumi.Input[int] policy_id: The ID of the policy where this condition will be used.
173
+ :param pulumi.Input[str] name: The title of the condition.
174
+ :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
171
175
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
172
- :param pulumi.Input[int] violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
173
- select. Must be in the range of 300 to 2592000 (inclusive)
174
- :param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with priority set to warning.
176
+ :param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
177
+ :param pulumi.Input['MultiLocationAlertConditionWarningArgs'] warning: A condition term with the priority set to warning.
178
+
179
+
180
+ > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
175
181
  """
176
182
  if critical is not None:
177
183
  pulumi.set(__self__, "critical", critical)
@@ -196,7 +202,7 @@ class _MultiLocationAlertConditionState:
196
202
  @pulumi.getter
197
203
  def critical(self) -> Optional[pulumi.Input['MultiLocationAlertConditionCriticalArgs']]:
198
204
  """
199
- A condition term with priority set to critical.
205
+ A condition term with the priority set to critical.
200
206
  """
201
207
  return pulumi.get(self, "critical")
202
208
 
@@ -208,7 +214,7 @@ class _MultiLocationAlertConditionState:
208
214
  @pulumi.getter
209
215
  def enabled(self) -> Optional[pulumi.Input[bool]]:
210
216
  """
211
- Set whether to enable the alert condition. Defaults to true.
217
+ Set whether to enable the alert condition. Defaults to true.
212
218
  """
213
219
  return pulumi.get(self, "enabled")
214
220
 
@@ -220,7 +226,7 @@ class _MultiLocationAlertConditionState:
220
226
  @pulumi.getter
221
227
  def entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
222
228
  """
223
- The GUIDs of the Synthetics monitors to alert on.
229
+ The Monitor GUID's of the Synthetics monitors to alert on.
224
230
  """
225
231
  return pulumi.get(self, "entities")
226
232
 
@@ -244,7 +250,7 @@ class _MultiLocationAlertConditionState:
244
250
  @pulumi.getter
245
251
  def name(self) -> Optional[pulumi.Input[str]]:
246
252
  """
247
- The title of this condition.
253
+ The title of the condition.
248
254
  """
249
255
  return pulumi.get(self, "name")
250
256
 
@@ -254,14 +260,14 @@ class _MultiLocationAlertConditionState:
254
260
 
255
261
  @property
256
262
  @pulumi.getter(name="policyId")
257
- def policy_id(self) -> Optional[pulumi.Input[int]]:
263
+ def policy_id(self) -> Optional[pulumi.Input[str]]:
258
264
  """
259
265
  The ID of the policy where this condition will be used.
260
266
  """
261
267
  return pulumi.get(self, "policy_id")
262
268
 
263
269
  @policy_id.setter
264
- def policy_id(self, value: Optional[pulumi.Input[int]]):
270
+ def policy_id(self, value: Optional[pulumi.Input[str]]):
265
271
  pulumi.set(self, "policy_id", value)
266
272
 
267
273
  @property
@@ -280,8 +286,7 @@ class _MultiLocationAlertConditionState:
280
286
  @pulumi.getter(name="violationTimeLimitSeconds")
281
287
  def violation_time_limit_seconds(self) -> Optional[pulumi.Input[int]]:
282
288
  """
283
- Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
284
- select. Must be in the range of 300 to 2592000 (inclusive)
289
+ The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
285
290
  """
286
291
  return pulumi.get(self, "violation_time_limit_seconds")
287
292
 
@@ -293,7 +298,10 @@ class _MultiLocationAlertConditionState:
293
298
  @pulumi.getter
294
299
  def warning(self) -> Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']]:
295
300
  """
296
- A condition term with priority set to warning.
301
+ A condition term with the priority set to warning.
302
+
303
+
304
+ > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
297
305
  """
298
306
  return pulumi.get(self, "warning")
299
307
 
@@ -311,7 +319,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
311
319
  enabled: Optional[pulumi.Input[bool]] = None,
312
320
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
313
321
  name: Optional[pulumi.Input[str]] = None,
314
- policy_id: Optional[pulumi.Input[int]] = None,
322
+ policy_id: Optional[pulumi.Input[str]] = None,
315
323
  runbook_url: Optional[pulumi.Input[str]] = None,
316
324
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
317
325
  warning: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']]] = None,
@@ -421,15 +429,17 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
421
429
 
422
430
  :param str resource_name: The name of the resource.
423
431
  :param pulumi.ResourceOptions opts: Options for the resource.
424
- :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with priority set to critical.
425
- :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
426
- :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
427
- :param pulumi.Input[str] name: The title of this condition.
428
- :param pulumi.Input[int] policy_id: The ID of the policy where this condition will be used.
432
+ :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with the priority set to critical.
433
+ :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
434
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
435
+ :param pulumi.Input[str] name: The title of the condition.
436
+ :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
429
437
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
430
- :param pulumi.Input[int] violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
431
- select. Must be in the range of 300 to 2592000 (inclusive)
432
- :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with priority set to warning.
438
+ :param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
439
+ :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with the priority set to warning.
440
+
441
+
442
+ > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
433
443
  """
434
444
  ...
435
445
  @overload
@@ -559,7 +569,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
559
569
  enabled: Optional[pulumi.Input[bool]] = None,
560
570
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
561
571
  name: Optional[pulumi.Input[str]] = None,
562
- policy_id: Optional[pulumi.Input[int]] = None,
572
+ policy_id: Optional[pulumi.Input[str]] = None,
563
573
  runbook_url: Optional[pulumi.Input[str]] = None,
564
574
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
565
575
  warning: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']]] = None,
@@ -602,7 +612,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
602
612
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
603
613
  entity_guid: Optional[pulumi.Input[str]] = None,
604
614
  name: Optional[pulumi.Input[str]] = None,
605
- policy_id: Optional[pulumi.Input[int]] = None,
615
+ policy_id: Optional[pulumi.Input[str]] = None,
606
616
  runbook_url: Optional[pulumi.Input[str]] = None,
607
617
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
608
618
  warning: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']]] = None) -> 'MultiLocationAlertCondition':
@@ -613,16 +623,18 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
613
623
  :param str resource_name: The unique name of the resulting resource.
614
624
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
615
625
  :param pulumi.ResourceOptions opts: Options for the resource.
616
- :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with priority set to critical.
617
- :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
618
- :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
626
+ :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with the priority set to critical.
627
+ :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
628
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
619
629
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
620
- :param pulumi.Input[str] name: The title of this condition.
621
- :param pulumi.Input[int] policy_id: The ID of the policy where this condition will be used.
630
+ :param pulumi.Input[str] name: The title of the condition.
631
+ :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
622
632
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
623
- :param pulumi.Input[int] violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
624
- select. Must be in the range of 300 to 2592000 (inclusive)
625
- :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with priority set to warning.
633
+ :param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
634
+ :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with the priority set to warning.
635
+
636
+
637
+ > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
626
638
  """
627
639
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
628
640
 
@@ -643,7 +655,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
643
655
  @pulumi.getter
644
656
  def critical(self) -> pulumi.Output['outputs.MultiLocationAlertConditionCritical']:
645
657
  """
646
- A condition term with priority set to critical.
658
+ A condition term with the priority set to critical.
647
659
  """
648
660
  return pulumi.get(self, "critical")
649
661
 
@@ -651,7 +663,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
651
663
  @pulumi.getter
652
664
  def enabled(self) -> pulumi.Output[Optional[bool]]:
653
665
  """
654
- Set whether to enable the alert condition. Defaults to true.
666
+ Set whether to enable the alert condition. Defaults to true.
655
667
  """
656
668
  return pulumi.get(self, "enabled")
657
669
 
@@ -659,7 +671,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
659
671
  @pulumi.getter
660
672
  def entities(self) -> pulumi.Output[Sequence[str]]:
661
673
  """
662
- The GUIDs of the Synthetics monitors to alert on.
674
+ The Monitor GUID's of the Synthetics monitors to alert on.
663
675
  """
664
676
  return pulumi.get(self, "entities")
665
677
 
@@ -675,13 +687,13 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
675
687
  @pulumi.getter
676
688
  def name(self) -> pulumi.Output[str]:
677
689
  """
678
- The title of this condition.
690
+ The title of the condition.
679
691
  """
680
692
  return pulumi.get(self, "name")
681
693
 
682
694
  @property
683
695
  @pulumi.getter(name="policyId")
684
- def policy_id(self) -> pulumi.Output[int]:
696
+ def policy_id(self) -> pulumi.Output[str]:
685
697
  """
686
698
  The ID of the policy where this condition will be used.
687
699
  """
@@ -699,8 +711,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
699
711
  @pulumi.getter(name="violationTimeLimitSeconds")
700
712
  def violation_time_limit_seconds(self) -> pulumi.Output[Optional[int]]:
701
713
  """
702
- Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you
703
- select. Must be in the range of 300 to 2592000 (inclusive)
714
+ The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
704
715
  """
705
716
  return pulumi.get(self, "violation_time_limit_seconds")
706
717
 
@@ -708,7 +719,10 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
708
719
  @pulumi.getter
709
720
  def warning(self) -> pulumi.Output[Optional['outputs.MultiLocationAlertConditionWarning']]:
710
721
  """
711
- A condition term with priority set to warning.
722
+ A condition term with the priority set to warning.
723
+
724
+
725
+ > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
712
726
  """
713
727
  return pulumi.get(self, "warning")
714
728
 
@@ -15,13 +15,13 @@ __all__ = ['PrivateLocationArgs', 'PrivateLocation']
15
15
  class PrivateLocationArgs:
16
16
  def __init__(__self__, *,
17
17
  description: pulumi.Input[str],
18
- account_id: Optional[pulumi.Input[int]] = None,
18
+ account_id: Optional[pulumi.Input[str]] = None,
19
19
  name: Optional[pulumi.Input[str]] = None,
20
20
  verified_script_execution: Optional[pulumi.Input[bool]] = None):
21
21
  """
22
22
  The set of arguments for constructing a PrivateLocation resource.
23
23
  :param pulumi.Input[str] description: The private location description.
24
- :param pulumi.Input[int] account_id: The account in which the private location will be created.
24
+ :param pulumi.Input[str] account_id: The account in which the private location will be created.
25
25
  :param pulumi.Input[str] name: The name of the private location.
26
26
  :param pulumi.Input[bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
27
27
  """
@@ -47,14 +47,14 @@ class PrivateLocationArgs:
47
47
 
48
48
  @property
49
49
  @pulumi.getter(name="accountId")
50
- def account_id(self) -> Optional[pulumi.Input[int]]:
50
+ def account_id(self) -> Optional[pulumi.Input[str]]:
51
51
  """
52
52
  The account in which the private location will be created.
53
53
  """
54
54
  return pulumi.get(self, "account_id")
55
55
 
56
56
  @account_id.setter
57
- def account_id(self, value: Optional[pulumi.Input[int]]):
57
+ def account_id(self, value: Optional[pulumi.Input[str]]):
58
58
  pulumi.set(self, "account_id", value)
59
59
 
60
60
  @property
@@ -85,7 +85,7 @@ class PrivateLocationArgs:
85
85
  @pulumi.input_type
86
86
  class _PrivateLocationState:
87
87
  def __init__(__self__, *,
88
- account_id: Optional[pulumi.Input[int]] = None,
88
+ account_id: Optional[pulumi.Input[str]] = None,
89
89
  description: Optional[pulumi.Input[str]] = None,
90
90
  domain_id: Optional[pulumi.Input[str]] = None,
91
91
  guid: Optional[pulumi.Input[str]] = None,
@@ -95,7 +95,7 @@ class _PrivateLocationState:
95
95
  verified_script_execution: Optional[pulumi.Input[bool]] = None):
96
96
  """
97
97
  Input properties used for looking up and filtering PrivateLocation resources.
98
- :param pulumi.Input[int] account_id: The account in which the private location will be created.
98
+ :param pulumi.Input[str] account_id: The account in which the private location will be created.
99
99
  :param pulumi.Input[str] description: The private location description.
100
100
  :param pulumi.Input[str] domain_id: The private location globally unique identifier.
101
101
  :param pulumi.Input[str] guid: The unique client identifier for the private location in New Relic. Same as `id`.
@@ -123,14 +123,14 @@ class _PrivateLocationState:
123
123
 
124
124
  @property
125
125
  @pulumi.getter(name="accountId")
126
- def account_id(self) -> Optional[pulumi.Input[int]]:
126
+ def account_id(self) -> Optional[pulumi.Input[str]]:
127
127
  """
128
128
  The account in which the private location will be created.
129
129
  """
130
130
  return pulumi.get(self, "account_id")
131
131
 
132
132
  @account_id.setter
133
- def account_id(self, value: Optional[pulumi.Input[int]]):
133
+ def account_id(self, value: Optional[pulumi.Input[str]]):
134
134
  pulumi.set(self, "account_id", value)
135
135
 
136
136
  @property
@@ -223,7 +223,7 @@ class PrivateLocation(pulumi.CustomResource):
223
223
  def __init__(__self__,
224
224
  resource_name: str,
225
225
  opts: Optional[pulumi.ResourceOptions] = None,
226
- account_id: Optional[pulumi.Input[int]] = None,
226
+ account_id: Optional[pulumi.Input[str]] = None,
227
227
  description: Optional[pulumi.Input[str]] = None,
228
228
  name: Optional[pulumi.Input[str]] = None,
229
229
  verified_script_execution: Optional[pulumi.Input[bool]] = None,
@@ -252,7 +252,7 @@ class PrivateLocation(pulumi.CustomResource):
252
252
 
253
253
  :param str resource_name: The name of the resource.
254
254
  :param pulumi.ResourceOptions opts: Options for the resource.
255
- :param pulumi.Input[int] account_id: The account in which the private location will be created.
255
+ :param pulumi.Input[str] account_id: The account in which the private location will be created.
256
256
  :param pulumi.Input[str] description: The private location description.
257
257
  :param pulumi.Input[str] name: The name of the private location.
258
258
  :param pulumi.Input[bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
@@ -300,7 +300,7 @@ class PrivateLocation(pulumi.CustomResource):
300
300
  def _internal_init(__self__,
301
301
  resource_name: str,
302
302
  opts: Optional[pulumi.ResourceOptions] = None,
303
- account_id: Optional[pulumi.Input[int]] = None,
303
+ account_id: Optional[pulumi.Input[str]] = None,
304
304
  description: Optional[pulumi.Input[str]] = None,
305
305
  name: Optional[pulumi.Input[str]] = None,
306
306
  verified_script_execution: Optional[pulumi.Input[bool]] = None,
@@ -333,7 +333,7 @@ class PrivateLocation(pulumi.CustomResource):
333
333
  def get(resource_name: str,
334
334
  id: pulumi.Input[str],
335
335
  opts: Optional[pulumi.ResourceOptions] = None,
336
- account_id: Optional[pulumi.Input[int]] = None,
336
+ account_id: Optional[pulumi.Input[str]] = None,
337
337
  description: Optional[pulumi.Input[str]] = None,
338
338
  domain_id: Optional[pulumi.Input[str]] = None,
339
339
  guid: Optional[pulumi.Input[str]] = None,
@@ -348,7 +348,7 @@ class PrivateLocation(pulumi.CustomResource):
348
348
  :param str resource_name: The unique name of the resulting resource.
349
349
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
350
350
  :param pulumi.ResourceOptions opts: Options for the resource.
351
- :param pulumi.Input[int] account_id: The account in which the private location will be created.
351
+ :param pulumi.Input[str] account_id: The account in which the private location will be created.
352
352
  :param pulumi.Input[str] description: The private location description.
353
353
  :param pulumi.Input[str] domain_id: The private location globally unique identifier.
354
354
  :param pulumi.Input[str] guid: The unique client identifier for the private location in New Relic. Same as `id`.
@@ -373,7 +373,7 @@ class PrivateLocation(pulumi.CustomResource):
373
373
 
374
374
  @property
375
375
  @pulumi.getter(name="accountId")
376
- def account_id(self) -> pulumi.Output[int]:
376
+ def account_id(self) -> pulumi.Output[str]:
377
377
  """
378
378
  The account in which the private location will be created.
379
379
  """