pulumi-newrelic 5.22.0__py3-none-any.whl → 5.58.0a1763707205__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.

Potentially problematic release.


This version of pulumi-newrelic might be problematic. Click here for more details.

Files changed (92) hide show
  1. pulumi_newrelic/__init__.py +28 -1
  2. pulumi_newrelic/_inputs.py +10385 -2976
  3. pulumi_newrelic/_utilities.py +50 -10
  4. pulumi_newrelic/account_management.py +48 -42
  5. pulumi_newrelic/alert_channel.py +165 -175
  6. pulumi_newrelic/alert_condition.py +307 -319
  7. pulumi_newrelic/alert_muting_rule.py +193 -140
  8. pulumi_newrelic/alert_policy.py +121 -117
  9. pulumi_newrelic/alert_policy_channel.py +89 -79
  10. pulumi_newrelic/api_access_key.py +195 -193
  11. pulumi_newrelic/browser_application.py +120 -114
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +4267 -2714
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +206 -196
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +143 -228
  16. pulumi_newrelic/cloud/aws_integrations.py +510 -1490
  17. pulumi_newrelic/cloud/aws_link_account.py +80 -76
  18. pulumi_newrelic/cloud/azure_integrations.py +673 -587
  19. pulumi_newrelic/cloud/azure_link_account.py +121 -117
  20. pulumi_newrelic/cloud/gcp_integrations.py +428 -408
  21. pulumi_newrelic/cloud/gcp_link_account.py +65 -61
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1678 -2321
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +8 -3
  26. pulumi_newrelic/config/vars.py +22 -17
  27. pulumi_newrelic/data_partition_rule.py +119 -117
  28. pulumi_newrelic/entity_tags.py +111 -53
  29. pulumi_newrelic/events_to_metrics_rule.py +106 -102
  30. pulumi_newrelic/get_account.py +41 -33
  31. pulumi_newrelic/get_alert_channel.py +73 -28
  32. pulumi_newrelic/get_alert_policy.py +82 -33
  33. pulumi_newrelic/get_application.py +51 -43
  34. pulumi_newrelic/get_authentication_domain.py +27 -23
  35. pulumi_newrelic/get_cloud_account.py +43 -35
  36. pulumi_newrelic/get_entity.py +126 -183
  37. pulumi_newrelic/get_group.py +76 -31
  38. pulumi_newrelic/get_key_transaction.py +117 -42
  39. pulumi_newrelic/get_notification_destination.py +75 -38
  40. pulumi_newrelic/get_obfuscation_expression.py +47 -39
  41. pulumi_newrelic/get_service_level_alert_helper.py +189 -171
  42. pulumi_newrelic/get_test_grok_pattern.py +47 -36
  43. pulumi_newrelic/get_user.py +39 -31
  44. pulumi_newrelic/group.py +59 -199
  45. pulumi_newrelic/infra_alert_condition.py +399 -405
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +71 -28
  48. pulumi_newrelic/insights/event.py +54 -52
  49. pulumi_newrelic/insights/outputs.py +28 -23
  50. pulumi_newrelic/key_transaction.py +465 -0
  51. pulumi_newrelic/log_parsing_rule.py +159 -157
  52. pulumi_newrelic/monitor_downtime.py +311 -331
  53. pulumi_newrelic/notification_channel.py +534 -464
  54. pulumi_newrelic/notification_destination.py +238 -141
  55. pulumi_newrelic/nrql_alert_condition.py +820 -614
  56. pulumi_newrelic/nrql_drop_rule.py +113 -151
  57. pulumi_newrelic/obfuscation_expression.py +80 -76
  58. pulumi_newrelic/obfuscation_rule.py +115 -109
  59. pulumi_newrelic/one_dashboard.py +110 -104
  60. pulumi_newrelic/one_dashboard_json.py +69 -63
  61. pulumi_newrelic/one_dashboard_raw.py +212 -206
  62. pulumi_newrelic/outputs.py +4936 -2234
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +519 -89
  66. pulumi_newrelic/plugins/application_settings.py +463 -187
  67. pulumi_newrelic/plugins/outputs.py +336 -74
  68. pulumi_newrelic/plugins/workload.py +313 -189
  69. pulumi_newrelic/provider.py +156 -142
  70. pulumi_newrelic/pulumi-plugin.json +2 -1
  71. pulumi_newrelic/service_level.py +263 -263
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +265 -108
  74. pulumi_newrelic/synthetics/alert_condition.py +170 -180
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +297 -249
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +306 -258
  77. pulumi_newrelic/synthetics/get_private_location.py +51 -47
  78. pulumi_newrelic/synthetics/get_secure_credential.py +39 -31
  79. pulumi_newrelic/synthetics/monitor.py +658 -460
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +211 -205
  81. pulumi_newrelic/synthetics/outputs.py +92 -87
  82. pulumi_newrelic/synthetics/private_location.py +118 -112
  83. pulumi_newrelic/synthetics/script_monitor.py +613 -373
  84. pulumi_newrelic/synthetics/secure_credential.py +97 -95
  85. pulumi_newrelic/synthetics/step_monitor.py +445 -275
  86. pulumi_newrelic/user.py +84 -80
  87. pulumi_newrelic/workflow.py +336 -322
  88. {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +7 -6
  89. pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.22.0.dist-info/RECORD +0 -89
  92. {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/top_level.txt +0 -0
@@ -1,12 +1,17 @@
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
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
 
12
17
  __all__ = [
@@ -26,26 +31,26 @@ __all__ = [
26
31
  @pulumi.output_type
27
32
  class BrokenLinksMonitorTag(dict):
28
33
  def __init__(__self__, *,
29
- key: str,
30
- values: Sequence[str]):
34
+ key: _builtins.str,
35
+ values: Sequence[_builtins.str]):
31
36
  """
32
- :param str key: Name of the tag key.
33
- :param Sequence[str] values: Values associated with the tag key.
37
+ :param _builtins.str key: Name of the tag key.
38
+ :param Sequence[_builtins.str] values: Values associated with the tag key.
34
39
  """
35
40
  pulumi.set(__self__, "key", key)
36
41
  pulumi.set(__self__, "values", values)
37
42
 
38
- @property
43
+ @_builtins.property
39
44
  @pulumi.getter
40
- def key(self) -> str:
45
+ def key(self) -> _builtins.str:
41
46
  """
42
47
  Name of the tag key.
43
48
  """
44
49
  return pulumi.get(self, "key")
45
50
 
46
- @property
51
+ @_builtins.property
47
52
  @pulumi.getter
48
- def values(self) -> Sequence[str]:
53
+ def values(self) -> Sequence[_builtins.str]:
49
54
  """
50
55
  Values associated with the tag key.
51
56
  """
@@ -55,26 +60,26 @@ class BrokenLinksMonitorTag(dict):
55
60
  @pulumi.output_type
56
61
  class CertCheckMonitorTag(dict):
57
62
  def __init__(__self__, *,
58
- key: str,
59
- values: Sequence[str]):
63
+ key: _builtins.str,
64
+ values: Sequence[_builtins.str]):
60
65
  """
61
- :param str key: Name of the tag key.
62
- :param Sequence[str] values: Values associated with the tag key.
66
+ :param _builtins.str key: Name of the tag key.
67
+ :param Sequence[_builtins.str] values: Values associated with the tag key.
63
68
  """
64
69
  pulumi.set(__self__, "key", key)
65
70
  pulumi.set(__self__, "values", values)
66
71
 
67
- @property
72
+ @_builtins.property
68
73
  @pulumi.getter
69
- def key(self) -> str:
74
+ def key(self) -> _builtins.str:
70
75
  """
71
76
  Name of the tag key.
72
77
  """
73
78
  return pulumi.get(self, "key")
74
79
 
75
- @property
80
+ @_builtins.property
76
81
  @pulumi.getter
77
- def values(self) -> Sequence[str]:
82
+ def values(self) -> Sequence[_builtins.str]:
78
83
  """
79
84
  Values associated with the tag key.
80
85
  """
@@ -84,28 +89,28 @@ class CertCheckMonitorTag(dict):
84
89
  @pulumi.output_type
85
90
  class MonitorCustomHeader(dict):
86
91
  def __init__(__self__, *,
87
- name: Optional[str] = None,
88
- value: Optional[str] = None):
92
+ name: Optional[_builtins.str] = None,
93
+ value: Optional[_builtins.str] = None):
89
94
  """
90
- :param str name: Header name.
91
- :param str value: Header Value.
95
+ :param _builtins.str name: Header name.
96
+ :param _builtins.str value: Header Value.
92
97
  """
93
98
  if name is not None:
94
99
  pulumi.set(__self__, "name", name)
95
100
  if value is not None:
96
101
  pulumi.set(__self__, "value", value)
97
102
 
98
- @property
103
+ @_builtins.property
99
104
  @pulumi.getter
100
- def name(self) -> Optional[str]:
105
+ def name(self) -> Optional[_builtins.str]:
101
106
  """
102
107
  Header name.
103
108
  """
104
109
  return pulumi.get(self, "name")
105
110
 
106
- @property
111
+ @_builtins.property
107
112
  @pulumi.getter
108
- def value(self) -> Optional[str]:
113
+ def value(self) -> Optional[_builtins.str]:
109
114
  """
110
115
  Header Value.
111
116
  """
@@ -115,26 +120,26 @@ class MonitorCustomHeader(dict):
115
120
  @pulumi.output_type
116
121
  class MonitorTag(dict):
117
122
  def __init__(__self__, *,
118
- key: str,
119
- values: Sequence[str]):
123
+ key: _builtins.str,
124
+ values: Sequence[_builtins.str]):
120
125
  """
121
- :param str key: Name of the tag key.
122
- :param Sequence[str] values: Values associated with the tag key.
126
+ :param _builtins.str key: Name of the tag key.
127
+ :param Sequence[_builtins.str] values: Values associated with the tag key.
123
128
  """
124
129
  pulumi.set(__self__, "key", key)
125
130
  pulumi.set(__self__, "values", values)
126
131
 
127
- @property
132
+ @_builtins.property
128
133
  @pulumi.getter
129
- def key(self) -> str:
134
+ def key(self) -> _builtins.str:
130
135
  """
131
136
  Name of the tag key.
132
137
  """
133
138
  return pulumi.get(self, "key")
134
139
 
135
- @property
140
+ @_builtins.property
136
141
  @pulumi.getter
137
- def values(self) -> Sequence[str]:
142
+ def values(self) -> Sequence[_builtins.str]:
138
143
  """
139
144
  Values associated with the tag key.
140
145
  """
@@ -144,15 +149,15 @@ class MonitorTag(dict):
144
149
  @pulumi.output_type
145
150
  class MultiLocationAlertConditionCritical(dict):
146
151
  def __init__(__self__, *,
147
- threshold: int):
152
+ threshold: _builtins.int):
148
153
  """
149
- :param int threshold: The minimum number of monitor locations that must be concurrently failing before an incident is opened.
154
+ :param _builtins.int threshold: The minimum number of monitor locations that must be concurrently failing before an incident is opened.
150
155
  """
151
156
  pulumi.set(__self__, "threshold", threshold)
152
157
 
153
- @property
158
+ @_builtins.property
154
159
  @pulumi.getter
155
- def threshold(self) -> int:
160
+ def threshold(self) -> _builtins.int:
156
161
  """
157
162
  The minimum number of monitor locations that must be concurrently failing before an incident is opened.
158
163
  """
@@ -162,15 +167,15 @@ class MultiLocationAlertConditionCritical(dict):
162
167
  @pulumi.output_type
163
168
  class MultiLocationAlertConditionWarning(dict):
164
169
  def __init__(__self__, *,
165
- threshold: int):
170
+ threshold: _builtins.int):
166
171
  """
167
- :param int threshold: The minimum number of monitor locations that must be concurrently failing before an incident is opened.
172
+ :param _builtins.int threshold: The minimum number of monitor locations that must be concurrently failing before an incident is opened.
168
173
  """
169
174
  pulumi.set(__self__, "threshold", threshold)
170
175
 
171
- @property
176
+ @_builtins.property
172
177
  @pulumi.getter
173
- def threshold(self) -> int:
178
+ def threshold(self) -> _builtins.int:
174
179
  """
175
180
  The minimum number of monitor locations that must be concurrently failing before an incident is opened.
176
181
  """
@@ -197,27 +202,27 @@ class ScriptMonitorLocationPrivate(dict):
197
202
  return super().get(key, default)
198
203
 
199
204
  def __init__(__self__, *,
200
- guid: str,
201
- vse_password: Optional[str] = None):
205
+ guid: _builtins.str,
206
+ vse_password: Optional[_builtins.str] = None):
202
207
  """
203
- :param str guid: The unique identifier for the Synthetics private location in New Relic.
204
- :param str vse_password: The location's Verified Script Execution password, Only necessary if Verified Script Execution is enabled for the location.
208
+ :param _builtins.str guid: The unique identifier for the Synthetics private location in New Relic.
209
+ :param _builtins.str vse_password: The location's Verified Script Execution password, Only necessary if Verified Script Execution is enabled for the location.
205
210
  """
206
211
  pulumi.set(__self__, "guid", guid)
207
212
  if vse_password is not None:
208
213
  pulumi.set(__self__, "vse_password", vse_password)
209
214
 
210
- @property
215
+ @_builtins.property
211
216
  @pulumi.getter
212
- def guid(self) -> str:
217
+ def guid(self) -> _builtins.str:
213
218
  """
214
219
  The unique identifier for the Synthetics private location in New Relic.
215
220
  """
216
221
  return pulumi.get(self, "guid")
217
222
 
218
- @property
223
+ @_builtins.property
219
224
  @pulumi.getter(name="vsePassword")
220
- def vse_password(self) -> Optional[str]:
225
+ def vse_password(self) -> Optional[_builtins.str]:
221
226
  """
222
227
  The location's Verified Script Execution password, Only necessary if Verified Script Execution is enabled for the location.
223
228
  """
@@ -227,26 +232,26 @@ class ScriptMonitorLocationPrivate(dict):
227
232
  @pulumi.output_type
228
233
  class ScriptMonitorTag(dict):
229
234
  def __init__(__self__, *,
230
- key: str,
231
- values: Sequence[str]):
235
+ key: _builtins.str,
236
+ values: Sequence[_builtins.str]):
232
237
  """
233
- :param str key: Name of the tag key.
234
- :param Sequence[str] values: Values associated with the tag key.
238
+ :param _builtins.str key: Name of the tag key.
239
+ :param Sequence[_builtins.str] values: Values associated with the tag key.
235
240
  """
236
241
  pulumi.set(__self__, "key", key)
237
242
  pulumi.set(__self__, "values", values)
238
243
 
239
- @property
244
+ @_builtins.property
240
245
  @pulumi.getter
241
- def key(self) -> str:
246
+ def key(self) -> _builtins.str:
242
247
  """
243
248
  Name of the tag key.
244
249
  """
245
250
  return pulumi.get(self, "key")
246
251
 
247
- @property
252
+ @_builtins.property
248
253
  @pulumi.getter
249
- def values(self) -> Sequence[str]:
254
+ def values(self) -> Sequence[_builtins.str]:
250
255
  """
251
256
  Values associated with the tag key.
252
257
  """
@@ -273,27 +278,27 @@ class StepMonitorLocationPrivate(dict):
273
278
  return super().get(key, default)
274
279
 
275
280
  def __init__(__self__, *,
276
- guid: str,
277
- vse_password: Optional[str] = None):
281
+ guid: _builtins.str,
282
+ vse_password: Optional[_builtins.str] = None):
278
283
  """
279
- :param str guid: The unique identifier for the Synthetics private location in New Relic.
280
- :param str vse_password: The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
284
+ :param _builtins.str guid: The unique identifier for the Synthetics private location in New Relic.
285
+ :param _builtins.str vse_password: The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
281
286
  """
282
287
  pulumi.set(__self__, "guid", guid)
283
288
  if vse_password is not None:
284
289
  pulumi.set(__self__, "vse_password", vse_password)
285
290
 
286
- @property
291
+ @_builtins.property
287
292
  @pulumi.getter
288
- def guid(self) -> str:
293
+ def guid(self) -> _builtins.str:
289
294
  """
290
295
  The unique identifier for the Synthetics private location in New Relic.
291
296
  """
292
297
  return pulumi.get(self, "guid")
293
298
 
294
- @property
299
+ @_builtins.property
295
300
  @pulumi.getter(name="vsePassword")
296
- def vse_password(self) -> Optional[str]:
301
+ def vse_password(self) -> Optional[_builtins.str]:
297
302
  """
298
303
  The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
299
304
  """
@@ -303,38 +308,38 @@ class StepMonitorLocationPrivate(dict):
303
308
  @pulumi.output_type
304
309
  class StepMonitorStep(dict):
305
310
  def __init__(__self__, *,
306
- ordinal: int,
307
- type: str,
308
- values: Optional[Sequence[str]] = None):
311
+ ordinal: _builtins.int,
312
+ type: _builtins.str,
313
+ values: Optional[Sequence[_builtins.str]] = None):
309
314
  """
310
- :param int ordinal: The position of the step within the script ranging from 0-100.
311
- :param str type: Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
312
- :param Sequence[str] values: The metadata values related to the step.
315
+ :param _builtins.int ordinal: The position of the step within the script ranging from 0-100.
316
+ :param _builtins.str type: Name of the tag key. Valid values are `ASSERT_ELEMENT`, `ASSERT_MODAL`, `ASSERT_TEXT`, `ASSERT_TITLE`, `CLICK_ELEMENT`, `DISMISS_MODAL`, `DOUBLE_CLICK_ELEMENT`, `HOVER_ELEMENT`, `NAVIGATE`, `SECURE_TEXT_ENTRY`, `SELECT_ELEMENT`, `TEXT_ENTRY`.
317
+ :param Sequence[_builtins.str] values: The metadata values related to the step.
313
318
  """
314
319
  pulumi.set(__self__, "ordinal", ordinal)
315
320
  pulumi.set(__self__, "type", type)
316
321
  if values is not None:
317
322
  pulumi.set(__self__, "values", values)
318
323
 
319
- @property
324
+ @_builtins.property
320
325
  @pulumi.getter
321
- def ordinal(self) -> int:
326
+ def ordinal(self) -> _builtins.int:
322
327
  """
323
328
  The position of the step within the script ranging from 0-100.
324
329
  """
325
330
  return pulumi.get(self, "ordinal")
326
331
 
327
- @property
332
+ @_builtins.property
328
333
  @pulumi.getter
329
- def type(self) -> str:
334
+ def type(self) -> _builtins.str:
330
335
  """
331
- Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
336
+ Name of the tag key. Valid values are `ASSERT_ELEMENT`, `ASSERT_MODAL`, `ASSERT_TEXT`, `ASSERT_TITLE`, `CLICK_ELEMENT`, `DISMISS_MODAL`, `DOUBLE_CLICK_ELEMENT`, `HOVER_ELEMENT`, `NAVIGATE`, `SECURE_TEXT_ENTRY`, `SELECT_ELEMENT`, `TEXT_ENTRY`.
332
337
  """
333
338
  return pulumi.get(self, "type")
334
339
 
335
- @property
340
+ @_builtins.property
336
341
  @pulumi.getter
337
- def values(self) -> Optional[Sequence[str]]:
342
+ def values(self) -> Optional[Sequence[_builtins.str]]:
338
343
  """
339
344
  The metadata values related to the step.
340
345
  """
@@ -344,26 +349,26 @@ class StepMonitorStep(dict):
344
349
  @pulumi.output_type
345
350
  class StepMonitorTag(dict):
346
351
  def __init__(__self__, *,
347
- key: str,
348
- values: Sequence[str]):
352
+ key: _builtins.str,
353
+ values: Sequence[_builtins.str]):
349
354
  """
350
- :param str key: Name of the tag key.
351
- :param Sequence[str] values: Values associated with the tag key.
355
+ :param _builtins.str key: Name of the tag key.
356
+ :param Sequence[_builtins.str] values: Values associated with the tag key.
352
357
  """
353
358
  pulumi.set(__self__, "key", key)
354
359
  pulumi.set(__self__, "values", values)
355
360
 
356
- @property
361
+ @_builtins.property
357
362
  @pulumi.getter
358
- def key(self) -> str:
363
+ def key(self) -> _builtins.str:
359
364
  """
360
365
  Name of the tag key.
361
366
  """
362
367
  return pulumi.get(self, "key")
363
368
 
364
- @property
369
+ @_builtins.property
365
370
  @pulumi.getter
366
- def values(self) -> Sequence[str]:
371
+ def values(self) -> Sequence[_builtins.str]:
367
372
  """
368
373
  Values associated with the tag key.
369
374
  """