pulumi-newrelic 5.44.0a1743218959__py3-none-any.whl → 5.44.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 (89) hide show
  1. pulumi_newrelic/__init__.py +1 -0
  2. pulumi_newrelic/_inputs.py +2961 -2960
  3. pulumi_newrelic/account_management.py +29 -28
  4. pulumi_newrelic/alert_channel.py +43 -42
  5. pulumi_newrelic/alert_condition.py +176 -175
  6. pulumi_newrelic/alert_muting_rule.py +71 -70
  7. pulumi_newrelic/alert_policy.py +57 -56
  8. pulumi_newrelic/alert_policy_channel.py +43 -42
  9. pulumi_newrelic/api_access_key.py +92 -91
  10. pulumi_newrelic/browser_application.py +92 -91
  11. pulumi_newrelic/cloud/__init__.py +1 -0
  12. pulumi_newrelic/cloud/_inputs.py +1765 -1764
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
  15. pulumi_newrelic/cloud/aws_integrations.py +29 -28
  16. pulumi_newrelic/cloud/aws_link_account.py +57 -56
  17. pulumi_newrelic/cloud/azure_integrations.py +29 -28
  18. pulumi_newrelic/cloud/azure_link_account.py +85 -84
  19. pulumi_newrelic/cloud/gcp_integrations.py +29 -28
  20. pulumi_newrelic/cloud/gcp_link_account.py +45 -44
  21. pulumi_newrelic/cloud/outputs.py +1057 -1056
  22. pulumi_newrelic/config/__init__.py +1 -0
  23. pulumi_newrelic/config/__init__.pyi +1 -0
  24. pulumi_newrelic/config/vars.py +1 -0
  25. pulumi_newrelic/data_partition_rule.py +92 -91
  26. pulumi_newrelic/entity_tags.py +15 -14
  27. pulumi_newrelic/events_to_metrics_rule.py +78 -77
  28. pulumi_newrelic/get_account.py +17 -16
  29. pulumi_newrelic/get_alert_channel.py +14 -13
  30. pulumi_newrelic/get_alert_policy.py +19 -18
  31. pulumi_newrelic/get_application.py +9 -8
  32. pulumi_newrelic/get_authentication_domain.py +7 -6
  33. pulumi_newrelic/get_cloud_account.py +17 -16
  34. pulumi_newrelic/get_entity.py +40 -39
  35. pulumi_newrelic/get_group.py +13 -12
  36. pulumi_newrelic/get_key_transaction.py +19 -18
  37. pulumi_newrelic/get_notification_destination.py +20 -19
  38. pulumi_newrelic/get_obfuscation_expression.py +12 -11
  39. pulumi_newrelic/get_service_level_alert_helper.py +41 -40
  40. pulumi_newrelic/get_test_grok_pattern.py +17 -16
  41. pulumi_newrelic/get_user.py +17 -16
  42. pulumi_newrelic/group.py +43 -42
  43. pulumi_newrelic/infra_alert_condition.py +204 -203
  44. pulumi_newrelic/insights/__init__.py +1 -0
  45. pulumi_newrelic/insights/_inputs.py +26 -25
  46. pulumi_newrelic/insights/event.py +1 -0
  47. pulumi_newrelic/insights/outputs.py +16 -15
  48. pulumi_newrelic/key_transaction.py +85 -84
  49. pulumi_newrelic/log_parsing_rule.py +120 -119
  50. pulumi_newrelic/monitor_downtime.py +113 -112
  51. pulumi_newrelic/notification_channel.py +92 -91
  52. pulumi_newrelic/notification_destination.py +78 -77
  53. pulumi_newrelic/nrql_alert_condition.py +330 -329
  54. pulumi_newrelic/nrql_drop_rule.py +64 -63
  55. pulumi_newrelic/obfuscation_expression.py +57 -56
  56. pulumi_newrelic/obfuscation_rule.py +71 -70
  57. pulumi_newrelic/one_dashboard.py +71 -70
  58. pulumi_newrelic/one_dashboard_json.py +50 -49
  59. pulumi_newrelic/one_dashboard_raw.py +71 -70
  60. pulumi_newrelic/outputs.py +1831 -1830
  61. pulumi_newrelic/plugins/__init__.py +1 -0
  62. pulumi_newrelic/plugins/_inputs.py +126 -125
  63. pulumi_newrelic/plugins/application_settings.py +132 -131
  64. pulumi_newrelic/plugins/outputs.py +76 -75
  65. pulumi_newrelic/plugins/workload.py +99 -98
  66. pulumi_newrelic/provider.py +80 -79
  67. pulumi_newrelic/pulumi-plugin.json +1 -1
  68. pulumi_newrelic/service_level.py +57 -56
  69. pulumi_newrelic/synthetics/__init__.py +1 -0
  70. pulumi_newrelic/synthetics/_inputs.py +106 -105
  71. pulumi_newrelic/synthetics/alert_condition.py +78 -77
  72. pulumi_newrelic/synthetics/broken_links_monitor.py +179 -150
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +186 -157
  74. pulumi_newrelic/synthetics/get_private_location.py +17 -16
  75. pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
  76. pulumi_newrelic/synthetics/monitor.py +326 -297
  77. pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
  78. pulumi_newrelic/synthetics/outputs.py +64 -63
  79. pulumi_newrelic/synthetics/private_location.py +85 -84
  80. pulumi_newrelic/synthetics/script_monitor.py +263 -234
  81. pulumi_newrelic/synthetics/secure_credential.py +71 -70
  82. pulumi_newrelic/synthetics/step_monitor.py +193 -164
  83. pulumi_newrelic/user.py +57 -56
  84. pulumi_newrelic/workflow.py +106 -105
  85. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.44.1.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.44.0a1743218959.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -22,18 +23,18 @@ __all__ = ['OneDashboardArgs', 'OneDashboard']
22
23
  class OneDashboardArgs:
23
24
  def __init__(__self__, *,
24
25
  pages: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]],
25
- account_id: Optional[pulumi.Input[str]] = None,
26
- description: Optional[pulumi.Input[str]] = None,
27
- name: Optional[pulumi.Input[str]] = None,
28
- permissions: Optional[pulumi.Input[str]] = None,
26
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
27
+ description: Optional[pulumi.Input[builtins.str]] = None,
28
+ name: Optional[pulumi.Input[builtins.str]] = None,
29
+ permissions: Optional[pulumi.Input[builtins.str]] = None,
29
30
  variables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]] = None):
30
31
  """
31
32
  The set of arguments for constructing a OneDashboard resource.
32
33
  :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]] pages: A nested block that describes a page. See Nested page blocks below for details.
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.
34
- :param pulumi.Input[str] description: Brief text describing the dashboard.
35
- :param pulumi.Input[str] name: The title of the dashboard.
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`.
34
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
35
+ :param pulumi.Input[builtins.str] description: Brief text describing the dashboard.
36
+ :param pulumi.Input[builtins.str] name: The title of the dashboard.
37
+ :param pulumi.Input[builtins.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`.
37
38
  :param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
38
39
  """
39
40
  pulumi.set(__self__, "pages", pages)
@@ -62,50 +63,50 @@ class OneDashboardArgs:
62
63
 
63
64
  @property
64
65
  @pulumi.getter(name="accountId")
65
- def account_id(self) -> Optional[pulumi.Input[str]]:
66
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
66
67
  """
67
68
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
68
69
  """
69
70
  return pulumi.get(self, "account_id")
70
71
 
71
72
  @account_id.setter
72
- def account_id(self, value: Optional[pulumi.Input[str]]):
73
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
73
74
  pulumi.set(self, "account_id", value)
74
75
 
75
76
  @property
76
77
  @pulumi.getter
77
- def description(self) -> Optional[pulumi.Input[str]]:
78
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
78
79
  """
79
80
  Brief text describing the dashboard.
80
81
  """
81
82
  return pulumi.get(self, "description")
82
83
 
83
84
  @description.setter
84
- def description(self, value: Optional[pulumi.Input[str]]):
85
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
85
86
  pulumi.set(self, "description", value)
86
87
 
87
88
  @property
88
89
  @pulumi.getter
89
- def name(self) -> Optional[pulumi.Input[str]]:
90
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
90
91
  """
91
92
  The title of the dashboard.
92
93
  """
93
94
  return pulumi.get(self, "name")
94
95
 
95
96
  @name.setter
96
- def name(self, value: Optional[pulumi.Input[str]]):
97
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
97
98
  pulumi.set(self, "name", value)
98
99
 
99
100
  @property
100
101
  @pulumi.getter
101
- def permissions(self) -> Optional[pulumi.Input[str]]:
102
+ def permissions(self) -> Optional[pulumi.Input[builtins.str]]:
102
103
  """
103
104
  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`.
104
105
  """
105
106
  return pulumi.get(self, "permissions")
106
107
 
107
108
  @permissions.setter
108
- def permissions(self, value: Optional[pulumi.Input[str]]):
109
+ def permissions(self, value: Optional[pulumi.Input[builtins.str]]):
109
110
  pulumi.set(self, "permissions", value)
110
111
 
111
112
  @property
@@ -124,23 +125,23 @@ class OneDashboardArgs:
124
125
  @pulumi.input_type
125
126
  class _OneDashboardState:
126
127
  def __init__(__self__, *,
127
- account_id: Optional[pulumi.Input[str]] = None,
128
- description: Optional[pulumi.Input[str]] = None,
129
- guid: Optional[pulumi.Input[str]] = None,
130
- name: Optional[pulumi.Input[str]] = None,
128
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
129
+ description: Optional[pulumi.Input[builtins.str]] = None,
130
+ guid: Optional[pulumi.Input[builtins.str]] = None,
131
+ name: Optional[pulumi.Input[builtins.str]] = None,
131
132
  pages: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]]] = None,
132
- permalink: Optional[pulumi.Input[str]] = None,
133
- permissions: Optional[pulumi.Input[str]] = None,
133
+ permalink: Optional[pulumi.Input[builtins.str]] = None,
134
+ permissions: Optional[pulumi.Input[builtins.str]] = None,
134
135
  variables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]] = None):
135
136
  """
136
137
  Input properties used for looking up and filtering OneDashboard resources.
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.
138
- :param pulumi.Input[str] description: Brief text describing the dashboard.
139
- :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
140
- :param pulumi.Input[str] name: The title of the dashboard.
138
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
139
+ :param pulumi.Input[builtins.str] description: Brief text describing the dashboard.
140
+ :param pulumi.Input[builtins.str] guid: The unique entity identifier of the dashboard page in New Relic.
141
+ :param pulumi.Input[builtins.str] name: The title of the dashboard.
141
142
  :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]] pages: A nested block that describes a page. See Nested page blocks below for details.
142
- :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
143
- :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`.
143
+ :param pulumi.Input[builtins.str] permalink: The URL for viewing the dashboard.
144
+ :param pulumi.Input[builtins.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`.
144
145
  :param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
145
146
  """
146
147
  if account_id is not None:
@@ -162,50 +163,50 @@ class _OneDashboardState:
162
163
 
163
164
  @property
164
165
  @pulumi.getter(name="accountId")
165
- def account_id(self) -> Optional[pulumi.Input[str]]:
166
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
166
167
  """
167
168
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
168
169
  """
169
170
  return pulumi.get(self, "account_id")
170
171
 
171
172
  @account_id.setter
172
- def account_id(self, value: Optional[pulumi.Input[str]]):
173
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
173
174
  pulumi.set(self, "account_id", value)
174
175
 
175
176
  @property
176
177
  @pulumi.getter
177
- def description(self) -> Optional[pulumi.Input[str]]:
178
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
178
179
  """
179
180
  Brief text describing the dashboard.
180
181
  """
181
182
  return pulumi.get(self, "description")
182
183
 
183
184
  @description.setter
184
- def description(self, value: Optional[pulumi.Input[str]]):
185
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
185
186
  pulumi.set(self, "description", value)
186
187
 
187
188
  @property
188
189
  @pulumi.getter
189
- def guid(self) -> Optional[pulumi.Input[str]]:
190
+ def guid(self) -> Optional[pulumi.Input[builtins.str]]:
190
191
  """
191
192
  The unique entity identifier of the dashboard page in New Relic.
192
193
  """
193
194
  return pulumi.get(self, "guid")
194
195
 
195
196
  @guid.setter
196
- def guid(self, value: Optional[pulumi.Input[str]]):
197
+ def guid(self, value: Optional[pulumi.Input[builtins.str]]):
197
198
  pulumi.set(self, "guid", value)
198
199
 
199
200
  @property
200
201
  @pulumi.getter
201
- def name(self) -> Optional[pulumi.Input[str]]:
202
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
202
203
  """
203
204
  The title of the dashboard.
204
205
  """
205
206
  return pulumi.get(self, "name")
206
207
 
207
208
  @name.setter
208
- def name(self, value: Optional[pulumi.Input[str]]):
209
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
209
210
  pulumi.set(self, "name", value)
210
211
 
211
212
  @property
@@ -222,26 +223,26 @@ class _OneDashboardState:
222
223
 
223
224
  @property
224
225
  @pulumi.getter
225
- def permalink(self) -> Optional[pulumi.Input[str]]:
226
+ def permalink(self) -> Optional[pulumi.Input[builtins.str]]:
226
227
  """
227
228
  The URL for viewing the dashboard.
228
229
  """
229
230
  return pulumi.get(self, "permalink")
230
231
 
231
232
  @permalink.setter
232
- def permalink(self, value: Optional[pulumi.Input[str]]):
233
+ def permalink(self, value: Optional[pulumi.Input[builtins.str]]):
233
234
  pulumi.set(self, "permalink", value)
234
235
 
235
236
  @property
236
237
  @pulumi.getter
237
- def permissions(self) -> Optional[pulumi.Input[str]]:
238
+ def permissions(self) -> Optional[pulumi.Input[builtins.str]]:
238
239
  """
239
240
  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`.
240
241
  """
241
242
  return pulumi.get(self, "permissions")
242
243
 
243
244
  @permissions.setter
244
- def permissions(self, value: Optional[pulumi.Input[str]]):
245
+ def permissions(self, value: Optional[pulumi.Input[builtins.str]]):
245
246
  pulumi.set(self, "permissions", value)
246
247
 
247
248
  @property
@@ -262,11 +263,11 @@ class OneDashboard(pulumi.CustomResource):
262
263
  def __init__(__self__,
263
264
  resource_name: str,
264
265
  opts: Optional[pulumi.ResourceOptions] = None,
265
- account_id: Optional[pulumi.Input[str]] = None,
266
- description: Optional[pulumi.Input[str]] = None,
267
- name: Optional[pulumi.Input[str]] = None,
266
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
267
+ description: Optional[pulumi.Input[builtins.str]] = None,
268
+ name: Optional[pulumi.Input[builtins.str]] = None,
268
269
  pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
269
- permissions: Optional[pulumi.Input[str]] = None,
270
+ permissions: Optional[pulumi.Input[builtins.str]] = None,
270
271
  variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None,
271
272
  __props__=None):
272
273
  """
@@ -282,11 +283,11 @@ class OneDashboard(pulumi.CustomResource):
282
283
 
283
284
  :param str resource_name: The name of the resource.
284
285
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
286
- :param pulumi.Input[str] description: Brief text describing the dashboard.
287
- :param pulumi.Input[str] name: The title of the dashboard.
286
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
287
+ :param pulumi.Input[builtins.str] description: Brief text describing the dashboard.
288
+ :param pulumi.Input[builtins.str] name: The title of the dashboard.
288
289
  :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
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`.
290
+ :param pulumi.Input[builtins.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`.
290
291
  :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.
291
292
  """
292
293
  ...
@@ -321,11 +322,11 @@ class OneDashboard(pulumi.CustomResource):
321
322
  def _internal_init(__self__,
322
323
  resource_name: str,
323
324
  opts: Optional[pulumi.ResourceOptions] = None,
324
- account_id: Optional[pulumi.Input[str]] = None,
325
- description: Optional[pulumi.Input[str]] = None,
326
- name: Optional[pulumi.Input[str]] = None,
325
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
326
+ description: Optional[pulumi.Input[builtins.str]] = None,
327
+ name: Optional[pulumi.Input[builtins.str]] = None,
327
328
  pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
328
- permissions: Optional[pulumi.Input[str]] = None,
329
+ permissions: Optional[pulumi.Input[builtins.str]] = None,
329
330
  variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None,
330
331
  __props__=None):
331
332
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -356,13 +357,13 @@ class OneDashboard(pulumi.CustomResource):
356
357
  def get(resource_name: str,
357
358
  id: pulumi.Input[str],
358
359
  opts: Optional[pulumi.ResourceOptions] = None,
359
- account_id: Optional[pulumi.Input[str]] = None,
360
- description: Optional[pulumi.Input[str]] = None,
361
- guid: Optional[pulumi.Input[str]] = None,
362
- name: Optional[pulumi.Input[str]] = None,
360
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
361
+ description: Optional[pulumi.Input[builtins.str]] = None,
362
+ guid: Optional[pulumi.Input[builtins.str]] = None,
363
+ name: Optional[pulumi.Input[builtins.str]] = None,
363
364
  pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]]] = None,
364
- permalink: Optional[pulumi.Input[str]] = None,
365
- permissions: Optional[pulumi.Input[str]] = None,
365
+ permalink: Optional[pulumi.Input[builtins.str]] = None,
366
+ permissions: Optional[pulumi.Input[builtins.str]] = None,
366
367
  variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardVariableArgs', 'OneDashboardVariableArgsDict']]]]] = None) -> 'OneDashboard':
367
368
  """
368
369
  Get an existing OneDashboard resource's state with the given name, id, and optional extra
@@ -371,13 +372,13 @@ class OneDashboard(pulumi.CustomResource):
371
372
  :param str resource_name: The unique name of the resulting resource.
372
373
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
373
374
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
375
- :param pulumi.Input[str] description: Brief text describing the dashboard.
376
- :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
377
- :param pulumi.Input[str] name: The title of the dashboard.
375
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
376
+ :param pulumi.Input[builtins.str] description: Brief text describing the dashboard.
377
+ :param pulumi.Input[builtins.str] guid: The unique entity identifier of the dashboard page in New Relic.
378
+ :param pulumi.Input[builtins.str] name: The title of the dashboard.
378
379
  :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardPageArgs', 'OneDashboardPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
379
- :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
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`.
380
+ :param pulumi.Input[builtins.str] permalink: The URL for viewing the dashboard.
381
+ :param pulumi.Input[builtins.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`.
381
382
  :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.
382
383
  """
383
384
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -396,7 +397,7 @@ class OneDashboard(pulumi.CustomResource):
396
397
 
397
398
  @property
398
399
  @pulumi.getter(name="accountId")
399
- def account_id(self) -> pulumi.Output[str]:
400
+ def account_id(self) -> pulumi.Output[builtins.str]:
400
401
  """
401
402
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
402
403
  """
@@ -404,7 +405,7 @@ class OneDashboard(pulumi.CustomResource):
404
405
 
405
406
  @property
406
407
  @pulumi.getter
407
- def description(self) -> pulumi.Output[Optional[str]]:
408
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
408
409
  """
409
410
  Brief text describing the dashboard.
410
411
  """
@@ -412,7 +413,7 @@ class OneDashboard(pulumi.CustomResource):
412
413
 
413
414
  @property
414
415
  @pulumi.getter
415
- def guid(self) -> pulumi.Output[str]:
416
+ def guid(self) -> pulumi.Output[builtins.str]:
416
417
  """
417
418
  The unique entity identifier of the dashboard page in New Relic.
418
419
  """
@@ -420,7 +421,7 @@ class OneDashboard(pulumi.CustomResource):
420
421
 
421
422
  @property
422
423
  @pulumi.getter
423
- def name(self) -> pulumi.Output[str]:
424
+ def name(self) -> pulumi.Output[builtins.str]:
424
425
  """
425
426
  The title of the dashboard.
426
427
  """
@@ -436,7 +437,7 @@ class OneDashboard(pulumi.CustomResource):
436
437
 
437
438
  @property
438
439
  @pulumi.getter
439
- def permalink(self) -> pulumi.Output[str]:
440
+ def permalink(self) -> pulumi.Output[builtins.str]:
440
441
  """
441
442
  The URL for viewing the dashboard.
442
443
  """
@@ -444,7 +445,7 @@ class OneDashboard(pulumi.CustomResource):
444
445
 
445
446
  @property
446
447
  @pulumi.getter
447
- def permissions(self) -> pulumi.Output[Optional[str]]:
448
+ def permissions(self) -> pulumi.Output[Optional[builtins.str]]:
448
449
  """
449
450
  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`.
450
451
  """
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -19,12 +20,12 @@ __all__ = ['OneDashboardJsonArgs', 'OneDashboardJson']
19
20
  @pulumi.input_type
20
21
  class OneDashboardJsonArgs:
21
22
  def __init__(__self__, *,
22
- json: pulumi.Input[str],
23
- account_id: Optional[pulumi.Input[str]] = None):
23
+ json: pulumi.Input[builtins.str],
24
+ account_id: Optional[pulumi.Input[builtins.str]] = None):
24
25
  """
25
26
  The set of arguments for constructing a OneDashboardJson resource.
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)
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.
27
+ :param pulumi.Input[builtins.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)
28
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
28
29
  """
29
30
  pulumi.set(__self__, "json", json)
30
31
  if account_id is not None:
@@ -32,44 +33,44 @@ class OneDashboardJsonArgs:
32
33
 
33
34
  @property
34
35
  @pulumi.getter
35
- def json(self) -> pulumi.Input[str]:
36
+ def json(self) -> pulumi.Input[builtins.str]:
36
37
  """
37
38
  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)
38
39
  """
39
40
  return pulumi.get(self, "json")
40
41
 
41
42
  @json.setter
42
- def json(self, value: pulumi.Input[str]):
43
+ def json(self, value: pulumi.Input[builtins.str]):
43
44
  pulumi.set(self, "json", value)
44
45
 
45
46
  @property
46
47
  @pulumi.getter(name="accountId")
47
- def account_id(self) -> Optional[pulumi.Input[str]]:
48
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
48
49
  """
49
50
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
50
51
  """
51
52
  return pulumi.get(self, "account_id")
52
53
 
53
54
  @account_id.setter
54
- def account_id(self, value: Optional[pulumi.Input[str]]):
55
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
55
56
  pulumi.set(self, "account_id", value)
56
57
 
57
58
 
58
59
  @pulumi.input_type
59
60
  class _OneDashboardJsonState:
60
61
  def __init__(__self__, *,
61
- account_id: Optional[pulumi.Input[str]] = None,
62
- guid: Optional[pulumi.Input[str]] = None,
63
- json: Optional[pulumi.Input[str]] = None,
64
- permalink: Optional[pulumi.Input[str]] = None,
65
- updated_at: Optional[pulumi.Input[str]] = None):
62
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
63
+ guid: Optional[pulumi.Input[builtins.str]] = None,
64
+ json: Optional[pulumi.Input[builtins.str]] = None,
65
+ permalink: Optional[pulumi.Input[builtins.str]] = None,
66
+ updated_at: Optional[pulumi.Input[builtins.str]] = None):
66
67
  """
67
68
  Input properties used for looking up and filtering OneDashboardJson resources.
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.
69
- :param pulumi.Input[str] guid: The unique entity identifier of the dashboard in New Relic.
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)
71
- :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
72
- :param pulumi.Input[str] updated_at: The date and time when the dashboard was last updated.
69
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
70
+ :param pulumi.Input[builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
71
+ :param pulumi.Input[builtins.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)
72
+ :param pulumi.Input[builtins.str] permalink: The URL for viewing the dashboard.
73
+ :param pulumi.Input[builtins.str] updated_at: The date and time when the dashboard was last updated.
73
74
  """
74
75
  if account_id is not None:
75
76
  pulumi.set(__self__, "account_id", account_id)
@@ -84,62 +85,62 @@ class _OneDashboardJsonState:
84
85
 
85
86
  @property
86
87
  @pulumi.getter(name="accountId")
87
- def account_id(self) -> Optional[pulumi.Input[str]]:
88
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
88
89
  """
89
90
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
90
91
  """
91
92
  return pulumi.get(self, "account_id")
92
93
 
93
94
  @account_id.setter
94
- def account_id(self, value: Optional[pulumi.Input[str]]):
95
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
95
96
  pulumi.set(self, "account_id", value)
96
97
 
97
98
  @property
98
99
  @pulumi.getter
99
- def guid(self) -> Optional[pulumi.Input[str]]:
100
+ def guid(self) -> Optional[pulumi.Input[builtins.str]]:
100
101
  """
101
102
  The unique entity identifier of the dashboard in New Relic.
102
103
  """
103
104
  return pulumi.get(self, "guid")
104
105
 
105
106
  @guid.setter
106
- def guid(self, value: Optional[pulumi.Input[str]]):
107
+ def guid(self, value: Optional[pulumi.Input[builtins.str]]):
107
108
  pulumi.set(self, "guid", value)
108
109
 
109
110
  @property
110
111
  @pulumi.getter
111
- def json(self) -> Optional[pulumi.Input[str]]:
112
+ def json(self) -> Optional[pulumi.Input[builtins.str]]:
112
113
  """
113
114
  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)
114
115
  """
115
116
  return pulumi.get(self, "json")
116
117
 
117
118
  @json.setter
118
- def json(self, value: Optional[pulumi.Input[str]]):
119
+ def json(self, value: Optional[pulumi.Input[builtins.str]]):
119
120
  pulumi.set(self, "json", value)
120
121
 
121
122
  @property
122
123
  @pulumi.getter
123
- def permalink(self) -> Optional[pulumi.Input[str]]:
124
+ def permalink(self) -> Optional[pulumi.Input[builtins.str]]:
124
125
  """
125
126
  The URL for viewing the dashboard.
126
127
  """
127
128
  return pulumi.get(self, "permalink")
128
129
 
129
130
  @permalink.setter
130
- def permalink(self, value: Optional[pulumi.Input[str]]):
131
+ def permalink(self, value: Optional[pulumi.Input[builtins.str]]):
131
132
  pulumi.set(self, "permalink", value)
132
133
 
133
134
  @property
134
135
  @pulumi.getter(name="updatedAt")
135
- def updated_at(self) -> Optional[pulumi.Input[str]]:
136
+ def updated_at(self) -> Optional[pulumi.Input[builtins.str]]:
136
137
  """
137
138
  The date and time when the dashboard was last updated.
138
139
  """
139
140
  return pulumi.get(self, "updated_at")
140
141
 
141
142
  @updated_at.setter
142
- def updated_at(self, value: Optional[pulumi.Input[str]]):
143
+ def updated_at(self, value: Optional[pulumi.Input[builtins.str]]):
143
144
  pulumi.set(self, "updated_at", value)
144
145
 
145
146
 
@@ -148,8 +149,8 @@ class OneDashboardJson(pulumi.CustomResource):
148
149
  def __init__(__self__,
149
150
  resource_name: str,
150
151
  opts: Optional[pulumi.ResourceOptions] = None,
151
- account_id: Optional[pulumi.Input[str]] = None,
152
- json: Optional[pulumi.Input[str]] = None,
152
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
153
+ json: Optional[pulumi.Input[builtins.str]] = None,
153
154
  __props__=None):
154
155
  """
155
156
  ## Import
@@ -164,8 +165,8 @@ class OneDashboardJson(pulumi.CustomResource):
164
165
 
165
166
  :param str resource_name: The name of the resource.
166
167
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
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)
168
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
169
+ :param pulumi.Input[builtins.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)
169
170
  """
170
171
  ...
171
172
  @overload
@@ -199,8 +200,8 @@ class OneDashboardJson(pulumi.CustomResource):
199
200
  def _internal_init(__self__,
200
201
  resource_name: str,
201
202
  opts: Optional[pulumi.ResourceOptions] = None,
202
- account_id: Optional[pulumi.Input[str]] = None,
203
- json: Optional[pulumi.Input[str]] = None,
203
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
204
+ json: Optional[pulumi.Input[builtins.str]] = None,
204
205
  __props__=None):
205
206
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
206
207
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -227,11 +228,11 @@ class OneDashboardJson(pulumi.CustomResource):
227
228
  def get(resource_name: str,
228
229
  id: pulumi.Input[str],
229
230
  opts: Optional[pulumi.ResourceOptions] = None,
230
- account_id: Optional[pulumi.Input[str]] = None,
231
- guid: Optional[pulumi.Input[str]] = None,
232
- json: Optional[pulumi.Input[str]] = None,
233
- permalink: Optional[pulumi.Input[str]] = None,
234
- updated_at: Optional[pulumi.Input[str]] = None) -> 'OneDashboardJson':
231
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
232
+ guid: Optional[pulumi.Input[builtins.str]] = None,
233
+ json: Optional[pulumi.Input[builtins.str]] = None,
234
+ permalink: Optional[pulumi.Input[builtins.str]] = None,
235
+ updated_at: Optional[pulumi.Input[builtins.str]] = None) -> 'OneDashboardJson':
235
236
  """
236
237
  Get an existing OneDashboardJson resource's state with the given name, id, and optional extra
237
238
  properties used to qualify the lookup.
@@ -239,11 +240,11 @@ class OneDashboardJson(pulumi.CustomResource):
239
240
  :param str resource_name: The unique name of the resulting resource.
240
241
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
241
242
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
243
- :param pulumi.Input[str] guid: The unique entity identifier of the dashboard in New Relic.
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)
245
- :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
246
- :param pulumi.Input[str] updated_at: The date and time when the dashboard was last updated.
243
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
244
+ :param pulumi.Input[builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
245
+ :param pulumi.Input[builtins.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)
246
+ :param pulumi.Input[builtins.str] permalink: The URL for viewing the dashboard.
247
+ :param pulumi.Input[builtins.str] updated_at: The date and time when the dashboard was last updated.
247
248
  """
248
249
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
249
250
 
@@ -258,7 +259,7 @@ class OneDashboardJson(pulumi.CustomResource):
258
259
 
259
260
  @property
260
261
  @pulumi.getter(name="accountId")
261
- def account_id(self) -> pulumi.Output[str]:
262
+ def account_id(self) -> pulumi.Output[builtins.str]:
262
263
  """
263
264
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
264
265
  """
@@ -266,7 +267,7 @@ class OneDashboardJson(pulumi.CustomResource):
266
267
 
267
268
  @property
268
269
  @pulumi.getter
269
- def guid(self) -> pulumi.Output[str]:
270
+ def guid(self) -> pulumi.Output[builtins.str]:
270
271
  """
271
272
  The unique entity identifier of the dashboard in New Relic.
272
273
  """
@@ -274,7 +275,7 @@ class OneDashboardJson(pulumi.CustomResource):
274
275
 
275
276
  @property
276
277
  @pulumi.getter
277
- def json(self) -> pulumi.Output[str]:
278
+ def json(self) -> pulumi.Output[builtins.str]:
278
279
  """
279
280
  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)
280
281
  """
@@ -282,7 +283,7 @@ class OneDashboardJson(pulumi.CustomResource):
282
283
 
283
284
  @property
284
285
  @pulumi.getter
285
- def permalink(self) -> pulumi.Output[str]:
286
+ def permalink(self) -> pulumi.Output[builtins.str]:
286
287
  """
287
288
  The URL for viewing the dashboard.
288
289
  """
@@ -290,7 +291,7 @@ class OneDashboardJson(pulumi.CustomResource):
290
291
 
291
292
  @property
292
293
  @pulumi.getter(name="updatedAt")
293
- def updated_at(self) -> pulumi.Output[str]:
294
+ def updated_at(self) -> pulumi.Output[builtins.str]:
294
295
  """
295
296
  The date and time when the dashboard was last updated.
296
297
  """