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
@@ -19,7 +19,7 @@ class ScriptMonitorArgs:
19
19
  period: pulumi.Input[str],
20
20
  status: pulumi.Input[str],
21
21
  type: pulumi.Input[str],
22
- account_id: Optional[pulumi.Input[int]] = None,
22
+ account_id: Optional[pulumi.Input[str]] = None,
23
23
  device_orientation: Optional[pulumi.Input[str]] = None,
24
24
  device_type: Optional[pulumi.Input[str]] = None,
25
25
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
@@ -36,7 +36,7 @@ class ScriptMonitorArgs:
36
36
  :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
37
37
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
38
38
  :param pulumi.Input[str] type: The plaintext representing the monitor script. Valid values are SCRIPT_BROWSER or SCRIPT_API
39
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
39
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
40
40
  :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
41
41
  :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
42
42
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
@@ -117,14 +117,14 @@ class ScriptMonitorArgs:
117
117
 
118
118
  @property
119
119
  @pulumi.getter(name="accountId")
120
- def account_id(self) -> Optional[pulumi.Input[int]]:
120
+ def account_id(self) -> Optional[pulumi.Input[str]]:
121
121
  """
122
122
  The account in which the Synthetics monitor will be created.
123
123
  """
124
124
  return pulumi.get(self, "account_id")
125
125
 
126
126
  @account_id.setter
127
- def account_id(self, value: Optional[pulumi.Input[int]]):
127
+ def account_id(self, value: Optional[pulumi.Input[str]]):
128
128
  pulumi.set(self, "account_id", value)
129
129
 
130
130
  @property
@@ -265,7 +265,7 @@ class ScriptMonitorArgs:
265
265
  @pulumi.input_type
266
266
  class _ScriptMonitorState:
267
267
  def __init__(__self__, *,
268
- account_id: Optional[pulumi.Input[int]] = None,
268
+ account_id: Optional[pulumi.Input[str]] = None,
269
269
  device_orientation: Optional[pulumi.Input[str]] = None,
270
270
  device_type: Optional[pulumi.Input[str]] = None,
271
271
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
@@ -284,7 +284,7 @@ class _ScriptMonitorState:
284
284
  type: Optional[pulumi.Input[str]] = None):
285
285
  """
286
286
  Input properties used for looking up and filtering ScriptMonitor resources.
287
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
287
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
288
288
  :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
289
289
  :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
290
290
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
@@ -341,14 +341,14 @@ class _ScriptMonitorState:
341
341
 
342
342
  @property
343
343
  @pulumi.getter(name="accountId")
344
- def account_id(self) -> Optional[pulumi.Input[int]]:
344
+ def account_id(self) -> Optional[pulumi.Input[str]]:
345
345
  """
346
346
  The account in which the Synthetics monitor will be created.
347
347
  """
348
348
  return pulumi.get(self, "account_id")
349
349
 
350
350
  @account_id.setter
351
- def account_id(self, value: Optional[pulumi.Input[int]]):
351
+ def account_id(self, value: Optional[pulumi.Input[str]]):
352
352
  pulumi.set(self, "account_id", value)
353
353
 
354
354
  @property
@@ -551,7 +551,7 @@ class ScriptMonitor(pulumi.CustomResource):
551
551
  def __init__(__self__,
552
552
  resource_name: str,
553
553
  opts: Optional[pulumi.ResourceOptions] = None,
554
- account_id: Optional[pulumi.Input[int]] = None,
554
+ account_id: Optional[pulumi.Input[str]] = None,
555
555
  device_orientation: Optional[pulumi.Input[str]] = None,
556
556
  device_type: Optional[pulumi.Input[str]] = None,
557
557
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
@@ -568,6 +568,8 @@ class ScriptMonitor(pulumi.CustomResource):
568
568
  type: Optional[pulumi.Input[str]] = None,
569
569
  __props__=None):
570
570
  """
571
+ > **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.
572
+
571
573
  Use this resource to create update, and delete a Script API or Script Browser Synthetics Monitor in New Relic.
572
574
 
573
575
  ## Example Usage
@@ -701,7 +703,7 @@ class ScriptMonitor(pulumi.CustomResource):
701
703
 
702
704
  :param str resource_name: The name of the resource.
703
705
  :param pulumi.ResourceOptions opts: Options for the resource.
704
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
706
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
705
707
  :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
706
708
  :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
707
709
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
@@ -726,6 +728,8 @@ class ScriptMonitor(pulumi.CustomResource):
726
728
  args: ScriptMonitorArgs,
727
729
  opts: Optional[pulumi.ResourceOptions] = None):
728
730
  """
731
+ > **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.
732
+
729
733
  Use this resource to create update, and delete a Script API or Script Browser Synthetics Monitor in New Relic.
730
734
 
731
735
  ## Example Usage
@@ -872,7 +876,7 @@ class ScriptMonitor(pulumi.CustomResource):
872
876
  def _internal_init(__self__,
873
877
  resource_name: str,
874
878
  opts: Optional[pulumi.ResourceOptions] = None,
875
- account_id: Optional[pulumi.Input[int]] = None,
879
+ account_id: Optional[pulumi.Input[str]] = None,
876
880
  device_orientation: Optional[pulumi.Input[str]] = None,
877
881
  device_type: Optional[pulumi.Input[str]] = None,
878
882
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
@@ -929,7 +933,7 @@ class ScriptMonitor(pulumi.CustomResource):
929
933
  def get(resource_name: str,
930
934
  id: pulumi.Input[str],
931
935
  opts: Optional[pulumi.ResourceOptions] = None,
932
- account_id: Optional[pulumi.Input[int]] = None,
936
+ account_id: Optional[pulumi.Input[str]] = None,
933
937
  device_orientation: Optional[pulumi.Input[str]] = None,
934
938
  device_type: Optional[pulumi.Input[str]] = None,
935
939
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
@@ -953,7 +957,7 @@ class ScriptMonitor(pulumi.CustomResource):
953
957
  :param str resource_name: The unique name of the resulting resource.
954
958
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
955
959
  :param pulumi.ResourceOptions opts: Options for the resource.
956
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
960
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
957
961
  :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
958
962
  :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
959
963
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
@@ -998,7 +1002,7 @@ class ScriptMonitor(pulumi.CustomResource):
998
1002
 
999
1003
  @property
1000
1004
  @pulumi.getter(name="accountId")
1001
- def account_id(self) -> pulumi.Output[int]:
1005
+ def account_id(self) -> pulumi.Output[str]:
1002
1006
  """
1003
1007
  The account in which the Synthetics monitor will be created.
1004
1008
  """
@@ -16,15 +16,14 @@ class SecureCredentialArgs:
16
16
  def __init__(__self__, *,
17
17
  key: pulumi.Input[str],
18
18
  value: pulumi.Input[str],
19
- account_id: Optional[pulumi.Input[int]] = None,
19
+ account_id: Optional[pulumi.Input[str]] = None,
20
20
  description: Optional[pulumi.Input[str]] = None,
21
21
  last_updated: Optional[pulumi.Input[str]] = None):
22
22
  """
23
23
  The set of arguments for constructing a SecureCredential resource.
24
- :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased
25
- key to the underlying API.
24
+ :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
26
25
  :param pulumi.Input[str] value: The secure credential's value.
27
- :param pulumi.Input[int] account_id: The New Relic account ID where you want to create the secure credential.
26
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
28
27
  :param pulumi.Input[str] description: The secure credential's description.
29
28
  :param pulumi.Input[str] last_updated: The time the secure credential was last updated.
30
29
  """
@@ -41,8 +40,7 @@ class SecureCredentialArgs:
41
40
  @pulumi.getter
42
41
  def key(self) -> pulumi.Input[str]:
43
42
  """
44
- The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased
45
- key to the underlying API.
43
+ The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
46
44
  """
47
45
  return pulumi.get(self, "key")
48
46
 
@@ -64,14 +62,14 @@ class SecureCredentialArgs:
64
62
 
65
63
  @property
66
64
  @pulumi.getter(name="accountId")
67
- def account_id(self) -> Optional[pulumi.Input[int]]:
65
+ def account_id(self) -> Optional[pulumi.Input[str]]:
68
66
  """
69
- The New Relic account ID where you want to create the secure credential.
67
+ Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
70
68
  """
71
69
  return pulumi.get(self, "account_id")
72
70
 
73
71
  @account_id.setter
74
- def account_id(self, value: Optional[pulumi.Input[int]]):
72
+ def account_id(self, value: Optional[pulumi.Input[str]]):
75
73
  pulumi.set(self, "account_id", value)
76
74
 
77
75
  @property
@@ -102,17 +100,16 @@ class SecureCredentialArgs:
102
100
  @pulumi.input_type
103
101
  class _SecureCredentialState:
104
102
  def __init__(__self__, *,
105
- account_id: Optional[pulumi.Input[int]] = None,
103
+ account_id: Optional[pulumi.Input[str]] = None,
106
104
  description: Optional[pulumi.Input[str]] = None,
107
105
  key: Optional[pulumi.Input[str]] = None,
108
106
  last_updated: Optional[pulumi.Input[str]] = None,
109
107
  value: Optional[pulumi.Input[str]] = None):
110
108
  """
111
109
  Input properties used for looking up and filtering SecureCredential resources.
112
- :param pulumi.Input[int] account_id: The New Relic account ID where you want to create the secure credential.
110
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
113
111
  :param pulumi.Input[str] description: The secure credential's description.
114
- :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased
115
- key to the underlying API.
112
+ :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
116
113
  :param pulumi.Input[str] last_updated: The time the secure credential was last updated.
117
114
  :param pulumi.Input[str] value: The secure credential's value.
118
115
  """
@@ -129,14 +126,14 @@ class _SecureCredentialState:
129
126
 
130
127
  @property
131
128
  @pulumi.getter(name="accountId")
132
- def account_id(self) -> Optional[pulumi.Input[int]]:
129
+ def account_id(self) -> Optional[pulumi.Input[str]]:
133
130
  """
134
- The New Relic account ID where you want to create the secure credential.
131
+ Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
135
132
  """
136
133
  return pulumi.get(self, "account_id")
137
134
 
138
135
  @account_id.setter
139
- def account_id(self, value: Optional[pulumi.Input[int]]):
136
+ def account_id(self, value: Optional[pulumi.Input[str]]):
140
137
  pulumi.set(self, "account_id", value)
141
138
 
142
139
  @property
@@ -155,8 +152,7 @@ class _SecureCredentialState:
155
152
  @pulumi.getter
156
153
  def key(self) -> Optional[pulumi.Input[str]]:
157
154
  """
158
- The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased
159
- key to the underlying API.
155
+ The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
160
156
  """
161
157
  return pulumi.get(self, "key")
162
158
 
@@ -194,7 +190,7 @@ class SecureCredential(pulumi.CustomResource):
194
190
  def __init__(__self__,
195
191
  resource_name: str,
196
192
  opts: Optional[pulumi.ResourceOptions] = None,
197
- account_id: Optional[pulumi.Input[int]] = None,
193
+ account_id: Optional[pulumi.Input[str]] = None,
198
194
  description: Optional[pulumi.Input[str]] = None,
199
195
  key: Optional[pulumi.Input[str]] = None,
200
196
  last_updated: Optional[pulumi.Input[str]] = None,
@@ -225,10 +221,9 @@ class SecureCredential(pulumi.CustomResource):
225
221
 
226
222
  :param str resource_name: The name of the resource.
227
223
  :param pulumi.ResourceOptions opts: Options for the resource.
228
- :param pulumi.Input[int] account_id: The New Relic account ID where you want to create the secure credential.
224
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
229
225
  :param pulumi.Input[str] description: The secure credential's description.
230
- :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased
231
- key to the underlying API.
226
+ :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
232
227
  :param pulumi.Input[str] last_updated: The time the secure credential was last updated.
233
228
  :param pulumi.Input[str] value: The secure credential's value.
234
229
  """
@@ -276,7 +271,7 @@ class SecureCredential(pulumi.CustomResource):
276
271
  def _internal_init(__self__,
277
272
  resource_name: str,
278
273
  opts: Optional[pulumi.ResourceOptions] = None,
279
- account_id: Optional[pulumi.Input[int]] = None,
274
+ account_id: Optional[pulumi.Input[str]] = None,
280
275
  description: Optional[pulumi.Input[str]] = None,
281
276
  key: Optional[pulumi.Input[str]] = None,
282
277
  last_updated: Optional[pulumi.Input[str]] = None,
@@ -311,7 +306,7 @@ class SecureCredential(pulumi.CustomResource):
311
306
  def get(resource_name: str,
312
307
  id: pulumi.Input[str],
313
308
  opts: Optional[pulumi.ResourceOptions] = None,
314
- account_id: Optional[pulumi.Input[int]] = None,
309
+ account_id: Optional[pulumi.Input[str]] = None,
315
310
  description: Optional[pulumi.Input[str]] = None,
316
311
  key: Optional[pulumi.Input[str]] = None,
317
312
  last_updated: Optional[pulumi.Input[str]] = None,
@@ -323,10 +318,9 @@ class SecureCredential(pulumi.CustomResource):
323
318
  :param str resource_name: The unique name of the resulting resource.
324
319
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
325
320
  :param pulumi.ResourceOptions opts: Options for the resource.
326
- :param pulumi.Input[int] account_id: The New Relic account ID where you want to create the secure credential.
321
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
327
322
  :param pulumi.Input[str] description: The secure credential's description.
328
- :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased
329
- key to the underlying API.
323
+ :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
330
324
  :param pulumi.Input[str] last_updated: The time the secure credential was last updated.
331
325
  :param pulumi.Input[str] value: The secure credential's value.
332
326
  """
@@ -343,9 +337,9 @@ class SecureCredential(pulumi.CustomResource):
343
337
 
344
338
  @property
345
339
  @pulumi.getter(name="accountId")
346
- def account_id(self) -> pulumi.Output[int]:
340
+ def account_id(self) -> pulumi.Output[str]:
347
341
  """
348
- The New Relic account ID where you want to create the secure credential.
342
+ Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
349
343
  """
350
344
  return pulumi.get(self, "account_id")
351
345
 
@@ -361,8 +355,7 @@ class SecureCredential(pulumi.CustomResource):
361
355
  @pulumi.getter
362
356
  def key(self) -> pulumi.Output[str]:
363
357
  """
364
- The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased
365
- key to the underlying API.
358
+ The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
366
359
  """
367
360
  return pulumi.get(self, "key")
368
361
 
@@ -19,7 +19,7 @@ class StepMonitorArgs:
19
19
  period: pulumi.Input[str],
20
20
  status: pulumi.Input[str],
21
21
  steps: pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]],
22
- account_id: Optional[pulumi.Input[int]] = None,
22
+ account_id: Optional[pulumi.Input[str]] = None,
23
23
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
24
24
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = None,
25
25
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -32,7 +32,7 @@ class StepMonitorArgs:
32
32
  :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
33
33
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
34
34
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
35
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
35
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
36
36
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
37
37
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
38
38
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
@@ -41,6 +41,8 @@ class StepMonitorArgs:
41
41
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
42
42
 
43
43
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
44
+
45
+ > **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.
44
46
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
45
47
  """
46
48
  pulumi.set(__self__, "period", period)
@@ -101,14 +103,14 @@ class StepMonitorArgs:
101
103
 
102
104
  @property
103
105
  @pulumi.getter(name="accountId")
104
- def account_id(self) -> Optional[pulumi.Input[int]]:
106
+ def account_id(self) -> Optional[pulumi.Input[str]]:
105
107
  """
106
108
  The account in which the Synthetics monitor will be created.
107
109
  """
108
110
  return pulumi.get(self, "account_id")
109
111
 
110
112
  @account_id.setter
111
- def account_id(self, value: Optional[pulumi.Input[int]]):
113
+ def account_id(self, value: Optional[pulumi.Input[str]]):
112
114
  pulumi.set(self, "account_id", value)
113
115
 
114
116
  @property
@@ -178,6 +180,8 @@ class StepMonitorArgs:
178
180
  The specific version of the runtime type selected.
179
181
 
180
182
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
183
+
184
+ > **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.
181
185
  """
182
186
  return pulumi.get(self, "runtime_type_version")
183
187
 
@@ -201,7 +205,7 @@ class StepMonitorArgs:
201
205
  @pulumi.input_type
202
206
  class _StepMonitorState:
203
207
  def __init__(__self__, *,
204
- account_id: Optional[pulumi.Input[int]] = None,
208
+ account_id: Optional[pulumi.Input[str]] = None,
205
209
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
206
210
  guid: Optional[pulumi.Input[str]] = None,
207
211
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = None,
@@ -216,7 +220,7 @@ class _StepMonitorState:
216
220
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]] = None):
217
221
  """
218
222
  Input properties used for looking up and filtering StepMonitor resources.
219
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
223
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
220
224
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
221
225
  :param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
222
226
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
@@ -228,6 +232,8 @@ class _StepMonitorState:
228
232
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
229
233
 
230
234
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
235
+
236
+ > **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.
231
237
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
232
238
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
233
239
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
@@ -261,14 +267,14 @@ class _StepMonitorState:
261
267
 
262
268
  @property
263
269
  @pulumi.getter(name="accountId")
264
- def account_id(self) -> Optional[pulumi.Input[int]]:
270
+ def account_id(self) -> Optional[pulumi.Input[str]]:
265
271
  """
266
272
  The account in which the Synthetics monitor will be created.
267
273
  """
268
274
  return pulumi.get(self, "account_id")
269
275
 
270
276
  @account_id.setter
271
- def account_id(self, value: Optional[pulumi.Input[int]]):
277
+ def account_id(self, value: Optional[pulumi.Input[str]]):
272
278
  pulumi.set(self, "account_id", value)
273
279
 
274
280
  @property
@@ -374,6 +380,8 @@ class _StepMonitorState:
374
380
  The specific version of the runtime type selected.
375
381
 
376
382
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
383
+
384
+ > **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.
377
385
  """
378
386
  return pulumi.get(self, "runtime_type_version")
379
387
 
@@ -423,7 +431,7 @@ class StepMonitor(pulumi.CustomResource):
423
431
  def __init__(__self__,
424
432
  resource_name: str,
425
433
  opts: Optional[pulumi.ResourceOptions] = None,
426
- account_id: Optional[pulumi.Input[int]] = None,
434
+ account_id: Optional[pulumi.Input[str]] = None,
427
435
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
428
436
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorLocationPrivateArgs']]]]] = None,
429
437
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -436,6 +444,8 @@ class StepMonitor(pulumi.CustomResource):
436
444
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]]] = None,
437
445
  __props__=None):
438
446
  """
447
+ > **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.
448
+
439
449
  Use this resource to create, update, and delete a Synthetics Step monitor in New Relic.
440
450
 
441
451
  ## Example Usage
@@ -514,7 +524,7 @@ class StepMonitor(pulumi.CustomResource):
514
524
 
515
525
  :param str resource_name: The name of the resource.
516
526
  :param pulumi.ResourceOptions opts: Options for the resource.
517
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
527
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
518
528
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
519
529
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorLocationPrivateArgs']]]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
520
530
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
@@ -524,6 +534,8 @@ class StepMonitor(pulumi.CustomResource):
524
534
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
525
535
 
526
536
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
537
+
538
+ > **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.
527
539
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
528
540
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
529
541
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
@@ -535,6 +547,8 @@ class StepMonitor(pulumi.CustomResource):
535
547
  args: StepMonitorArgs,
536
548
  opts: Optional[pulumi.ResourceOptions] = None):
537
549
  """
550
+ > **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.
551
+
538
552
  Use this resource to create, update, and delete a Synthetics Step monitor in New Relic.
539
553
 
540
554
  ## Example Usage
@@ -626,7 +640,7 @@ class StepMonitor(pulumi.CustomResource):
626
640
  def _internal_init(__self__,
627
641
  resource_name: str,
628
642
  opts: Optional[pulumi.ResourceOptions] = None,
629
- account_id: Optional[pulumi.Input[int]] = None,
643
+ account_id: Optional[pulumi.Input[str]] = None,
630
644
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
631
645
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorLocationPrivateArgs']]]]] = None,
632
646
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -675,7 +689,7 @@ class StepMonitor(pulumi.CustomResource):
675
689
  def get(resource_name: str,
676
690
  id: pulumi.Input[str],
677
691
  opts: Optional[pulumi.ResourceOptions] = None,
678
- account_id: Optional[pulumi.Input[int]] = None,
692
+ account_id: Optional[pulumi.Input[str]] = None,
679
693
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
680
694
  guid: Optional[pulumi.Input[str]] = None,
681
695
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorLocationPrivateArgs']]]]] = None,
@@ -695,7 +709,7 @@ class StepMonitor(pulumi.CustomResource):
695
709
  :param str resource_name: The unique name of the resulting resource.
696
710
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
697
711
  :param pulumi.ResourceOptions opts: Options for the resource.
698
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
712
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
699
713
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
700
714
  :param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
701
715
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorLocationPrivateArgs']]]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
@@ -707,6 +721,8 @@ class StepMonitor(pulumi.CustomResource):
707
721
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
708
722
 
709
723
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
724
+
725
+ > **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.
710
726
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
711
727
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
712
728
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
@@ -732,7 +748,7 @@ class StepMonitor(pulumi.CustomResource):
732
748
 
733
749
  @property
734
750
  @pulumi.getter(name="accountId")
735
- def account_id(self) -> pulumi.Output[int]:
751
+ def account_id(self) -> pulumi.Output[str]:
736
752
  """
737
753
  The account in which the Synthetics monitor will be created.
738
754
  """
@@ -809,6 +825,8 @@ class StepMonitor(pulumi.CustomResource):
809
825
  The specific version of the runtime type selected.
810
826
 
811
827
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
828
+
829
+ > **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.
812
830
  """
813
831
  return pulumi.get(self, "runtime_type_version")
814
832