pulumi-newrelic 5.21.0a1710157101__py3-none-any.whl → 5.39.0a1736834464__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. pulumi_newrelic/__init__.py +9 -0
  2. pulumi_newrelic/_inputs.py +7153 -461
  3. pulumi_newrelic/_utilities.py +41 -5
  4. pulumi_newrelic/account_management.py +11 -6
  5. pulumi_newrelic/alert_channel.py +116 -127
  6. pulumi_newrelic/alert_condition.py +116 -129
  7. pulumi_newrelic/alert_muting_rule.py +128 -76
  8. pulumi_newrelic/alert_policy.py +78 -75
  9. pulumi_newrelic/alert_policy_channel.py +77 -68
  10. pulumi_newrelic/api_access_key.py +45 -28
  11. pulumi_newrelic/browser_application.py +77 -78
  12. pulumi_newrelic/cloud/_inputs.py +2527 -1082
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +133 -128
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +23 -20
  15. pulumi_newrelic/cloud/aws_integrations.py +298 -1326
  16. pulumi_newrelic/cloud/aws_link_account.py +23 -20
  17. pulumi_newrelic/cloud/azure_integrations.py +521 -483
  18. pulumi_newrelic/cloud/azure_link_account.py +34 -31
  19. pulumi_newrelic/cloud/gcp_integrations.py +341 -322
  20. pulumi_newrelic/cloud/gcp_link_account.py +23 -20
  21. pulumi_newrelic/cloud/outputs.py +327 -1072
  22. pulumi_newrelic/config/__init__.pyi +6 -1
  23. pulumi_newrelic/config/vars.py +7 -2
  24. pulumi_newrelic/data_partition_rule.py +19 -18
  25. pulumi_newrelic/entity_tags.py +32 -31
  26. pulumi_newrelic/events_to_metrics_rule.py +23 -20
  27. pulumi_newrelic/get_account.py +24 -16
  28. pulumi_newrelic/get_alert_channel.py +26 -13
  29. pulumi_newrelic/get_alert_policy.py +35 -12
  30. pulumi_newrelic/get_application.py +39 -31
  31. pulumi_newrelic/get_authentication_domain.py +17 -13
  32. pulumi_newrelic/get_cloud_account.py +26 -18
  33. pulumi_newrelic/get_entity.py +90 -147
  34. pulumi_newrelic/get_group.py +58 -13
  35. pulumi_newrelic/get_key_transaction.py +109 -34
  36. pulumi_newrelic/get_notification_destination.py +64 -14
  37. pulumi_newrelic/get_obfuscation_expression.py +36 -28
  38. pulumi_newrelic/get_service_level_alert_helper.py +135 -117
  39. pulumi_newrelic/get_test_grok_pattern.py +29 -18
  40. pulumi_newrelic/get_user.py +17 -9
  41. pulumi_newrelic/group.py +5 -146
  42. pulumi_newrelic/infra_alert_condition.py +160 -167
  43. pulumi_newrelic/insights/_inputs.py +43 -0
  44. pulumi_newrelic/insights/event.py +48 -47
  45. pulumi_newrelic/insights/outputs.py +5 -0
  46. pulumi_newrelic/key_transaction.py +464 -0
  47. pulumi_newrelic/log_parsing_rule.py +25 -24
  48. pulumi_newrelic/monitor_downtime.py +211 -225
  49. pulumi_newrelic/notification_channel.py +381 -366
  50. pulumi_newrelic/notification_destination.py +192 -54
  51. pulumi_newrelic/nrql_alert_condition.py +345 -262
  52. pulumi_newrelic/nrql_drop_rule.py +31 -30
  53. pulumi_newrelic/obfuscation_expression.py +23 -20
  54. pulumi_newrelic/obfuscation_rule.py +38 -33
  55. pulumi_newrelic/one_dashboard.py +29 -24
  56. pulumi_newrelic/one_dashboard_json.py +19 -14
  57. pulumi_newrelic/one_dashboard_raw.py +110 -105
  58. pulumi_newrelic/outputs.py +2446 -245
  59. pulumi_newrelic/plugins/_inputs.py +145 -10
  60. pulumi_newrelic/plugins/application_settings.py +25 -36
  61. pulumi_newrelic/plugins/outputs.py +15 -10
  62. pulumi_newrelic/plugins/workload.py +215 -92
  63. pulumi_newrelic/provider.py +27 -33
  64. pulumi_newrelic/pulumi-plugin.json +2 -1
  65. pulumi_newrelic/service_level.py +185 -186
  66. pulumi_newrelic/synthetics/_inputs.py +159 -2
  67. pulumi_newrelic/synthetics/alert_condition.py +87 -98
  68. pulumi_newrelic/synthetics/broken_links_monitor.py +216 -99
  69. pulumi_newrelic/synthetics/cert_check_monitor.py +219 -100
  70. pulumi_newrelic/synthetics/get_private_location.py +34 -30
  71. pulumi_newrelic/synthetics/get_secure_credential.py +24 -16
  72. pulumi_newrelic/synthetics/monitor.py +348 -193
  73. pulumi_newrelic/synthetics/multi_location_alert_condition.py +105 -100
  74. pulumi_newrelic/synthetics/outputs.py +7 -2
  75. pulumi_newrelic/synthetics/private_location.py +25 -20
  76. pulumi_newrelic/synthetics/script_monitor.py +317 -182
  77. pulumi_newrelic/synthetics/secure_credential.py +23 -22
  78. pulumi_newrelic/synthetics/step_monitor.py +405 -100
  79. pulumi_newrelic/user.py +13 -10
  80. pulumi_newrelic/workflow.py +209 -196
  81. {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/METADATA +7 -6
  82. pulumi_newrelic-5.39.0a1736834464.dist-info/RECORD +90 -0
  83. {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
  84. pulumi_newrelic-5.21.0a1710157101.dist-info/RECORD +0 -89
  85. {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
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__ = ['GcpLinkAccountArgs', 'GcpLinkAccount']
@@ -15,12 +20,12 @@ __all__ = ['GcpLinkAccountArgs', 'GcpLinkAccount']
15
20
  class GcpLinkAccountArgs:
16
21
  def __init__(__self__, *,
17
22
  project_id: pulumi.Input[str],
18
- account_id: Optional[pulumi.Input[int]] = None,
23
+ account_id: Optional[pulumi.Input[str]] = None,
19
24
  name: Optional[pulumi.Input[str]] = None):
20
25
  """
21
26
  The set of arguments for constructing a GcpLinkAccount resource.
22
27
  :param pulumi.Input[str] project_id: Project ID of the GCP account.
23
- :param pulumi.Input[int] account_id: Account ID of the New Relic account.
28
+ :param pulumi.Input[str] account_id: Account ID of the New Relic account.
24
29
  :param pulumi.Input[str] name: name of the linked account
25
30
  """
26
31
  pulumi.set(__self__, "project_id", project_id)
@@ -43,14 +48,14 @@ class GcpLinkAccountArgs:
43
48
 
44
49
  @property
45
50
  @pulumi.getter(name="accountId")
46
- def account_id(self) -> Optional[pulumi.Input[int]]:
51
+ def account_id(self) -> Optional[pulumi.Input[str]]:
47
52
  """
48
53
  Account ID of the New Relic account.
49
54
  """
50
55
  return pulumi.get(self, "account_id")
51
56
 
52
57
  @account_id.setter
53
- def account_id(self, value: Optional[pulumi.Input[int]]):
58
+ def account_id(self, value: Optional[pulumi.Input[str]]):
54
59
  pulumi.set(self, "account_id", value)
55
60
 
56
61
  @property
@@ -69,12 +74,12 @@ class GcpLinkAccountArgs:
69
74
  @pulumi.input_type
70
75
  class _GcpLinkAccountState:
71
76
  def __init__(__self__, *,
72
- account_id: Optional[pulumi.Input[int]] = None,
77
+ account_id: Optional[pulumi.Input[str]] = None,
73
78
  name: Optional[pulumi.Input[str]] = None,
74
79
  project_id: Optional[pulumi.Input[str]] = None):
75
80
  """
76
81
  Input properties used for looking up and filtering GcpLinkAccount resources.
77
- :param pulumi.Input[int] account_id: Account ID of the New Relic account.
82
+ :param pulumi.Input[str] account_id: Account ID of the New Relic account.
78
83
  :param pulumi.Input[str] name: name of the linked account
79
84
  :param pulumi.Input[str] project_id: Project ID of the GCP account.
80
85
  """
@@ -87,14 +92,14 @@ class _GcpLinkAccountState:
87
92
 
88
93
  @property
89
94
  @pulumi.getter(name="accountId")
90
- def account_id(self) -> Optional[pulumi.Input[int]]:
95
+ def account_id(self) -> Optional[pulumi.Input[str]]:
91
96
  """
92
97
  Account ID of the New Relic account.
93
98
  """
94
99
  return pulumi.get(self, "account_id")
95
100
 
96
101
  @account_id.setter
97
- def account_id(self, value: Optional[pulumi.Input[int]]):
102
+ def account_id(self, value: Optional[pulumi.Input[str]]):
98
103
  pulumi.set(self, "account_id", value)
99
104
 
100
105
  @property
@@ -127,7 +132,7 @@ class GcpLinkAccount(pulumi.CustomResource):
127
132
  def __init__(__self__,
128
133
  resource_name: str,
129
134
  opts: Optional[pulumi.ResourceOptions] = None,
130
- account_id: Optional[pulumi.Input[int]] = None,
135
+ account_id: Optional[pulumi.Input[str]] = None,
131
136
  name: Optional[pulumi.Input[str]] = None,
132
137
  project_id: Optional[pulumi.Input[str]] = None,
133
138
  __props__=None):
@@ -150,16 +155,15 @@ class GcpLinkAccount(pulumi.CustomResource):
150
155
 
151
156
  You can also use the full example, including the GCP set up, found in our guides.
152
157
 
153
- <!--Start PulumiCodeChooser -->
154
158
  ```python
155
159
  import pulumi
156
160
  import pulumi_newrelic as newrelic
157
161
 
158
162
  foo = newrelic.cloud.GcpLinkAccount("foo",
159
163
  account_id="account id of newrelic account",
160
- project_id="id of the Project")
164
+ project_id="id of the Project",
165
+ name="account name")
161
166
  ```
162
- <!--End PulumiCodeChooser -->
163
167
 
164
168
  ## Import
165
169
 
@@ -173,7 +177,7 @@ class GcpLinkAccount(pulumi.CustomResource):
173
177
 
174
178
  :param str resource_name: The name of the resource.
175
179
  :param pulumi.ResourceOptions opts: Options for the resource.
176
- :param pulumi.Input[int] account_id: Account ID of the New Relic account.
180
+ :param pulumi.Input[str] account_id: Account ID of the New Relic account.
177
181
  :param pulumi.Input[str] name: name of the linked account
178
182
  :param pulumi.Input[str] project_id: Project ID of the GCP account.
179
183
  """
@@ -202,16 +206,15 @@ class GcpLinkAccount(pulumi.CustomResource):
202
206
 
203
207
  You can also use the full example, including the GCP set up, found in our guides.
204
208
 
205
- <!--Start PulumiCodeChooser -->
206
209
  ```python
207
210
  import pulumi
208
211
  import pulumi_newrelic as newrelic
209
212
 
210
213
  foo = newrelic.cloud.GcpLinkAccount("foo",
211
214
  account_id="account id of newrelic account",
212
- project_id="id of the Project")
215
+ project_id="id of the Project",
216
+ name="account name")
213
217
  ```
214
- <!--End PulumiCodeChooser -->
215
218
 
216
219
  ## Import
217
220
 
@@ -238,7 +241,7 @@ class GcpLinkAccount(pulumi.CustomResource):
238
241
  def _internal_init(__self__,
239
242
  resource_name: str,
240
243
  opts: Optional[pulumi.ResourceOptions] = None,
241
- account_id: Optional[pulumi.Input[int]] = None,
244
+ account_id: Optional[pulumi.Input[str]] = None,
242
245
  name: Optional[pulumi.Input[str]] = None,
243
246
  project_id: Optional[pulumi.Input[str]] = None,
244
247
  __props__=None):
@@ -265,7 +268,7 @@ class GcpLinkAccount(pulumi.CustomResource):
265
268
  def get(resource_name: str,
266
269
  id: pulumi.Input[str],
267
270
  opts: Optional[pulumi.ResourceOptions] = None,
268
- account_id: Optional[pulumi.Input[int]] = None,
271
+ account_id: Optional[pulumi.Input[str]] = None,
269
272
  name: Optional[pulumi.Input[str]] = None,
270
273
  project_id: Optional[pulumi.Input[str]] = None) -> 'GcpLinkAccount':
271
274
  """
@@ -275,7 +278,7 @@ class GcpLinkAccount(pulumi.CustomResource):
275
278
  :param str resource_name: The unique name of the resulting resource.
276
279
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
277
280
  :param pulumi.ResourceOptions opts: Options for the resource.
278
- :param pulumi.Input[int] account_id: Account ID of the New Relic account.
281
+ :param pulumi.Input[str] account_id: Account ID of the New Relic account.
279
282
  :param pulumi.Input[str] name: name of the linked account
280
283
  :param pulumi.Input[str] project_id: Project ID of the GCP account.
281
284
  """
@@ -290,7 +293,7 @@ class GcpLinkAccount(pulumi.CustomResource):
290
293
 
291
294
  @property
292
295
  @pulumi.getter(name="accountId")
293
- def account_id(self) -> pulumi.Output[int]:
296
+ def account_id(self) -> pulumi.Output[str]:
294
297
  """
295
298
  Account ID of the New Relic account.
296
299
  """