pulumi-newrelic 5.7.0a1679416725__tar.gz → 5.8.0__tar.gz

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 (87) hide show
  1. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/PKG-INFO +1 -1
  2. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/_inputs.py +45 -9
  3. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_entity.py +16 -20
  4. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/outputs.py +33 -9
  5. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/service_level.py +0 -2
  6. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic.egg-info/PKG-INFO +1 -1
  7. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/setup.py +2 -2
  8. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/README.md +0 -0
  9. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/__init__.py +0 -0
  10. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/_utilities.py +0 -0
  11. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/account_management.py +0 -0
  12. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/alert_channel.py +0 -0
  13. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/alert_condition.py +0 -0
  14. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/alert_muting_rule.py +0 -0
  15. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/alert_policy.py +0 -0
  16. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/alert_policy_channel.py +0 -0
  17. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/api_access_key.py +0 -0
  18. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/browser_application.py +0 -0
  19. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/__init__.py +0 -0
  20. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/_inputs.py +0 -0
  21. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/aws_govcloud_integrations.py +0 -0
  22. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -0
  23. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/aws_integrations.py +0 -0
  24. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/aws_link_account.py +0 -0
  25. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/azure_integrations.py +0 -0
  26. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/azure_link_account.py +0 -0
  27. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/gcp_integrations.py +0 -0
  28. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/gcp_link_account.py +0 -0
  29. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/cloud/outputs.py +0 -0
  30. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/config/__init__.py +0 -0
  31. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/config/vars.py +0 -0
  32. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/data_partition_rule.py +0 -0
  33. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/entity_tags.py +0 -0
  34. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/events_to_metrics_rule.py +0 -0
  35. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_account.py +0 -0
  36. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_alert_channel.py +0 -0
  37. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_alert_policy.py +0 -0
  38. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_application.py +0 -0
  39. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_cloud_account.py +0 -0
  40. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_key_transaction.py +0 -0
  41. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_notification_destination.py +0 -0
  42. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_obfuscation_expression.py +0 -0
  43. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/get_test_grok_pattern.py +0 -0
  44. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/infra_alert_condition.py +0 -0
  45. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/insights/__init__.py +0 -0
  46. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/insights/_inputs.py +0 -0
  47. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/insights/event.py +0 -0
  48. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/insights/outputs.py +0 -0
  49. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/log_parsing_rule.py +0 -0
  50. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/notification_channel.py +0 -0
  51. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/notification_destination.py +0 -0
  52. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/nrql_alert_condition.py +0 -0
  53. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/nrql_drop_rule.py +0 -0
  54. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/obfuscation_expression.py +0 -0
  55. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/obfuscation_rule.py +0 -0
  56. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/one_dashboard.py +0 -0
  57. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/one_dashboard_json.py +0 -0
  58. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/one_dashboard_raw.py +0 -0
  59. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/plugins/__init__.py +0 -0
  60. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/plugins/_inputs.py +0 -0
  61. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/plugins/application_settings.py +0 -0
  62. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/plugins/outputs.py +0 -0
  63. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/plugins/workload.py +0 -0
  64. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/provider.py +0 -0
  65. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/pulumi-plugin.json +0 -0
  66. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/py.typed +0 -0
  67. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/__init__.py +0 -0
  68. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/_inputs.py +0 -0
  69. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/alert_condition.py +0 -0
  70. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/broken_links_monitor.py +0 -0
  71. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/cert_check_monitor.py +0 -0
  72. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/get_private_location.py +0 -0
  73. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/get_secure_credential.py +0 -0
  74. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/monitor.py +0 -0
  75. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/multi_location_alert_condition.py +0 -0
  76. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/outputs.py +0 -0
  77. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/private_location.py +0 -0
  78. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/script_monitor.py +0 -0
  79. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/secure_credential.py +0 -0
  80. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/synthetics/step_monitor.py +0 -0
  81. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic/workflow.py +0 -0
  82. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic.egg-info/SOURCES.txt +0 -0
  83. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic.egg-info/dependency_links.txt +0 -0
  84. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic.egg-info/not-zip-safe +0 -0
  85. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic.egg-info/requires.txt +0 -0
  86. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/pulumi_newrelic.egg-info/top_level.txt +0 -0
  87. {pulumi_newrelic-5.7.0a1679416725 → pulumi_newrelic-5.8.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_newrelic
3
- Version: 5.7.0a1679416725
3
+ Version: 5.8.0
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  Home-page: https://pulumi.io
6
6
  License: Apache-2.0
@@ -9291,20 +9291,23 @@ class ServiceLevelEventsBadEventsArgs:
9291
9291
  class ServiceLevelEventsBadEventsSelectArgs:
9292
9292
  def __init__(__self__, *,
9293
9293
  function: pulumi.Input[str],
9294
- attribute: Optional[pulumi.Input[str]] = None):
9294
+ attribute: Optional[pulumi.Input[str]] = None,
9295
+ threshold: Optional[pulumi.Input[float]] = None):
9295
9296
  """
9296
- :param pulumi.Input[str] function: The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9297
+ :param pulumi.Input[str] function: The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9297
9298
  :param pulumi.Input[str] attribute: The event attribute to use in the SELECT clause.
9298
9299
  """
9299
9300
  pulumi.set(__self__, "function", function)
9300
9301
  if attribute is not None:
9301
9302
  pulumi.set(__self__, "attribute", attribute)
9303
+ if threshold is not None:
9304
+ pulumi.set(__self__, "threshold", threshold)
9302
9305
 
9303
9306
  @property
9304
9307
  @pulumi.getter
9305
9308
  def function(self) -> pulumi.Input[str]:
9306
9309
  """
9307
- The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9310
+ The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9308
9311
  """
9309
9312
  return pulumi.get(self, "function")
9310
9313
 
@@ -9324,6 +9327,15 @@ class ServiceLevelEventsBadEventsSelectArgs:
9324
9327
  def attribute(self, value: Optional[pulumi.Input[str]]):
9325
9328
  pulumi.set(self, "attribute", value)
9326
9329
 
9330
+ @property
9331
+ @pulumi.getter
9332
+ def threshold(self) -> Optional[pulumi.Input[float]]:
9333
+ return pulumi.get(self, "threshold")
9334
+
9335
+ @threshold.setter
9336
+ def threshold(self, value: Optional[pulumi.Input[float]]):
9337
+ pulumi.set(self, "threshold", value)
9338
+
9327
9339
 
9328
9340
  @pulumi.input_type
9329
9341
  class ServiceLevelEventsGoodEventsArgs:
@@ -9387,20 +9399,23 @@ class ServiceLevelEventsGoodEventsArgs:
9387
9399
  class ServiceLevelEventsGoodEventsSelectArgs:
9388
9400
  def __init__(__self__, *,
9389
9401
  function: pulumi.Input[str],
9390
- attribute: Optional[pulumi.Input[str]] = None):
9402
+ attribute: Optional[pulumi.Input[str]] = None,
9403
+ threshold: Optional[pulumi.Input[float]] = None):
9391
9404
  """
9392
- :param pulumi.Input[str] function: The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9405
+ :param pulumi.Input[str] function: The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9393
9406
  :param pulumi.Input[str] attribute: The event attribute to use in the SELECT clause.
9394
9407
  """
9395
9408
  pulumi.set(__self__, "function", function)
9396
9409
  if attribute is not None:
9397
9410
  pulumi.set(__self__, "attribute", attribute)
9411
+ if threshold is not None:
9412
+ pulumi.set(__self__, "threshold", threshold)
9398
9413
 
9399
9414
  @property
9400
9415
  @pulumi.getter
9401
9416
  def function(self) -> pulumi.Input[str]:
9402
9417
  """
9403
- The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9418
+ The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9404
9419
  """
9405
9420
  return pulumi.get(self, "function")
9406
9421
 
@@ -9420,6 +9435,15 @@ class ServiceLevelEventsGoodEventsSelectArgs:
9420
9435
  def attribute(self, value: Optional[pulumi.Input[str]]):
9421
9436
  pulumi.set(self, "attribute", value)
9422
9437
 
9438
+ @property
9439
+ @pulumi.getter
9440
+ def threshold(self) -> Optional[pulumi.Input[float]]:
9441
+ return pulumi.get(self, "threshold")
9442
+
9443
+ @threshold.setter
9444
+ def threshold(self, value: Optional[pulumi.Input[float]]):
9445
+ pulumi.set(self, "threshold", value)
9446
+
9423
9447
 
9424
9448
  @pulumi.input_type
9425
9449
  class ServiceLevelEventsValidEventsArgs:
@@ -9483,20 +9507,23 @@ class ServiceLevelEventsValidEventsArgs:
9483
9507
  class ServiceLevelEventsValidEventsSelectArgs:
9484
9508
  def __init__(__self__, *,
9485
9509
  function: pulumi.Input[str],
9486
- attribute: Optional[pulumi.Input[str]] = None):
9510
+ attribute: Optional[pulumi.Input[str]] = None,
9511
+ threshold: Optional[pulumi.Input[float]] = None):
9487
9512
  """
9488
- :param pulumi.Input[str] function: The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9513
+ :param pulumi.Input[str] function: The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9489
9514
  :param pulumi.Input[str] attribute: The event attribute to use in the SELECT clause.
9490
9515
  """
9491
9516
  pulumi.set(__self__, "function", function)
9492
9517
  if attribute is not None:
9493
9518
  pulumi.set(__self__, "attribute", attribute)
9519
+ if threshold is not None:
9520
+ pulumi.set(__self__, "threshold", threshold)
9494
9521
 
9495
9522
  @property
9496
9523
  @pulumi.getter
9497
9524
  def function(self) -> pulumi.Input[str]:
9498
9525
  """
9499
- The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9526
+ The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9500
9527
  """
9501
9528
  return pulumi.get(self, "function")
9502
9529
 
@@ -9516,6 +9543,15 @@ class ServiceLevelEventsValidEventsSelectArgs:
9516
9543
  def attribute(self, value: Optional[pulumi.Input[str]]):
9517
9544
  pulumi.set(self, "attribute", value)
9518
9545
 
9546
+ @property
9547
+ @pulumi.getter
9548
+ def threshold(self) -> Optional[pulumi.Input[float]]:
9549
+ return pulumi.get(self, "threshold")
9550
+
9551
+ @threshold.setter
9552
+ def threshold(self, value: Optional[pulumi.Input[float]]):
9553
+ pulumi.set(self, "threshold", value)
9554
+
9519
9555
 
9520
9556
  @pulumi.input_type
9521
9557
  class ServiceLevelObjectiveArgs:
@@ -151,7 +151,8 @@ def get_entity(domain: Optional[str] = None,
151
151
  ## Additional Examples
152
152
 
153
153
  > If the entities are not found please try again without providing the `types` field.
154
- ### An example of querying OTEL entities
154
+
155
+ ### Query for an OTEL entity
155
156
 
156
157
  ```python
157
158
  import pulumi
@@ -162,21 +163,18 @@ def get_entity(domain: Optional[str] = None,
162
163
  tags=[newrelic.GetEntityTagArgs(
163
164
  key="accountID",
164
165
  value="12345",
165
- )])
166
+ )],
167
+ type="SERVICE")
166
168
  ```
167
169
 
168
- ### An example of querying AWS lambda entities
170
+ ### Query for an entity by type (AWS Lambda entity in this example)
169
171
 
170
172
  ```python
171
173
  import pulumi
172
174
  import pulumi_newrelic as newrelic
173
175
 
174
- app = newrelic.get_entity(domain="INFRA",
175
- name="my_lambda_trace",
176
- tags=[newrelic.GetEntityTagArgs(
177
- key="accountID",
178
- value="12345",
179
- )])
176
+ app = newrelic.get_entity(name="my_lambda_trace",
177
+ type="AWSLAMBDAFUNCTION")
180
178
  ```
181
179
 
182
180
 
@@ -184,7 +182,7 @@ def get_entity(domain: Optional[str] = None,
184
182
  :param bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
185
183
  :param str name: The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
186
184
  :param Sequence[pulumi.InputType['GetEntityTagArgs']] tags: A tag applied to the entity. See Nested tag blocks below for details.
187
- :param str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, SERVICE and WORKLOAD.
185
+ :param str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, WORKLOAD, AWSLAMBDAFUNCTION, SERVICE_LEVEL, and KEY_TRANSACTION. Note: Other entity types may also be queryable as the list of entity types may fluctuate over time.
188
186
  """
189
187
  __args__ = dict()
190
188
  __args__['domain'] = domain
@@ -221,7 +219,8 @@ def get_entity_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
221
219
  ## Additional Examples
222
220
 
223
221
  > If the entities are not found please try again without providing the `types` field.
224
- ### An example of querying OTEL entities
222
+
223
+ ### Query for an OTEL entity
225
224
 
226
225
  ```python
227
226
  import pulumi
@@ -232,21 +231,18 @@ def get_entity_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
232
231
  tags=[newrelic.GetEntityTagArgs(
233
232
  key="accountID",
234
233
  value="12345",
235
- )])
234
+ )],
235
+ type="SERVICE")
236
236
  ```
237
237
 
238
- ### An example of querying AWS lambda entities
238
+ ### Query for an entity by type (AWS Lambda entity in this example)
239
239
 
240
240
  ```python
241
241
  import pulumi
242
242
  import pulumi_newrelic as newrelic
243
243
 
244
- app = newrelic.get_entity(domain="INFRA",
245
- name="my_lambda_trace",
246
- tags=[newrelic.GetEntityTagArgs(
247
- key="accountID",
248
- value="12345",
249
- )])
244
+ app = newrelic.get_entity(name="my_lambda_trace",
245
+ type="AWSLAMBDAFUNCTION")
250
246
  ```
251
247
 
252
248
 
@@ -254,6 +250,6 @@ def get_entity_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
254
250
  :param bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
255
251
  :param str name: The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
256
252
  :param Sequence[pulumi.InputType['GetEntityTagArgs']] tags: A tag applied to the entity. See Nested tag blocks below for details.
257
- :param str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, SERVICE and WORKLOAD.
253
+ :param str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, WORKLOAD, AWSLAMBDAFUNCTION, SERVICE_LEVEL, and KEY_TRANSACTION. Note: Other entity types may also be queryable as the list of entity types may fluctuate over time.
258
254
  """
259
255
  ...
@@ -9601,20 +9601,23 @@ class ServiceLevelEventsBadEvents(dict):
9601
9601
  class ServiceLevelEventsBadEventsSelect(dict):
9602
9602
  def __init__(__self__, *,
9603
9603
  function: str,
9604
- attribute: Optional[str] = None):
9604
+ attribute: Optional[str] = None,
9605
+ threshold: Optional[float] = None):
9605
9606
  """
9606
- :param str function: The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9607
+ :param str function: The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9607
9608
  :param str attribute: The event attribute to use in the SELECT clause.
9608
9609
  """
9609
9610
  pulumi.set(__self__, "function", function)
9610
9611
  if attribute is not None:
9611
9612
  pulumi.set(__self__, "attribute", attribute)
9613
+ if threshold is not None:
9614
+ pulumi.set(__self__, "threshold", threshold)
9612
9615
 
9613
9616
  @property
9614
9617
  @pulumi.getter
9615
9618
  def function(self) -> str:
9616
9619
  """
9617
- The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9620
+ The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9618
9621
  """
9619
9622
  return pulumi.get(self, "function")
9620
9623
 
@@ -9626,6 +9629,11 @@ class ServiceLevelEventsBadEventsSelect(dict):
9626
9629
  """
9627
9630
  return pulumi.get(self, "attribute")
9628
9631
 
9632
+ @property
9633
+ @pulumi.getter
9634
+ def threshold(self) -> Optional[float]:
9635
+ return pulumi.get(self, "threshold")
9636
+
9629
9637
 
9630
9638
  @pulumi.output_type
9631
9639
  class ServiceLevelEventsGoodEvents(dict):
@@ -9694,20 +9702,23 @@ class ServiceLevelEventsGoodEvents(dict):
9694
9702
  class ServiceLevelEventsGoodEventsSelect(dict):
9695
9703
  def __init__(__self__, *,
9696
9704
  function: str,
9697
- attribute: Optional[str] = None):
9705
+ attribute: Optional[str] = None,
9706
+ threshold: Optional[float] = None):
9698
9707
  """
9699
- :param str function: The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9708
+ :param str function: The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9700
9709
  :param str attribute: The event attribute to use in the SELECT clause.
9701
9710
  """
9702
9711
  pulumi.set(__self__, "function", function)
9703
9712
  if attribute is not None:
9704
9713
  pulumi.set(__self__, "attribute", attribute)
9714
+ if threshold is not None:
9715
+ pulumi.set(__self__, "threshold", threshold)
9705
9716
 
9706
9717
  @property
9707
9718
  @pulumi.getter
9708
9719
  def function(self) -> str:
9709
9720
  """
9710
- The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9721
+ The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9711
9722
  """
9712
9723
  return pulumi.get(self, "function")
9713
9724
 
@@ -9719,6 +9730,11 @@ class ServiceLevelEventsGoodEventsSelect(dict):
9719
9730
  """
9720
9731
  return pulumi.get(self, "attribute")
9721
9732
 
9733
+ @property
9734
+ @pulumi.getter
9735
+ def threshold(self) -> Optional[float]:
9736
+ return pulumi.get(self, "threshold")
9737
+
9722
9738
 
9723
9739
  @pulumi.output_type
9724
9740
  class ServiceLevelEventsValidEvents(dict):
@@ -9787,20 +9803,23 @@ class ServiceLevelEventsValidEvents(dict):
9787
9803
  class ServiceLevelEventsValidEventsSelect(dict):
9788
9804
  def __init__(__self__, *,
9789
9805
  function: str,
9790
- attribute: Optional[str] = None):
9806
+ attribute: Optional[str] = None,
9807
+ threshold: Optional[float] = None):
9791
9808
  """
9792
- :param str function: The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9809
+ :param str function: The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9793
9810
  :param str attribute: The event attribute to use in the SELECT clause.
9794
9811
  """
9795
9812
  pulumi.set(__self__, "function", function)
9796
9813
  if attribute is not None:
9797
9814
  pulumi.set(__self__, "attribute", attribute)
9815
+ if threshold is not None:
9816
+ pulumi.set(__self__, "threshold", threshold)
9798
9817
 
9799
9818
  @property
9800
9819
  @pulumi.getter
9801
9820
  def function(self) -> str:
9802
9821
  """
9803
- The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
9822
+ The function to use in the SELECT clause. Valid values are `COUNT` and `SUM`.
9804
9823
  """
9805
9824
  return pulumi.get(self, "function")
9806
9825
 
@@ -9812,6 +9831,11 @@ class ServiceLevelEventsValidEventsSelect(dict):
9812
9831
  """
9813
9832
  return pulumi.get(self, "attribute")
9814
9833
 
9834
+ @property
9835
+ @pulumi.getter
9836
+ def threshold(self) -> Optional[float]:
9837
+ return pulumi.get(self, "threshold")
9838
+
9815
9839
 
9816
9840
  @pulumi.output_type
9817
9841
  class ServiceLevelObjective(dict):
@@ -325,7 +325,6 @@ class ServiceLevel(pulumi.CustomResource):
325
325
  ),
326
326
  ])
327
327
  ```
328
-
329
328
  For up-to-date documentation about the tagging resource, please check EntityTags
330
329
 
331
330
  ## Import
@@ -442,7 +441,6 @@ class ServiceLevel(pulumi.CustomResource):
442
441
  ),
443
442
  ])
444
443
  ```
445
-
446
444
  For up-to-date documentation about the tagging resource, please check EntityTags
447
445
 
448
446
  ## Import
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi-newrelic
3
- Version: 5.7.0a1679416725
3
+ Version: 5.8.0
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  Home-page: https://pulumi.io
6
6
  License: Apache-2.0
@@ -8,8 +8,8 @@ from setuptools.command.install import install
8
8
  from subprocess import check_call
9
9
 
10
10
 
11
- VERSION = "5.7.0a1679416725"
12
- PLUGIN_VERSION = "5.7.0-alpha.1679416725+37ccb250"
11
+ VERSION = "5.8.0"
12
+ PLUGIN_VERSION = "5.8.0"
13
13
 
14
14
  class InstallPluginCommand(install):
15
15
  def run(self):