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
@@ -14,14 +14,14 @@ __all__ = ['AlertPolicyChannelArgs', 'AlertPolicyChannel']
14
14
  @pulumi.input_type
15
15
  class AlertPolicyChannelArgs:
16
16
  def __init__(__self__, *,
17
- channel_ids: pulumi.Input[Sequence[pulumi.Input[int]]],
18
- policy_id: pulumi.Input[int],
19
- account_id: Optional[pulumi.Input[int]] = None):
17
+ channel_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
18
+ policy_id: pulumi.Input[str],
19
+ account_id: Optional[pulumi.Input[str]] = None):
20
20
  """
21
21
  The set of arguments for constructing a AlertPolicyChannel resource.
22
- :param pulumi.Input[Sequence[pulumi.Input[int]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
23
- :param pulumi.Input[int] policy_id: The ID of the policy.
24
- :param pulumi.Input[int] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
22
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
23
+ :param pulumi.Input[str] policy_id: The ID of the policy.
24
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
25
25
  """
26
26
  pulumi.set(__self__, "channel_ids", channel_ids)
27
27
  pulumi.set(__self__, "policy_id", policy_id)
@@ -30,52 +30,52 @@ class AlertPolicyChannelArgs:
30
30
 
31
31
  @property
32
32
  @pulumi.getter(name="channelIds")
33
- def channel_ids(self) -> pulumi.Input[Sequence[pulumi.Input[int]]]:
33
+ def channel_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
34
34
  """
35
35
  Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
36
36
  """
37
37
  return pulumi.get(self, "channel_ids")
38
38
 
39
39
  @channel_ids.setter
40
- def channel_ids(self, value: pulumi.Input[Sequence[pulumi.Input[int]]]):
40
+ def channel_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
41
41
  pulumi.set(self, "channel_ids", value)
42
42
 
43
43
  @property
44
44
  @pulumi.getter(name="policyId")
45
- def policy_id(self) -> pulumi.Input[int]:
45
+ def policy_id(self) -> pulumi.Input[str]:
46
46
  """
47
47
  The ID of the policy.
48
48
  """
49
49
  return pulumi.get(self, "policy_id")
50
50
 
51
51
  @policy_id.setter
52
- def policy_id(self, value: pulumi.Input[int]):
52
+ def policy_id(self, value: pulumi.Input[str]):
53
53
  pulumi.set(self, "policy_id", value)
54
54
 
55
55
  @property
56
56
  @pulumi.getter(name="accountId")
57
- def account_id(self) -> Optional[pulumi.Input[int]]:
57
+ def account_id(self) -> Optional[pulumi.Input[str]]:
58
58
  """
59
59
  Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
60
60
  """
61
61
  return pulumi.get(self, "account_id")
62
62
 
63
63
  @account_id.setter
64
- def account_id(self, value: Optional[pulumi.Input[int]]):
64
+ def account_id(self, value: Optional[pulumi.Input[str]]):
65
65
  pulumi.set(self, "account_id", value)
66
66
 
67
67
 
68
68
  @pulumi.input_type
69
69
  class _AlertPolicyChannelState:
70
70
  def __init__(__self__, *,
71
- account_id: Optional[pulumi.Input[int]] = None,
72
- channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
73
- policy_id: Optional[pulumi.Input[int]] = None):
71
+ account_id: Optional[pulumi.Input[str]] = None,
72
+ channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
73
+ policy_id: Optional[pulumi.Input[str]] = None):
74
74
  """
75
75
  Input properties used for looking up and filtering AlertPolicyChannel resources.
76
- :param pulumi.Input[int] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
77
- :param pulumi.Input[Sequence[pulumi.Input[int]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
78
- :param pulumi.Input[int] policy_id: The ID of the policy.
76
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
77
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
78
+ :param pulumi.Input[str] policy_id: The ID of the policy.
79
79
  """
80
80
  if account_id is not None:
81
81
  pulumi.set(__self__, "account_id", account_id)
@@ -86,38 +86,38 @@ class _AlertPolicyChannelState:
86
86
 
87
87
  @property
88
88
  @pulumi.getter(name="accountId")
89
- def account_id(self) -> Optional[pulumi.Input[int]]:
89
+ def account_id(self) -> Optional[pulumi.Input[str]]:
90
90
  """
91
91
  Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
92
92
  """
93
93
  return pulumi.get(self, "account_id")
94
94
 
95
95
  @account_id.setter
96
- def account_id(self, value: Optional[pulumi.Input[int]]):
96
+ def account_id(self, value: Optional[pulumi.Input[str]]):
97
97
  pulumi.set(self, "account_id", value)
98
98
 
99
99
  @property
100
100
  @pulumi.getter(name="channelIds")
101
- def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
101
+ def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
102
102
  """
103
103
  Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
104
104
  """
105
105
  return pulumi.get(self, "channel_ids")
106
106
 
107
107
  @channel_ids.setter
108
- def channel_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
108
+ def channel_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
109
109
  pulumi.set(self, "channel_ids", value)
110
110
 
111
111
  @property
112
112
  @pulumi.getter(name="policyId")
113
- def policy_id(self) -> Optional[pulumi.Input[int]]:
113
+ def policy_id(self) -> Optional[pulumi.Input[str]]:
114
114
  """
115
115
  The ID of the policy.
116
116
  """
117
117
  return pulumi.get(self, "policy_id")
118
118
 
119
119
  @policy_id.setter
120
- def policy_id(self, value: Optional[pulumi.Input[int]]):
120
+ def policy_id(self, value: Optional[pulumi.Input[str]]):
121
121
  pulumi.set(self, "policy_id", value)
122
122
 
123
123
 
@@ -126,9 +126,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
126
126
  def __init__(__self__,
127
127
  resource_name: str,
128
128
  opts: Optional[pulumi.ResourceOptions] = None,
129
- account_id: Optional[pulumi.Input[int]] = None,
130
- channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
131
- policy_id: Optional[pulumi.Input[int]] = None,
129
+ account_id: Optional[pulumi.Input[str]] = None,
130
+ channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
131
+ policy_id: Optional[pulumi.Input[str]] = None,
132
132
  __props__=None):
133
133
  """
134
134
  Use this resource to map alert policies to alert channels in New Relic.
@@ -183,9 +183,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
183
183
 
184
184
  :param str resource_name: The name of the resource.
185
185
  :param pulumi.ResourceOptions opts: Options for the resource.
186
- :param pulumi.Input[int] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
187
- :param pulumi.Input[Sequence[pulumi.Input[int]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
188
- :param pulumi.Input[int] policy_id: The ID of the policy.
186
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
187
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
188
+ :param pulumi.Input[str] policy_id: The ID of the policy.
189
189
  """
190
190
  ...
191
191
  @overload
@@ -259,9 +259,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
259
259
  def _internal_init(__self__,
260
260
  resource_name: str,
261
261
  opts: Optional[pulumi.ResourceOptions] = None,
262
- account_id: Optional[pulumi.Input[int]] = None,
263
- channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
264
- policy_id: Optional[pulumi.Input[int]] = None,
262
+ account_id: Optional[pulumi.Input[str]] = None,
263
+ channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
264
+ policy_id: Optional[pulumi.Input[str]] = None,
265
265
  __props__=None):
266
266
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
267
267
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -288,9 +288,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
288
288
  def get(resource_name: str,
289
289
  id: pulumi.Input[str],
290
290
  opts: Optional[pulumi.ResourceOptions] = None,
291
- account_id: Optional[pulumi.Input[int]] = None,
292
- channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
293
- policy_id: Optional[pulumi.Input[int]] = None) -> 'AlertPolicyChannel':
291
+ account_id: Optional[pulumi.Input[str]] = None,
292
+ channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
293
+ policy_id: Optional[pulumi.Input[str]] = None) -> 'AlertPolicyChannel':
294
294
  """
295
295
  Get an existing AlertPolicyChannel resource's state with the given name, id, and optional extra
296
296
  properties used to qualify the lookup.
@@ -298,9 +298,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
298
298
  :param str resource_name: The unique name of the resulting resource.
299
299
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
300
300
  :param pulumi.ResourceOptions opts: Options for the resource.
301
- :param pulumi.Input[int] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
302
- :param pulumi.Input[Sequence[pulumi.Input[int]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
303
- :param pulumi.Input[int] policy_id: The ID of the policy.
301
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
302
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
303
+ :param pulumi.Input[str] policy_id: The ID of the policy.
304
304
  """
305
305
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
306
306
 
@@ -313,7 +313,7 @@ class AlertPolicyChannel(pulumi.CustomResource):
313
313
 
314
314
  @property
315
315
  @pulumi.getter(name="accountId")
316
- def account_id(self) -> pulumi.Output[int]:
316
+ def account_id(self) -> pulumi.Output[str]:
317
317
  """
318
318
  Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
319
319
  """
@@ -321,7 +321,7 @@ class AlertPolicyChannel(pulumi.CustomResource):
321
321
 
322
322
  @property
323
323
  @pulumi.getter(name="channelIds")
324
- def channel_ids(self) -> pulumi.Output[Sequence[int]]:
324
+ def channel_ids(self) -> pulumi.Output[Sequence[str]]:
325
325
  """
326
326
  Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
327
327
  """
@@ -329,7 +329,7 @@ class AlertPolicyChannel(pulumi.CustomResource):
329
329
 
330
330
  @property
331
331
  @pulumi.getter(name="policyId")
332
- def policy_id(self) -> pulumi.Output[int]:
332
+ def policy_id(self) -> pulumi.Output[str]:
333
333
  """
334
334
  The ID of the policy.
335
335
  """
@@ -14,20 +14,20 @@ __all__ = ['ApiAccessKeyArgs', 'ApiAccessKey']
14
14
  @pulumi.input_type
15
15
  class ApiAccessKeyArgs:
16
16
  def __init__(__self__, *,
17
- account_id: pulumi.Input[int],
17
+ account_id: pulumi.Input[str],
18
18
  key_type: pulumi.Input[str],
19
19
  ingest_type: Optional[pulumi.Input[str]] = None,
20
20
  name: Optional[pulumi.Input[str]] = None,
21
21
  notes: Optional[pulumi.Input[str]] = None,
22
- user_id: Optional[pulumi.Input[int]] = None):
22
+ user_id: Optional[pulumi.Input[str]] = None):
23
23
  """
24
24
  The set of arguments for constructing a ApiAccessKey resource.
25
- :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the API access key.
25
+ :param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the API access key.
26
26
  :param pulumi.Input[str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
27
27
  :param pulumi.Input[str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
28
28
  :param pulumi.Input[str] name: The name of the key.
29
29
  :param pulumi.Input[str] notes: Any notes about this ingest key.
30
- :param pulumi.Input[int] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
30
+ :param pulumi.Input[str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
31
31
  """
32
32
  pulumi.set(__self__, "account_id", account_id)
33
33
  pulumi.set(__self__, "key_type", key_type)
@@ -42,14 +42,14 @@ class ApiAccessKeyArgs:
42
42
 
43
43
  @property
44
44
  @pulumi.getter(name="accountId")
45
- def account_id(self) -> pulumi.Input[int]:
45
+ def account_id(self) -> pulumi.Input[str]:
46
46
  """
47
47
  The New Relic account ID of the account you wish to create the API access key.
48
48
  """
49
49
  return pulumi.get(self, "account_id")
50
50
 
51
51
  @account_id.setter
52
- def account_id(self, value: pulumi.Input[int]):
52
+ def account_id(self, value: pulumi.Input[str]):
53
53
  pulumi.set(self, "account_id", value)
54
54
 
55
55
  @property
@@ -102,36 +102,36 @@ class ApiAccessKeyArgs:
102
102
 
103
103
  @property
104
104
  @pulumi.getter(name="userId")
105
- def user_id(self) -> Optional[pulumi.Input[int]]:
105
+ def user_id(self) -> Optional[pulumi.Input[str]]:
106
106
  """
107
107
  Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
108
108
  """
109
109
  return pulumi.get(self, "user_id")
110
110
 
111
111
  @user_id.setter
112
- def user_id(self, value: Optional[pulumi.Input[int]]):
112
+ def user_id(self, value: Optional[pulumi.Input[str]]):
113
113
  pulumi.set(self, "user_id", value)
114
114
 
115
115
 
116
116
  @pulumi.input_type
117
117
  class _ApiAccessKeyState:
118
118
  def __init__(__self__, *,
119
- account_id: Optional[pulumi.Input[int]] = None,
119
+ account_id: Optional[pulumi.Input[str]] = None,
120
120
  ingest_type: Optional[pulumi.Input[str]] = None,
121
121
  key: Optional[pulumi.Input[str]] = None,
122
122
  key_type: Optional[pulumi.Input[str]] = None,
123
123
  name: Optional[pulumi.Input[str]] = None,
124
124
  notes: Optional[pulumi.Input[str]] = None,
125
- user_id: Optional[pulumi.Input[int]] = None):
125
+ user_id: Optional[pulumi.Input[str]] = None):
126
126
  """
127
127
  Input properties used for looking up and filtering ApiAccessKey resources.
128
- :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the API access key.
128
+ :param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the API access key.
129
129
  :param pulumi.Input[str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
130
130
  :param pulumi.Input[str] key: The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
131
131
  :param pulumi.Input[str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
132
132
  :param pulumi.Input[str] name: The name of the key.
133
133
  :param pulumi.Input[str] notes: Any notes about this ingest key.
134
- :param pulumi.Input[int] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
134
+ :param pulumi.Input[str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
135
135
  """
136
136
  if account_id is not None:
137
137
  pulumi.set(__self__, "account_id", account_id)
@@ -150,14 +150,14 @@ class _ApiAccessKeyState:
150
150
 
151
151
  @property
152
152
  @pulumi.getter(name="accountId")
153
- def account_id(self) -> Optional[pulumi.Input[int]]:
153
+ def account_id(self) -> Optional[pulumi.Input[str]]:
154
154
  """
155
155
  The New Relic account ID of the account you wish to create the API access key.
156
156
  """
157
157
  return pulumi.get(self, "account_id")
158
158
 
159
159
  @account_id.setter
160
- def account_id(self, value: Optional[pulumi.Input[int]]):
160
+ def account_id(self, value: Optional[pulumi.Input[str]]):
161
161
  pulumi.set(self, "account_id", value)
162
162
 
163
163
  @property
@@ -222,14 +222,14 @@ class _ApiAccessKeyState:
222
222
 
223
223
  @property
224
224
  @pulumi.getter(name="userId")
225
- def user_id(self) -> Optional[pulumi.Input[int]]:
225
+ def user_id(self) -> Optional[pulumi.Input[str]]:
226
226
  """
227
227
  Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
228
228
  """
229
229
  return pulumi.get(self, "user_id")
230
230
 
231
231
  @user_id.setter
232
- def user_id(self, value: Optional[pulumi.Input[int]]):
232
+ def user_id(self, value: Optional[pulumi.Input[str]]):
233
233
  pulumi.set(self, "user_id", value)
234
234
 
235
235
 
@@ -238,12 +238,12 @@ class ApiAccessKey(pulumi.CustomResource):
238
238
  def __init__(__self__,
239
239
  resource_name: str,
240
240
  opts: Optional[pulumi.ResourceOptions] = None,
241
- account_id: Optional[pulumi.Input[int]] = None,
241
+ account_id: Optional[pulumi.Input[str]] = None,
242
242
  ingest_type: Optional[pulumi.Input[str]] = None,
243
243
  key_type: Optional[pulumi.Input[str]] = None,
244
244
  name: Optional[pulumi.Input[str]] = None,
245
245
  notes: Optional[pulumi.Input[str]] = None,
246
- user_id: Optional[pulumi.Input[int]] = None,
246
+ user_id: Optional[pulumi.Input[str]] = None,
247
247
  __props__=None):
248
248
  """
249
249
  Use this resource to programmatically create and manage the following types of keys:
@@ -277,12 +277,12 @@ class ApiAccessKey(pulumi.CustomResource):
277
277
 
278
278
  :param str resource_name: The name of the resource.
279
279
  :param pulumi.ResourceOptions opts: Options for the resource.
280
- :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the API access key.
280
+ :param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the API access key.
281
281
  :param pulumi.Input[str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
282
282
  :param pulumi.Input[str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
283
283
  :param pulumi.Input[str] name: The name of the key.
284
284
  :param pulumi.Input[str] notes: Any notes about this ingest key.
285
- :param pulumi.Input[int] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
285
+ :param pulumi.Input[str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
286
286
  """
287
287
  ...
288
288
  @overload
@@ -335,12 +335,12 @@ class ApiAccessKey(pulumi.CustomResource):
335
335
  def _internal_init(__self__,
336
336
  resource_name: str,
337
337
  opts: Optional[pulumi.ResourceOptions] = None,
338
- account_id: Optional[pulumi.Input[int]] = None,
338
+ account_id: Optional[pulumi.Input[str]] = None,
339
339
  ingest_type: Optional[pulumi.Input[str]] = None,
340
340
  key_type: Optional[pulumi.Input[str]] = None,
341
341
  name: Optional[pulumi.Input[str]] = None,
342
342
  notes: Optional[pulumi.Input[str]] = None,
343
- user_id: Optional[pulumi.Input[int]] = None,
343
+ user_id: Optional[pulumi.Input[str]] = None,
344
344
  __props__=None):
345
345
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
346
346
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -373,13 +373,13 @@ class ApiAccessKey(pulumi.CustomResource):
373
373
  def get(resource_name: str,
374
374
  id: pulumi.Input[str],
375
375
  opts: Optional[pulumi.ResourceOptions] = None,
376
- account_id: Optional[pulumi.Input[int]] = None,
376
+ account_id: Optional[pulumi.Input[str]] = None,
377
377
  ingest_type: Optional[pulumi.Input[str]] = None,
378
378
  key: Optional[pulumi.Input[str]] = None,
379
379
  key_type: Optional[pulumi.Input[str]] = None,
380
380
  name: Optional[pulumi.Input[str]] = None,
381
381
  notes: Optional[pulumi.Input[str]] = None,
382
- user_id: Optional[pulumi.Input[int]] = None) -> 'ApiAccessKey':
382
+ user_id: Optional[pulumi.Input[str]] = None) -> 'ApiAccessKey':
383
383
  """
384
384
  Get an existing ApiAccessKey resource's state with the given name, id, and optional extra
385
385
  properties used to qualify the lookup.
@@ -387,13 +387,13 @@ class ApiAccessKey(pulumi.CustomResource):
387
387
  :param str resource_name: The unique name of the resulting resource.
388
388
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
389
389
  :param pulumi.ResourceOptions opts: Options for the resource.
390
- :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the API access key.
390
+ :param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the API access key.
391
391
  :param pulumi.Input[str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
392
392
  :param pulumi.Input[str] key: The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
393
393
  :param pulumi.Input[str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
394
394
  :param pulumi.Input[str] name: The name of the key.
395
395
  :param pulumi.Input[str] notes: Any notes about this ingest key.
396
- :param pulumi.Input[int] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
396
+ :param pulumi.Input[str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
397
397
  """
398
398
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
399
399
 
@@ -410,7 +410,7 @@ class ApiAccessKey(pulumi.CustomResource):
410
410
 
411
411
  @property
412
412
  @pulumi.getter(name="accountId")
413
- def account_id(self) -> pulumi.Output[int]:
413
+ def account_id(self) -> pulumi.Output[str]:
414
414
  """
415
415
  The New Relic account ID of the account you wish to create the API access key.
416
416
  """
@@ -458,7 +458,7 @@ class ApiAccessKey(pulumi.CustomResource):
458
458
 
459
459
  @property
460
460
  @pulumi.getter(name="userId")
461
- def user_id(self) -> pulumi.Output[int]:
461
+ def user_id(self) -> pulumi.Output[str]:
462
462
  """
463
463
  Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
464
464
  """
@@ -14,14 +14,14 @@ __all__ = ['BrowserApplicationArgs', 'BrowserApplication']
14
14
  @pulumi.input_type
15
15
  class BrowserApplicationArgs:
16
16
  def __init__(__self__, *,
17
- account_id: Optional[pulumi.Input[int]] = None,
17
+ account_id: Optional[pulumi.Input[str]] = None,
18
18
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
19
19
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
20
20
  loader_type: Optional[pulumi.Input[str]] = None,
21
21
  name: Optional[pulumi.Input[str]] = None):
22
22
  """
23
23
  The set of arguments for constructing a BrowserApplication resource.
24
- :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
24
+ :param pulumi.Input[str] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
25
25
  :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
26
26
  :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
27
27
  :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
@@ -40,14 +40,14 @@ class BrowserApplicationArgs:
40
40
 
41
41
  @property
42
42
  @pulumi.getter(name="accountId")
43
- def account_id(self) -> Optional[pulumi.Input[int]]:
43
+ def account_id(self) -> Optional[pulumi.Input[str]]:
44
44
  """
45
45
  The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
46
46
  """
47
47
  return pulumi.get(self, "account_id")
48
48
 
49
49
  @account_id.setter
50
- def account_id(self, value: Optional[pulumi.Input[int]]):
50
+ def account_id(self, value: Optional[pulumi.Input[str]]):
51
51
  pulumi.set(self, "account_id", value)
52
52
 
53
53
  @property
@@ -102,7 +102,7 @@ class BrowserApplicationArgs:
102
102
  @pulumi.input_type
103
103
  class _BrowserApplicationState:
104
104
  def __init__(__self__, *,
105
- account_id: Optional[pulumi.Input[int]] = None,
105
+ account_id: Optional[pulumi.Input[str]] = None,
106
106
  application_id: Optional[pulumi.Input[str]] = None,
107
107
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
108
108
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
@@ -112,7 +112,7 @@ class _BrowserApplicationState:
112
112
  name: Optional[pulumi.Input[str]] = None):
113
113
  """
114
114
  Input properties used for looking up and filtering BrowserApplication resources.
115
- :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
115
+ :param pulumi.Input[str] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
116
116
  :param pulumi.Input[str] application_id: The application ID of the browser application (not to be confused with GUID).
117
117
  :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
118
118
  :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
@@ -140,14 +140,14 @@ class _BrowserApplicationState:
140
140
 
141
141
  @property
142
142
  @pulumi.getter(name="accountId")
143
- def account_id(self) -> Optional[pulumi.Input[int]]:
143
+ def account_id(self) -> Optional[pulumi.Input[str]]:
144
144
  """
145
145
  The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
146
146
  """
147
147
  return pulumi.get(self, "account_id")
148
148
 
149
149
  @account_id.setter
150
- def account_id(self, value: Optional[pulumi.Input[int]]):
150
+ def account_id(self, value: Optional[pulumi.Input[str]]):
151
151
  pulumi.set(self, "account_id", value)
152
152
 
153
153
  @property
@@ -240,7 +240,7 @@ class BrowserApplication(pulumi.CustomResource):
240
240
  def __init__(__self__,
241
241
  resource_name: str,
242
242
  opts: Optional[pulumi.ResourceOptions] = None,
243
- account_id: Optional[pulumi.Input[int]] = None,
243
+ account_id: Optional[pulumi.Input[str]] = None,
244
244
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
245
245
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
246
246
  loader_type: Optional[pulumi.Input[str]] = None,
@@ -259,7 +259,7 @@ class BrowserApplication(pulumi.CustomResource):
259
259
 
260
260
  :param str resource_name: The name of the resource.
261
261
  :param pulumi.ResourceOptions opts: Options for the resource.
262
- :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
262
+ :param pulumi.Input[str] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
263
263
  :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
264
264
  :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
265
265
  :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
@@ -297,7 +297,7 @@ class BrowserApplication(pulumi.CustomResource):
297
297
  def _internal_init(__self__,
298
298
  resource_name: str,
299
299
  opts: Optional[pulumi.ResourceOptions] = None,
300
- account_id: Optional[pulumi.Input[int]] = None,
300
+ account_id: Optional[pulumi.Input[str]] = None,
301
301
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
302
302
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
303
303
  loader_type: Optional[pulumi.Input[str]] = None,
@@ -329,7 +329,7 @@ class BrowserApplication(pulumi.CustomResource):
329
329
  def get(resource_name: str,
330
330
  id: pulumi.Input[str],
331
331
  opts: Optional[pulumi.ResourceOptions] = None,
332
- account_id: Optional[pulumi.Input[int]] = None,
332
+ account_id: Optional[pulumi.Input[str]] = None,
333
333
  application_id: Optional[pulumi.Input[str]] = None,
334
334
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
335
335
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
@@ -344,7 +344,7 @@ class BrowserApplication(pulumi.CustomResource):
344
344
  :param str resource_name: The unique name of the resulting resource.
345
345
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
346
346
  :param pulumi.ResourceOptions opts: Options for the resource.
347
- :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
347
+ :param pulumi.Input[str] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
348
348
  :param pulumi.Input[str] application_id: The application ID of the browser application (not to be confused with GUID).
349
349
  :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
350
350
  :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
@@ -369,7 +369,7 @@ class BrowserApplication(pulumi.CustomResource):
369
369
 
370
370
  @property
371
371
  @pulumi.getter(name="accountId")
372
- def account_id(self) -> pulumi.Output[int]:
372
+ def account_id(self) -> pulumi.Output[str]:
373
373
  """
374
374
  The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
375
375
  """