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__ = ['OneDashboardJsonArgs', 'OneDashboardJson']
@@ -14,57 +19,57 @@ __all__ = ['OneDashboardJsonArgs', 'OneDashboardJson']
14
19
  @pulumi.input_type
15
20
  class OneDashboardJsonArgs:
16
21
  def __init__(__self__, *,
17
- json: pulumi.Input[str],
18
- account_id: Optional[pulumi.Input[int]] = None):
22
+ json: pulumi.Input[_builtins.str],
23
+ account_id: Optional[pulumi.Input[_builtins.str]] = None):
19
24
  """
20
25
  The set of arguments for constructing a OneDashboardJson resource.
21
- :param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
22
- :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.
26
+ :param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
27
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
23
28
  """
24
29
  pulumi.set(__self__, "json", json)
25
30
  if account_id is not None:
26
31
  pulumi.set(__self__, "account_id", account_id)
27
32
 
28
- @property
33
+ @_builtins.property
29
34
  @pulumi.getter
30
- def json(self) -> pulumi.Input[str]:
35
+ def json(self) -> pulumi.Input[_builtins.str]:
31
36
  """
32
37
  The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
33
38
  """
34
39
  return pulumi.get(self, "json")
35
40
 
36
41
  @json.setter
37
- def json(self, value: pulumi.Input[str]):
42
+ def json(self, value: pulumi.Input[_builtins.str]):
38
43
  pulumi.set(self, "json", value)
39
44
 
40
- @property
45
+ @_builtins.property
41
46
  @pulumi.getter(name="accountId")
42
- def account_id(self) -> Optional[pulumi.Input[int]]:
47
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
43
48
  """
44
49
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
45
50
  """
46
51
  return pulumi.get(self, "account_id")
47
52
 
48
53
  @account_id.setter
49
- def account_id(self, value: Optional[pulumi.Input[int]]):
54
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
50
55
  pulumi.set(self, "account_id", value)
51
56
 
52
57
 
53
58
  @pulumi.input_type
54
59
  class _OneDashboardJsonState:
55
60
  def __init__(__self__, *,
56
- account_id: Optional[pulumi.Input[int]] = None,
57
- guid: Optional[pulumi.Input[str]] = None,
58
- json: Optional[pulumi.Input[str]] = None,
59
- permalink: Optional[pulumi.Input[str]] = None,
60
- updated_at: Optional[pulumi.Input[str]] = None):
61
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
62
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
63
+ json: Optional[pulumi.Input[_builtins.str]] = None,
64
+ permalink: Optional[pulumi.Input[_builtins.str]] = None,
65
+ updated_at: Optional[pulumi.Input[_builtins.str]] = None):
61
66
  """
62
67
  Input properties used for looking up and filtering OneDashboardJson resources.
63
- :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.
64
- :param pulumi.Input[str] guid: The unique entity identifier of the dashboard in New Relic.
65
- :param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
66
- :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
67
- :param pulumi.Input[str] updated_at: The date and time when the dashboard was last updated.
68
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
69
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
70
+ :param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
71
+ :param pulumi.Input[_builtins.str] permalink: The URL for viewing the dashboard.
72
+ :param pulumi.Input[_builtins.str] updated_at: The date and time when the dashboard was last updated.
68
73
  """
69
74
  if account_id is not None:
70
75
  pulumi.set(__self__, "account_id", account_id)
@@ -77,74 +82,75 @@ class _OneDashboardJsonState:
77
82
  if updated_at is not None:
78
83
  pulumi.set(__self__, "updated_at", updated_at)
79
84
 
80
- @property
85
+ @_builtins.property
81
86
  @pulumi.getter(name="accountId")
82
- def account_id(self) -> Optional[pulumi.Input[int]]:
87
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
83
88
  """
84
89
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
85
90
  """
86
91
  return pulumi.get(self, "account_id")
87
92
 
88
93
  @account_id.setter
89
- def account_id(self, value: Optional[pulumi.Input[int]]):
94
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
90
95
  pulumi.set(self, "account_id", value)
91
96
 
92
- @property
97
+ @_builtins.property
93
98
  @pulumi.getter
94
- def guid(self) -> Optional[pulumi.Input[str]]:
99
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
95
100
  """
96
101
  The unique entity identifier of the dashboard in New Relic.
97
102
  """
98
103
  return pulumi.get(self, "guid")
99
104
 
100
105
  @guid.setter
101
- def guid(self, value: Optional[pulumi.Input[str]]):
106
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
102
107
  pulumi.set(self, "guid", value)
103
108
 
104
- @property
109
+ @_builtins.property
105
110
  @pulumi.getter
106
- def json(self) -> Optional[pulumi.Input[str]]:
111
+ def json(self) -> Optional[pulumi.Input[_builtins.str]]:
107
112
  """
108
113
  The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
109
114
  """
110
115
  return pulumi.get(self, "json")
111
116
 
112
117
  @json.setter
113
- def json(self, value: Optional[pulumi.Input[str]]):
118
+ def json(self, value: Optional[pulumi.Input[_builtins.str]]):
114
119
  pulumi.set(self, "json", value)
115
120
 
116
- @property
121
+ @_builtins.property
117
122
  @pulumi.getter
118
- def permalink(self) -> Optional[pulumi.Input[str]]:
123
+ def permalink(self) -> Optional[pulumi.Input[_builtins.str]]:
119
124
  """
120
125
  The URL for viewing the dashboard.
121
126
  """
122
127
  return pulumi.get(self, "permalink")
123
128
 
124
129
  @permalink.setter
125
- def permalink(self, value: Optional[pulumi.Input[str]]):
130
+ def permalink(self, value: Optional[pulumi.Input[_builtins.str]]):
126
131
  pulumi.set(self, "permalink", value)
127
132
 
128
- @property
133
+ @_builtins.property
129
134
  @pulumi.getter(name="updatedAt")
130
- def updated_at(self) -> Optional[pulumi.Input[str]]:
135
+ def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
131
136
  """
132
137
  The date and time when the dashboard was last updated.
133
138
  """
134
139
  return pulumi.get(self, "updated_at")
135
140
 
136
141
  @updated_at.setter
137
- def updated_at(self, value: Optional[pulumi.Input[str]]):
142
+ def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]):
138
143
  pulumi.set(self, "updated_at", value)
139
144
 
140
145
 
146
+ @pulumi.type_token("newrelic:index/oneDashboardJson:OneDashboardJson")
141
147
  class OneDashboardJson(pulumi.CustomResource):
142
148
  @overload
143
149
  def __init__(__self__,
144
150
  resource_name: str,
145
151
  opts: Optional[pulumi.ResourceOptions] = None,
146
- account_id: Optional[pulumi.Input[int]] = None,
147
- json: Optional[pulumi.Input[str]] = None,
152
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
153
+ json: Optional[pulumi.Input[_builtins.str]] = None,
148
154
  __props__=None):
149
155
  """
150
156
  ## Import
@@ -159,8 +165,8 @@ class OneDashboardJson(pulumi.CustomResource):
159
165
 
160
166
  :param str resource_name: The name of the resource.
161
167
  :param pulumi.ResourceOptions opts: Options for the resource.
162
- :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.
163
- :param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
168
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
169
+ :param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
164
170
  """
165
171
  ...
166
172
  @overload
@@ -194,8 +200,8 @@ class OneDashboardJson(pulumi.CustomResource):
194
200
  def _internal_init(__self__,
195
201
  resource_name: str,
196
202
  opts: Optional[pulumi.ResourceOptions] = None,
197
- account_id: Optional[pulumi.Input[int]] = None,
198
- json: Optional[pulumi.Input[str]] = None,
203
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
204
+ json: Optional[pulumi.Input[_builtins.str]] = None,
199
205
  __props__=None):
200
206
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
201
207
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -222,11 +228,11 @@ class OneDashboardJson(pulumi.CustomResource):
222
228
  def get(resource_name: str,
223
229
  id: pulumi.Input[str],
224
230
  opts: Optional[pulumi.ResourceOptions] = None,
225
- account_id: Optional[pulumi.Input[int]] = None,
226
- guid: Optional[pulumi.Input[str]] = None,
227
- json: Optional[pulumi.Input[str]] = None,
228
- permalink: Optional[pulumi.Input[str]] = None,
229
- updated_at: Optional[pulumi.Input[str]] = None) -> 'OneDashboardJson':
231
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
232
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
233
+ json: Optional[pulumi.Input[_builtins.str]] = None,
234
+ permalink: Optional[pulumi.Input[_builtins.str]] = None,
235
+ updated_at: Optional[pulumi.Input[_builtins.str]] = None) -> 'OneDashboardJson':
230
236
  """
231
237
  Get an existing OneDashboardJson resource's state with the given name, id, and optional extra
232
238
  properties used to qualify the lookup.
@@ -234,11 +240,11 @@ class OneDashboardJson(pulumi.CustomResource):
234
240
  :param str resource_name: The unique name of the resulting resource.
235
241
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
236
242
  :param pulumi.ResourceOptions opts: Options for the resource.
237
- :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.
238
- :param pulumi.Input[str] guid: The unique entity identifier of the dashboard in New Relic.
239
- :param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
240
- :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
241
- :param pulumi.Input[str] updated_at: The date and time when the dashboard was last updated.
243
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
244
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
245
+ :param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
246
+ :param pulumi.Input[_builtins.str] permalink: The URL for viewing the dashboard.
247
+ :param pulumi.Input[_builtins.str] updated_at: The date and time when the dashboard was last updated.
242
248
  """
243
249
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
244
250
 
@@ -251,41 +257,41 @@ class OneDashboardJson(pulumi.CustomResource):
251
257
  __props__.__dict__["updated_at"] = updated_at
252
258
  return OneDashboardJson(resource_name, opts=opts, __props__=__props__)
253
259
 
254
- @property
260
+ @_builtins.property
255
261
  @pulumi.getter(name="accountId")
256
- def account_id(self) -> pulumi.Output[int]:
262
+ def account_id(self) -> pulumi.Output[_builtins.str]:
257
263
  """
258
264
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
259
265
  """
260
266
  return pulumi.get(self, "account_id")
261
267
 
262
- @property
268
+ @_builtins.property
263
269
  @pulumi.getter
264
- def guid(self) -> pulumi.Output[str]:
270
+ def guid(self) -> pulumi.Output[_builtins.str]:
265
271
  """
266
272
  The unique entity identifier of the dashboard in New Relic.
267
273
  """
268
274
  return pulumi.get(self, "guid")
269
275
 
270
- @property
276
+ @_builtins.property
271
277
  @pulumi.getter
272
- def json(self) -> pulumi.Output[str]:
278
+ def json(self) -> pulumi.Output[_builtins.str]:
273
279
  """
274
280
  The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
275
281
  """
276
282
  return pulumi.get(self, "json")
277
283
 
278
- @property
284
+ @_builtins.property
279
285
  @pulumi.getter
280
- def permalink(self) -> pulumi.Output[str]:
286
+ def permalink(self) -> pulumi.Output[_builtins.str]:
281
287
  """
282
288
  The URL for viewing the dashboard.
283
289
  """
284
290
  return pulumi.get(self, "permalink")
285
291
 
286
- @property
292
+ @_builtins.property
287
293
  @pulumi.getter(name="updatedAt")
288
- def updated_at(self) -> pulumi.Output[str]:
294
+ def updated_at(self) -> pulumi.Output[_builtins.str]:
289
295
  """
290
296
  The date and time when the dashboard was last updated.
291
297
  """