pulumi-newrelic 5.23.0a1713333809__py3-none-any.whl → 5.23.0a1713975814__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.
- pulumi_newrelic/_inputs.py +110 -270
- pulumi_newrelic/account_management.py +20 -20
- pulumi_newrelic/alert_channel.py +76 -92
- pulumi_newrelic/alert_condition.py +104 -149
- pulumi_newrelic/alert_muting_rule.py +33 -35
- pulumi_newrelic/alert_policy.py +68 -43
- pulumi_newrelic/alert_policy_channel.py +12 -8
- pulumi_newrelic/cloud/_inputs.py +322 -1072
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +4 -6
- pulumi_newrelic/cloud/aws_integrations.py +13 -15
- pulumi_newrelic/cloud/aws_link_account.py +4 -6
- pulumi_newrelic/cloud/azure_integrations.py +10 -12
- pulumi_newrelic/cloud/azure_link_account.py +4 -6
- pulumi_newrelic/cloud/gcp_integrations.py +6 -6
- pulumi_newrelic/cloud/gcp_link_account.py +4 -6
- pulumi_newrelic/cloud/outputs.py +322 -1072
- pulumi_newrelic/data_partition_rule.py +0 -4
- pulumi_newrelic/entity_tags.py +13 -17
- pulumi_newrelic/events_to_metrics_rule.py +2 -4
- pulumi_newrelic/get_account.py +0 -4
- pulumi_newrelic/get_application.py +8 -10
- pulumi_newrelic/get_authentication_domain.py +4 -8
- pulumi_newrelic/get_cloud_account.py +0 -4
- pulumi_newrelic/get_entity.py +28 -32
- pulumi_newrelic/get_group.py +42 -8
- pulumi_newrelic/get_key_transaction.py +8 -10
- pulumi_newrelic/get_obfuscation_expression.py +2 -4
- pulumi_newrelic/get_service_level_alert_helper.py +22 -46
- pulumi_newrelic/get_test_grok_pattern.py +4 -6
- pulumi_newrelic/get_user.py +0 -4
- pulumi_newrelic/group.py +40 -42
- pulumi_newrelic/infra_alert_condition.py +154 -131
- pulumi_newrelic/insights/event.py +8 -25
- pulumi_newrelic/log_parsing_rule.py +6 -10
- pulumi_newrelic/monitor_downtime.py +174 -193
- pulumi_newrelic/notification_channel.py +124 -150
- pulumi_newrelic/nrql_alert_condition.py +38 -48
- pulumi_newrelic/nrql_drop_rule.py +34 -38
- pulumi_newrelic/obfuscation_expression.py +2 -4
- pulumi_newrelic/obfuscation_rule.py +4 -4
- pulumi_newrelic/one_dashboard.py +42 -48
- pulumi_newrelic/one_dashboard_raw.py +86 -86
- pulumi_newrelic/outputs.py +110 -270
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +6 -8
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +158 -40
- pulumi_newrelic/service_level.py +38 -123
- pulumi_newrelic/synthetics/alert_condition.py +34 -64
- pulumi_newrelic/synthetics/broken_links_monitor.py +18 -20
- pulumi_newrelic/synthetics/cert_check_monitor.py +16 -18
- pulumi_newrelic/synthetics/get_private_location.py +0 -8
- pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
- pulumi_newrelic/synthetics/monitor.py +48 -52
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +69 -83
- pulumi_newrelic/synthetics/private_location.py +6 -6
- pulumi_newrelic/synthetics/script_monitor.py +38 -42
- pulumi_newrelic/synthetics/secure_credential.py +25 -22
- pulumi_newrelic/synthetics/step_monitor.py +18 -20
- pulumi_newrelic/user.py +8 -10
- pulumi_newrelic/workflow.py +20 -24
- {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0a1713975814.dist-info/RECORD +89 -0
- pulumi_newrelic-5.23.0a1713333809.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/top_level.txt +0 -0
@@ -19,16 +19,12 @@ class EventArgs:
|
|
19
19
|
events: pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]):
|
20
20
|
"""
|
21
21
|
The set of arguments for constructing a Event resource.
|
22
|
-
:param pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
23
22
|
"""
|
24
23
|
pulumi.set(__self__, "events", events)
|
25
24
|
|
26
25
|
@property
|
27
26
|
@pulumi.getter
|
28
27
|
def events(self) -> pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]:
|
29
|
-
"""
|
30
|
-
An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
31
|
-
"""
|
32
28
|
return pulumi.get(self, "events")
|
33
29
|
|
34
30
|
@events.setter
|
@@ -42,7 +38,6 @@ class _EventState:
|
|
42
38
|
events: Optional[pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]] = None):
|
43
39
|
"""
|
44
40
|
Input properties used for looking up and filtering Event resources.
|
45
|
-
:param pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
46
41
|
"""
|
47
42
|
if events is not None:
|
48
43
|
pulumi.set(__self__, "events", events)
|
@@ -50,9 +45,6 @@ class _EventState:
|
|
50
45
|
@property
|
51
46
|
@pulumi.getter
|
52
47
|
def events(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]]:
|
53
|
-
"""
|
54
|
-
An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
55
|
-
"""
|
56
48
|
return pulumi.get(self, "events")
|
57
49
|
|
58
50
|
@events.setter
|
@@ -72,12 +64,13 @@ class Event(pulumi.CustomResource):
|
|
72
64
|
|
73
65
|
## Example Usage
|
74
66
|
|
75
|
-
<!--Start PulumiCodeChooser -->
|
76
67
|
```python
|
77
68
|
import pulumi
|
78
69
|
import pulumi_newrelic as newrelic
|
79
70
|
|
80
71
|
foo = newrelic.insights.Event("foo", events=[newrelic.insights.EventEventArgs(
|
72
|
+
type="MyEvent",
|
73
|
+
timestamp=1232471100,
|
81
74
|
attributes=[
|
82
75
|
newrelic.insights.EventEventAttributeArgs(
|
83
76
|
key="a_string_attribute",
|
@@ -85,20 +78,17 @@ class Event(pulumi.CustomResource):
|
|
85
78
|
),
|
86
79
|
newrelic.insights.EventEventAttributeArgs(
|
87
80
|
key="an_integer_attribute",
|
88
|
-
type="int",
|
89
81
|
value="42",
|
82
|
+
type="int",
|
90
83
|
),
|
91
84
|
newrelic.insights.EventEventAttributeArgs(
|
92
85
|
key="a_float_attribute",
|
93
|
-
type="float",
|
94
86
|
value="101.1",
|
87
|
+
type="float",
|
95
88
|
),
|
96
89
|
],
|
97
|
-
timestamp=1232471100,
|
98
|
-
type="MyEvent",
|
99
90
|
)])
|
100
91
|
```
|
101
|
-
<!--End PulumiCodeChooser -->
|
102
92
|
|
103
93
|
## Events
|
104
94
|
|
@@ -118,7 +108,6 @@ class Event(pulumi.CustomResource):
|
|
118
108
|
|
119
109
|
:param str resource_name: The name of the resource.
|
120
110
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
121
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
122
111
|
"""
|
123
112
|
...
|
124
113
|
@overload
|
@@ -131,12 +120,13 @@ class Event(pulumi.CustomResource):
|
|
131
120
|
|
132
121
|
## Example Usage
|
133
122
|
|
134
|
-
<!--Start PulumiCodeChooser -->
|
135
123
|
```python
|
136
124
|
import pulumi
|
137
125
|
import pulumi_newrelic as newrelic
|
138
126
|
|
139
127
|
foo = newrelic.insights.Event("foo", events=[newrelic.insights.EventEventArgs(
|
128
|
+
type="MyEvent",
|
129
|
+
timestamp=1232471100,
|
140
130
|
attributes=[
|
141
131
|
newrelic.insights.EventEventAttributeArgs(
|
142
132
|
key="a_string_attribute",
|
@@ -144,20 +134,17 @@ class Event(pulumi.CustomResource):
|
|
144
134
|
),
|
145
135
|
newrelic.insights.EventEventAttributeArgs(
|
146
136
|
key="an_integer_attribute",
|
147
|
-
type="int",
|
148
137
|
value="42",
|
138
|
+
type="int",
|
149
139
|
),
|
150
140
|
newrelic.insights.EventEventAttributeArgs(
|
151
141
|
key="a_float_attribute",
|
152
|
-
type="float",
|
153
142
|
value="101.1",
|
143
|
+
type="float",
|
154
144
|
),
|
155
145
|
],
|
156
|
-
timestamp=1232471100,
|
157
|
-
type="MyEvent",
|
158
146
|
)])
|
159
147
|
```
|
160
|
-
<!--End PulumiCodeChooser -->
|
161
148
|
|
162
149
|
## Events
|
163
150
|
|
@@ -221,7 +208,6 @@ class Event(pulumi.CustomResource):
|
|
221
208
|
:param str resource_name: The unique name of the resulting resource.
|
222
209
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
223
210
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
224
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
225
211
|
"""
|
226
212
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
227
213
|
|
@@ -233,8 +219,5 @@ class Event(pulumi.CustomResource):
|
|
233
219
|
@property
|
234
220
|
@pulumi.getter
|
235
221
|
def events(self) -> pulumi.Output[Sequence['outputs.EventEvent']]:
|
236
|
-
"""
|
237
|
-
An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
|
238
|
-
"""
|
239
222
|
return pulumi.get(self, "events")
|
240
223
|
|
@@ -315,25 +315,23 @@ class LogParsingRule(pulumi.CustomResource):
|
|
315
315
|
## Example Usage
|
316
316
|
|
317
317
|
Use this example to create the log parse rule.
|
318
|
-
<!--Start PulumiCodeChooser -->
|
319
318
|
```python
|
320
319
|
import pulumi
|
321
320
|
import pulumi_newrelic as newrelic
|
322
321
|
|
323
322
|
foo = newrelic.LogParsingRule("foo",
|
323
|
+
name="log_parse_rule",
|
324
324
|
attribute="message",
|
325
325
|
enabled=True,
|
326
|
-
grok="sampleattribute='
|
326
|
+
grok="sampleattribute='%{NUMBER:test:int}'",
|
327
327
|
lucene="logtype:linux_messages",
|
328
328
|
nrql="SELECT * FROM Log WHERE logtype = 'linux_messages'")
|
329
329
|
```
|
330
|
-
<!--End PulumiCodeChooser -->
|
331
330
|
|
332
331
|
## Additional Example
|
333
332
|
|
334
333
|
Use this example to validate a grok pattern and create the log parse rule. More
|
335
334
|
information on grok pattern can be found [here](https://docs.newrelic.com/docs/logs/ui-data/parsing/#grok)
|
336
|
-
<!--Start PulumiCodeChooser -->
|
337
335
|
```python
|
338
336
|
import pulumi
|
339
337
|
import pulumi_newrelic as newrelic
|
@@ -341,6 +339,7 @@ class LogParsingRule(pulumi.CustomResource):
|
|
341
339
|
grok = newrelic.get_test_grok_pattern(grok="%{IP:host_ip}",
|
342
340
|
log_lines=["host_ip: 43.3.120.2"])
|
343
341
|
foo = newrelic.LogParsingRule("foo",
|
342
|
+
name="log_parse_rule",
|
344
343
|
attribute="message",
|
345
344
|
enabled=True,
|
346
345
|
grok=grok.grok,
|
@@ -348,7 +347,6 @@ class LogParsingRule(pulumi.CustomResource):
|
|
348
347
|
nrql="SELECT * FROM Log WHERE logtype = 'linux_messages'",
|
349
348
|
matched=grok.test_groks[0].matched)
|
350
349
|
```
|
351
|
-
<!--End PulumiCodeChooser -->
|
352
350
|
|
353
351
|
## Import
|
354
352
|
|
@@ -383,25 +381,23 @@ class LogParsingRule(pulumi.CustomResource):
|
|
383
381
|
## Example Usage
|
384
382
|
|
385
383
|
Use this example to create the log parse rule.
|
386
|
-
<!--Start PulumiCodeChooser -->
|
387
384
|
```python
|
388
385
|
import pulumi
|
389
386
|
import pulumi_newrelic as newrelic
|
390
387
|
|
391
388
|
foo = newrelic.LogParsingRule("foo",
|
389
|
+
name="log_parse_rule",
|
392
390
|
attribute="message",
|
393
391
|
enabled=True,
|
394
|
-
grok="sampleattribute='
|
392
|
+
grok="sampleattribute='%{NUMBER:test:int}'",
|
395
393
|
lucene="logtype:linux_messages",
|
396
394
|
nrql="SELECT * FROM Log WHERE logtype = 'linux_messages'")
|
397
395
|
```
|
398
|
-
<!--End PulumiCodeChooser -->
|
399
396
|
|
400
397
|
## Additional Example
|
401
398
|
|
402
399
|
Use this example to validate a grok pattern and create the log parse rule. More
|
403
400
|
information on grok pattern can be found [here](https://docs.newrelic.com/docs/logs/ui-data/parsing/#grok)
|
404
|
-
<!--Start PulumiCodeChooser -->
|
405
401
|
```python
|
406
402
|
import pulumi
|
407
403
|
import pulumi_newrelic as newrelic
|
@@ -409,6 +405,7 @@ class LogParsingRule(pulumi.CustomResource):
|
|
409
405
|
grok = newrelic.get_test_grok_pattern(grok="%{IP:host_ip}",
|
410
406
|
log_lines=["host_ip: 43.3.120.2"])
|
411
407
|
foo = newrelic.LogParsingRule("foo",
|
408
|
+
name="log_parse_rule",
|
412
409
|
attribute="message",
|
413
410
|
enabled=True,
|
414
411
|
grok=grok.grok,
|
@@ -416,7 +413,6 @@ class LogParsingRule(pulumi.CustomResource):
|
|
416
413
|
nrql="SELECT * FROM Log WHERE logtype = 'linux_messages'",
|
417
414
|
matched=grok.test_groks[0].matched)
|
418
415
|
```
|
419
|
-
<!--End PulumiCodeChooser -->
|
420
416
|
|
421
417
|
## Import
|
422
418
|
|