pulumi-newrelic 5.21.0a1710157101__py3-none-any.whl → 5.39.0a1736849617__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_newrelic/__init__.py +9 -0
- pulumi_newrelic/_inputs.py +7153 -461
- pulumi_newrelic/_utilities.py +41 -5
- pulumi_newrelic/account_management.py +11 -6
- pulumi_newrelic/alert_channel.py +116 -127
- pulumi_newrelic/alert_condition.py +116 -129
- pulumi_newrelic/alert_muting_rule.py +128 -76
- pulumi_newrelic/alert_policy.py +78 -75
- pulumi_newrelic/alert_policy_channel.py +77 -68
- pulumi_newrelic/api_access_key.py +45 -28
- pulumi_newrelic/browser_application.py +77 -78
- pulumi_newrelic/cloud/_inputs.py +2527 -1082
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +133 -128
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +23 -20
- pulumi_newrelic/cloud/aws_integrations.py +298 -1326
- pulumi_newrelic/cloud/aws_link_account.py +23 -20
- pulumi_newrelic/cloud/azure_integrations.py +521 -483
- pulumi_newrelic/cloud/azure_link_account.py +34 -31
- pulumi_newrelic/cloud/gcp_integrations.py +341 -322
- pulumi_newrelic/cloud/gcp_link_account.py +23 -20
- pulumi_newrelic/cloud/outputs.py +327 -1072
- pulumi_newrelic/config/__init__.pyi +6 -1
- pulumi_newrelic/config/vars.py +7 -2
- pulumi_newrelic/data_partition_rule.py +19 -18
- pulumi_newrelic/entity_tags.py +32 -31
- pulumi_newrelic/events_to_metrics_rule.py +23 -20
- pulumi_newrelic/get_account.py +24 -16
- pulumi_newrelic/get_alert_channel.py +26 -13
- pulumi_newrelic/get_alert_policy.py +35 -12
- pulumi_newrelic/get_application.py +39 -31
- pulumi_newrelic/get_authentication_domain.py +17 -13
- pulumi_newrelic/get_cloud_account.py +26 -18
- pulumi_newrelic/get_entity.py +90 -147
- pulumi_newrelic/get_group.py +58 -13
- pulumi_newrelic/get_key_transaction.py +109 -34
- pulumi_newrelic/get_notification_destination.py +64 -14
- pulumi_newrelic/get_obfuscation_expression.py +36 -28
- pulumi_newrelic/get_service_level_alert_helper.py +135 -117
- pulumi_newrelic/get_test_grok_pattern.py +29 -18
- pulumi_newrelic/get_user.py +17 -9
- pulumi_newrelic/group.py +5 -146
- pulumi_newrelic/infra_alert_condition.py +160 -167
- pulumi_newrelic/insights/_inputs.py +43 -0
- pulumi_newrelic/insights/event.py +48 -47
- pulumi_newrelic/insights/outputs.py +5 -0
- pulumi_newrelic/key_transaction.py +464 -0
- pulumi_newrelic/log_parsing_rule.py +25 -24
- pulumi_newrelic/monitor_downtime.py +211 -225
- pulumi_newrelic/notification_channel.py +381 -366
- pulumi_newrelic/notification_destination.py +192 -54
- pulumi_newrelic/nrql_alert_condition.py +345 -262
- pulumi_newrelic/nrql_drop_rule.py +31 -30
- pulumi_newrelic/obfuscation_expression.py +23 -20
- pulumi_newrelic/obfuscation_rule.py +38 -33
- pulumi_newrelic/one_dashboard.py +29 -24
- pulumi_newrelic/one_dashboard_json.py +19 -14
- pulumi_newrelic/one_dashboard_raw.py +110 -105
- pulumi_newrelic/outputs.py +2446 -245
- pulumi_newrelic/plugins/_inputs.py +145 -10
- pulumi_newrelic/plugins/application_settings.py +25 -36
- pulumi_newrelic/plugins/outputs.py +15 -10
- pulumi_newrelic/plugins/workload.py +215 -92
- pulumi_newrelic/provider.py +27 -33
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +185 -186
- pulumi_newrelic/synthetics/_inputs.py +159 -2
- pulumi_newrelic/synthetics/alert_condition.py +87 -98
- pulumi_newrelic/synthetics/broken_links_monitor.py +216 -99
- pulumi_newrelic/synthetics/cert_check_monitor.py +219 -100
- pulumi_newrelic/synthetics/get_private_location.py +34 -30
- pulumi_newrelic/synthetics/get_secure_credential.py +24 -16
- pulumi_newrelic/synthetics/monitor.py +348 -193
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +105 -100
- pulumi_newrelic/synthetics/outputs.py +7 -2
- pulumi_newrelic/synthetics/private_location.py +25 -20
- pulumi_newrelic/synthetics/script_monitor.py +317 -182
- pulumi_newrelic/synthetics/secure_credential.py +23 -22
- pulumi_newrelic/synthetics/step_monitor.py +405 -100
- pulumi_newrelic/user.py +13 -10
- pulumi_newrelic/workflow.py +209 -196
- {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/METADATA +7 -6
- pulumi_newrelic-5.39.0a1736849617.dist-info/RECORD +90 -0
- {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.21.0a1710157101.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/top_level.txt +0 -0
pulumi_newrelic/group.py
CHANGED
@@ -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__ = ['GroupArgs', 'Group']
|
@@ -148,79 +153,6 @@ class Group(pulumi.CustomResource):
|
|
148
153
|
user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
149
154
|
__props__=None):
|
150
155
|
"""
|
151
|
-
The `Group` resource facilitates creating, updating, and deleting groups in New Relic, while also enabling the addition and removal of users from these groups.
|
152
|
-
|
153
|
-
## Example Usage
|
154
|
-
|
155
|
-
<!--Start PulumiCodeChooser -->
|
156
|
-
```python
|
157
|
-
import pulumi
|
158
|
-
import pulumi_newrelic as newrelic
|
159
|
-
|
160
|
-
foo_authentication_domain = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
161
|
-
foo_group = newrelic.Group("fooGroup",
|
162
|
-
authentication_domain_id=foo_authentication_domain.id,
|
163
|
-
user_ids=[
|
164
|
-
"0001112222",
|
165
|
-
"2221110000",
|
166
|
-
])
|
167
|
-
```
|
168
|
-
<!--End PulumiCodeChooser -->
|
169
|
-
|
170
|
-
## Additional Examples
|
171
|
-
|
172
|
-
### Addition of New Users to a New Group
|
173
|
-
|
174
|
-
The following example illustrates the creation of a group using the `Group` resource, to which users created using the `User` resource are added.
|
175
|
-
|
176
|
-
<!--Start PulumiCodeChooser -->
|
177
|
-
```python
|
178
|
-
import pulumi
|
179
|
-
import pulumi_newrelic as newrelic
|
180
|
-
|
181
|
-
foo_authentication_domain = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
182
|
-
foo_user = newrelic.User("fooUser",
|
183
|
-
email_id="test_user_one@test.com",
|
184
|
-
authentication_domain_id=foo_authentication_domain.id,
|
185
|
-
user_type="CORE_USER_TIER")
|
186
|
-
bar = newrelic.User("bar",
|
187
|
-
email_id="test_user_two@test.com",
|
188
|
-
authentication_domain_id=foo_authentication_domain.id,
|
189
|
-
user_type="BASIC_USER_TIER")
|
190
|
-
foo_group = newrelic.Group("fooGroup",
|
191
|
-
authentication_domain_id=foo_authentication_domain.id,
|
192
|
-
user_ids=[
|
193
|
-
foo_user.id,
|
194
|
-
bar.id,
|
195
|
-
])
|
196
|
-
```
|
197
|
-
<!--End PulumiCodeChooser -->
|
198
|
-
|
199
|
-
### Addition of Existing Users to a New Group
|
200
|
-
|
201
|
-
The following example demonstrates the usage of the `Group` resource to create a group, wherein the `User` data source is employed to associate existing users with the newly formed group.
|
202
|
-
|
203
|
-
<!--Start PulumiCodeChooser -->
|
204
|
-
```python
|
205
|
-
import pulumi
|
206
|
-
import pulumi_newrelic as newrelic
|
207
|
-
|
208
|
-
foo_authentication_domain = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
209
|
-
foo_user = newrelic.get_user(authentication_domain_id=foo_authentication_domain.id,
|
210
|
-
email_id="test_user_one@test.com")
|
211
|
-
bar = newrelic.get_user(authentication_domain_id=foo_authentication_domain.id,
|
212
|
-
name="Test User Two")
|
213
|
-
foo_group = newrelic.Group("fooGroup",
|
214
|
-
authentication_domain_id=foo_authentication_domain.id,
|
215
|
-
user_ids=[
|
216
|
-
foo_user.id,
|
217
|
-
bar.id,
|
218
|
-
])
|
219
|
-
```
|
220
|
-
<!--End PulumiCodeChooser -->
|
221
|
-
|
222
|
-
> **NOTE** Please note that the addition of users to groups is only possible when both the group and the users to be added to it belong to the _same authentication domain_. If the group being created and the users being added to it belong to different authentication domains, an error indicating `user not found` or an equivalent error will be thrown.
|
223
|
-
|
224
156
|
## Import
|
225
157
|
|
226
158
|
A group can be imported using its ID. Example:
|
@@ -246,79 +178,6 @@ class Group(pulumi.CustomResource):
|
|
246
178
|
args: GroupArgs,
|
247
179
|
opts: Optional[pulumi.ResourceOptions] = None):
|
248
180
|
"""
|
249
|
-
The `Group` resource facilitates creating, updating, and deleting groups in New Relic, while also enabling the addition and removal of users from these groups.
|
250
|
-
|
251
|
-
## Example Usage
|
252
|
-
|
253
|
-
<!--Start PulumiCodeChooser -->
|
254
|
-
```python
|
255
|
-
import pulumi
|
256
|
-
import pulumi_newrelic as newrelic
|
257
|
-
|
258
|
-
foo_authentication_domain = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
259
|
-
foo_group = newrelic.Group("fooGroup",
|
260
|
-
authentication_domain_id=foo_authentication_domain.id,
|
261
|
-
user_ids=[
|
262
|
-
"0001112222",
|
263
|
-
"2221110000",
|
264
|
-
])
|
265
|
-
```
|
266
|
-
<!--End PulumiCodeChooser -->
|
267
|
-
|
268
|
-
## Additional Examples
|
269
|
-
|
270
|
-
### Addition of New Users to a New Group
|
271
|
-
|
272
|
-
The following example illustrates the creation of a group using the `Group` resource, to which users created using the `User` resource are added.
|
273
|
-
|
274
|
-
<!--Start PulumiCodeChooser -->
|
275
|
-
```python
|
276
|
-
import pulumi
|
277
|
-
import pulumi_newrelic as newrelic
|
278
|
-
|
279
|
-
foo_authentication_domain = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
280
|
-
foo_user = newrelic.User("fooUser",
|
281
|
-
email_id="test_user_one@test.com",
|
282
|
-
authentication_domain_id=foo_authentication_domain.id,
|
283
|
-
user_type="CORE_USER_TIER")
|
284
|
-
bar = newrelic.User("bar",
|
285
|
-
email_id="test_user_two@test.com",
|
286
|
-
authentication_domain_id=foo_authentication_domain.id,
|
287
|
-
user_type="BASIC_USER_TIER")
|
288
|
-
foo_group = newrelic.Group("fooGroup",
|
289
|
-
authentication_domain_id=foo_authentication_domain.id,
|
290
|
-
user_ids=[
|
291
|
-
foo_user.id,
|
292
|
-
bar.id,
|
293
|
-
])
|
294
|
-
```
|
295
|
-
<!--End PulumiCodeChooser -->
|
296
|
-
|
297
|
-
### Addition of Existing Users to a New Group
|
298
|
-
|
299
|
-
The following example demonstrates the usage of the `Group` resource to create a group, wherein the `User` data source is employed to associate existing users with the newly formed group.
|
300
|
-
|
301
|
-
<!--Start PulumiCodeChooser -->
|
302
|
-
```python
|
303
|
-
import pulumi
|
304
|
-
import pulumi_newrelic as newrelic
|
305
|
-
|
306
|
-
foo_authentication_domain = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
307
|
-
foo_user = newrelic.get_user(authentication_domain_id=foo_authentication_domain.id,
|
308
|
-
email_id="test_user_one@test.com")
|
309
|
-
bar = newrelic.get_user(authentication_domain_id=foo_authentication_domain.id,
|
310
|
-
name="Test User Two")
|
311
|
-
foo_group = newrelic.Group("fooGroup",
|
312
|
-
authentication_domain_id=foo_authentication_domain.id,
|
313
|
-
user_ids=[
|
314
|
-
foo_user.id,
|
315
|
-
bar.id,
|
316
|
-
])
|
317
|
-
```
|
318
|
-
<!--End PulumiCodeChooser -->
|
319
|
-
|
320
|
-
> **NOTE** Please note that the addition of users to groups is only possible when both the group and the users to be added to it belong to the _same authentication domain_. If the group being created and the users being added to it belong to different authentication domains, an error indicating `user not found` or an equivalent error will be thrown.
|
321
|
-
|
322
181
|
## Import
|
323
182
|
|
324
183
|
A group can be imported using its ID. Example:
|