pulumi-newrelic 5.23.0__py3-none-any.whl → 5.23.0a1711605988__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 (68) hide show
  1. pulumi_newrelic/_inputs.py +270 -183
  2. pulumi_newrelic/account_management.py +20 -20
  3. pulumi_newrelic/alert_channel.py +92 -76
  4. pulumi_newrelic/alert_condition.py +163 -104
  5. pulumi_newrelic/alert_muting_rule.py +35 -33
  6. pulumi_newrelic/alert_policy.py +43 -68
  7. pulumi_newrelic/alert_policy_channel.py +8 -12
  8. pulumi_newrelic/cloud/_inputs.py +1072 -322
  9. pulumi_newrelic/cloud/aws_govcloud_link_account.py +6 -4
  10. pulumi_newrelic/cloud/aws_integrations.py +15 -13
  11. pulumi_newrelic/cloud/aws_link_account.py +6 -4
  12. pulumi_newrelic/cloud/azure_integrations.py +12 -10
  13. pulumi_newrelic/cloud/azure_link_account.py +6 -4
  14. pulumi_newrelic/cloud/gcp_integrations.py +6 -6
  15. pulumi_newrelic/cloud/gcp_link_account.py +6 -4
  16. pulumi_newrelic/cloud/outputs.py +1072 -322
  17. pulumi_newrelic/data_partition_rule.py +4 -0
  18. pulumi_newrelic/entity_tags.py +17 -13
  19. pulumi_newrelic/events_to_metrics_rule.py +4 -2
  20. pulumi_newrelic/get_account.py +4 -0
  21. pulumi_newrelic/get_application.py +10 -8
  22. pulumi_newrelic/get_authentication_domain.py +8 -4
  23. pulumi_newrelic/get_cloud_account.py +4 -0
  24. pulumi_newrelic/get_entity.py +33 -48
  25. pulumi_newrelic/get_group.py +8 -42
  26. pulumi_newrelic/get_key_transaction.py +10 -8
  27. pulumi_newrelic/get_notification_destination.py +1 -20
  28. pulumi_newrelic/get_obfuscation_expression.py +4 -2
  29. pulumi_newrelic/get_service_level_alert_helper.py +46 -22
  30. pulumi_newrelic/get_test_grok_pattern.py +6 -4
  31. pulumi_newrelic/get_user.py +4 -0
  32. pulumi_newrelic/group.py +42 -40
  33. pulumi_newrelic/infra_alert_condition.py +145 -154
  34. pulumi_newrelic/insights/event.py +25 -8
  35. pulumi_newrelic/log_parsing_rule.py +10 -6
  36. pulumi_newrelic/monitor_downtime.py +193 -174
  37. pulumi_newrelic/notification_channel.py +150 -124
  38. pulumi_newrelic/notification_destination.py +1 -95
  39. pulumi_newrelic/nrql_alert_condition.py +48 -38
  40. pulumi_newrelic/nrql_drop_rule.py +38 -34
  41. pulumi_newrelic/obfuscation_expression.py +4 -2
  42. pulumi_newrelic/obfuscation_rule.py +4 -4
  43. pulumi_newrelic/one_dashboard.py +48 -42
  44. pulumi_newrelic/one_dashboard_raw.py +86 -86
  45. pulumi_newrelic/outputs.py +270 -180
  46. pulumi_newrelic/plugins/_inputs.py +16 -16
  47. pulumi_newrelic/plugins/application_settings.py +36 -20
  48. pulumi_newrelic/plugins/outputs.py +16 -16
  49. pulumi_newrelic/plugins/workload.py +40 -158
  50. pulumi_newrelic/service_level.py +123 -38
  51. pulumi_newrelic/synthetics/alert_condition.py +78 -34
  52. pulumi_newrelic/synthetics/broken_links_monitor.py +20 -18
  53. pulumi_newrelic/synthetics/cert_check_monitor.py +18 -16
  54. pulumi_newrelic/synthetics/get_private_location.py +8 -0
  55. pulumi_newrelic/synthetics/get_secure_credential.py +12 -0
  56. pulumi_newrelic/synthetics/monitor.py +52 -48
  57. pulumi_newrelic/synthetics/multi_location_alert_condition.py +83 -69
  58. pulumi_newrelic/synthetics/private_location.py +6 -6
  59. pulumi_newrelic/synthetics/script_monitor.py +42 -38
  60. pulumi_newrelic/synthetics/secure_credential.py +22 -25
  61. pulumi_newrelic/synthetics/step_monitor.py +20 -18
  62. pulumi_newrelic/user.py +10 -8
  63. pulumi_newrelic/workflow.py +24 -20
  64. {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711605988.dist-info}/METADATA +1 -1
  65. pulumi_newrelic-5.23.0a1711605988.dist-info/RECORD +89 -0
  66. pulumi_newrelic-5.23.0.dist-info/RECORD +0 -89
  67. {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711605988.dist-info}/WHEEL +0 -0
  68. {pulumi_newrelic-5.23.0.dist-info → pulumi_newrelic-5.23.0a1711605988.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='%{NUMBER:test:int}'",
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='%{NUMBER:test:int}'",
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