pulumi-newrelic 5.34.0__py3-none-any.whl → 5.34.0a1727847866__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 (84) hide show
  1. pulumi_newrelic/_inputs.py +77 -4146
  2. pulumi_newrelic/_utilities.py +1 -1
  3. pulumi_newrelic/account_management.py +0 -5
  4. pulumi_newrelic/alert_channel.py +0 -5
  5. pulumi_newrelic/alert_condition.py +0 -5
  6. pulumi_newrelic/alert_muting_rule.py +0 -5
  7. pulumi_newrelic/alert_policy.py +0 -5
  8. pulumi_newrelic/alert_policy_channel.py +0 -5
  9. pulumi_newrelic/api_access_key.py +0 -5
  10. pulumi_newrelic/browser_application.py +0 -5
  11. pulumi_newrelic/cloud/_inputs.py +8 -2203
  12. pulumi_newrelic/cloud/aws_govcloud_integrations.py +0 -5
  13. pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -5
  14. pulumi_newrelic/cloud/aws_integrations.py +0 -5
  15. pulumi_newrelic/cloud/aws_link_account.py +0 -5
  16. pulumi_newrelic/cloud/azure_integrations.py +0 -5
  17. pulumi_newrelic/cloud/azure_link_account.py +0 -5
  18. pulumi_newrelic/cloud/gcp_integrations.py +0 -5
  19. pulumi_newrelic/cloud/gcp_link_account.py +0 -5
  20. pulumi_newrelic/cloud/outputs.py +0 -5
  21. pulumi_newrelic/config/__init__.pyi +0 -5
  22. pulumi_newrelic/config/vars.py +0 -5
  23. pulumi_newrelic/data_partition_rule.py +0 -5
  24. pulumi_newrelic/entity_tags.py +0 -5
  25. pulumi_newrelic/events_to_metrics_rule.py +0 -5
  26. pulumi_newrelic/get_account.py +4 -16
  27. pulumi_newrelic/get_alert_channel.py +4 -17
  28. pulumi_newrelic/get_alert_policy.py +4 -18
  29. pulumi_newrelic/get_application.py +4 -14
  30. pulumi_newrelic/get_authentication_domain.py +4 -12
  31. pulumi_newrelic/get_cloud_account.py +4 -16
  32. pulumi_newrelic/get_entity.py +4 -29
  33. pulumi_newrelic/get_group.py +4 -15
  34. pulumi_newrelic/get_key_transaction.py +9 -72
  35. pulumi_newrelic/get_notification_destination.py +4 -22
  36. pulumi_newrelic/get_obfuscation_expression.py +4 -14
  37. pulumi_newrelic/get_service_level_alert_helper.py +4 -28
  38. pulumi_newrelic/get_test_grok_pattern.py +4 -17
  39. pulumi_newrelic/get_user.py +4 -16
  40. pulumi_newrelic/group.py +0 -5
  41. pulumi_newrelic/infra_alert_condition.py +0 -5
  42. pulumi_newrelic/insights/_inputs.py +0 -43
  43. pulumi_newrelic/insights/event.py +0 -5
  44. pulumi_newrelic/insights/outputs.py +0 -5
  45. pulumi_newrelic/key_transaction.py +0 -5
  46. pulumi_newrelic/log_parsing_rule.py +0 -5
  47. pulumi_newrelic/monitor_downtime.py +0 -5
  48. pulumi_newrelic/notification_channel.py +0 -5
  49. pulumi_newrelic/notification_destination.py +0 -5
  50. pulumi_newrelic/nrql_alert_condition.py +0 -5
  51. pulumi_newrelic/nrql_drop_rule.py +0 -5
  52. pulumi_newrelic/obfuscation_expression.py +0 -5
  53. pulumi_newrelic/obfuscation_rule.py +0 -5
  54. pulumi_newrelic/one_dashboard.py +0 -5
  55. pulumi_newrelic/one_dashboard_json.py +0 -5
  56. pulumi_newrelic/one_dashboard_raw.py +0 -5
  57. pulumi_newrelic/outputs.py +0 -5
  58. pulumi_newrelic/plugins/_inputs.py +0 -135
  59. pulumi_newrelic/plugins/application_settings.py +0 -5
  60. pulumi_newrelic/plugins/outputs.py +0 -5
  61. pulumi_newrelic/plugins/workload.py +0 -5
  62. pulumi_newrelic/provider.py +0 -5
  63. pulumi_newrelic/pulumi-plugin.json +1 -1
  64. pulumi_newrelic/service_level.py +0 -5
  65. pulumi_newrelic/synthetics/_inputs.py +0 -157
  66. pulumi_newrelic/synthetics/alert_condition.py +0 -5
  67. pulumi_newrelic/synthetics/broken_links_monitor.py +0 -5
  68. pulumi_newrelic/synthetics/cert_check_monitor.py +0 -5
  69. pulumi_newrelic/synthetics/get_private_location.py +4 -16
  70. pulumi_newrelic/synthetics/get_secure_credential.py +4 -16
  71. pulumi_newrelic/synthetics/monitor.py +0 -5
  72. pulumi_newrelic/synthetics/multi_location_alert_condition.py +0 -5
  73. pulumi_newrelic/synthetics/outputs.py +0 -5
  74. pulumi_newrelic/synthetics/private_location.py +0 -5
  75. pulumi_newrelic/synthetics/script_monitor.py +0 -5
  76. pulumi_newrelic/synthetics/secure_credential.py +0 -5
  77. pulumi_newrelic/synthetics/step_monitor.py +0 -5
  78. pulumi_newrelic/user.py +0 -5
  79. pulumi_newrelic/workflow.py +0 -5
  80. {pulumi_newrelic-5.34.0.dist-info → pulumi_newrelic-5.34.0a1727847866.dist-info}/METADATA +2 -3
  81. pulumi_newrelic-5.34.0a1727847866.dist-info/RECORD +90 -0
  82. pulumi_newrelic-5.34.0.dist-info/RECORD +0 -90
  83. {pulumi_newrelic-5.34.0.dist-info → pulumi_newrelic-5.34.0a1727847866.dist-info}/WHEEL +0 -0
  84. {pulumi_newrelic-5.34.0.dist-info → pulumi_newrelic-5.34.0a1727847866.dist-info}/top_level.txt +0 -0
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = [
@@ -26,38 +21,13 @@ class GetKeyTransactionResult:
26
21
  """
27
22
  A collection of values returned by getKeyTransaction.
28
23
  """
29
- def __init__(__self__, domain=None, guid=None, id=None, name=None, type=None):
30
- if domain and not isinstance(domain, str):
31
- raise TypeError("Expected argument 'domain' to be a str")
32
- pulumi.set(__self__, "domain", domain)
33
- if guid and not isinstance(guid, str):
34
- raise TypeError("Expected argument 'guid' to be a str")
35
- pulumi.set(__self__, "guid", guid)
24
+ def __init__(__self__, id=None, name=None):
36
25
  if id and not isinstance(id, str):
37
26
  raise TypeError("Expected argument 'id' to be a str")
38
27
  pulumi.set(__self__, "id", id)
39
28
  if name and not isinstance(name, str):
40
29
  raise TypeError("Expected argument 'name' to be a str")
41
30
  pulumi.set(__self__, "name", name)
42
- if type and not isinstance(type, str):
43
- raise TypeError("Expected argument 'type' to be a str")
44
- pulumi.set(__self__, "type", type)
45
-
46
- @property
47
- @pulumi.getter
48
- def domain(self) -> str:
49
- """
50
- Domain of the key transaction in New Relic.
51
- """
52
- return pulumi.get(self, "domain")
53
-
54
- @property
55
- @pulumi.getter
56
- def guid(self) -> str:
57
- """
58
- GUID of the key transaction in New Relic.
59
- """
60
- return pulumi.get(self, "guid")
61
31
 
62
32
  @property
63
33
  @pulumi.getter
@@ -70,19 +40,8 @@ class GetKeyTransactionResult:
70
40
  @property
71
41
  @pulumi.getter
72
42
  def name(self) -> str:
73
- """
74
- Name of the key Transation in New Relic.
75
- """
76
43
  return pulumi.get(self, "name")
77
44
 
78
- @property
79
- @pulumi.getter
80
- def type(self) -> str:
81
- """
82
- Type of the key transaction in New Relic.
83
- """
84
- return pulumi.get(self, "type")
85
-
86
45
 
87
46
  class AwaitableGetKeyTransactionResult(GetKeyTransactionResult):
88
47
  # pylint: disable=using-constant-test
@@ -90,15 +49,11 @@ class AwaitableGetKeyTransactionResult(GetKeyTransactionResult):
90
49
  if False:
91
50
  yield self
92
51
  return GetKeyTransactionResult(
93
- domain=self.domain,
94
- guid=self.guid,
95
52
  id=self.id,
96
- name=self.name,
97
- type=self.type)
53
+ name=self.name)
98
54
 
99
55
 
100
- def get_key_transaction(guid: Optional[str] = None,
101
- name: Optional[str] = None,
56
+ def get_key_transaction(name: Optional[str] = None,
102
57
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyTransactionResult:
103
58
  """
104
59
  Use this data source to get information about a specific key transaction in New Relic that already exists.
@@ -128,25 +83,20 @@ def get_key_transaction(guid: Optional[str] = None,
128
83
  ```
129
84
 
130
85
 
131
- :param str guid: GUID of the key transaction in New Relic.
132
-
133
- > **NOTE** If the `name` specified in the configuration matches the names of multiple key transactions in the account, the data source will return the first match from the list of all matching key transactions retrieved from the API. However, when using the `guid` argument as the search criterion, only the key transaction with that particular GUID is returned, as each key transaction has a unique GUID.
134
86
  :param str name: The name of the key transaction in New Relic.
135
87
  """
136
88
  __args__ = dict()
137
- __args__['guid'] = guid
138
89
  __args__['name'] = name
139
90
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
140
91
  __ret__ = pulumi.runtime.invoke('newrelic:index/getKeyTransaction:getKeyTransaction', __args__, opts=opts, typ=GetKeyTransactionResult).value
141
92
 
142
93
  return AwaitableGetKeyTransactionResult(
143
- domain=pulumi.get(__ret__, 'domain'),
144
- guid=pulumi.get(__ret__, 'guid'),
145
94
  id=pulumi.get(__ret__, 'id'),
146
- name=pulumi.get(__ret__, 'name'),
147
- type=pulumi.get(__ret__, 'type'))
148
- def get_key_transaction_output(guid: Optional[pulumi.Input[Optional[str]]] = None,
149
- name: Optional[pulumi.Input[str]] = None,
95
+ name=pulumi.get(__ret__, 'name'))
96
+
97
+
98
+ @_utilities.lift_output_func(get_key_transaction)
99
+ def get_key_transaction_output(name: Optional[pulumi.Input[str]] = None,
150
100
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyTransactionResult]:
151
101
  """
152
102
  Use this data source to get information about a specific key transaction in New Relic that already exists.
@@ -176,19 +126,6 @@ def get_key_transaction_output(guid: Optional[pulumi.Input[Optional[str]]] = Non
176
126
  ```
177
127
 
178
128
 
179
- :param str guid: GUID of the key transaction in New Relic.
180
-
181
- > **NOTE** If the `name` specified in the configuration matches the names of multiple key transactions in the account, the data source will return the first match from the list of all matching key transactions retrieved from the API. However, when using the `guid` argument as the search criterion, only the key transaction with that particular GUID is returned, as each key transaction has a unique GUID.
182
129
  :param str name: The name of the key transaction in New Relic.
183
130
  """
184
- __args__ = dict()
185
- __args__['guid'] = guid
186
- __args__['name'] = name
187
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
188
- __ret__ = pulumi.runtime.invoke_output('newrelic:index/getKeyTransaction:getKeyTransaction', __args__, opts=opts, typ=GetKeyTransactionResult)
189
- return __ret__.apply(lambda __response__: GetKeyTransactionResult(
190
- domain=pulumi.get(__response__, 'domain'),
191
- guid=pulumi.get(__response__, 'guid'),
192
- id=pulumi.get(__response__, 'id'),
193
- name=pulumi.get(__response__, 'name'),
194
- type=pulumi.get(__response__, 'type')))
131
+ ...
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -174,6 +169,9 @@ def get_notification_destination(account_id: Optional[str] = None,
174
169
  secure_urls=pulumi.get(__ret__, 'secure_urls'),
175
170
  status=pulumi.get(__ret__, 'status'),
176
171
  type=pulumi.get(__ret__, 'type'))
172
+
173
+
174
+ @_utilities.lift_output_func(get_notification_destination)
177
175
  def get_notification_destination_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
178
176
  id: Optional[pulumi.Input[Optional[str]]] = None,
179
177
  name: Optional[pulumi.Input[Optional[str]]] = None,
@@ -189,20 +187,4 @@ def get_notification_destination_output(account_id: Optional[pulumi.Input[Option
189
187
  Optional:
190
188
  :param Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']] secure_urls: The URL in secure format, showing only the `prefix`, as the `secure_suffix` is a secret.
191
189
  """
192
- __args__ = dict()
193
- __args__['accountId'] = account_id
194
- __args__['id'] = id
195
- __args__['name'] = name
196
- __args__['secureUrls'] = secure_urls
197
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
198
- __ret__ = pulumi.runtime.invoke_output('newrelic:index/getNotificationDestination:getNotificationDestination', __args__, opts=opts, typ=GetNotificationDestinationResult)
199
- return __ret__.apply(lambda __response__: GetNotificationDestinationResult(
200
- account_id=pulumi.get(__response__, 'account_id'),
201
- active=pulumi.get(__response__, 'active'),
202
- guid=pulumi.get(__response__, 'guid'),
203
- id=pulumi.get(__response__, 'id'),
204
- name=pulumi.get(__response__, 'name'),
205
- properties=pulumi.get(__response__, 'properties'),
206
- secure_urls=pulumi.get(__response__, 'secure_urls'),
207
- status=pulumi.get(__response__, 'status'),
208
- type=pulumi.get(__response__, 'type')))
190
+ ...
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = [
@@ -107,6 +102,9 @@ def get_obfuscation_expression(account_id: Optional[str] = None,
107
102
  account_id=pulumi.get(__ret__, 'account_id'),
108
103
  id=pulumi.get(__ret__, 'id'),
109
104
  name=pulumi.get(__ret__, 'name'))
105
+
106
+
107
+ @_utilities.lift_output_func(get_obfuscation_expression)
110
108
  def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
111
109
  name: Optional[pulumi.Input[str]] = None,
112
110
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetObfuscationExpressionResult]:
@@ -137,12 +135,4 @@ def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional
137
135
  :param str account_id: The account id associated with the obfuscation expression. If left empty will default to account ID specified in provider level configuration.
138
136
  :param str name: Name of expression.
139
137
  """
140
- __args__ = dict()
141
- __args__['accountId'] = account_id
142
- __args__['name'] = name
143
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
144
- __ret__ = pulumi.runtime.invoke_output('newrelic:index/getObfuscationExpression:getObfuscationExpression', __args__, opts=opts, typ=GetObfuscationExpressionResult)
145
- return __ret__.apply(lambda __response__: GetObfuscationExpressionResult(
146
- account_id=pulumi.get(__response__, 'account_id'),
147
- id=pulumi.get(__response__, 'id'),
148
- name=pulumi.get(__response__, 'name')))
138
+ ...
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = [
@@ -313,6 +308,9 @@ def get_service_level_alert_helper(alert_type: Optional[str] = None,
313
308
  slo_target=pulumi.get(__ret__, 'slo_target'),
314
309
  threshold=pulumi.get(__ret__, 'threshold'),
315
310
  tolerated_budget_consumption=pulumi.get(__ret__, 'tolerated_budget_consumption'))
311
+
312
+
313
+ @_utilities.lift_output_func(get_service_level_alert_helper)
316
314
  def get_service_level_alert_helper_output(alert_type: Optional[pulumi.Input[str]] = None,
317
315
  custom_evaluation_period: Optional[pulumi.Input[Optional[int]]] = None,
318
316
  custom_tolerated_budget_consumption: Optional[pulumi.Input[Optional[float]]] = None,
@@ -442,26 +440,4 @@ def get_service_level_alert_helper_output(alert_type: Optional[pulumi.Input[str]
442
440
  :param int slo_period: The time window of the Service Level Objective in days. Valid values are `1`, `7` and `28`.
443
441
  :param float slo_target: The target of the Service Level Objective, valid values between `0` and `100`.
444
442
  """
445
- __args__ = dict()
446
- __args__['alertType'] = alert_type
447
- __args__['customEvaluationPeriod'] = custom_evaluation_period
448
- __args__['customToleratedBudgetConsumption'] = custom_tolerated_budget_consumption
449
- __args__['isBadEvents'] = is_bad_events
450
- __args__['sliGuid'] = sli_guid
451
- __args__['sloPeriod'] = slo_period
452
- __args__['sloTarget'] = slo_target
453
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
454
- __ret__ = pulumi.runtime.invoke_output('newrelic:index/getServiceLevelAlertHelper:getServiceLevelAlertHelper', __args__, opts=opts, typ=GetServiceLevelAlertHelperResult)
455
- return __ret__.apply(lambda __response__: GetServiceLevelAlertHelperResult(
456
- alert_type=pulumi.get(__response__, 'alert_type'),
457
- custom_evaluation_period=pulumi.get(__response__, 'custom_evaluation_period'),
458
- custom_tolerated_budget_consumption=pulumi.get(__response__, 'custom_tolerated_budget_consumption'),
459
- evaluation_period=pulumi.get(__response__, 'evaluation_period'),
460
- id=pulumi.get(__response__, 'id'),
461
- is_bad_events=pulumi.get(__response__, 'is_bad_events'),
462
- nrql=pulumi.get(__response__, 'nrql'),
463
- sli_guid=pulumi.get(__response__, 'sli_guid'),
464
- slo_period=pulumi.get(__response__, 'slo_period'),
465
- slo_target=pulumi.get(__response__, 'slo_target'),
466
- threshold=pulumi.get(__response__, 'threshold'),
467
- tolerated_budget_consumption=pulumi.get(__response__, 'tolerated_budget_consumption')))
443
+ ...
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
 
@@ -126,6 +121,9 @@ def get_test_grok_pattern(account_id: Optional[str] = None,
126
121
  id=pulumi.get(__ret__, 'id'),
127
122
  log_lines=pulumi.get(__ret__, 'log_lines'),
128
123
  test_groks=pulumi.get(__ret__, 'test_groks'))
124
+
125
+
126
+ @_utilities.lift_output_func(get_test_grok_pattern)
129
127
  def get_test_grok_pattern_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
130
128
  grok: Optional[pulumi.Input[str]] = None,
131
129
  log_lines: Optional[pulumi.Input[Sequence[str]]] = None,
@@ -150,15 +148,4 @@ def get_test_grok_pattern_output(account_id: Optional[pulumi.Input[Optional[str]
150
148
  :param str grok: The Grok pattern to test.
151
149
  :param Sequence[str] log_lines: The log lines to test the Grok pattern against.
152
150
  """
153
- __args__ = dict()
154
- __args__['accountId'] = account_id
155
- __args__['grok'] = grok
156
- __args__['logLines'] = log_lines
157
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
158
- __ret__ = pulumi.runtime.invoke_output('newrelic:index/getTestGrokPattern:getTestGrokPattern', __args__, opts=opts, typ=GetTestGrokPatternResult)
159
- return __ret__.apply(lambda __response__: GetTestGrokPatternResult(
160
- account_id=pulumi.get(__response__, 'account_id'),
161
- grok=pulumi.get(__response__, 'grok'),
162
- id=pulumi.get(__response__, 'id'),
163
- log_lines=pulumi.get(__response__, 'log_lines'),
164
- test_groks=pulumi.get(__response__, 'test_groks')))
151
+ ...
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = [
@@ -120,6 +115,9 @@ def get_user(authentication_domain_id: Optional[str] = None,
120
115
  email_id=pulumi.get(__ret__, 'email_id'),
121
116
  id=pulumi.get(__ret__, 'id'),
122
117
  name=pulumi.get(__ret__, 'name'))
118
+
119
+
120
+ @_utilities.lift_output_func(get_user)
123
121
  def get_user_output(authentication_domain_id: Optional[pulumi.Input[str]] = None,
124
122
  email_id: Optional[pulumi.Input[Optional[str]]] = None,
125
123
  name: Optional[pulumi.Input[Optional[str]]] = None,
@@ -152,14 +150,4 @@ def get_user_output(authentication_domain_id: Optional[pulumi.Input[str]] = None
152
150
  > **NOTE** The ID of an authentication domain can be retrieved using its name, via the data source `get_authentication_domain`, as shown in the example above. Head over to the documentation of this data source for more details and examples.
153
151
  :param str name: The name of the user to search for.
154
152
  """
155
- __args__ = dict()
156
- __args__['authenticationDomainId'] = authentication_domain_id
157
- __args__['emailId'] = email_id
158
- __args__['name'] = name
159
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
160
- __ret__ = pulumi.runtime.invoke_output('newrelic:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult)
161
- return __ret__.apply(lambda __response__: GetUserResult(
162
- authentication_domain_id=pulumi.get(__response__, 'authentication_domain_id'),
163
- email_id=pulumi.get(__response__, 'email_id'),
164
- id=pulumi.get(__response__, 'id'),
165
- name=pulumi.get(__response__, 'name')))
153
+ ...
pulumi_newrelic/group.py CHANGED
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['GroupArgs', 'Group']
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -4,42 +4,16 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from .. import _utilities
16
11
 
17
12
  __all__ = [
18
13
  'EventEventArgs',
19
- 'EventEventArgsDict',
20
14
  'EventEventAttributeArgs',
21
- 'EventEventAttributeArgsDict',
22
15
  ]
23
16
 
24
- MYPY = False
25
-
26
- if not MYPY:
27
- class EventEventArgsDict(TypedDict):
28
- attributes: pulumi.Input[Sequence[pulumi.Input['EventEventAttributeArgsDict']]]
29
- """
30
- An attribute to include in your event payload. Multiple attribute blocks can be defined for an event.
31
- """
32
- type: pulumi.Input[str]
33
- """
34
- The event's name. Can be a combination of alphanumeric characters, underscores, and colons.
35
- """
36
- timestamp: NotRequired[pulumi.Input[int]]
37
- """
38
- Must be a Unix epoch timestamp. You can define timestamps either in seconds or in milliseconds.
39
- """
40
- elif False:
41
- EventEventArgsDict: TypeAlias = Mapping[str, Any]
42
-
43
17
  @pulumi.input_type
44
18
  class EventEventArgs:
45
19
  def __init__(__self__, *,
@@ -93,23 +67,6 @@ class EventEventArgs:
93
67
  pulumi.set(self, "timestamp", value)
94
68
 
95
69
 
96
- if not MYPY:
97
- class EventEventAttributeArgsDict(TypedDict):
98
- key: pulumi.Input[str]
99
- """
100
- The name of the attribute.
101
- """
102
- value: pulumi.Input[str]
103
- """
104
- The value of the attribute.
105
- """
106
- type: NotRequired[pulumi.Input[str]]
107
- """
108
- Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are string, int, or float. Defaults to string.
109
- """
110
- elif False:
111
- EventEventAttributeArgsDict: TypeAlias = Mapping[str, Any]
112
-
113
70
  @pulumi.input_type
114
71
  class EventEventAttributeArgs:
115
72
  def __init__(__self__, *,
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from .. import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from .. import _utilities
16
11
  from . import outputs
17
12
 
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['KeyTransactionArgs', 'KeyTransaction']
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['LogParsingRuleArgs', 'LogParsingRule']
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['NrqlDropRuleArgs', 'NrqlDropRule']
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['ObfuscationExpressionArgs', 'ObfuscationExpression']
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['OneDashboardJsonArgs', 'OneDashboardJson']