pulumi-newrelic 5.23.0a1713561620__py3-none-any.whl → 5.23.0a1713984329__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 (68) hide show
  1. pulumi_newrelic/_inputs.py +183 -270
  2. pulumi_newrelic/account_management.py +14 -18
  3. pulumi_newrelic/alert_channel.py +28 -56
  4. pulumi_newrelic/alert_condition.py +84 -133
  5. pulumi_newrelic/alert_muting_rule.py +21 -25
  6. pulumi_newrelic/alert_policy.py +42 -33
  7. pulumi_newrelic/alert_policy_channel.py +0 -4
  8. pulumi_newrelic/cloud/_inputs.py +322 -1072
  9. pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -4
  10. pulumi_newrelic/cloud/aws_integrations.py +7 -11
  11. pulumi_newrelic/cloud/aws_link_account.py +0 -4
  12. pulumi_newrelic/cloud/azure_integrations.py +0 -4
  13. pulumi_newrelic/cloud/azure_link_account.py +0 -4
  14. pulumi_newrelic/cloud/gcp_integrations.py +0 -4
  15. pulumi_newrelic/cloud/gcp_link_account.py +0 -4
  16. pulumi_newrelic/cloud/outputs.py +322 -1072
  17. pulumi_newrelic/data_partition_rule.py +0 -4
  18. pulumi_newrelic/entity_tags.py +7 -11
  19. pulumi_newrelic/events_to_metrics_rule.py +0 -4
  20. pulumi_newrelic/get_account.py +0 -4
  21. pulumi_newrelic/get_application.py +0 -4
  22. pulumi_newrelic/get_authentication_domain.py +0 -4
  23. pulumi_newrelic/get_cloud_account.py +0 -4
  24. pulumi_newrelic/get_entity.py +0 -16
  25. pulumi_newrelic/get_group.py +0 -8
  26. pulumi_newrelic/get_key_transaction.py +0 -4
  27. pulumi_newrelic/get_notification_destination.py +20 -1
  28. pulumi_newrelic/get_obfuscation_expression.py +0 -4
  29. pulumi_newrelic/get_service_level_alert_helper.py +0 -30
  30. pulumi_newrelic/get_test_grok_pattern.py +0 -4
  31. pulumi_newrelic/get_user.py +0 -4
  32. pulumi_newrelic/group.py +0 -12
  33. pulumi_newrelic/infra_alert_condition.py +126 -113
  34. pulumi_newrelic/insights/event.py +0 -17
  35. pulumi_newrelic/log_parsing_rule.py +0 -8
  36. pulumi_newrelic/monitor_downtime.py +70 -101
  37. pulumi_newrelic/notification_channel.py +0 -44
  38. pulumi_newrelic/notification_destination.py +95 -1
  39. pulumi_newrelic/nrql_alert_condition.py +0 -20
  40. pulumi_newrelic/nrql_drop_rule.py +28 -32
  41. pulumi_newrelic/obfuscation_expression.py +0 -4
  42. pulumi_newrelic/obfuscation_rule.py +0 -4
  43. pulumi_newrelic/one_dashboard.py +42 -48
  44. pulumi_newrelic/one_dashboard_raw.py +0 -4
  45. pulumi_newrelic/outputs.py +180 -270
  46. pulumi_newrelic/plugins/_inputs.py +16 -16
  47. pulumi_newrelic/plugins/application_settings.py +0 -4
  48. pulumi_newrelic/plugins/outputs.py +16 -16
  49. pulumi_newrelic/plugins/workload.py +28 -48
  50. pulumi_newrelic/service_level.py +0 -91
  51. pulumi_newrelic/synthetics/alert_condition.py +14 -50
  52. pulumi_newrelic/synthetics/broken_links_monitor.py +0 -8
  53. pulumi_newrelic/synthetics/cert_check_monitor.py +0 -8
  54. pulumi_newrelic/synthetics/get_private_location.py +0 -8
  55. pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
  56. pulumi_newrelic/synthetics/monitor.py +0 -16
  57. pulumi_newrelic/synthetics/multi_location_alert_condition.py +49 -71
  58. pulumi_newrelic/synthetics/private_location.py +0 -4
  59. pulumi_newrelic/synthetics/script_monitor.py +4 -20
  60. pulumi_newrelic/synthetics/secure_credential.py +21 -18
  61. pulumi_newrelic/synthetics/step_monitor.py +4 -12
  62. pulumi_newrelic/user.py +0 -4
  63. pulumi_newrelic/workflow.py +0 -16
  64. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/METADATA +1 -1
  65. pulumi_newrelic-5.23.0a1713984329.dist-info/RECORD +89 -0
  66. pulumi_newrelic-5.23.0a1713561620.dist-info/RECORD +0 -89
  67. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/WHEEL +0 -0
  68. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/top_level.txt +0 -0
@@ -913,7 +913,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
913
913
 
914
914
  ### Type: `static` (default)
915
915
 
916
- <!--Start PulumiCodeChooser -->
917
916
  ```python
918
917
  import pulumi
919
918
  import pulumi_newrelic as newrelic
@@ -953,7 +952,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
953
952
  threshold_occurrences="ALL",
954
953
  ))
955
954
  ```
956
- <!--End PulumiCodeChooser -->
957
955
 
958
956
  ## NRQL
959
957
 
@@ -993,7 +991,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
993
991
 
994
992
  [Baseline NRQL alert conditions](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/create-baseline-alert-conditions) are dynamic in nature and adjust to the behavior of your data. The example below demonstrates a baseline NRQL alert condition for alerting when transaction durations are above a specified threshold and dynamically adjusts based on data trends.
995
993
 
996
- <!--Start PulumiCodeChooser -->
997
994
  ```python
998
995
  import pulumi
999
996
  import pulumi_newrelic as newrelic
@@ -1033,13 +1030,11 @@ class NrqlAlertCondition(pulumi.CustomResource):
1033
1030
  threshold_occurrences="ALL",
1034
1031
  ))
1035
1032
  ```
1036
- <!--End PulumiCodeChooser -->
1037
1033
 
1038
1034
  ## Tags
1039
1035
 
1040
1036
  Manage NRQL alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check `EntityTags`.
1041
1037
 
1042
- <!--Start PulumiCodeChooser -->
1043
1038
  ```python
1044
1039
  import pulumi
1045
1040
  import pulumi_newrelic as newrelic
@@ -1094,7 +1089,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
1094
1089
  ),
1095
1090
  ])
1096
1091
  ```
1097
- <!--End PulumiCodeChooser -->
1098
1092
 
1099
1093
  <small>alerts.newrelic.com/accounts/**\\<account_id\\>**/policies/**\\<policy_id\\>**/conditions/**\\<condition_id\\>**/edit</small>
1100
1094
 
@@ -1106,7 +1100,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
1106
1100
 
1107
1101
  An example resource from 1.x might look like the following.
1108
1102
 
1109
- <!--Start PulumiCodeChooser -->
1110
1103
  ```python
1111
1104
  import pulumi
1112
1105
  import pulumi_newrelic as newrelic
@@ -1128,12 +1121,10 @@ class NrqlAlertCondition(pulumi.CustomResource):
1128
1121
  query="SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName",
1129
1122
  ))
1130
1123
  ```
1131
- <!--End PulumiCodeChooser -->
1132
1124
 
1133
1125
  After making the appropriate adjustments mentioned in the deprecation warnings,
1134
1126
  the resource now looks like the following.
1135
1127
 
1136
- <!--Start PulumiCodeChooser -->
1137
1128
  ```python
1138
1129
  import pulumi
1139
1130
  import pulumi_newrelic as newrelic
@@ -1156,7 +1147,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
1156
1147
  query="SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName",
1157
1148
  ))
1158
1149
  ```
1159
- <!--End PulumiCodeChooser -->
1160
1150
 
1161
1151
  ## Import
1162
1152
 
@@ -1217,7 +1207,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
1217
1207
 
1218
1208
  ### Type: `static` (default)
1219
1209
 
1220
- <!--Start PulumiCodeChooser -->
1221
1210
  ```python
1222
1211
  import pulumi
1223
1212
  import pulumi_newrelic as newrelic
@@ -1257,7 +1246,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
1257
1246
  threshold_occurrences="ALL",
1258
1247
  ))
1259
1248
  ```
1260
- <!--End PulumiCodeChooser -->
1261
1249
 
1262
1250
  ## NRQL
1263
1251
 
@@ -1297,7 +1285,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
1297
1285
 
1298
1286
  [Baseline NRQL alert conditions](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/create-baseline-alert-conditions) are dynamic in nature and adjust to the behavior of your data. The example below demonstrates a baseline NRQL alert condition for alerting when transaction durations are above a specified threshold and dynamically adjusts based on data trends.
1299
1287
 
1300
- <!--Start PulumiCodeChooser -->
1301
1288
  ```python
1302
1289
  import pulumi
1303
1290
  import pulumi_newrelic as newrelic
@@ -1337,13 +1324,11 @@ class NrqlAlertCondition(pulumi.CustomResource):
1337
1324
  threshold_occurrences="ALL",
1338
1325
  ))
1339
1326
  ```
1340
- <!--End PulumiCodeChooser -->
1341
1327
 
1342
1328
  ## Tags
1343
1329
 
1344
1330
  Manage NRQL alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check `EntityTags`.
1345
1331
 
1346
- <!--Start PulumiCodeChooser -->
1347
1332
  ```python
1348
1333
  import pulumi
1349
1334
  import pulumi_newrelic as newrelic
@@ -1398,7 +1383,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
1398
1383
  ),
1399
1384
  ])
1400
1385
  ```
1401
- <!--End PulumiCodeChooser -->
1402
1386
 
1403
1387
  <small>alerts.newrelic.com/accounts/**\\<account_id\\>**/policies/**\\<policy_id\\>**/conditions/**\\<condition_id\\>**/edit</small>
1404
1388
 
@@ -1410,7 +1394,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
1410
1394
 
1411
1395
  An example resource from 1.x might look like the following.
1412
1396
 
1413
- <!--Start PulumiCodeChooser -->
1414
1397
  ```python
1415
1398
  import pulumi
1416
1399
  import pulumi_newrelic as newrelic
@@ -1432,12 +1415,10 @@ class NrqlAlertCondition(pulumi.CustomResource):
1432
1415
  query="SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName",
1433
1416
  ))
1434
1417
  ```
1435
- <!--End PulumiCodeChooser -->
1436
1418
 
1437
1419
  After making the appropriate adjustments mentioned in the deprecation warnings,
1438
1420
  the resource now looks like the following.
1439
1421
 
1440
- <!--Start PulumiCodeChooser -->
1441
1422
  ```python
1442
1423
  import pulumi
1443
1424
  import pulumi_newrelic as newrelic
@@ -1460,7 +1441,6 @@ class NrqlAlertCondition(pulumi.CustomResource):
1460
1441
  query="SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName",
1461
1442
  ))
1462
1443
  ```
1463
- <!--End PulumiCodeChooser -->
1464
1444
 
1465
1445
  ## Import
1466
1446
 
@@ -20,10 +20,10 @@ class NrqlDropRuleArgs:
20
20
  description: Optional[pulumi.Input[str]] = None):
21
21
  """
22
22
  The set of arguments for constructing a NrqlDropRule resource.
23
- :param pulumi.Input[str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
24
- :param pulumi.Input[str] nrql: A NRQL string that specifies what data types to drop.
25
- :param pulumi.Input[int] account_id: Account where the drop rule will be put. Defaults to the account associated with the API key used.
26
- :param pulumi.Input[str] description: The description of the drop rule.
23
+ :param pulumi.Input[str] action: The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
24
+ :param pulumi.Input[str] nrql: Explains which data to apply the drop rule to.
25
+ :param pulumi.Input[int] account_id: Account with the NRQL drop rule will be put.
26
+ :param pulumi.Input[str] description: Provides additional information about the rule.
27
27
  """
28
28
  pulumi.set(__self__, "action", action)
29
29
  pulumi.set(__self__, "nrql", nrql)
@@ -36,7 +36,7 @@ class NrqlDropRuleArgs:
36
36
  @pulumi.getter
37
37
  def action(self) -> pulumi.Input[str]:
38
38
  """
39
- An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
39
+ The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
40
40
  """
41
41
  return pulumi.get(self, "action")
42
42
 
@@ -48,7 +48,7 @@ class NrqlDropRuleArgs:
48
48
  @pulumi.getter
49
49
  def nrql(self) -> pulumi.Input[str]:
50
50
  """
51
- A NRQL string that specifies what data types to drop.
51
+ Explains which data to apply the drop rule to.
52
52
  """
53
53
  return pulumi.get(self, "nrql")
54
54
 
@@ -60,7 +60,7 @@ class NrqlDropRuleArgs:
60
60
  @pulumi.getter(name="accountId")
61
61
  def account_id(self) -> Optional[pulumi.Input[int]]:
62
62
  """
63
- Account where the drop rule will be put. Defaults to the account associated with the API key used.
63
+ Account with the NRQL drop rule will be put.
64
64
  """
65
65
  return pulumi.get(self, "account_id")
66
66
 
@@ -72,7 +72,7 @@ class NrqlDropRuleArgs:
72
72
  @pulumi.getter
73
73
  def description(self) -> Optional[pulumi.Input[str]]:
74
74
  """
75
- The description of the drop rule.
75
+ Provides additional information about the rule.
76
76
  """
77
77
  return pulumi.get(self, "description")
78
78
 
@@ -91,10 +91,10 @@ class _NrqlDropRuleState:
91
91
  rule_id: Optional[pulumi.Input[str]] = None):
92
92
  """
93
93
  Input properties used for looking up and filtering NrqlDropRule resources.
94
- :param pulumi.Input[int] account_id: Account where the drop rule will be put. Defaults to the account associated with the API key used.
95
- :param pulumi.Input[str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
96
- :param pulumi.Input[str] description: The description of the drop rule.
97
- :param pulumi.Input[str] nrql: A NRQL string that specifies what data types to drop.
94
+ :param pulumi.Input[int] account_id: Account with the NRQL drop rule will be put.
95
+ :param pulumi.Input[str] action: The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
96
+ :param pulumi.Input[str] description: Provides additional information about the rule.
97
+ :param pulumi.Input[str] nrql: Explains which data to apply the drop rule to.
98
98
  :param pulumi.Input[str] rule_id: The id, uniquely identifying the rule.
99
99
  """
100
100
  if account_id is not None:
@@ -112,7 +112,7 @@ class _NrqlDropRuleState:
112
112
  @pulumi.getter(name="accountId")
113
113
  def account_id(self) -> Optional[pulumi.Input[int]]:
114
114
  """
115
- Account where the drop rule will be put. Defaults to the account associated with the API key used.
115
+ Account with the NRQL drop rule will be put.
116
116
  """
117
117
  return pulumi.get(self, "account_id")
118
118
 
@@ -124,7 +124,7 @@ class _NrqlDropRuleState:
124
124
  @pulumi.getter
125
125
  def action(self) -> Optional[pulumi.Input[str]]:
126
126
  """
127
- An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
127
+ The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
128
128
  """
129
129
  return pulumi.get(self, "action")
130
130
 
@@ -136,7 +136,7 @@ class _NrqlDropRuleState:
136
136
  @pulumi.getter
137
137
  def description(self) -> Optional[pulumi.Input[str]]:
138
138
  """
139
- The description of the drop rule.
139
+ Provides additional information about the rule.
140
140
  """
141
141
  return pulumi.get(self, "description")
142
142
 
@@ -148,7 +148,7 @@ class _NrqlDropRuleState:
148
148
  @pulumi.getter
149
149
  def nrql(self) -> Optional[pulumi.Input[str]]:
150
150
  """
151
- A NRQL string that specifies what data types to drop.
151
+ Explains which data to apply the drop rule to.
152
152
  """
153
153
  return pulumi.get(self, "nrql")
154
154
 
@@ -182,7 +182,6 @@ class NrqlDropRule(pulumi.CustomResource):
182
182
  """
183
183
  ## Example Usage
184
184
 
185
- <!--Start PulumiCodeChooser -->
186
185
  ```python
187
186
  import pulumi
188
187
  import pulumi_newrelic as newrelic
@@ -203,7 +202,6 @@ class NrqlDropRule(pulumi.CustomResource):
203
202
  action="drop_attributes_from_metric_aggregates",
204
203
  nrql="SELECT containerId FROM Metric")
205
204
  ```
206
- <!--End PulumiCodeChooser -->
207
205
 
208
206
  ## Using `newrelic-cli` to List Out Drop Rules
209
207
 
@@ -230,10 +228,10 @@ class NrqlDropRule(pulumi.CustomResource):
230
228
 
231
229
  :param str resource_name: The name of the resource.
232
230
  :param pulumi.ResourceOptions opts: Options for the resource.
233
- :param pulumi.Input[int] account_id: Account where the drop rule will be put. Defaults to the account associated with the API key used.
234
- :param pulumi.Input[str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
235
- :param pulumi.Input[str] description: The description of the drop rule.
236
- :param pulumi.Input[str] nrql: A NRQL string that specifies what data types to drop.
231
+ :param pulumi.Input[int] account_id: Account with the NRQL drop rule will be put.
232
+ :param pulumi.Input[str] action: The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
233
+ :param pulumi.Input[str] description: Provides additional information about the rule.
234
+ :param pulumi.Input[str] nrql: Explains which data to apply the drop rule to.
237
235
  """
238
236
  ...
239
237
  @overload
@@ -244,7 +242,6 @@ class NrqlDropRule(pulumi.CustomResource):
244
242
  """
245
243
  ## Example Usage
246
244
 
247
- <!--Start PulumiCodeChooser -->
248
245
  ```python
249
246
  import pulumi
250
247
  import pulumi_newrelic as newrelic
@@ -265,7 +262,6 @@ class NrqlDropRule(pulumi.CustomResource):
265
262
  action="drop_attributes_from_metric_aggregates",
266
263
  nrql="SELECT containerId FROM Metric")
267
264
  ```
268
- <!--End PulumiCodeChooser -->
269
265
 
270
266
  ## Using `newrelic-cli` to List Out Drop Rules
271
267
 
@@ -349,10 +345,10 @@ class NrqlDropRule(pulumi.CustomResource):
349
345
  :param str resource_name: The unique name of the resulting resource.
350
346
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
351
347
  :param pulumi.ResourceOptions opts: Options for the resource.
352
- :param pulumi.Input[int] account_id: Account where the drop rule will be put. Defaults to the account associated with the API key used.
353
- :param pulumi.Input[str] action: An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
354
- :param pulumi.Input[str] description: The description of the drop rule.
355
- :param pulumi.Input[str] nrql: A NRQL string that specifies what data types to drop.
348
+ :param pulumi.Input[int] account_id: Account with the NRQL drop rule will be put.
349
+ :param pulumi.Input[str] action: The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
350
+ :param pulumi.Input[str] description: Provides additional information about the rule.
351
+ :param pulumi.Input[str] nrql: Explains which data to apply the drop rule to.
356
352
  :param pulumi.Input[str] rule_id: The id, uniquely identifying the rule.
357
353
  """
358
354
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -370,7 +366,7 @@ class NrqlDropRule(pulumi.CustomResource):
370
366
  @pulumi.getter(name="accountId")
371
367
  def account_id(self) -> pulumi.Output[int]:
372
368
  """
373
- Account where the drop rule will be put. Defaults to the account associated with the API key used.
369
+ Account with the NRQL drop rule will be put.
374
370
  """
375
371
  return pulumi.get(self, "account_id")
376
372
 
@@ -378,7 +374,7 @@ class NrqlDropRule(pulumi.CustomResource):
378
374
  @pulumi.getter
379
375
  def action(self) -> pulumi.Output[str]:
380
376
  """
381
- An action type specifying how to apply the NRQL string (either `drop_data`, `drop_attributes`, or ` drop_attributes_from_metric_aggregates`).
377
+ The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
382
378
  """
383
379
  return pulumi.get(self, "action")
384
380
 
@@ -386,7 +382,7 @@ class NrqlDropRule(pulumi.CustomResource):
386
382
  @pulumi.getter
387
383
  def description(self) -> pulumi.Output[Optional[str]]:
388
384
  """
389
- The description of the drop rule.
385
+ Provides additional information about the rule.
390
386
  """
391
387
  return pulumi.get(self, "description")
392
388
 
@@ -394,7 +390,7 @@ class NrqlDropRule(pulumi.CustomResource):
394
390
  @pulumi.getter
395
391
  def nrql(self) -> pulumi.Output[str]:
396
392
  """
397
- A NRQL string that specifies what data types to drop.
393
+ Explains which data to apply the drop rule to.
398
394
  """
399
395
  return pulumi.get(self, "nrql")
400
396
 
@@ -169,7 +169,6 @@ class ObfuscationExpression(pulumi.CustomResource):
169
169
 
170
170
  ## Example Usage
171
171
 
172
- <!--Start PulumiCodeChooser -->
173
172
  ```python
174
173
  import pulumi
175
174
  import pulumi_newrelic as newrelic
@@ -180,7 +179,6 @@ class ObfuscationExpression(pulumi.CustomResource):
180
179
  description="The description",
181
180
  regex="(regex.*)")
182
181
  ```
183
- <!--End PulumiCodeChooser -->
184
182
 
185
183
  ## Import
186
184
 
@@ -210,7 +208,6 @@ class ObfuscationExpression(pulumi.CustomResource):
210
208
 
211
209
  ## Example Usage
212
210
 
213
- <!--Start PulumiCodeChooser -->
214
211
  ```python
215
212
  import pulumi
216
213
  import pulumi_newrelic as newrelic
@@ -221,7 +218,6 @@ class ObfuscationExpression(pulumi.CustomResource):
221
218
  description="The description",
222
219
  regex="(regex.*)")
223
220
  ```
224
- <!--End PulumiCodeChooser -->
225
221
 
226
222
  ## Import
227
223
 
@@ -235,7 +235,6 @@ class ObfuscationRule(pulumi.CustomResource):
235
235
 
236
236
  ## Example Usage
237
237
 
238
- <!--Start PulumiCodeChooser -->
239
238
  ```python
240
239
  import pulumi
241
240
  import pulumi_newrelic as newrelic
@@ -255,7 +254,6 @@ class ObfuscationRule(pulumi.CustomResource):
255
254
  method="MASK",
256
255
  )])
257
256
  ```
258
- <!--End PulumiCodeChooser -->
259
257
 
260
258
  ## Import
261
259
 
@@ -287,7 +285,6 @@ class ObfuscationRule(pulumi.CustomResource):
287
285
 
288
286
  ## Example Usage
289
287
 
290
- <!--Start PulumiCodeChooser -->
291
288
  ```python
292
289
  import pulumi
293
290
  import pulumi_newrelic as newrelic
@@ -307,7 +304,6 @@ class ObfuscationRule(pulumi.CustomResource):
307
304
  method="MASK",
308
305
  )])
309
306
  ```
310
- <!--End PulumiCodeChooser -->
311
307
 
312
308
  ## Import
313
309
 
@@ -24,12 +24,12 @@ class OneDashboardArgs:
24
24
  variables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]] = None):
25
25
  """
26
26
  The set of arguments for constructing a OneDashboard resource.
27
- :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.
29
- :param pulumi.Input[str] description: Brief text describing the dashboard.
30
- :param pulumi.Input[str] name: The title of the dashboard.
31
- :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[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
27
+ :param pulumi.Input[int] account_id: The New Relic account ID where you want to create the dashboard.
28
+ :param pulumi.Input[str] description: (Optional) Brief text describing the page.
29
+ :param pulumi.Input[str] name: (Required) The variable identifier.
30
+ :param pulumi.Input[str] permissions: Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to
31
+ public_read_only.
32
+ :param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: Dashboard-local variable definitions.
33
33
  """
34
34
  pulumi.set(__self__, "pages", pages)
35
35
  if account_id is not None:
@@ -46,9 +46,6 @@ class OneDashboardArgs:
46
46
  @property
47
47
  @pulumi.getter
48
48
  def pages(self) -> pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]]:
49
- """
50
- A nested block that describes a page. See Nested page blocks below for details.
51
- """
52
49
  return pulumi.get(self, "pages")
53
50
 
54
51
  @pages.setter
@@ -59,7 +56,7 @@ class OneDashboardArgs:
59
56
  @pulumi.getter(name="accountId")
60
57
  def account_id(self) -> Optional[pulumi.Input[int]]:
61
58
  """
62
- Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
59
+ The New Relic account ID where you want to create the dashboard.
63
60
  """
64
61
  return pulumi.get(self, "account_id")
65
62
 
@@ -71,7 +68,7 @@ class OneDashboardArgs:
71
68
  @pulumi.getter
72
69
  def description(self) -> Optional[pulumi.Input[str]]:
73
70
  """
74
- Brief text describing the dashboard.
71
+ (Optional) Brief text describing the page.
75
72
  """
76
73
  return pulumi.get(self, "description")
77
74
 
@@ -83,7 +80,7 @@ class OneDashboardArgs:
83
80
  @pulumi.getter
84
81
  def name(self) -> Optional[pulumi.Input[str]]:
85
82
  """
86
- The title of the dashboard.
83
+ (Required) The variable identifier.
87
84
  """
88
85
  return pulumi.get(self, "name")
89
86
 
@@ -95,7 +92,8 @@ class OneDashboardArgs:
95
92
  @pulumi.getter
96
93
  def permissions(self) -> Optional[pulumi.Input[str]]:
97
94
  """
98
- 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`.
95
+ Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to
96
+ public_read_only.
99
97
  """
100
98
  return pulumi.get(self, "permissions")
101
99
 
@@ -107,7 +105,7 @@ class OneDashboardArgs:
107
105
  @pulumi.getter
108
106
  def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]]:
109
107
  """
110
- A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
108
+ Dashboard-local variable definitions.
111
109
  """
112
110
  return pulumi.get(self, "variables")
113
111
 
@@ -129,14 +127,14 @@ class _OneDashboardState:
129
127
  variables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]] = None):
130
128
  """
131
129
  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.
133
- :param pulumi.Input[str] description: Brief text describing the dashboard.
130
+ :param pulumi.Input[int] account_id: The New Relic account ID where you want to create the dashboard.
131
+ :param pulumi.Input[str] description: (Optional) Brief text describing the page.
134
132
  :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
135
- :param pulumi.Input[str] name: The title of the dashboard.
136
- :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]] pages: A nested block that describes a page. See Nested page blocks below for details.
133
+ :param pulumi.Input[str] name: (Required) The variable identifier.
137
134
  :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
138
- :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`.
139
- :param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
135
+ :param pulumi.Input[str] permissions: Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to
136
+ public_read_only.
137
+ :param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: Dashboard-local variable definitions.
140
138
  """
141
139
  if account_id is not None:
142
140
  pulumi.set(__self__, "account_id", account_id)
@@ -159,7 +157,7 @@ class _OneDashboardState:
159
157
  @pulumi.getter(name="accountId")
160
158
  def account_id(self) -> Optional[pulumi.Input[int]]:
161
159
  """
162
- Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
160
+ The New Relic account ID where you want to create the dashboard.
163
161
  """
164
162
  return pulumi.get(self, "account_id")
165
163
 
@@ -171,7 +169,7 @@ class _OneDashboardState:
171
169
  @pulumi.getter
172
170
  def description(self) -> Optional[pulumi.Input[str]]:
173
171
  """
174
- Brief text describing the dashboard.
172
+ (Optional) Brief text describing the page.
175
173
  """
176
174
  return pulumi.get(self, "description")
177
175
 
@@ -195,7 +193,7 @@ class _OneDashboardState:
195
193
  @pulumi.getter
196
194
  def name(self) -> Optional[pulumi.Input[str]]:
197
195
  """
198
- The title of the dashboard.
196
+ (Required) The variable identifier.
199
197
  """
200
198
  return pulumi.get(self, "name")
201
199
 
@@ -206,9 +204,6 @@ class _OneDashboardState:
206
204
  @property
207
205
  @pulumi.getter
208
206
  def pages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]]]:
209
- """
210
- A nested block that describes a page. See Nested page blocks below for details.
211
- """
212
207
  return pulumi.get(self, "pages")
213
208
 
214
209
  @pages.setter
@@ -231,7 +226,8 @@ class _OneDashboardState:
231
226
  @pulumi.getter
232
227
  def permissions(self) -> Optional[pulumi.Input[str]]:
233
228
  """
234
- 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`.
229
+ Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to
230
+ public_read_only.
235
231
  """
236
232
  return pulumi.get(self, "permissions")
237
233
 
@@ -243,7 +239,7 @@ class _OneDashboardState:
243
239
  @pulumi.getter
244
240
  def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]]:
245
241
  """
246
- A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
242
+ Dashboard-local variable definitions.
247
243
  """
248
244
  return pulumi.get(self, "variables")
249
245
 
@@ -277,12 +273,12 @@ class OneDashboard(pulumi.CustomResource):
277
273
 
278
274
  :param str resource_name: The name of the resource.
279
275
  :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.
281
- :param pulumi.Input[str] description: Brief text describing the dashboard.
282
- :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.
284
- :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.
276
+ :param pulumi.Input[int] account_id: The New Relic account ID where you want to create the dashboard.
277
+ :param pulumi.Input[str] description: (Optional) Brief text describing the page.
278
+ :param pulumi.Input[str] name: (Required) The variable identifier.
279
+ :param pulumi.Input[str] permissions: Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to
280
+ public_read_only.
281
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables: Dashboard-local variable definitions.
286
282
  """
287
283
  ...
288
284
  @overload
@@ -366,14 +362,14 @@ class OneDashboard(pulumi.CustomResource):
366
362
  :param str resource_name: The unique name of the resulting resource.
367
363
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
368
364
  :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.
370
- :param pulumi.Input[str] description: Brief text describing the dashboard.
365
+ :param pulumi.Input[int] account_id: The New Relic account ID where you want to create the dashboard.
366
+ :param pulumi.Input[str] description: (Optional) Brief text describing the page.
371
367
  :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
372
- :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.
368
+ :param pulumi.Input[str] name: (Required) The variable identifier.
374
369
  :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
375
- :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.
370
+ :param pulumi.Input[str] permissions: Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to
371
+ public_read_only.
372
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OneDashboardVariableArgs']]]] variables: Dashboard-local variable definitions.
377
373
  """
378
374
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
379
375
 
@@ -393,7 +389,7 @@ class OneDashboard(pulumi.CustomResource):
393
389
  @pulumi.getter(name="accountId")
394
390
  def account_id(self) -> pulumi.Output[int]:
395
391
  """
396
- Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
392
+ The New Relic account ID where you want to create the dashboard.
397
393
  """
398
394
  return pulumi.get(self, "account_id")
399
395
 
@@ -401,7 +397,7 @@ class OneDashboard(pulumi.CustomResource):
401
397
  @pulumi.getter
402
398
  def description(self) -> pulumi.Output[Optional[str]]:
403
399
  """
404
- Brief text describing the dashboard.
400
+ (Optional) Brief text describing the page.
405
401
  """
406
402
  return pulumi.get(self, "description")
407
403
 
@@ -417,16 +413,13 @@ class OneDashboard(pulumi.CustomResource):
417
413
  @pulumi.getter
418
414
  def name(self) -> pulumi.Output[str]:
419
415
  """
420
- The title of the dashboard.
416
+ (Required) The variable identifier.
421
417
  """
422
418
  return pulumi.get(self, "name")
423
419
 
424
420
  @property
425
421
  @pulumi.getter
426
422
  def pages(self) -> pulumi.Output[Sequence['outputs.OneDashboardPage']]:
427
- """
428
- A nested block that describes a page. See Nested page blocks below for details.
429
- """
430
423
  return pulumi.get(self, "pages")
431
424
 
432
425
  @property
@@ -441,7 +434,8 @@ class OneDashboard(pulumi.CustomResource):
441
434
  @pulumi.getter
442
435
  def permissions(self) -> pulumi.Output[Optional[str]]:
443
436
  """
444
- 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`.
437
+ Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to
438
+ public_read_only.
445
439
  """
446
440
  return pulumi.get(self, "permissions")
447
441
 
@@ -449,7 +443,7 @@ class OneDashboard(pulumi.CustomResource):
449
443
  @pulumi.getter
450
444
  def variables(self) -> pulumi.Output[Optional[Sequence['outputs.OneDashboardVariable']]]:
451
445
  """
452
- A nested block that describes a dashboard-local variable. See Nested variable blocks below for details.
446
+ Dashboard-local variable definitions.
453
447
  """
454
448
  return pulumi.get(self, "variables")
455
449