pulumi-newrelic 5.24.0a1715356536__py3-none-any.whl → 5.24.1__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 (64) hide show
  1. pulumi_newrelic/_inputs.py +63 -63
  2. pulumi_newrelic/alert_channel.py +14 -14
  3. pulumi_newrelic/alert_condition.py +28 -28
  4. pulumi_newrelic/alert_muting_rule.py +14 -14
  5. pulumi_newrelic/alert_policy.py +24 -24
  6. pulumi_newrelic/alert_policy_channel.py +42 -42
  7. pulumi_newrelic/api_access_key.py +28 -28
  8. pulumi_newrelic/browser_application.py +14 -14
  9. pulumi_newrelic/cloud/aws_govcloud_integrations.py +28 -28
  10. pulumi_newrelic/cloud/aws_govcloud_link_account.py +14 -14
  11. pulumi_newrelic/cloud/aws_integrations.py +28 -28
  12. pulumi_newrelic/cloud/aws_link_account.py +14 -14
  13. pulumi_newrelic/cloud/azure_integrations.py +28 -28
  14. pulumi_newrelic/cloud/azure_link_account.py +14 -14
  15. pulumi_newrelic/cloud/gcp_integrations.py +28 -28
  16. pulumi_newrelic/cloud/gcp_link_account.py +14 -14
  17. pulumi_newrelic/config/__init__.pyi +1 -1
  18. pulumi_newrelic/config/vars.py +2 -2
  19. pulumi_newrelic/data_partition_rule.py +14 -14
  20. pulumi_newrelic/events_to_metrics_rule.py +16 -16
  21. pulumi_newrelic/get_account.py +7 -7
  22. pulumi_newrelic/get_alert_channel.py +8 -8
  23. pulumi_newrelic/get_alert_policy.py +7 -7
  24. pulumi_newrelic/get_application.py +2 -2
  25. pulumi_newrelic/get_cloud_account.py +9 -9
  26. pulumi_newrelic/get_entity.py +15 -15
  27. pulumi_newrelic/get_notification_destination.py +7 -7
  28. pulumi_newrelic/get_obfuscation_expression.py +9 -9
  29. pulumi_newrelic/get_service_level_alert_helper.py +10 -10
  30. pulumi_newrelic/get_test_grok_pattern.py +7 -7
  31. pulumi_newrelic/infra_alert_condition.py +14 -14
  32. pulumi_newrelic/log_parsing_rule.py +14 -14
  33. pulumi_newrelic/monitor_downtime.py +14 -14
  34. pulumi_newrelic/notification_channel.py +36 -36
  35. pulumi_newrelic/notification_destination.py +14 -14
  36. pulumi_newrelic/nrql_alert_condition.py +32 -32
  37. pulumi_newrelic/nrql_drop_rule.py +20 -20
  38. pulumi_newrelic/obfuscation_expression.py +16 -16
  39. pulumi_newrelic/obfuscation_rule.py +14 -14
  40. pulumi_newrelic/one_dashboard.py +14 -14
  41. pulumi_newrelic/one_dashboard_json.py +14 -14
  42. pulumi_newrelic/one_dashboard_raw.py +14 -14
  43. pulumi_newrelic/outputs.py +47 -47
  44. pulumi_newrelic/plugins/workload.py +55 -55
  45. pulumi_newrelic/provider.py +14 -9
  46. pulumi_newrelic/pulumi-plugin.json +2 -1
  47. pulumi_newrelic/service_level.py +6 -6
  48. pulumi_newrelic/synthetics/alert_condition.py +14 -14
  49. pulumi_newrelic/synthetics/broken_links_monitor.py +32 -14
  50. pulumi_newrelic/synthetics/cert_check_monitor.py +32 -14
  51. pulumi_newrelic/synthetics/get_private_location.py +11 -11
  52. pulumi_newrelic/synthetics/get_secure_credential.py +5 -5
  53. pulumi_newrelic/synthetics/monitor.py +18 -14
  54. pulumi_newrelic/synthetics/multi_location_alert_condition.py +14 -14
  55. pulumi_newrelic/synthetics/private_location.py +14 -14
  56. pulumi_newrelic/synthetics/script_monitor.py +18 -14
  57. pulumi_newrelic/synthetics/secure_credential.py +14 -14
  58. pulumi_newrelic/synthetics/step_monitor.py +32 -14
  59. pulumi_newrelic/workflow.py +14 -14
  60. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/METADATA +1 -1
  61. pulumi_newrelic-5.24.1.dist-info/RECORD +89 -0
  62. pulumi_newrelic-5.24.0a1715356536.dist-info/RECORD +0 -89
  63. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/WHEEL +0 -0
  64. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/top_level.txt +0 -0
@@ -22,8 +22,8 @@ class GetSecureCredentialResult:
22
22
  A collection of values returned by getSecureCredential.
23
23
  """
24
24
  def __init__(__self__, account_id=None, description=None, id=None, key=None, last_updated=None):
25
- if account_id and not isinstance(account_id, int):
26
- raise TypeError("Expected argument 'account_id' to be a int")
25
+ if account_id and not isinstance(account_id, str):
26
+ raise TypeError("Expected argument 'account_id' to be a str")
27
27
  pulumi.set(__self__, "account_id", account_id)
28
28
  if description and not isinstance(description, str):
29
29
  raise TypeError("Expected argument 'description' to be a str")
@@ -40,7 +40,7 @@ class GetSecureCredentialResult:
40
40
 
41
41
  @property
42
42
  @pulumi.getter(name="accountId")
43
- def account_id(self) -> int:
43
+ def account_id(self) -> str:
44
44
  return pulumi.get(self, "account_id")
45
45
 
46
46
  @property
@@ -86,7 +86,7 @@ class AwaitableGetSecureCredentialResult(GetSecureCredentialResult):
86
86
  last_updated=self.last_updated)
87
87
 
88
88
 
89
- def get_secure_credential(account_id: Optional[int] = None,
89
+ def get_secure_credential(account_id: Optional[str] = None,
90
90
  key: Optional[str] = None,
91
91
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecureCredentialResult:
92
92
  """
@@ -118,7 +118,7 @@ def get_secure_credential(account_id: Optional[int] = None,
118
118
 
119
119
 
120
120
  @_utilities.lift_output_func(get_secure_credential)
121
- def get_secure_credential_output(account_id: Optional[pulumi.Input[Optional[int]]] = None,
121
+ def get_secure_credential_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
122
122
  key: Optional[pulumi.Input[str]] = None,
123
123
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecureCredentialResult]:
124
124
  """
@@ -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,
@@ -28,7 +28,7 @@ class MultiLocationAlertConditionArgs:
28
28
  The set of arguments for constructing a MultiLocationAlertCondition resource.
29
29
  :param pulumi.Input['MultiLocationAlertConditionCriticalArgs'] critical: A condition term with priority set to critical.
30
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.
31
+ :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
32
32
  :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
33
33
  :param pulumi.Input[str] name: The title of this condition.
34
34
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
@@ -76,14 +76,14 @@ class MultiLocationAlertConditionArgs:
76
76
 
77
77
  @property
78
78
  @pulumi.getter(name="policyId")
79
- def policy_id(self) -> pulumi.Input[int]:
79
+ def policy_id(self) -> pulumi.Input[str]:
80
80
  """
81
81
  The ID of the policy where this condition will be used.
82
82
  """
83
83
  return pulumi.get(self, "policy_id")
84
84
 
85
85
  @policy_id.setter
86
- def policy_id(self, value: pulumi.Input[int]):
86
+ def policy_id(self, value: pulumi.Input[str]):
87
87
  pulumi.set(self, "policy_id", value)
88
88
 
89
89
  @property
@@ -156,7 +156,7 @@ class _MultiLocationAlertConditionState:
156
156
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
157
157
  entity_guid: Optional[pulumi.Input[str]] = None,
158
158
  name: Optional[pulumi.Input[str]] = None,
159
- policy_id: Optional[pulumi.Input[int]] = None,
159
+ policy_id: Optional[pulumi.Input[str]] = None,
160
160
  runbook_url: Optional[pulumi.Input[str]] = None,
161
161
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
162
162
  warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None):
@@ -167,7 +167,7 @@ class _MultiLocationAlertConditionState:
167
167
  :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
168
168
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
169
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.
170
+ :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
171
171
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
172
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
173
  select. Must be in the range of 300 to 2592000 (inclusive)
@@ -254,14 +254,14 @@ class _MultiLocationAlertConditionState:
254
254
 
255
255
  @property
256
256
  @pulumi.getter(name="policyId")
257
- def policy_id(self) -> Optional[pulumi.Input[int]]:
257
+ def policy_id(self) -> Optional[pulumi.Input[str]]:
258
258
  """
259
259
  The ID of the policy where this condition will be used.
260
260
  """
261
261
  return pulumi.get(self, "policy_id")
262
262
 
263
263
  @policy_id.setter
264
- def policy_id(self, value: Optional[pulumi.Input[int]]):
264
+ def policy_id(self, value: Optional[pulumi.Input[str]]):
265
265
  pulumi.set(self, "policy_id", value)
266
266
 
267
267
  @property
@@ -311,7 +311,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
311
311
  enabled: Optional[pulumi.Input[bool]] = None,
312
312
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
313
313
  name: Optional[pulumi.Input[str]] = None,
314
- policy_id: Optional[pulumi.Input[int]] = None,
314
+ policy_id: Optional[pulumi.Input[str]] = None,
315
315
  runbook_url: Optional[pulumi.Input[str]] = None,
316
316
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
317
317
  warning: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']]] = None,
@@ -425,7 +425,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
425
425
  :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
426
426
  :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
427
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.
428
+ :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
429
429
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
430
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
431
  select. Must be in the range of 300 to 2592000 (inclusive)
@@ -559,7 +559,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
559
559
  enabled: Optional[pulumi.Input[bool]] = None,
560
560
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
561
561
  name: Optional[pulumi.Input[str]] = None,
562
- policy_id: Optional[pulumi.Input[int]] = None,
562
+ policy_id: Optional[pulumi.Input[str]] = None,
563
563
  runbook_url: Optional[pulumi.Input[str]] = None,
564
564
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
565
565
  warning: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']]] = None,
@@ -602,7 +602,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
602
602
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
603
603
  entity_guid: Optional[pulumi.Input[str]] = None,
604
604
  name: Optional[pulumi.Input[str]] = None,
605
- policy_id: Optional[pulumi.Input[int]] = None,
605
+ policy_id: Optional[pulumi.Input[str]] = None,
606
606
  runbook_url: Optional[pulumi.Input[str]] = None,
607
607
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
608
608
  warning: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']]] = None) -> 'MultiLocationAlertCondition':
@@ -618,7 +618,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
618
618
  :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The GUIDs of the Synthetics monitors to alert on.
619
619
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
620
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.
621
+ :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
622
622
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
623
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
624
  select. Must be in the range of 300 to 2592000 (inclusive)
@@ -681,7 +681,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
681
681
 
682
682
  @property
683
683
  @pulumi.getter(name="policyId")
684
- def policy_id(self) -> pulumi.Output[int]:
684
+ def policy_id(self) -> pulumi.Output[str]:
685
685
  """
686
686
  The ID of the policy where this condition will be used.
687
687
  """
@@ -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
  """
@@ -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
  """