pulumi-newrelic 5.26.0a1720509378__py3-none-any.whl → 5.26.0a1720627075__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.
@@ -1402,13 +1402,17 @@ class NrqlAlertConditionCriticalArgs:
1402
1402
  class NrqlAlertConditionNrqlArgs:
1403
1403
  def __init__(__self__, *,
1404
1404
  query: pulumi.Input[str],
1405
+ data_account_id: Optional[pulumi.Input[str]] = None,
1405
1406
  evaluation_offset: Optional[pulumi.Input[int]] = None,
1406
1407
  since_value: Optional[pulumi.Input[str]] = None):
1407
1408
  """
1409
+ :param pulumi.Input[str] data_account_id: BETA PREVIEW: the `data_account_id` field is in limited release and only enabled for preview on a per-account basis. - The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `account_id` if unspecified.
1408
1410
  :param pulumi.Input[int] evaluation_offset: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`.
1409
1411
  :param pulumi.Input[str] since_value: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`.
1410
1412
  """
1411
1413
  pulumi.set(__self__, "query", query)
1414
+ if data_account_id is not None:
1415
+ pulumi.set(__self__, "data_account_id", data_account_id)
1412
1416
  if evaluation_offset is not None:
1413
1417
  warnings.warn("""use `aggregation_method` attribute instead""", DeprecationWarning)
1414
1418
  pulumi.log.warn("""evaluation_offset is deprecated: use `aggregation_method` attribute instead""")
@@ -1429,6 +1433,18 @@ class NrqlAlertConditionNrqlArgs:
1429
1433
  def query(self, value: pulumi.Input[str]):
1430
1434
  pulumi.set(self, "query", value)
1431
1435
 
1436
+ @property
1437
+ @pulumi.getter(name="dataAccountId")
1438
+ def data_account_id(self) -> Optional[pulumi.Input[str]]:
1439
+ """
1440
+ BETA PREVIEW: the `data_account_id` field is in limited release and only enabled for preview on a per-account basis. - The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `account_id` if unspecified.
1441
+ """
1442
+ return pulumi.get(self, "data_account_id")
1443
+
1444
+ @data_account_id.setter
1445
+ def data_account_id(self, value: Optional[pulumi.Input[str]]):
1446
+ pulumi.set(self, "data_account_id", value)
1447
+
1432
1448
  @property
1433
1449
  @pulumi.getter(name="evaluationOffset")
1434
1450
  @_utilities.deprecated("""use `aggregation_method` attribute instead""")
@@ -595,7 +595,7 @@ class InfraAlertCondition(pulumi.CustomResource):
595
595
  """
596
596
  Use this resource to create and manage Infrastructure alert conditions in New Relic.
597
597
 
598
- > **WARNING:** The `InfraAlertCondition` resource is deprecated and will be removed in the next major release. The resource NrqlAlertCondition would be a preferred alternative to configure alert conditions - in most cases, feature parity can be achieved with a NRQL query.
598
+ > **WARNING:** The `InfraAlertCondition` resource is deprecated and will be removed in the next major release. The resource NrqlAlertCondition examples.
599
599
 
600
600
  ## Example Usage
601
601
 
@@ -753,7 +753,7 @@ class InfraAlertCondition(pulumi.CustomResource):
753
753
  """
754
754
  Use this resource to create and manage Infrastructure alert conditions in New Relic.
755
755
 
756
- > **WARNING:** The `InfraAlertCondition` resource is deprecated and will be removed in the next major release. The resource NrqlAlertCondition would be a preferred alternative to configure alert conditions - in most cases, feature parity can be achieved with a NRQL query.
756
+ > **WARNING:** The `InfraAlertCondition` resource is deprecated and will be removed in the next major release. The resource NrqlAlertCondition examples.
757
757
 
758
758
  ## Example Usage
759
759
 
@@ -950,6 +950,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
950
950
  The `nrql` block supports the following arguments:
951
951
 
952
952
  - `query` - (Required) The NRQL query to execute for the condition.
953
+ - `data_account_id` - (Optional) **BETA PREVIEW: the `data_account_id` field is in limited release and only enabled for preview on a per-account basis.** The account ID to use for the alert condition's query as specified in the the `query` field. If `data_account_id` is not specified, then the condition's query will be evaluated against the `account_id`. Note that the `account_id` must have read privileges for the `data_account_id` or else the condition will be invalid.
953
954
  - `evaluation_offset` - (Optional) **DEPRECATED:** Use `aggregation_method` instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their `aggregation_window` size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With `evaluation_offset` set to 3 windows and an `aggregation_window` of 60 seconds, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. `evaluation_offset` cannot be set with `aggregation_method`, `aggregation_delay`, or `aggregation_timer`.<br>
954
955
  - `since_value` - (Optional) **DEPRECATED:** Use `aggregation_method` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br>
955
956
 
@@ -1244,6 +1245,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1244
1245
  The `nrql` block supports the following arguments:
1245
1246
 
1246
1247
  - `query` - (Required) The NRQL query to execute for the condition.
1248
+ - `data_account_id` - (Optional) **BETA PREVIEW: the `data_account_id` field is in limited release and only enabled for preview on a per-account basis.** The account ID to use for the alert condition's query as specified in the the `query` field. If `data_account_id` is not specified, then the condition's query will be evaluated against the `account_id`. Note that the `account_id` must have read privileges for the `data_account_id` or else the condition will be invalid.
1247
1249
  - `evaluation_offset` - (Optional) **DEPRECATED:** Use `aggregation_method` instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their `aggregation_window` size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With `evaluation_offset` set to 3 windows and an `aggregation_window` of 60 seconds, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. `evaluation_offset` cannot be set with `aggregation_method`, `aggregation_delay`, or `aggregation_timer`.<br>
1248
1250
  - `since_value` - (Optional) **DEPRECATED:** Use `aggregation_method` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br>
1249
1251
 
@@ -1352,7 +1352,9 @@ class NrqlAlertConditionNrql(dict):
1352
1352
  @staticmethod
1353
1353
  def __key_warning(key: str):
1354
1354
  suggest = None
1355
- if key == "evaluationOffset":
1355
+ if key == "dataAccountId":
1356
+ suggest = "data_account_id"
1357
+ elif key == "evaluationOffset":
1356
1358
  suggest = "evaluation_offset"
1357
1359
  elif key == "sinceValue":
1358
1360
  suggest = "since_value"
@@ -1370,13 +1372,17 @@ class NrqlAlertConditionNrql(dict):
1370
1372
 
1371
1373
  def __init__(__self__, *,
1372
1374
  query: str,
1375
+ data_account_id: Optional[str] = None,
1373
1376
  evaluation_offset: Optional[int] = None,
1374
1377
  since_value: Optional[str] = None):
1375
1378
  """
1379
+ :param str data_account_id: BETA PREVIEW: the `data_account_id` field is in limited release and only enabled for preview on a per-account basis. - The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `account_id` if unspecified.
1376
1380
  :param int evaluation_offset: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`.
1377
1381
  :param str since_value: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`.
1378
1382
  """
1379
1383
  pulumi.set(__self__, "query", query)
1384
+ if data_account_id is not None:
1385
+ pulumi.set(__self__, "data_account_id", data_account_id)
1380
1386
  if evaluation_offset is not None:
1381
1387
  pulumi.set(__self__, "evaluation_offset", evaluation_offset)
1382
1388
  if since_value is not None:
@@ -1387,6 +1393,14 @@ class NrqlAlertConditionNrql(dict):
1387
1393
  def query(self) -> str:
1388
1394
  return pulumi.get(self, "query")
1389
1395
 
1396
+ @property
1397
+ @pulumi.getter(name="dataAccountId")
1398
+ def data_account_id(self) -> Optional[str]:
1399
+ """
1400
+ BETA PREVIEW: the `data_account_id` field is in limited release and only enabled for preview on a per-account basis. - The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `account_id` if unspecified.
1401
+ """
1402
+ return pulumi.get(self, "data_account_id")
1403
+
1390
1404
  @property
1391
1405
  @pulumi.getter(name="evaluationOffset")
1392
1406
  @_utilities.deprecated("""use `aggregation_method` attribute instead""")
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "newrelic",
4
- "version": "5.26.0-alpha.1720509378"
4
+ "version": "5.26.0-alpha.1720627075"
5
5
  }
@@ -231,7 +231,7 @@ class AlertCondition(pulumi.CustomResource):
231
231
  """
232
232
  Use this resource to create and manage synthetics alert conditions in New Relic.
233
233
 
234
- > **WARNING:** The `synthetics.AlertCondition` resource is deprecated and will be removed in the next major release. The resource NrqlAlertCondition would be a preferred alternative to configure alert conditions - in most cases, feature parity can be achieved with a NRQL query.
234
+ > **WARNING:** The `synthetics.AlertCondition` resource is deprecated and will be removed in the next major release. The resource NrqlAlertCondition example.
235
235
 
236
236
  ## Example Usage
237
237
 
@@ -325,7 +325,7 @@ class AlertCondition(pulumi.CustomResource):
325
325
  """
326
326
  Use this resource to create and manage synthetics alert conditions in New Relic.
327
327
 
328
- > **WARNING:** The `synthetics.AlertCondition` resource is deprecated and will be removed in the next major release. The resource NrqlAlertCondition would be a preferred alternative to configure alert conditions - in most cases, feature parity can be achieved with a NRQL query.
328
+ > **WARNING:** The `synthetics.AlertCondition` resource is deprecated and will be removed in the next major release. The resource NrqlAlertCondition example.
329
329
 
330
330
  ## Example Usage
331
331
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_newrelic
3
- Version: 5.26.0a1720509378
3
+ Version: 5.26.0a1720627075
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,5 +1,5 @@
1
1
  pulumi_newrelic/__init__.py,sha256=Ekxa_c_Z6YcPWbvb7FFvd3lBPGRctMTA9rQGGzd13Ts,11328
2
- pulumi_newrelic/_inputs.py,sha256=aU9SYDzyrj8dG7cAv5fHahUkK2e-Ah0yB2DbW-occAc,493700
2
+ pulumi_newrelic/_inputs.py,sha256=zRPnn-XMEs1nd04vl9PLyfVnqL51TRY8z2vpmwghRwM,494775
3
3
  pulumi_newrelic/_utilities.py,sha256=zozFZPZGnJJ7MjOYHQPdH-l-EHcRcX5lh5TVi22oTCw,10446
4
4
  pulumi_newrelic/account_management.py,sha256=IKzAnKd0TqvKr4TkBUSDhxUyhMyWaTI6Ux4OJ5GMNn0,8789
5
5
  pulumi_newrelic/alert_channel.py,sha256=Ivzcqqc2Up7fAgwOeu7yhcwuR64gbI2XjzZ9Lbd-J70,21618
@@ -27,21 +27,21 @@ pulumi_newrelic/get_service_level_alert_helper.py,sha256=dq3eeFGE5dgAciFju-GhTBD
27
27
  pulumi_newrelic/get_test_grok_pattern.py,sha256=mCiJXbpiQLg2oeEa5_rQTI38ZsXkWml4lgv1s6jEpPE,5538
28
28
  pulumi_newrelic/get_user.py,sha256=QxI7LiKvkiBOc-Ovj3ySFzD1l2SrGO1Y7-xnrGhfP3A,7284
29
29
  pulumi_newrelic/group.py,sha256=ifVMSVvNIQ4YtoRXIBCpzu7jy3AsEt0iQAFC4M3Rb8g,20907
30
- pulumi_newrelic/infra_alert_condition.py,sha256=B7jF2z0zmWmSWQjOTlYad_XahrmUtCi90msMlFMnlD8,57993
30
+ pulumi_newrelic/infra_alert_condition.py,sha256=K4I91Yx6J10CQ2okgDn2hvzgja-1Q2F_EQOMy9VzeDo,57753
31
31
  pulumi_newrelic/log_parsing_rule.py,sha256=1NgUsL1PQNd5-5eMUiOA5fL0vT91DNQ6KqmcWSyn5l0,22408
32
32
  pulumi_newrelic/monitor_downtime.py,sha256=NJ4MNCNvsprCc3tsFItaicyZQFM_U5m9oX6jQtyNv_8,40928
33
33
  pulumi_newrelic/notification_channel.py,sha256=1gbILFdParkpFbBUWUwIG5Ew7SCpAi0nCLfUDzfxPY8,46848
34
34
  pulumi_newrelic/notification_destination.py,sha256=jONcX2PGNqhVFQhA6rWe0850X5CK6nCH2RJzjCiNCDQ,37949
35
- pulumi_newrelic/nrql_alert_condition.py,sha256=PSXgKli4ix8oFJo42NIfxW6ZWJzYNhmW_-3IXxAn4AU,104681
35
+ pulumi_newrelic/nrql_alert_condition.py,sha256=MOgEMixd52JHRV-64H14C1Xfc6s5LnGzXye60NNPAhg,105647
36
36
  pulumi_newrelic/nrql_drop_rule.py,sha256=PO9gtn6xHMEHjUdfZB_h5AWnWFFnfihRxwxEoGsS_tk,17538
37
37
  pulumi_newrelic/obfuscation_expression.py,sha256=ujOP16liz5adKssyTNmoSbKJsypZAejSi6eCsQtC54c,12343
38
38
  pulumi_newrelic/obfuscation_rule.py,sha256=J1951kAaBWDlmFWEQsSASz7PmjGSpQYxvqV8wLliTFY,17809
39
39
  pulumi_newrelic/one_dashboard.py,sha256=b3DpP1ryeGV6WYUghTaAN6963nMrVeWHvLeInBE42rM,20490
40
40
  pulumi_newrelic/one_dashboard_json.py,sha256=u-JceUUU1oHvQ_QT5rSy5kWw17dGR4hk_X0qg-NVT-s,12622
41
41
  pulumi_newrelic/one_dashboard_raw.py,sha256=M9TgRdqEwEDFwJtzN2retbMG3b8aNih10hL0n0MihUY,23542
42
- pulumi_newrelic/outputs.py,sha256=fM3CzbjBUotR-el5rpR-c028LvH3-uXb6fpmwDgNTrk,486102
42
+ pulumi_newrelic/outputs.py,sha256=OGDzvf4iHvXAZcoixTcylRE5PJTz78KbHM00IQtGpoc,487065
43
43
  pulumi_newrelic/provider.py,sha256=Bsa8btfylF9MK4dh4DF7RFTc8PaDI7qMeaFipQxwATw,18319
44
- pulumi_newrelic/pulumi-plugin.json,sha256=zL796xFvaBfi-dp_4YyGNv36ithMhXPgMeDkAMntwf8,85
44
+ pulumi_newrelic/pulumi-plugin.json,sha256=g9TQn8iOSp0eLOLrxxkOiz0Tr-Rlh2rIz-9QDCMv4RU,85
45
45
  pulumi_newrelic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  pulumi_newrelic/service_level.py,sha256=HGA0UqZYKEzclHATagPnyDpvsrQodHrjvewC6EkACHc,30071
47
47
  pulumi_newrelic/user.py,sha256=kmrrs7yU396-mOZwigKQVS4iAyJHGZgevWJJkjU_CdI,18942
@@ -71,7 +71,7 @@ pulumi_newrelic/plugins/outputs.py,sha256=hDj9PHWGK_VrH0RU3spmsg8GkeTCgitR70Wapb
71
71
  pulumi_newrelic/plugins/workload.py,sha256=yf-bG6cYs7_yFY8P8QJ_gbbczII9huKQtZ1r04MjlqY,41948
72
72
  pulumi_newrelic/synthetics/__init__.py,sha256=8O5SCapCaxLPwCnTDb8XJ3w1Vw_1avXP4bCZ3bTXxMs,680
73
73
  pulumi_newrelic/synthetics/_inputs.py,sha256=F8ecjlj2j3gv0oWwFNYGht9gktjMDumW-_hxoz852UE,13597
74
- pulumi_newrelic/synthetics/alert_condition.py,sha256=za-6iMuqsSiQy12JYYBt8tBr_llijNmY17-RVqb6C6Q,21515
74
+ pulumi_newrelic/synthetics/alert_condition.py,sha256=XBqXU5foY1T2NxcytRKIU30BDnUnHACXoM1MGPZz8To,21273
75
75
  pulumi_newrelic/synthetics/broken_links_monitor.py,sha256=PkM-pXBSDwCg55MirUM95B9srEcURCBqyB1Th0tmLDQ,45101
76
76
  pulumi_newrelic/synthetics/cert_check_monitor.py,sha256=4TaeguoOOUcZysgxOoS67VNQRcddji7xuxHLBLnAEMk,47189
77
77
  pulumi_newrelic/synthetics/get_private_location.py,sha256=4ZJdNrhcmeLdFlcYWauHqDlcluhpBdHKShnD3XF5eKw,5795
@@ -83,7 +83,7 @@ pulumi_newrelic/synthetics/private_location.py,sha256=Z6Pj1vjDif95ep7w4QhWu3jsQQ
83
83
  pulumi_newrelic/synthetics/script_monitor.py,sha256=8KAKVVBTWe1DEzW1iueC6OkqTJgJB6B4hougDF4P1dI,54363
84
84
  pulumi_newrelic/synthetics/secure_credential.py,sha256=VhiFz5VYzSoyndMhYJk-aoIIoVjechXClltZUThei_8,15602
85
85
  pulumi_newrelic/synthetics/step_monitor.py,sha256=BpNXwyvNmb5s2EUTz-i53aAwi1CW5-lNl4wXW_4rN6A,50385
86
- pulumi_newrelic-5.26.0a1720509378.dist-info/METADATA,sha256=ai90kPr0HkIASKnrfd_3UnUJiRlHNgJXvSyMhyQnv6A,3900
87
- pulumi_newrelic-5.26.0a1720509378.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
88
- pulumi_newrelic-5.26.0a1720509378.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
89
- pulumi_newrelic-5.26.0a1720509378.dist-info/RECORD,,
86
+ pulumi_newrelic-5.26.0a1720627075.dist-info/METADATA,sha256=m4F4GOJGnGPFtG7NZvjJrMHNkd3_pp7DSH8rpbuER3A,3900
87
+ pulumi_newrelic-5.26.0a1720627075.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
88
+ pulumi_newrelic-5.26.0a1720627075.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
89
+ pulumi_newrelic-5.26.0a1720627075.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.2.0)
2
+ Generator: setuptools (70.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5