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 BrokenLinksMonitorArgs:
19
19
  period: pulumi.Input[str],
20
20
  status: pulumi.Input[str],
21
21
  uri: pulumi.Input[str],
22
- account_id: Optional[pulumi.Input[int]] = None,
22
+ account_id: Optional[pulumi.Input[str]] = None,
23
23
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
24
24
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
25
25
  name: Optional[pulumi.Input[str]] = None,
@@ -31,7 +31,7 @@ class BrokenLinksMonitorArgs:
31
31
  :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.
32
32
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
33
33
  :param pulumi.Input[str] uri: The URI the monitor runs against.
34
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
34
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
35
35
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
36
36
  :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.
37
37
  :param pulumi.Input[str] name: The name for the monitor.
@@ -39,6 +39,8 @@ class BrokenLinksMonitorArgs:
39
39
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
40
40
 
41
41
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
42
+
43
+ > **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.
42
44
  :param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
43
45
  """
44
46
  pulumi.set(__self__, "period", period)
@@ -97,14 +99,14 @@ class BrokenLinksMonitorArgs:
97
99
 
98
100
  @property
99
101
  @pulumi.getter(name="accountId")
100
- def account_id(self) -> Optional[pulumi.Input[int]]:
102
+ def account_id(self) -> Optional[pulumi.Input[str]]:
101
103
  """
102
104
  The account in which the Synthetics monitor will be created.
103
105
  """
104
106
  return pulumi.get(self, "account_id")
105
107
 
106
108
  @account_id.setter
107
- def account_id(self, value: Optional[pulumi.Input[int]]):
109
+ def account_id(self, value: Optional[pulumi.Input[str]]):
108
110
  pulumi.set(self, "account_id", value)
109
111
 
110
112
  @property
@@ -162,6 +164,8 @@ class BrokenLinksMonitorArgs:
162
164
  The specific version of the runtime type selected.
163
165
 
164
166
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
167
+
168
+ > **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.
165
169
  """
166
170
  return pulumi.get(self, "runtime_type_version")
167
171
 
@@ -185,7 +189,7 @@ class BrokenLinksMonitorArgs:
185
189
  @pulumi.input_type
186
190
  class _BrokenLinksMonitorState:
187
191
  def __init__(__self__, *,
188
- account_id: Optional[pulumi.Input[int]] = None,
192
+ account_id: Optional[pulumi.Input[str]] = None,
189
193
  guid: Optional[pulumi.Input[str]] = None,
190
194
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
191
195
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -199,7 +203,7 @@ class _BrokenLinksMonitorState:
199
203
  uri: Optional[pulumi.Input[str]] = None):
200
204
  """
201
205
  Input properties used for looking up and filtering BrokenLinksMonitor resources.
202
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
206
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
203
207
  :param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
204
208
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
205
209
  :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.
@@ -210,6 +214,8 @@ class _BrokenLinksMonitorState:
210
214
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
211
215
 
212
216
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
217
+
218
+ > **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.
213
219
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
214
220
  :param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
215
221
  :param pulumi.Input[str] uri: The URI the monitor runs against.
@@ -241,14 +247,14 @@ class _BrokenLinksMonitorState:
241
247
 
242
248
  @property
243
249
  @pulumi.getter(name="accountId")
244
- def account_id(self) -> Optional[pulumi.Input[int]]:
250
+ def account_id(self) -> Optional[pulumi.Input[str]]:
245
251
  """
246
252
  The account in which the Synthetics monitor will be created.
247
253
  """
248
254
  return pulumi.get(self, "account_id")
249
255
 
250
256
  @account_id.setter
251
- def account_id(self, value: Optional[pulumi.Input[int]]):
257
+ def account_id(self, value: Optional[pulumi.Input[str]]):
252
258
  pulumi.set(self, "account_id", value)
253
259
 
254
260
  @property
@@ -342,6 +348,8 @@ class _BrokenLinksMonitorState:
342
348
  The specific version of the runtime type selected.
343
349
 
344
350
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
351
+
352
+ > **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.
345
353
  """
346
354
  return pulumi.get(self, "runtime_type_version")
347
355
 
@@ -391,7 +399,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
391
399
  def __init__(__self__,
392
400
  resource_name: str,
393
401
  opts: Optional[pulumi.ResourceOptions] = None,
394
- account_id: Optional[pulumi.Input[int]] = None,
402
+ account_id: Optional[pulumi.Input[str]] = None,
395
403
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
396
404
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
397
405
  name: Optional[pulumi.Input[str]] = None,
@@ -403,6 +411,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
403
411
  uri: Optional[pulumi.Input[str]] = None,
404
412
  __props__=None):
405
413
  """
414
+ > **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.
415
+
406
416
  Use this resource to create, update, and delete a Synthetics Broken Links monitor in New Relic.
407
417
 
408
418
  ## Example Usage
@@ -466,7 +476,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
466
476
 
467
477
  :param str resource_name: The name of the resource.
468
478
  :param pulumi.ResourceOptions opts: Options for the resource.
469
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
479
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
470
480
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
471
481
  :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.
472
482
  :param pulumi.Input[str] name: The name for the monitor.
@@ -475,6 +485,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
475
485
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
476
486
 
477
487
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
488
+
489
+ > **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.
478
490
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
479
491
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
480
492
  :param pulumi.Input[str] uri: The URI the monitor runs against.
@@ -486,6 +498,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
486
498
  args: BrokenLinksMonitorArgs,
487
499
  opts: Optional[pulumi.ResourceOptions] = None):
488
500
  """
501
+ > **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.
502
+
489
503
  Use this resource to create, update, and delete a Synthetics Broken Links monitor in New Relic.
490
504
 
491
505
  ## Example Usage
@@ -562,7 +576,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
562
576
  def _internal_init(__self__,
563
577
  resource_name: str,
564
578
  opts: Optional[pulumi.ResourceOptions] = None,
565
- account_id: Optional[pulumi.Input[int]] = None,
579
+ account_id: Optional[pulumi.Input[str]] = None,
566
580
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
567
581
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
568
582
  name: Optional[pulumi.Input[str]] = None,
@@ -609,7 +623,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
609
623
  def get(resource_name: str,
610
624
  id: pulumi.Input[str],
611
625
  opts: Optional[pulumi.ResourceOptions] = None,
612
- account_id: Optional[pulumi.Input[int]] = None,
626
+ account_id: Optional[pulumi.Input[str]] = None,
613
627
  guid: Optional[pulumi.Input[str]] = None,
614
628
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
615
629
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -628,7 +642,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
628
642
  :param str resource_name: The unique name of the resulting resource.
629
643
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
630
644
  :param pulumi.ResourceOptions opts: Options for the resource.
631
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
645
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
632
646
  :param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
633
647
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
634
648
  :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.
@@ -639,6 +653,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
639
653
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
640
654
 
641
655
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
656
+
657
+ > **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.
642
658
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
643
659
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
644
660
  :param pulumi.Input[str] uri: The URI the monitor runs against.
@@ -663,7 +679,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
663
679
 
664
680
  @property
665
681
  @pulumi.getter(name="accountId")
666
- def account_id(self) -> pulumi.Output[int]:
682
+ def account_id(self) -> pulumi.Output[str]:
667
683
  """
668
684
  The account in which the Synthetics monitor will be created.
669
685
  """
@@ -732,6 +748,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
732
748
  The specific version of the runtime type selected.
733
749
 
734
750
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
751
+
752
+ > **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.
735
753
  """
736
754
  return pulumi.get(self, "runtime_type_version")
737
755
 
@@ -20,7 +20,7 @@ class CertCheckMonitorArgs:
20
20
  domain: pulumi.Input[str],
21
21
  period: pulumi.Input[str],
22
22
  status: pulumi.Input[str],
23
- account_id: Optional[pulumi.Input[int]] = None,
23
+ account_id: Optional[pulumi.Input[str]] = None,
24
24
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
25
25
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
26
  name: Optional[pulumi.Input[str]] = None,
@@ -33,7 +33,7 @@ class CertCheckMonitorArgs:
33
33
  :param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
34
34
  :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.
35
35
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
36
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
36
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
37
37
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
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.
39
39
  :param pulumi.Input[str] name: The name for the monitor.
@@ -41,6 +41,8 @@ class CertCheckMonitorArgs:
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 `NODE_API` and `16.10` 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['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
45
47
  """
46
48
  pulumi.set(__self__, "certificate_expiration", certificate_expiration)
@@ -112,14 +114,14 @@ class CertCheckMonitorArgs:
112
114
 
113
115
  @property
114
116
  @pulumi.getter(name="accountId")
115
- def account_id(self) -> Optional[pulumi.Input[int]]:
117
+ def account_id(self) -> Optional[pulumi.Input[str]]:
116
118
  """
117
119
  The account in which the Synthetics monitor will be created.
118
120
  """
119
121
  return pulumi.get(self, "account_id")
120
122
 
121
123
  @account_id.setter
122
- def account_id(self, value: Optional[pulumi.Input[int]]):
124
+ def account_id(self, value: Optional[pulumi.Input[str]]):
123
125
  pulumi.set(self, "account_id", value)
124
126
 
125
127
  @property
@@ -177,6 +179,8 @@ class CertCheckMonitorArgs:
177
179
  The specific version of the runtime type selected.
178
180
 
179
181
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
182
+
183
+ > **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.
180
184
  """
181
185
  return pulumi.get(self, "runtime_type_version")
182
186
 
@@ -200,7 +204,7 @@ class CertCheckMonitorArgs:
200
204
  @pulumi.input_type
201
205
  class _CertCheckMonitorState:
202
206
  def __init__(__self__, *,
203
- account_id: Optional[pulumi.Input[int]] = None,
207
+ account_id: Optional[pulumi.Input[str]] = None,
204
208
  certificate_expiration: Optional[pulumi.Input[int]] = None,
205
209
  domain: Optional[pulumi.Input[str]] = None,
206
210
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -214,7 +218,7 @@ class _CertCheckMonitorState:
214
218
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None):
215
219
  """
216
220
  Input properties used for looking up and filtering CertCheckMonitor resources.
217
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
221
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
218
222
  :param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
219
223
  :param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
220
224
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
@@ -226,6 +230,8 @@ class _CertCheckMonitorState:
226
230
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
227
231
 
228
232
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
233
+
234
+ > **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.
229
235
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
230
236
  :param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
231
237
  """
@@ -256,14 +262,14 @@ class _CertCheckMonitorState:
256
262
 
257
263
  @property
258
264
  @pulumi.getter(name="accountId")
259
- def account_id(self) -> Optional[pulumi.Input[int]]:
265
+ def account_id(self) -> Optional[pulumi.Input[str]]:
260
266
  """
261
267
  The account in which the Synthetics monitor will be created.
262
268
  """
263
269
  return pulumi.get(self, "account_id")
264
270
 
265
271
  @account_id.setter
266
- def account_id(self, value: Optional[pulumi.Input[int]]):
272
+ def account_id(self, value: Optional[pulumi.Input[str]]):
267
273
  pulumi.set(self, "account_id", value)
268
274
 
269
275
  @property
@@ -369,6 +375,8 @@ class _CertCheckMonitorState:
369
375
  The specific version of the runtime type selected.
370
376
 
371
377
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
378
+
379
+ > **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.
372
380
  """
373
381
  return pulumi.get(self, "runtime_type_version")
374
382
 
@@ -406,7 +414,7 @@ class CertCheckMonitor(pulumi.CustomResource):
406
414
  def __init__(__self__,
407
415
  resource_name: str,
408
416
  opts: Optional[pulumi.ResourceOptions] = None,
409
- account_id: Optional[pulumi.Input[int]] = None,
417
+ account_id: Optional[pulumi.Input[str]] = None,
410
418
  certificate_expiration: Optional[pulumi.Input[int]] = None,
411
419
  domain: Optional[pulumi.Input[str]] = None,
412
420
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -419,6 +427,8 @@ class CertCheckMonitor(pulumi.CustomResource):
419
427
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]]] = None,
420
428
  __props__=None):
421
429
  """
430
+ > **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.
431
+
422
432
  Use this resource to create, update, and delete a Synthetics Certificate Check monitor in New Relic.
423
433
 
424
434
  ## Example Usage
@@ -484,7 +494,7 @@ class CertCheckMonitor(pulumi.CustomResource):
484
494
 
485
495
  :param str resource_name: The name of the resource.
486
496
  :param pulumi.ResourceOptions opts: Options for the resource.
487
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
497
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
488
498
  :param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
489
499
  :param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
490
500
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
@@ -495,6 +505,8 @@ class CertCheckMonitor(pulumi.CustomResource):
495
505
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
496
506
 
497
507
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
508
+
509
+ > **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.
498
510
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
499
511
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
500
512
  """
@@ -505,6 +517,8 @@ class CertCheckMonitor(pulumi.CustomResource):
505
517
  args: CertCheckMonitorArgs,
506
518
  opts: Optional[pulumi.ResourceOptions] = None):
507
519
  """
520
+ > **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.
521
+
508
522
  Use this resource to create, update, and delete a Synthetics Certificate Check monitor in New Relic.
509
523
 
510
524
  ## Example Usage
@@ -583,7 +597,7 @@ class CertCheckMonitor(pulumi.CustomResource):
583
597
  def _internal_init(__self__,
584
598
  resource_name: str,
585
599
  opts: Optional[pulumi.ResourceOptions] = None,
586
- account_id: Optional[pulumi.Input[int]] = None,
600
+ account_id: Optional[pulumi.Input[str]] = None,
587
601
  certificate_expiration: Optional[pulumi.Input[int]] = None,
588
602
  domain: Optional[pulumi.Input[str]] = None,
589
603
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -633,7 +647,7 @@ class CertCheckMonitor(pulumi.CustomResource):
633
647
  def get(resource_name: str,
634
648
  id: pulumi.Input[str],
635
649
  opts: Optional[pulumi.ResourceOptions] = None,
636
- account_id: Optional[pulumi.Input[int]] = None,
650
+ account_id: Optional[pulumi.Input[str]] = None,
637
651
  certificate_expiration: Optional[pulumi.Input[int]] = None,
638
652
  domain: Optional[pulumi.Input[str]] = None,
639
653
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -652,7 +666,7 @@ class CertCheckMonitor(pulumi.CustomResource):
652
666
  :param str resource_name: The unique name of the resulting resource.
653
667
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
654
668
  :param pulumi.ResourceOptions opts: Options for the resource.
655
- :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
669
+ :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
656
670
  :param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
657
671
  :param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
658
672
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
@@ -664,6 +678,8 @@ class CertCheckMonitor(pulumi.CustomResource):
664
678
  :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
665
679
 
666
680
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
681
+
682
+ > **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.
667
683
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
668
684
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
669
685
  """
@@ -687,7 +703,7 @@ class CertCheckMonitor(pulumi.CustomResource):
687
703
 
688
704
  @property
689
705
  @pulumi.getter(name="accountId")
690
- def account_id(self) -> pulumi.Output[int]:
706
+ def account_id(self) -> pulumi.Output[str]:
691
707
  """
692
708
  The account in which the Synthetics monitor will be created.
693
709
  """
@@ -764,6 +780,8 @@ class CertCheckMonitor(pulumi.CustomResource):
764
780
  The specific version of the runtime type selected.
765
781
 
766
782
  > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` 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.
783
+
784
+ > **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.
767
785
  """
768
786
  return pulumi.get(self, "runtime_type_version")
769
787
 
@@ -22,8 +22,8 @@ class GetPrivateLocationResult:
22
22
  A collection of values returned by getPrivateLocation.
23
23
  """
24
24
  def __init__(__self__, account_id=None, id=None, keys=None, name=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 id and not isinstance(id, str):
29
29
  raise TypeError("Expected argument 'id' to be a str")
@@ -37,7 +37,7 @@ class GetPrivateLocationResult:
37
37
 
38
38
  @property
39
39
  @pulumi.getter(name="accountId")
40
- def account_id(self) -> Optional[int]:
40
+ def account_id(self) -> Optional[str]:
41
41
  return pulumi.get(self, "account_id")
42
42
 
43
43
  @property
@@ -74,7 +74,7 @@ class AwaitableGetPrivateLocationResult(GetPrivateLocationResult):
74
74
  name=self.name)
75
75
 
76
76
 
77
- def get_private_location(account_id: Optional[int] = None,
77
+ def get_private_location(account_id: Optional[str] = None,
78
78
  keys: Optional[Sequence[str]] = None,
79
79
  name: Optional[str] = None,
80
80
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateLocationResult:
@@ -87,7 +87,7 @@ def get_private_location(account_id: Optional[int] = None,
87
87
  import pulumi
88
88
  import pulumi_newrelic as newrelic
89
89
 
90
- example = newrelic.synthetics.get_private_location(account_id=123456,
90
+ example = newrelic.synthetics.get_private_location(account_id="123456",
91
91
  name="My private location")
92
92
  foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id])
93
93
  ```
@@ -96,7 +96,7 @@ def get_private_location(account_id: Optional[int] = None,
96
96
  import pulumi
97
97
  import pulumi_newrelic as newrelic
98
98
 
99
- example = newrelic.synthetics.get_private_location(account_id=123456,
99
+ example = newrelic.synthetics.get_private_location(account_id="123456",
100
100
  name="My private location")
101
101
  foo = newrelic.synthetics.StepMonitor("foo", location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(
102
102
  guid=example.id,
@@ -104,7 +104,7 @@ def get_private_location(account_id: Optional[int] = None,
104
104
  ```
105
105
 
106
106
 
107
- :param int account_id: The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
107
+ :param str account_id: The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
108
108
  :param Sequence[str] keys: The key of the private location.
109
109
  :param str name: The name of the Synthetics monitor private location.
110
110
  """
@@ -123,7 +123,7 @@ def get_private_location(account_id: Optional[int] = None,
123
123
 
124
124
 
125
125
  @_utilities.lift_output_func(get_private_location)
126
- def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]] = None,
126
+ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
127
127
  keys: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
128
128
  name: Optional[pulumi.Input[str]] = None,
129
129
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateLocationResult]:
@@ -136,7 +136,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
136
136
  import pulumi
137
137
  import pulumi_newrelic as newrelic
138
138
 
139
- example = newrelic.synthetics.get_private_location(account_id=123456,
139
+ example = newrelic.synthetics.get_private_location(account_id="123456",
140
140
  name="My private location")
141
141
  foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id])
142
142
  ```
@@ -145,7 +145,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
145
145
  import pulumi
146
146
  import pulumi_newrelic as newrelic
147
147
 
148
- example = newrelic.synthetics.get_private_location(account_id=123456,
148
+ example = newrelic.synthetics.get_private_location(account_id="123456",
149
149
  name="My private location")
150
150
  foo = newrelic.synthetics.StepMonitor("foo", location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(
151
151
  guid=example.id,
@@ -153,7 +153,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
153
153
  ```
154
154
 
155
155
 
156
- :param int account_id: The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
156
+ :param str account_id: The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
157
157
  :param Sequence[str] keys: The key of the private location.
158
158
  :param str name: The name of the Synthetics monitor private location.
159
159
  """
@@ -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
  """
@@ -102,6 +102,10 @@ def get_secure_credential(account_id: Optional[int] = None,
102
102
 
103
103
  foo = newrelic.synthetics.get_secure_credential(key="MY_KEY")
104
104
  ```
105
+
106
+
107
+ :param str account_id: The account in New Relic associated with the secure credential. Defaults to the account associated with the API key used.
108
+ :param 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.
105
109
  """
106
110
  __args__ = dict()
107
111
  __args__['accountId'] = account_id
@@ -118,7 +122,7 @@ def get_secure_credential(account_id: Optional[int] = None,
118
122
 
119
123
 
120
124
  @_utilities.lift_output_func(get_secure_credential)
121
- def get_secure_credential_output(account_id: Optional[pulumi.Input[Optional[int]]] = None,
125
+ def get_secure_credential_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
122
126
  key: Optional[pulumi.Input[str]] = None,
123
127
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecureCredentialResult]:
124
128
  """
@@ -134,5 +138,9 @@ def get_secure_credential_output(account_id: Optional[pulumi.Input[Optional[int]
134
138
 
135
139
  foo = newrelic.synthetics.get_secure_credential(key="MY_KEY")
136
140
  ```
141
+
142
+
143
+ :param str account_id: The account in New Relic associated with the secure credential. Defaults to the account associated with the API key used.
144
+ :param 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.
137
145
  """
138
146
  ...