pulumi-newrelic 5.21.0a1710157101__py3-none-any.whl → 5.39.0a1736849617__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. pulumi_newrelic/__init__.py +9 -0
  2. pulumi_newrelic/_inputs.py +7153 -461
  3. pulumi_newrelic/_utilities.py +41 -5
  4. pulumi_newrelic/account_management.py +11 -6
  5. pulumi_newrelic/alert_channel.py +116 -127
  6. pulumi_newrelic/alert_condition.py +116 -129
  7. pulumi_newrelic/alert_muting_rule.py +128 -76
  8. pulumi_newrelic/alert_policy.py +78 -75
  9. pulumi_newrelic/alert_policy_channel.py +77 -68
  10. pulumi_newrelic/api_access_key.py +45 -28
  11. pulumi_newrelic/browser_application.py +77 -78
  12. pulumi_newrelic/cloud/_inputs.py +2527 -1082
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +133 -128
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +23 -20
  15. pulumi_newrelic/cloud/aws_integrations.py +298 -1326
  16. pulumi_newrelic/cloud/aws_link_account.py +23 -20
  17. pulumi_newrelic/cloud/azure_integrations.py +521 -483
  18. pulumi_newrelic/cloud/azure_link_account.py +34 -31
  19. pulumi_newrelic/cloud/gcp_integrations.py +341 -322
  20. pulumi_newrelic/cloud/gcp_link_account.py +23 -20
  21. pulumi_newrelic/cloud/outputs.py +327 -1072
  22. pulumi_newrelic/config/__init__.pyi +6 -1
  23. pulumi_newrelic/config/vars.py +7 -2
  24. pulumi_newrelic/data_partition_rule.py +19 -18
  25. pulumi_newrelic/entity_tags.py +32 -31
  26. pulumi_newrelic/events_to_metrics_rule.py +23 -20
  27. pulumi_newrelic/get_account.py +24 -16
  28. pulumi_newrelic/get_alert_channel.py +26 -13
  29. pulumi_newrelic/get_alert_policy.py +35 -12
  30. pulumi_newrelic/get_application.py +39 -31
  31. pulumi_newrelic/get_authentication_domain.py +17 -13
  32. pulumi_newrelic/get_cloud_account.py +26 -18
  33. pulumi_newrelic/get_entity.py +90 -147
  34. pulumi_newrelic/get_group.py +58 -13
  35. pulumi_newrelic/get_key_transaction.py +109 -34
  36. pulumi_newrelic/get_notification_destination.py +64 -14
  37. pulumi_newrelic/get_obfuscation_expression.py +36 -28
  38. pulumi_newrelic/get_service_level_alert_helper.py +135 -117
  39. pulumi_newrelic/get_test_grok_pattern.py +29 -18
  40. pulumi_newrelic/get_user.py +17 -9
  41. pulumi_newrelic/group.py +5 -146
  42. pulumi_newrelic/infra_alert_condition.py +160 -167
  43. pulumi_newrelic/insights/_inputs.py +43 -0
  44. pulumi_newrelic/insights/event.py +48 -47
  45. pulumi_newrelic/insights/outputs.py +5 -0
  46. pulumi_newrelic/key_transaction.py +464 -0
  47. pulumi_newrelic/log_parsing_rule.py +25 -24
  48. pulumi_newrelic/monitor_downtime.py +211 -225
  49. pulumi_newrelic/notification_channel.py +381 -366
  50. pulumi_newrelic/notification_destination.py +192 -54
  51. pulumi_newrelic/nrql_alert_condition.py +345 -262
  52. pulumi_newrelic/nrql_drop_rule.py +31 -30
  53. pulumi_newrelic/obfuscation_expression.py +23 -20
  54. pulumi_newrelic/obfuscation_rule.py +38 -33
  55. pulumi_newrelic/one_dashboard.py +29 -24
  56. pulumi_newrelic/one_dashboard_json.py +19 -14
  57. pulumi_newrelic/one_dashboard_raw.py +110 -105
  58. pulumi_newrelic/outputs.py +2446 -245
  59. pulumi_newrelic/plugins/_inputs.py +145 -10
  60. pulumi_newrelic/plugins/application_settings.py +25 -36
  61. pulumi_newrelic/plugins/outputs.py +15 -10
  62. pulumi_newrelic/plugins/workload.py +215 -92
  63. pulumi_newrelic/provider.py +27 -33
  64. pulumi_newrelic/pulumi-plugin.json +2 -1
  65. pulumi_newrelic/service_level.py +185 -186
  66. pulumi_newrelic/synthetics/_inputs.py +159 -2
  67. pulumi_newrelic/synthetics/alert_condition.py +87 -98
  68. pulumi_newrelic/synthetics/broken_links_monitor.py +216 -99
  69. pulumi_newrelic/synthetics/cert_check_monitor.py +219 -100
  70. pulumi_newrelic/synthetics/get_private_location.py +34 -30
  71. pulumi_newrelic/synthetics/get_secure_credential.py +24 -16
  72. pulumi_newrelic/synthetics/monitor.py +348 -193
  73. pulumi_newrelic/synthetics/multi_location_alert_condition.py +105 -100
  74. pulumi_newrelic/synthetics/outputs.py +7 -2
  75. pulumi_newrelic/synthetics/private_location.py +25 -20
  76. pulumi_newrelic/synthetics/script_monitor.py +317 -182
  77. pulumi_newrelic/synthetics/secure_credential.py +23 -22
  78. pulumi_newrelic/synthetics/step_monitor.py +405 -100
  79. pulumi_newrelic/user.py +13 -10
  80. pulumi_newrelic/workflow.py +209 -196
  81. {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/METADATA +7 -6
  82. pulumi_newrelic-5.39.0a1736849617.dist-info/RECORD +90 -0
  83. {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/WHEEL +1 -1
  84. pulumi_newrelic-5.21.0a1710157101.dist-info/RECORD +0 -89
  85. {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -17,7 +22,7 @@ __all__ = ['OneDashboardArgs', 'OneDashboard']
17
22
  class OneDashboardArgs:
18
23
  def __init__(__self__, *,
19
24
  pages: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]],
20
- account_id: Optional[pulumi.Input[int]] = None,
25
+ account_id: Optional[pulumi.Input[str]] = None,
21
26
  description: Optional[pulumi.Input[str]] = None,
22
27
  name: Optional[pulumi.Input[str]] = None,
23
28
  permissions: Optional[pulumi.Input[str]] = None,
@@ -25,7 +30,7 @@ class OneDashboardArgs:
25
30
  """
26
31
  The set of arguments for constructing a OneDashboard resource.
27
32
  :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]] pages: A nested block that describes a page. See Nested page blocks below for details.
28
- :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
33
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
29
34
  :param pulumi.Input[str] description: Brief text describing the dashboard.
30
35
  :param pulumi.Input[str] name: The title of the dashboard.
31
36
  :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
@@ -57,14 +62,14 @@ class OneDashboardArgs:
57
62
 
58
63
  @property
59
64
  @pulumi.getter(name="accountId")
60
- def account_id(self) -> Optional[pulumi.Input[int]]:
65
+ def account_id(self) -> Optional[pulumi.Input[str]]:
61
66
  """
62
67
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
63
68
  """
64
69
  return pulumi.get(self, "account_id")
65
70
 
66
71
  @account_id.setter
67
- def account_id(self, value: Optional[pulumi.Input[int]]):
72
+ def account_id(self, value: Optional[pulumi.Input[str]]):
68
73
  pulumi.set(self, "account_id", value)
69
74
 
70
75
  @property
@@ -119,7 +124,7 @@ class OneDashboardArgs:
119
124
  @pulumi.input_type
120
125
  class _OneDashboardState:
121
126
  def __init__(__self__, *,
122
- account_id: Optional[pulumi.Input[int]] = None,
127
+ account_id: Optional[pulumi.Input[str]] = None,
123
128
  description: Optional[pulumi.Input[str]] = None,
124
129
  guid: Optional[pulumi.Input[str]] = None,
125
130
  name: Optional[pulumi.Input[str]] = None,
@@ -129,7 +134,7 @@ class _OneDashboardState:
129
134
  variables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]] = None):
130
135
  """
131
136
  Input properties used for looking up and filtering OneDashboard resources.
132
- :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
137
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
133
138
  :param pulumi.Input[str] description: Brief text describing the dashboard.
134
139
  :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
135
140
  :param pulumi.Input[str] name: The title of the dashboard.
@@ -157,14 +162,14 @@ class _OneDashboardState:
157
162
 
158
163
  @property
159
164
  @pulumi.getter(name="accountId")
160
- def account_id(self) -> Optional[pulumi.Input[int]]:
165
+ def account_id(self) -> Optional[pulumi.Input[str]]:
161
166
  """
162
167
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
163
168
  """
164
169
  return pulumi.get(self, "account_id")
165
170
 
166
171
  @account_id.setter
167
- def account_id(self, value: Optional[pulumi.Input[int]]):
172
+ def account_id(self, value: Optional[pulumi.Input[str]]):
168
173
  pulumi.set(self, "account_id", value)
169
174
 
170
175
  @property
@@ -257,12 +262,12 @@ class OneDashboard(pulumi.CustomResource):
257
262
  def __init__(__self__,
258
263
  resource_name: str,
259
264
  opts: Optional[pulumi.ResourceOptions] = None,
260
- account_id: Optional[pulumi.Input[int]] = None,
265
+ account_id: Optional[pulumi.Input[str]] = None,
261
266
  description: Optional[pulumi.Input[str]] = None,
262
267
  name: Optional[pulumi.Input[str]] = None,
263
- pages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]]] = None,
268
+ pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
264
269
  permissions: Optional[pulumi.Input[str]] = None,
265
- variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]]] = None,
270
+ variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None,
266
271
  __props__=None):
267
272
  """
268
273
  ## Import
@@ -277,12 +282,12 @@ class OneDashboard(pulumi.CustomResource):
277
282
 
278
283
  :param str resource_name: The name of the resource.
279
284
  :param pulumi.ResourceOptions opts: Options for the resource.
280
- :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
285
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
281
286
  :param pulumi.Input[str] description: Brief text describing the dashboard.
282
287
  :param pulumi.Input[str] name: The title of the dashboard.
283
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
288
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
284
289
  :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
285
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
290
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
286
291
  """
287
292
  ...
288
293
  @overload
@@ -316,12 +321,12 @@ class OneDashboard(pulumi.CustomResource):
316
321
  def _internal_init(__self__,
317
322
  resource_name: str,
318
323
  opts: Optional[pulumi.ResourceOptions] = None,
319
- account_id: Optional[pulumi.Input[int]] = None,
324
+ account_id: Optional[pulumi.Input[str]] = None,
320
325
  description: Optional[pulumi.Input[str]] = None,
321
326
  name: Optional[pulumi.Input[str]] = None,
322
- pages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]]] = None,
327
+ pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
323
328
  permissions: Optional[pulumi.Input[str]] = None,
324
- variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]]] = None,
329
+ variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None,
325
330
  __props__=None):
326
331
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
327
332
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -351,14 +356,14 @@ class OneDashboard(pulumi.CustomResource):
351
356
  def get(resource_name: str,
352
357
  id: pulumi.Input[str],
353
358
  opts: Optional[pulumi.ResourceOptions] = None,
354
- account_id: Optional[pulumi.Input[int]] = None,
359
+ account_id: Optional[pulumi.Input[str]] = None,
355
360
  description: Optional[pulumi.Input[str]] = None,
356
361
  guid: Optional[pulumi.Input[str]] = None,
357
362
  name: Optional[pulumi.Input[str]] = None,
358
- pages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]]] = None,
363
+ pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
359
364
  permalink: Optional[pulumi.Input[str]] = None,
360
365
  permissions: Optional[pulumi.Input[str]] = None,
361
- variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]]] = None) -> 'OneDashboard':
366
+ variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None) -> 'OneDashboard':
362
367
  """
363
368
  Get an existing OneDashboard resource's state with the given name, id, and optional extra
364
369
  properties used to qualify the lookup.
@@ -366,14 +371,14 @@ class OneDashboard(pulumi.CustomResource):
366
371
  :param str resource_name: The unique name of the resulting resource.
367
372
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
368
373
  :param pulumi.ResourceOptions opts: Options for the resource.
369
- :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
374
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
370
375
  :param pulumi.Input[str] description: Brief text describing the dashboard.
371
376
  :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
372
377
  :param pulumi.Input[str] name: The title of the dashboard.
373
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardPageArgs']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
378
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
374
379
  :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
375
380
  :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`.
376
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
381
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
377
382
  """
378
383
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
379
384
 
@@ -391,7 +396,7 @@ class OneDashboard(pulumi.CustomResource):
391
396
 
392
397
  @property
393
398
  @pulumi.getter(name="accountId")
394
- def account_id(self) -> pulumi.Output[int]:
399
+ def account_id(self) -> pulumi.Output[str]:
395
400
  """
396
401
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
397
402
  """
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['OneDashboardJsonArgs', 'OneDashboardJson']
@@ -15,11 +20,11 @@ __all__ = ['OneDashboardJsonArgs', 'OneDashboardJson']
15
20
  class OneDashboardJsonArgs:
16
21
  def __init__(__self__, *,
17
22
  json: pulumi.Input[str],
18
- account_id: Optional[pulumi.Input[int]] = None):
23
+ account_id: Optional[pulumi.Input[str]] = None):
19
24
  """
20
25
  The set of arguments for constructing a OneDashboardJson resource.
21
26
  :param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
22
- :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
27
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
23
28
  """
24
29
  pulumi.set(__self__, "json", json)
25
30
  if account_id is not None:
@@ -39,28 +44,28 @@ class OneDashboardJsonArgs:
39
44
 
40
45
  @property
41
46
  @pulumi.getter(name="accountId")
42
- def account_id(self) -> Optional[pulumi.Input[int]]:
47
+ def account_id(self) -> Optional[pulumi.Input[str]]:
43
48
  """
44
49
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
45
50
  """
46
51
  return pulumi.get(self, "account_id")
47
52
 
48
53
  @account_id.setter
49
- def account_id(self, value: Optional[pulumi.Input[int]]):
54
+ def account_id(self, value: Optional[pulumi.Input[str]]):
50
55
  pulumi.set(self, "account_id", value)
51
56
 
52
57
 
53
58
  @pulumi.input_type
54
59
  class _OneDashboardJsonState:
55
60
  def __init__(__self__, *,
56
- account_id: Optional[pulumi.Input[int]] = None,
61
+ account_id: Optional[pulumi.Input[str]] = None,
57
62
  guid: Optional[pulumi.Input[str]] = None,
58
63
  json: Optional[pulumi.Input[str]] = None,
59
64
  permalink: Optional[pulumi.Input[str]] = None,
60
65
  updated_at: Optional[pulumi.Input[str]] = None):
61
66
  """
62
67
  Input properties used for looking up and filtering OneDashboardJson resources.
63
- :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
68
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
64
69
  :param pulumi.Input[str] guid: The unique entity identifier of the dashboard in New Relic.
65
70
  :param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
66
71
  :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
@@ -79,14 +84,14 @@ class _OneDashboardJsonState:
79
84
 
80
85
  @property
81
86
  @pulumi.getter(name="accountId")
82
- def account_id(self) -> Optional[pulumi.Input[int]]:
87
+ def account_id(self) -> Optional[pulumi.Input[str]]:
83
88
  """
84
89
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
85
90
  """
86
91
  return pulumi.get(self, "account_id")
87
92
 
88
93
  @account_id.setter
89
- def account_id(self, value: Optional[pulumi.Input[int]]):
94
+ def account_id(self, value: Optional[pulumi.Input[str]]):
90
95
  pulumi.set(self, "account_id", value)
91
96
 
92
97
  @property
@@ -143,7 +148,7 @@ class OneDashboardJson(pulumi.CustomResource):
143
148
  def __init__(__self__,
144
149
  resource_name: str,
145
150
  opts: Optional[pulumi.ResourceOptions] = None,
146
- account_id: Optional[pulumi.Input[int]] = None,
151
+ account_id: Optional[pulumi.Input[str]] = None,
147
152
  json: Optional[pulumi.Input[str]] = None,
148
153
  __props__=None):
149
154
  """
@@ -159,7 +164,7 @@ class OneDashboardJson(pulumi.CustomResource):
159
164
 
160
165
  :param str resource_name: The name of the resource.
161
166
  :param pulumi.ResourceOptions opts: Options for the resource.
162
- :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
167
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
163
168
  :param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
164
169
  """
165
170
  ...
@@ -194,7 +199,7 @@ class OneDashboardJson(pulumi.CustomResource):
194
199
  def _internal_init(__self__,
195
200
  resource_name: str,
196
201
  opts: Optional[pulumi.ResourceOptions] = None,
197
- account_id: Optional[pulumi.Input[int]] = None,
202
+ account_id: Optional[pulumi.Input[str]] = None,
198
203
  json: Optional[pulumi.Input[str]] = None,
199
204
  __props__=None):
200
205
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -222,7 +227,7 @@ class OneDashboardJson(pulumi.CustomResource):
222
227
  def get(resource_name: str,
223
228
  id: pulumi.Input[str],
224
229
  opts: Optional[pulumi.ResourceOptions] = None,
225
- account_id: Optional[pulumi.Input[int]] = None,
230
+ account_id: Optional[pulumi.Input[str]] = None,
226
231
  guid: Optional[pulumi.Input[str]] = None,
227
232
  json: Optional[pulumi.Input[str]] = None,
228
233
  permalink: Optional[pulumi.Input[str]] = None,
@@ -234,7 +239,7 @@ class OneDashboardJson(pulumi.CustomResource):
234
239
  :param str resource_name: The unique name of the resulting resource.
235
240
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
236
241
  :param pulumi.ResourceOptions opts: Options for the resource.
237
- :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
242
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
238
243
  :param pulumi.Input[str] guid: The unique entity identifier of the dashboard in New Relic.
239
244
  :param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
240
245
  :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
@@ -253,7 +258,7 @@ class OneDashboardJson(pulumi.CustomResource):
253
258
 
254
259
  @property
255
260
  @pulumi.getter(name="accountId")
256
- def account_id(self) -> pulumi.Output[int]:
261
+ def account_id(self) -> pulumi.Output[str]:
257
262
  """
258
263
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
259
264
  """