pulumi-newrelic 5.23.0a1713561620__py3-none-any.whl → 5.23.0a1713975814__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 (66) hide show
  1. pulumi_newrelic/_inputs.py +110 -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_obfuscation_expression.py +0 -4
  28. pulumi_newrelic/get_service_level_alert_helper.py +0 -30
  29. pulumi_newrelic/get_test_grok_pattern.py +0 -4
  30. pulumi_newrelic/get_user.py +0 -4
  31. pulumi_newrelic/group.py +0 -12
  32. pulumi_newrelic/infra_alert_condition.py +126 -113
  33. pulumi_newrelic/insights/event.py +0 -17
  34. pulumi_newrelic/log_parsing_rule.py +0 -8
  35. pulumi_newrelic/monitor_downtime.py +70 -101
  36. pulumi_newrelic/notification_channel.py +0 -44
  37. pulumi_newrelic/nrql_alert_condition.py +0 -20
  38. pulumi_newrelic/nrql_drop_rule.py +28 -32
  39. pulumi_newrelic/obfuscation_expression.py +0 -4
  40. pulumi_newrelic/obfuscation_rule.py +0 -4
  41. pulumi_newrelic/one_dashboard.py +42 -48
  42. pulumi_newrelic/one_dashboard_raw.py +0 -4
  43. pulumi_newrelic/outputs.py +110 -270
  44. pulumi_newrelic/plugins/_inputs.py +16 -16
  45. pulumi_newrelic/plugins/application_settings.py +0 -4
  46. pulumi_newrelic/plugins/outputs.py +16 -16
  47. pulumi_newrelic/plugins/workload.py +28 -48
  48. pulumi_newrelic/service_level.py +0 -91
  49. pulumi_newrelic/synthetics/alert_condition.py +14 -50
  50. pulumi_newrelic/synthetics/broken_links_monitor.py +0 -8
  51. pulumi_newrelic/synthetics/cert_check_monitor.py +0 -8
  52. pulumi_newrelic/synthetics/get_private_location.py +0 -8
  53. pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
  54. pulumi_newrelic/synthetics/monitor.py +0 -16
  55. pulumi_newrelic/synthetics/multi_location_alert_condition.py +49 -71
  56. pulumi_newrelic/synthetics/private_location.py +0 -4
  57. pulumi_newrelic/synthetics/script_monitor.py +4 -20
  58. pulumi_newrelic/synthetics/secure_credential.py +21 -18
  59. pulumi_newrelic/synthetics/step_monitor.py +4 -12
  60. pulumi_newrelic/user.py +0 -4
  61. pulumi_newrelic/workflow.py +0 -16
  62. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/METADATA +1 -1
  63. pulumi_newrelic-5.23.0a1713975814.dist-info/RECORD +89 -0
  64. pulumi_newrelic-5.23.0a1713561620.dist-info/RECORD +0 -89
  65. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/WHEEL +0 -0
  66. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/top_level.txt +0 -0
@@ -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
 
@@ -238,7 +238,6 @@ class OneDashboardRaw(pulumi.CustomResource):
238
238
 
239
239
  ### Create A New Relic One Dashboard With RawConfiguration
240
240
 
241
- <!--Start PulumiCodeChooser -->
242
241
  ```python
243
242
  import pulumi
244
243
  import json
@@ -312,7 +311,6 @@ class OneDashboardRaw(pulumi.CustomResource):
312
311
  ],
313
312
  )])
314
313
  ```
315
- <!--End PulumiCodeChooser -->
316
314
 
317
315
  :param str resource_name: The name of the resource.
318
316
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -335,7 +333,6 @@ class OneDashboardRaw(pulumi.CustomResource):
335
333
 
336
334
  ### Create A New Relic One Dashboard With RawConfiguration
337
335
 
338
- <!--Start PulumiCodeChooser -->
339
336
  ```python
340
337
  import pulumi
341
338
  import json
@@ -409,7 +406,6 @@ class OneDashboardRaw(pulumi.CustomResource):
409
406
  ],
410
407
  )])
411
408
  ```
412
- <!--End PulumiCodeChooser -->
413
409
 
414
410
  :param str resource_name: The name of the resource.
415
411
  :param OneDashboardRawArgs args: The arguments to use to populate this resource's properties.