pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__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 (92) hide show
  1. pulumi_newrelic/__init__.py +19 -1
  2. pulumi_newrelic/_inputs.py +4314 -3779
  3. pulumi_newrelic/_utilities.py +1 -1
  4. pulumi_newrelic/account_management.py +37 -36
  5. pulumi_newrelic/alert_channel.py +63 -62
  6. pulumi_newrelic/alert_condition.py +219 -218
  7. pulumi_newrelic/alert_muting_rule.py +96 -95
  8. pulumi_newrelic/alert_policy.py +71 -70
  9. pulumi_newrelic/alert_policy_channel.py +54 -53
  10. pulumi_newrelic/api_access_key.py +186 -201
  11. pulumi_newrelic/browser_application.py +115 -114
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +2226 -2118
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +101 -96
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +71 -70
  16. pulumi_newrelic/cloud/aws_integrations.py +240 -192
  17. pulumi_newrelic/cloud/aws_link_account.py +71 -70
  18. pulumi_newrelic/cloud/azure_integrations.py +180 -132
  19. pulumi_newrelic/cloud/azure_link_account.py +105 -104
  20. pulumi_newrelic/cloud/gcp_integrations.py +115 -114
  21. pulumi_newrelic/cloud/gcp_link_account.py +56 -55
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1512 -1410
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +2 -2
  26. pulumi_newrelic/config/vars.py +15 -15
  27. pulumi_newrelic/data_partition_rule.py +114 -113
  28. pulumi_newrelic/entity_tags.py +79 -22
  29. pulumi_newrelic/events_to_metrics_rule.py +97 -96
  30. pulumi_newrelic/get_account.py +22 -22
  31. pulumi_newrelic/get_alert_channel.py +53 -21
  32. pulumi_newrelic/get_alert_policy.py +52 -26
  33. pulumi_newrelic/get_application.py +14 -14
  34. pulumi_newrelic/get_authentication_domain.py +10 -10
  35. pulumi_newrelic/get_cloud_account.py +22 -22
  36. pulumi_newrelic/get_entity.py +53 -53
  37. pulumi_newrelic/get_group.py +22 -22
  38. pulumi_newrelic/get_key_transaction.py +26 -26
  39. pulumi_newrelic/get_notification_destination.py +31 -31
  40. pulumi_newrelic/get_obfuscation_expression.py +16 -16
  41. pulumi_newrelic/get_service_level_alert_helper.py +54 -54
  42. pulumi_newrelic/get_test_grok_pattern.py +23 -23
  43. pulumi_newrelic/get_user.py +22 -22
  44. pulumi_newrelic/group.py +54 -53
  45. pulumi_newrelic/infra_alert_condition.py +257 -256
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +33 -33
  48. pulumi_newrelic/insights/event.py +6 -5
  49. pulumi_newrelic/insights/outputs.py +23 -23
  50. pulumi_newrelic/key_transaction.py +106 -105
  51. pulumi_newrelic/log_parsing_rule.py +148 -147
  52. pulumi_newrelic/monitor_downtime.py +148 -154
  53. pulumi_newrelic/notification_channel.py +218 -163
  54. pulumi_newrelic/notification_destination.py +123 -136
  55. pulumi_newrelic/nrql_alert_condition.py +513 -414
  56. pulumi_newrelic/nrql_drop_rule.py +108 -147
  57. pulumi_newrelic/obfuscation_expression.py +71 -70
  58. pulumi_newrelic/obfuscation_rule.py +91 -90
  59. pulumi_newrelic/one_dashboard.py +95 -94
  60. pulumi_newrelic/one_dashboard_json.py +64 -63
  61. pulumi_newrelic/one_dashboard_raw.py +116 -115
  62. pulumi_newrelic/outputs.py +3026 -2665
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +159 -159
  66. pulumi_newrelic/plugins/application_settings.py +186 -171
  67. pulumi_newrelic/plugins/outputs.py +109 -109
  68. pulumi_newrelic/plugins/workload.py +133 -132
  69. pulumi_newrelic/provider.py +136 -116
  70. pulumi_newrelic/pulumi-plugin.json +1 -1
  71. pulumi_newrelic/service_level.py +78 -77
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +128 -128
  74. pulumi_newrelic/synthetics/alert_condition.py +97 -96
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +218 -189
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +226 -197
  77. pulumi_newrelic/synthetics/get_private_location.py +22 -22
  78. pulumi_newrelic/synthetics/get_secure_credential.py +20 -20
  79. pulumi_newrelic/synthetics/monitor.py +399 -370
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +120 -119
  81. pulumi_newrelic/synthetics/outputs.py +86 -86
  82. pulumi_newrelic/synthetics/private_location.py +107 -106
  83. pulumi_newrelic/synthetics/script_monitor.py +385 -294
  84. pulumi_newrelic/synthetics/secure_credential.py +88 -87
  85. pulumi_newrelic/synthetics/step_monitor.py +241 -212
  86. pulumi_newrelic/user.py +71 -70
  87. pulumi_newrelic/workflow.py +141 -140
  88. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/METADATA +4 -4
  89. pulumi_newrelic-5.58.0a1766556761.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.42.1.dist-info/RECORD +0 -90
  92. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -22,17 +22,17 @@ __all__ = ['OneDashboardRawArgs', 'OneDashboardRaw']
22
22
  class OneDashboardRawArgs:
23
23
  def __init__(__self__, *,
24
24
  pages: pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]],
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):
25
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
26
+ description: Optional[pulumi.Input[_builtins.str]] = None,
27
+ name: Optional[pulumi.Input[_builtins.str]] = None,
28
+ permissions: Optional[pulumi.Input[_builtins.str]] = None):
29
29
  """
30
30
  The set of arguments for constructing a OneDashboardRaw resource.
31
31
  :param pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]] pages: A nested block that describes a page. See Nested page blocks below for details.
32
- :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.
33
- :param pulumi.Input[str] description: Brief text describing the dashboard.
34
- :param pulumi.Input[str] name: The title of the dashboard.
35
- :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`.
32
+ :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.
33
+ :param pulumi.Input[_builtins.str] description: Brief text describing the dashboard.
34
+ :param pulumi.Input[_builtins.str] name: The title of the dashboard.
35
+ :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`.
36
36
  """
37
37
  pulumi.set(__self__, "pages", pages)
38
38
  if account_id is not None:
@@ -44,7 +44,7 @@ class OneDashboardRawArgs:
44
44
  if permissions is not None:
45
45
  pulumi.set(__self__, "permissions", permissions)
46
46
 
47
- @property
47
+ @_builtins.property
48
48
  @pulumi.getter
49
49
  def pages(self) -> pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]]:
50
50
  """
@@ -56,74 +56,74 @@ class OneDashboardRawArgs:
56
56
  def pages(self, value: pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]]):
57
57
  pulumi.set(self, "pages", value)
58
58
 
59
- @property
59
+ @_builtins.property
60
60
  @pulumi.getter(name="accountId")
61
- def account_id(self) -> Optional[pulumi.Input[str]]:
61
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
62
62
  """
63
63
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
64
64
  """
65
65
  return pulumi.get(self, "account_id")
66
66
 
67
67
  @account_id.setter
68
- def account_id(self, value: Optional[pulumi.Input[str]]):
68
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
69
69
  pulumi.set(self, "account_id", value)
70
70
 
71
- @property
71
+ @_builtins.property
72
72
  @pulumi.getter
73
- def description(self) -> Optional[pulumi.Input[str]]:
73
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
74
74
  """
75
75
  Brief text describing the dashboard.
76
76
  """
77
77
  return pulumi.get(self, "description")
78
78
 
79
79
  @description.setter
80
- def description(self, value: Optional[pulumi.Input[str]]):
80
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
81
81
  pulumi.set(self, "description", value)
82
82
 
83
- @property
83
+ @_builtins.property
84
84
  @pulumi.getter
85
- def name(self) -> Optional[pulumi.Input[str]]:
85
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
86
86
  """
87
87
  The title of the dashboard.
88
88
  """
89
89
  return pulumi.get(self, "name")
90
90
 
91
91
  @name.setter
92
- def name(self, value: Optional[pulumi.Input[str]]):
92
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
93
93
  pulumi.set(self, "name", value)
94
94
 
95
- @property
95
+ @_builtins.property
96
96
  @pulumi.getter
97
- def permissions(self) -> Optional[pulumi.Input[str]]:
97
+ def permissions(self) -> Optional[pulumi.Input[_builtins.str]]:
98
98
  """
99
99
  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`.
100
100
  """
101
101
  return pulumi.get(self, "permissions")
102
102
 
103
103
  @permissions.setter
104
- def permissions(self, value: Optional[pulumi.Input[str]]):
104
+ def permissions(self, value: Optional[pulumi.Input[_builtins.str]]):
105
105
  pulumi.set(self, "permissions", value)
106
106
 
107
107
 
108
108
  @pulumi.input_type
109
109
  class _OneDashboardRawState:
110
110
  def __init__(__self__, *,
111
- account_id: Optional[pulumi.Input[str]] = None,
112
- description: Optional[pulumi.Input[str]] = None,
113
- guid: Optional[pulumi.Input[str]] = None,
114
- name: Optional[pulumi.Input[str]] = None,
111
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
112
+ description: Optional[pulumi.Input[_builtins.str]] = None,
113
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
114
+ name: Optional[pulumi.Input[_builtins.str]] = None,
115
115
  pages: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]]] = None,
116
- permalink: Optional[pulumi.Input[str]] = None,
117
- permissions: Optional[pulumi.Input[str]] = None):
116
+ permalink: Optional[pulumi.Input[_builtins.str]] = None,
117
+ permissions: Optional[pulumi.Input[_builtins.str]] = None):
118
118
  """
119
119
  Input properties used for looking up and filtering OneDashboardRaw resources.
120
- :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.
121
- :param pulumi.Input[str] description: Brief text describing the dashboard.
122
- :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
123
- :param pulumi.Input[str] name: The title of the dashboard.
120
+ :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.
121
+ :param pulumi.Input[_builtins.str] description: Brief text describing the dashboard.
122
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the dashboard page in New Relic.
123
+ :param pulumi.Input[_builtins.str] name: The title of the dashboard.
124
124
  :param pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]] pages: A nested block that describes a page. See Nested page blocks below for details.
125
- :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
126
- :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`.
125
+ :param pulumi.Input[_builtins.str] permalink: The URL for viewing the dashboard.
126
+ :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`.
127
127
  """
128
128
  if account_id is not None:
129
129
  pulumi.set(__self__, "account_id", account_id)
@@ -140,55 +140,55 @@ class _OneDashboardRawState:
140
140
  if permissions is not None:
141
141
  pulumi.set(__self__, "permissions", permissions)
142
142
 
143
- @property
143
+ @_builtins.property
144
144
  @pulumi.getter(name="accountId")
145
- def account_id(self) -> Optional[pulumi.Input[str]]:
145
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
146
146
  """
147
147
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
148
148
  """
149
149
  return pulumi.get(self, "account_id")
150
150
 
151
151
  @account_id.setter
152
- def account_id(self, value: Optional[pulumi.Input[str]]):
152
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
153
153
  pulumi.set(self, "account_id", value)
154
154
 
155
- @property
155
+ @_builtins.property
156
156
  @pulumi.getter
157
- def description(self) -> Optional[pulumi.Input[str]]:
157
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
158
158
  """
159
159
  Brief text describing the dashboard.
160
160
  """
161
161
  return pulumi.get(self, "description")
162
162
 
163
163
  @description.setter
164
- def description(self, value: Optional[pulumi.Input[str]]):
164
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
165
165
  pulumi.set(self, "description", value)
166
166
 
167
- @property
167
+ @_builtins.property
168
168
  @pulumi.getter
169
- def guid(self) -> Optional[pulumi.Input[str]]:
169
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
170
170
  """
171
171
  The unique entity identifier of the dashboard page in New Relic.
172
172
  """
173
173
  return pulumi.get(self, "guid")
174
174
 
175
175
  @guid.setter
176
- def guid(self, value: Optional[pulumi.Input[str]]):
176
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
177
177
  pulumi.set(self, "guid", value)
178
178
 
179
- @property
179
+ @_builtins.property
180
180
  @pulumi.getter
181
- def name(self) -> Optional[pulumi.Input[str]]:
181
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
182
182
  """
183
183
  The title of the dashboard.
184
184
  """
185
185
  return pulumi.get(self, "name")
186
186
 
187
187
  @name.setter
188
- def name(self, value: Optional[pulumi.Input[str]]):
188
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
189
189
  pulumi.set(self, "name", value)
190
190
 
191
- @property
191
+ @_builtins.property
192
192
  @pulumi.getter
193
193
  def pages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]]]:
194
194
  """
@@ -200,41 +200,42 @@ class _OneDashboardRawState:
200
200
  def pages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]]]):
201
201
  pulumi.set(self, "pages", value)
202
202
 
203
- @property
203
+ @_builtins.property
204
204
  @pulumi.getter
205
- def permalink(self) -> Optional[pulumi.Input[str]]:
205
+ def permalink(self) -> Optional[pulumi.Input[_builtins.str]]:
206
206
  """
207
207
  The URL for viewing the dashboard.
208
208
  """
209
209
  return pulumi.get(self, "permalink")
210
210
 
211
211
  @permalink.setter
212
- def permalink(self, value: Optional[pulumi.Input[str]]):
212
+ def permalink(self, value: Optional[pulumi.Input[_builtins.str]]):
213
213
  pulumi.set(self, "permalink", value)
214
214
 
215
- @property
215
+ @_builtins.property
216
216
  @pulumi.getter
217
- def permissions(self) -> Optional[pulumi.Input[str]]:
217
+ def permissions(self) -> Optional[pulumi.Input[_builtins.str]]:
218
218
  """
219
219
  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`.
220
220
  """
221
221
  return pulumi.get(self, "permissions")
222
222
 
223
223
  @permissions.setter
224
- def permissions(self, value: Optional[pulumi.Input[str]]):
224
+ def permissions(self, value: Optional[pulumi.Input[_builtins.str]]):
225
225
  pulumi.set(self, "permissions", value)
226
226
 
227
227
 
228
+ @pulumi.type_token("newrelic:index/oneDashboardRaw:OneDashboardRaw")
228
229
  class OneDashboardRaw(pulumi.CustomResource):
229
230
  @overload
230
231
  def __init__(__self__,
231
232
  resource_name: str,
232
233
  opts: Optional[pulumi.ResourceOptions] = None,
233
- account_id: Optional[pulumi.Input[str]] = None,
234
- description: Optional[pulumi.Input[str]] = None,
235
- name: Optional[pulumi.Input[str]] = None,
234
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
235
+ description: Optional[pulumi.Input[_builtins.str]] = None,
236
+ name: Optional[pulumi.Input[_builtins.str]] = None,
236
237
  pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]]] = None,
237
- permissions: Optional[pulumi.Input[str]] = None,
238
+ permissions: Optional[pulumi.Input[_builtins.str]] = None,
238
239
  __props__=None):
239
240
  """
240
241
  > **NOTE:** The OneDashboardJson resource is preferred for configuring dashboards in New Relic. This resource does not support the latest dashboard features and will receive less investment compared to newrelic_one_dashboard_json.
@@ -261,19 +262,19 @@ class OneDashboardRaw(pulumi.CustomResource):
261
262
  "height": 1,
262
263
  "visualization_id": "viz.custom",
263
264
  "configuration": \"\"\" {
264
- "legend": {
265
- "enabled": false
265
+ \\"legend\\": {
266
+ \\"enabled\\": false
266
267
  },
267
- "nrqlQueries": [
268
+ \\"nrqlQueries\\": [
268
269
  {
269
- "accountId": ` + accountID + `,
270
- "query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
270
+ \\"accountId\\": ` + accountID + `,
271
+ \\"query\\": \\"SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES\\"
271
272
  }
272
273
  ],
273
- "yAxisLeft": {
274
- "max": 100,
275
- "min": 50,
276
- "zero": false
274
+ \\"yAxisLeft\\": {
275
+ \\"max\\": 100,
276
+ \\"min\\": 50,
277
+ \\"zero\\": false
277
278
  }
278
279
  }
279
280
  \"\"\",
@@ -286,10 +287,10 @@ class OneDashboardRaw(pulumi.CustomResource):
286
287
  "height": 1,
287
288
  "visualization_id": "viz.testing",
288
289
  "configuration": \"\"\" {
289
- "nrqlQueries": [
290
+ \\"nrqlQueries\\": [
290
291
  {
291
- "accountId": ` + accountID + `,
292
- "query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
292
+ \\"accountId\\": ` + accountID + `,
293
+ \\"query\\": \\"SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400\\"
293
294
  }
294
295
  ]
295
296
  }
@@ -319,11 +320,11 @@ class OneDashboardRaw(pulumi.CustomResource):
319
320
 
320
321
  :param str resource_name: The name of the resource.
321
322
  :param pulumi.ResourceOptions opts: Options for the resource.
322
- :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.
323
- :param pulumi.Input[str] description: Brief text describing the dashboard.
324
- :param pulumi.Input[str] name: The title of the dashboard.
323
+ :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.
324
+ :param pulumi.Input[_builtins.str] description: Brief text describing the dashboard.
325
+ :param pulumi.Input[_builtins.str] name: The title of the dashboard.
325
326
  :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
326
- :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`.
327
+ :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`.
327
328
  """
328
329
  ...
329
330
  @overload
@@ -356,19 +357,19 @@ class OneDashboardRaw(pulumi.CustomResource):
356
357
  "height": 1,
357
358
  "visualization_id": "viz.custom",
358
359
  "configuration": \"\"\" {
359
- "legend": {
360
- "enabled": false
360
+ \\"legend\\": {
361
+ \\"enabled\\": false
361
362
  },
362
- "nrqlQueries": [
363
+ \\"nrqlQueries\\": [
363
364
  {
364
- "accountId": ` + accountID + `,
365
- "query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
365
+ \\"accountId\\": ` + accountID + `,
366
+ \\"query\\": \\"SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES\\"
366
367
  }
367
368
  ],
368
- "yAxisLeft": {
369
- "max": 100,
370
- "min": 50,
371
- "zero": false
369
+ \\"yAxisLeft\\": {
370
+ \\"max\\": 100,
371
+ \\"min\\": 50,
372
+ \\"zero\\": false
372
373
  }
373
374
  }
374
375
  \"\"\",
@@ -381,10 +382,10 @@ class OneDashboardRaw(pulumi.CustomResource):
381
382
  "height": 1,
382
383
  "visualization_id": "viz.testing",
383
384
  "configuration": \"\"\" {
384
- "nrqlQueries": [
385
+ \\"nrqlQueries\\": [
385
386
  {
386
- "accountId": ` + accountID + `,
387
- "query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
387
+ \\"accountId\\": ` + accountID + `,
388
+ \\"query\\": \\"SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400\\"
388
389
  }
389
390
  ]
390
391
  }
@@ -427,11 +428,11 @@ class OneDashboardRaw(pulumi.CustomResource):
427
428
  def _internal_init(__self__,
428
429
  resource_name: str,
429
430
  opts: Optional[pulumi.ResourceOptions] = None,
430
- account_id: Optional[pulumi.Input[str]] = None,
431
- description: Optional[pulumi.Input[str]] = None,
432
- name: Optional[pulumi.Input[str]] = None,
431
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
432
+ description: Optional[pulumi.Input[_builtins.str]] = None,
433
+ name: Optional[pulumi.Input[_builtins.str]] = None,
433
434
  pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]]] = None,
434
- permissions: Optional[pulumi.Input[str]] = None,
435
+ permissions: Optional[pulumi.Input[_builtins.str]] = None,
435
436
  __props__=None):
436
437
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
437
438
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -460,13 +461,13 @@ class OneDashboardRaw(pulumi.CustomResource):
460
461
  def get(resource_name: str,
461
462
  id: pulumi.Input[str],
462
463
  opts: Optional[pulumi.ResourceOptions] = None,
463
- account_id: Optional[pulumi.Input[str]] = None,
464
- description: Optional[pulumi.Input[str]] = None,
465
- guid: Optional[pulumi.Input[str]] = None,
466
- name: Optional[pulumi.Input[str]] = None,
464
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
465
+ description: Optional[pulumi.Input[_builtins.str]] = None,
466
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
467
+ name: Optional[pulumi.Input[_builtins.str]] = None,
467
468
  pages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]]] = None,
468
- permalink: Optional[pulumi.Input[str]] = None,
469
- permissions: Optional[pulumi.Input[str]] = None) -> 'OneDashboardRaw':
469
+ permalink: Optional[pulumi.Input[_builtins.str]] = None,
470
+ permissions: Optional[pulumi.Input[_builtins.str]] = None) -> 'OneDashboardRaw':
470
471
  """
471
472
  Get an existing OneDashboardRaw resource's state with the given name, id, and optional extra
472
473
  properties used to qualify the lookup.
@@ -474,13 +475,13 @@ class OneDashboardRaw(pulumi.CustomResource):
474
475
  :param str resource_name: The unique name of the resulting resource.
475
476
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
476
477
  :param pulumi.ResourceOptions opts: Options for the resource.
477
- :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.
478
- :param pulumi.Input[str] description: Brief text describing the dashboard.
479
- :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
480
- :param pulumi.Input[str] name: The title of the dashboard.
478
+ :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.
479
+ :param pulumi.Input[_builtins.str] description: Brief text describing the dashboard.
480
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the dashboard page in New Relic.
481
+ :param pulumi.Input[_builtins.str] name: The title of the dashboard.
481
482
  :param pulumi.Input[Sequence[pulumi.Input[Union['OneDashboardRawPageArgs', 'OneDashboardRawPageArgsDict']]]] pages: A nested block that describes a page. See Nested page blocks below for details.
482
- :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
483
- :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`.
483
+ :param pulumi.Input[_builtins.str] permalink: The URL for viewing the dashboard.
484
+ :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`.
484
485
  """
485
486
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
486
487
 
@@ -495,39 +496,39 @@ class OneDashboardRaw(pulumi.CustomResource):
495
496
  __props__.__dict__["permissions"] = permissions
496
497
  return OneDashboardRaw(resource_name, opts=opts, __props__=__props__)
497
498
 
498
- @property
499
+ @_builtins.property
499
500
  @pulumi.getter(name="accountId")
500
- def account_id(self) -> pulumi.Output[str]:
501
+ def account_id(self) -> pulumi.Output[_builtins.str]:
501
502
  """
502
503
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
503
504
  """
504
505
  return pulumi.get(self, "account_id")
505
506
 
506
- @property
507
+ @_builtins.property
507
508
  @pulumi.getter
508
- def description(self) -> pulumi.Output[Optional[str]]:
509
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
509
510
  """
510
511
  Brief text describing the dashboard.
511
512
  """
512
513
  return pulumi.get(self, "description")
513
514
 
514
- @property
515
+ @_builtins.property
515
516
  @pulumi.getter
516
- def guid(self) -> pulumi.Output[str]:
517
+ def guid(self) -> pulumi.Output[_builtins.str]:
517
518
  """
518
519
  The unique entity identifier of the dashboard page in New Relic.
519
520
  """
520
521
  return pulumi.get(self, "guid")
521
522
 
522
- @property
523
+ @_builtins.property
523
524
  @pulumi.getter
524
- def name(self) -> pulumi.Output[str]:
525
+ def name(self) -> pulumi.Output[_builtins.str]:
525
526
  """
526
527
  The title of the dashboard.
527
528
  """
528
529
  return pulumi.get(self, "name")
529
530
 
530
- @property
531
+ @_builtins.property
531
532
  @pulumi.getter
532
533
  def pages(self) -> pulumi.Output[Sequence['outputs.OneDashboardRawPage']]:
533
534
  """
@@ -535,17 +536,17 @@ class OneDashboardRaw(pulumi.CustomResource):
535
536
  """
536
537
  return pulumi.get(self, "pages")
537
538
 
538
- @property
539
+ @_builtins.property
539
540
  @pulumi.getter
540
- def permalink(self) -> pulumi.Output[str]:
541
+ def permalink(self) -> pulumi.Output[_builtins.str]:
541
542
  """
542
543
  The URL for viewing the dashboard.
543
544
  """
544
545
  return pulumi.get(self, "permalink")
545
546
 
546
- @property
547
+ @_builtins.property
547
548
  @pulumi.getter
548
- def permissions(self) -> pulumi.Output[Optional[str]]:
549
+ def permissions(self) -> pulumi.Output[Optional[_builtins.str]]:
549
550
  """
550
551
  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`.
551
552
  """