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