pulumi-newrelic 5.16.0a1698964311__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 +58 -1
  2. pulumi_newrelic/_inputs.py +10772 -2775
  3. pulumi_newrelic/_utilities.py +92 -11
  4. pulumi_newrelic/account_management.py +56 -42
  5. pulumi_newrelic/alert_channel.py +177 -151
  6. pulumi_newrelic/alert_condition.py +313 -301
  7. pulumi_newrelic/alert_muting_rule.py +195 -138
  8. pulumi_newrelic/alert_policy.py +157 -109
  9. pulumi_newrelic/alert_policy_channel.py +95 -81
  10. pulumi_newrelic/api_access_key.py +191 -209
  11. pulumi_newrelic/browser_application.py +161 -153
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +4267 -2710
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +238 -200
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +159 -212
  16. pulumi_newrelic/cloud/aws_integrations.py +518 -1490
  17. pulumi_newrelic/cloud/aws_link_account.py +88 -76
  18. pulumi_newrelic/cloud/azure_integrations.py +681 -587
  19. pulumi_newrelic/cloud/azure_link_account.py +129 -117
  20. pulumi_newrelic/cloud/gcp_integrations.py +436 -408
  21. pulumi_newrelic/cloud/gcp_link_account.py +71 -59
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1678 -2317
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +45 -0
  26. pulumi_newrelic/config/vars.py +22 -17
  27. pulumi_newrelic/data_partition_rule.py +129 -117
  28. pulumi_newrelic/entity_tags.py +153 -31
  29. pulumi_newrelic/events_to_metrics_rule.py +114 -102
  30. pulumi_newrelic/get_account.py +41 -29
  31. pulumi_newrelic/get_alert_channel.py +73 -28
  32. pulumi_newrelic/get_alert_policy.py +83 -34
  33. pulumi_newrelic/get_application.py +51 -39
  34. pulumi_newrelic/get_authentication_domain.py +111 -0
  35. pulumi_newrelic/get_cloud_account.py +43 -31
  36. pulumi_newrelic/get_entity.py +126 -121
  37. pulumi_newrelic/get_group.py +190 -0
  38. pulumi_newrelic/get_key_transaction.py +117 -38
  39. pulumi_newrelic/get_notification_destination.py +86 -36
  40. pulumi_newrelic/get_obfuscation_expression.py +47 -35
  41. pulumi_newrelic/get_service_level_alert_helper.py +237 -137
  42. pulumi_newrelic/get_test_grok_pattern.py +47 -32
  43. pulumi_newrelic/get_user.py +165 -0
  44. pulumi_newrelic/group.py +286 -0
  45. pulumi_newrelic/infra_alert_condition.py +400 -382
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +94 -23
  48. pulumi_newrelic/insights/event.py +56 -48
  49. pulumi_newrelic/insights/outputs.py +51 -18
  50. pulumi_newrelic/key_transaction.py +465 -0
  51. pulumi_newrelic/log_parsing_rule.py +169 -153
  52. pulumi_newrelic/monitor_downtime.py +914 -0
  53. pulumi_newrelic/notification_channel.py +560 -418
  54. pulumi_newrelic/notification_destination.py +379 -124
  55. pulumi_newrelic/nrql_alert_condition.py +945 -513
  56. pulumi_newrelic/nrql_drop_rule.py +121 -129
  57. pulumi_newrelic/obfuscation_expression.py +88 -76
  58. pulumi_newrelic/obfuscation_rule.py +123 -109
  59. pulumi_newrelic/one_dashboard.py +118 -108
  60. pulumi_newrelic/one_dashboard_json.py +77 -67
  61. pulumi_newrelic/one_dashboard_raw.py +214 -202
  62. pulumi_newrelic/outputs.py +5491 -2141
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +520 -90
  66. pulumi_newrelic/plugins/application_settings.py +463 -167
  67. pulumi_newrelic/plugins/outputs.py +337 -75
  68. pulumi_newrelic/plugins/workload.py +387 -151
  69. pulumi_newrelic/provider.py +156 -142
  70. pulumi_newrelic/pulumi-plugin.json +2 -1
  71. pulumi_newrelic/service_level.py +277 -255
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +275 -106
  74. pulumi_newrelic/synthetics/alert_condition.py +174 -160
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +367 -207
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +380 -218
  77. pulumi_newrelic/synthetics/get_private_location.py +51 -39
  78. pulumi_newrelic/synthetics/get_secure_credential.py +39 -27
  79. pulumi_newrelic/synthetics/monitor.py +668 -462
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +219 -201
  81. pulumi_newrelic/synthetics/outputs.py +102 -85
  82. pulumi_newrelic/synthetics/private_location.py +120 -110
  83. pulumi_newrelic/synthetics/script_monitor.py +623 -375
  84. pulumi_newrelic/synthetics/secure_credential.py +99 -93
  85. pulumi_newrelic/synthetics/step_monitor.py +545 -201
  86. pulumi_newrelic/user.py +366 -0
  87. pulumi_newrelic/workflow.py +348 -312
  88. {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +8 -7
  89. pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.16.0a1698964311.dist-info/RECORD +0 -82
  92. {pulumi_newrelic-5.16.0a1698964311.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,24 +149,36 @@ 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):
153
+ """
154
+ :param _builtins.int threshold: The minimum number of monitor locations that must be concurrently failing before an incident is opened.
155
+ """
148
156
  pulumi.set(__self__, "threshold", threshold)
149
157
 
150
- @property
158
+ @_builtins.property
151
159
  @pulumi.getter
152
- def threshold(self) -> int:
160
+ def threshold(self) -> _builtins.int:
161
+ """
162
+ The minimum number of monitor locations that must be concurrently failing before an incident is opened.
163
+ """
153
164
  return pulumi.get(self, "threshold")
154
165
 
155
166
 
156
167
  @pulumi.output_type
157
168
  class MultiLocationAlertConditionWarning(dict):
158
169
  def __init__(__self__, *,
159
- threshold: int):
170
+ threshold: _builtins.int):
171
+ """
172
+ :param _builtins.int threshold: The minimum number of monitor locations that must be concurrently failing before an incident is opened.
173
+ """
160
174
  pulumi.set(__self__, "threshold", threshold)
161
175
 
162
- @property
176
+ @_builtins.property
163
177
  @pulumi.getter
164
- def threshold(self) -> int:
178
+ def threshold(self) -> _builtins.int:
179
+ """
180
+ The minimum number of monitor locations that must be concurrently failing before an incident is opened.
181
+ """
165
182
  return pulumi.get(self, "threshold")
166
183
 
167
184
 
@@ -185,27 +202,27 @@ class ScriptMonitorLocationPrivate(dict):
185
202
  return super().get(key, default)
186
203
 
187
204
  def __init__(__self__, *,
188
- guid: str,
189
- vse_password: Optional[str] = None):
205
+ guid: _builtins.str,
206
+ vse_password: Optional[_builtins.str] = None):
190
207
  """
191
- :param str guid: The unique identifier for the Synthetics private location in New Relic.
192
- :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.
193
210
  """
194
211
  pulumi.set(__self__, "guid", guid)
195
212
  if vse_password is not None:
196
213
  pulumi.set(__self__, "vse_password", vse_password)
197
214
 
198
- @property
215
+ @_builtins.property
199
216
  @pulumi.getter
200
- def guid(self) -> str:
217
+ def guid(self) -> _builtins.str:
201
218
  """
202
219
  The unique identifier for the Synthetics private location in New Relic.
203
220
  """
204
221
  return pulumi.get(self, "guid")
205
222
 
206
- @property
223
+ @_builtins.property
207
224
  @pulumi.getter(name="vsePassword")
208
- def vse_password(self) -> Optional[str]:
225
+ def vse_password(self) -> Optional[_builtins.str]:
209
226
  """
210
227
  The location's Verified Script Execution password, Only necessary if Verified Script Execution is enabled for the location.
211
228
  """
@@ -215,26 +232,26 @@ class ScriptMonitorLocationPrivate(dict):
215
232
  @pulumi.output_type
216
233
  class ScriptMonitorTag(dict):
217
234
  def __init__(__self__, *,
218
- key: str,
219
- values: Sequence[str]):
235
+ key: _builtins.str,
236
+ values: Sequence[_builtins.str]):
220
237
  """
221
- :param str key: Name of the tag key.
222
- :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.
223
240
  """
224
241
  pulumi.set(__self__, "key", key)
225
242
  pulumi.set(__self__, "values", values)
226
243
 
227
- @property
244
+ @_builtins.property
228
245
  @pulumi.getter
229
- def key(self) -> str:
246
+ def key(self) -> _builtins.str:
230
247
  """
231
248
  Name of the tag key.
232
249
  """
233
250
  return pulumi.get(self, "key")
234
251
 
235
- @property
252
+ @_builtins.property
236
253
  @pulumi.getter
237
- def values(self) -> Sequence[str]:
254
+ def values(self) -> Sequence[_builtins.str]:
238
255
  """
239
256
  Values associated with the tag key.
240
257
  """
@@ -261,27 +278,27 @@ class StepMonitorLocationPrivate(dict):
261
278
  return super().get(key, default)
262
279
 
263
280
  def __init__(__self__, *,
264
- guid: str,
265
- vse_password: Optional[str] = None):
281
+ guid: _builtins.str,
282
+ vse_password: Optional[_builtins.str] = None):
266
283
  """
267
- :param str guid: The unique identifier for the Synthetics private location in New Relic.
268
- :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.
269
286
  """
270
287
  pulumi.set(__self__, "guid", guid)
271
288
  if vse_password is not None:
272
289
  pulumi.set(__self__, "vse_password", vse_password)
273
290
 
274
- @property
291
+ @_builtins.property
275
292
  @pulumi.getter
276
- def guid(self) -> str:
293
+ def guid(self) -> _builtins.str:
277
294
  """
278
295
  The unique identifier for the Synthetics private location in New Relic.
279
296
  """
280
297
  return pulumi.get(self, "guid")
281
298
 
282
- @property
299
+ @_builtins.property
283
300
  @pulumi.getter(name="vsePassword")
284
- def vse_password(self) -> Optional[str]:
301
+ def vse_password(self) -> Optional[_builtins.str]:
285
302
  """
286
303
  The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
287
304
  """
@@ -291,38 +308,38 @@ class StepMonitorLocationPrivate(dict):
291
308
  @pulumi.output_type
292
309
  class StepMonitorStep(dict):
293
310
  def __init__(__self__, *,
294
- ordinal: int,
295
- type: str,
296
- values: Optional[Sequence[str]] = None):
311
+ ordinal: _builtins.int,
312
+ type: _builtins.str,
313
+ values: Optional[Sequence[_builtins.str]] = None):
297
314
  """
298
- :param int ordinal: The position of the step within the script ranging from 0-100.
299
- :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.
300
- :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.
301
318
  """
302
319
  pulumi.set(__self__, "ordinal", ordinal)
303
320
  pulumi.set(__self__, "type", type)
304
321
  if values is not None:
305
322
  pulumi.set(__self__, "values", values)
306
323
 
307
- @property
324
+ @_builtins.property
308
325
  @pulumi.getter
309
- def ordinal(self) -> int:
326
+ def ordinal(self) -> _builtins.int:
310
327
  """
311
328
  The position of the step within the script ranging from 0-100.
312
329
  """
313
330
  return pulumi.get(self, "ordinal")
314
331
 
315
- @property
332
+ @_builtins.property
316
333
  @pulumi.getter
317
- def type(self) -> str:
334
+ def type(self) -> _builtins.str:
318
335
  """
319
- 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`.
320
337
  """
321
338
  return pulumi.get(self, "type")
322
339
 
323
- @property
340
+ @_builtins.property
324
341
  @pulumi.getter
325
- def values(self) -> Optional[Sequence[str]]:
342
+ def values(self) -> Optional[Sequence[_builtins.str]]:
326
343
  """
327
344
  The metadata values related to the step.
328
345
  """
@@ -332,26 +349,26 @@ class StepMonitorStep(dict):
332
349
  @pulumi.output_type
333
350
  class StepMonitorTag(dict):
334
351
  def __init__(__self__, *,
335
- key: str,
336
- values: Sequence[str]):
352
+ key: _builtins.str,
353
+ values: Sequence[_builtins.str]):
337
354
  """
338
- :param str key: Name of the tag key.
339
- :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.
340
357
  """
341
358
  pulumi.set(__self__, "key", key)
342
359
  pulumi.set(__self__, "values", values)
343
360
 
344
- @property
361
+ @_builtins.property
345
362
  @pulumi.getter
346
- def key(self) -> str:
363
+ def key(self) -> _builtins.str:
347
364
  """
348
365
  Name of the tag key.
349
366
  """
350
367
  return pulumi.get(self, "key")
351
368
 
352
- @property
369
+ @_builtins.property
353
370
  @pulumi.getter
354
- def values(self) -> Sequence[str]:
371
+ def values(self) -> Sequence[_builtins.str]:
355
372
  """
356
373
  Values associated with the tag key.
357
374
  """