pulumi-newrelic 5.24.0a1715356536__py3-none-any.whl → 5.24.1__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 +63 -63
- pulumi_newrelic/alert_channel.py +14 -14
- pulumi_newrelic/alert_condition.py +28 -28
- pulumi_newrelic/alert_muting_rule.py +14 -14
- pulumi_newrelic/alert_policy.py +24 -24
- pulumi_newrelic/alert_policy_channel.py +42 -42
- pulumi_newrelic/api_access_key.py +28 -28
- pulumi_newrelic/browser_application.py +14 -14
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +14 -14
- pulumi_newrelic/cloud/aws_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_link_account.py +14 -14
- pulumi_newrelic/cloud/azure_integrations.py +28 -28
- pulumi_newrelic/cloud/azure_link_account.py +14 -14
- pulumi_newrelic/cloud/gcp_integrations.py +28 -28
- pulumi_newrelic/cloud/gcp_link_account.py +14 -14
- pulumi_newrelic/config/__init__.pyi +1 -1
- pulumi_newrelic/config/vars.py +2 -2
- pulumi_newrelic/data_partition_rule.py +14 -14
- pulumi_newrelic/events_to_metrics_rule.py +16 -16
- pulumi_newrelic/get_account.py +7 -7
- pulumi_newrelic/get_alert_channel.py +8 -8
- pulumi_newrelic/get_alert_policy.py +7 -7
- pulumi_newrelic/get_application.py +2 -2
- pulumi_newrelic/get_cloud_account.py +9 -9
- pulumi_newrelic/get_entity.py +15 -15
- pulumi_newrelic/get_notification_destination.py +7 -7
- pulumi_newrelic/get_obfuscation_expression.py +9 -9
- pulumi_newrelic/get_service_level_alert_helper.py +10 -10
- pulumi_newrelic/get_test_grok_pattern.py +7 -7
- pulumi_newrelic/infra_alert_condition.py +14 -14
- pulumi_newrelic/log_parsing_rule.py +14 -14
- pulumi_newrelic/monitor_downtime.py +14 -14
- pulumi_newrelic/notification_channel.py +36 -36
- pulumi_newrelic/notification_destination.py +14 -14
- pulumi_newrelic/nrql_alert_condition.py +32 -32
- pulumi_newrelic/nrql_drop_rule.py +20 -20
- pulumi_newrelic/obfuscation_expression.py +16 -16
- pulumi_newrelic/obfuscation_rule.py +14 -14
- pulumi_newrelic/one_dashboard.py +14 -14
- pulumi_newrelic/one_dashboard_json.py +14 -14
- pulumi_newrelic/one_dashboard_raw.py +14 -14
- pulumi_newrelic/outputs.py +47 -47
- pulumi_newrelic/plugins/workload.py +55 -55
- pulumi_newrelic/provider.py +14 -9
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +6 -6
- pulumi_newrelic/synthetics/alert_condition.py +14 -14
- pulumi_newrelic/synthetics/broken_links_monitor.py +32 -14
- pulumi_newrelic/synthetics/cert_check_monitor.py +32 -14
- pulumi_newrelic/synthetics/get_private_location.py +11 -11
- pulumi_newrelic/synthetics/get_secure_credential.py +5 -5
- pulumi_newrelic/synthetics/monitor.py +18 -14
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +14 -14
- pulumi_newrelic/synthetics/private_location.py +14 -14
- pulumi_newrelic/synthetics/script_monitor.py +18 -14
- pulumi_newrelic/synthetics/secure_credential.py +14 -14
- pulumi_newrelic/synthetics/step_monitor.py +32 -14
- pulumi_newrelic/workflow.py +14 -14
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.24.1.dist-info/RECORD +89 -0
- pulumi_newrelic-5.24.0a1715356536.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/top_level.txt +0 -0
@@ -17,8 +17,8 @@ __all__ = ['NrqlAlertConditionArgs', 'NrqlAlertCondition']
|
|
17
17
|
class NrqlAlertConditionArgs:
|
18
18
|
def __init__(__self__, *,
|
19
19
|
nrql: pulumi.Input['NrqlAlertConditionNrqlArgs'],
|
20
|
-
policy_id: pulumi.Input[
|
21
|
-
account_id: Optional[pulumi.Input[
|
20
|
+
policy_id: pulumi.Input[str],
|
21
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
22
22
|
aggregation_delay: Optional[pulumi.Input[str]] = None,
|
23
23
|
aggregation_method: Optional[pulumi.Input[str]] = None,
|
24
24
|
aggregation_timer: Optional[pulumi.Input[str]] = None,
|
@@ -44,8 +44,8 @@ class NrqlAlertConditionArgs:
|
|
44
44
|
"""
|
45
45
|
The set of arguments for constructing a NrqlAlertCondition resource.
|
46
46
|
:param pulumi.Input['NrqlAlertConditionNrqlArgs'] nrql: A NRQL query. See NRQL below for details.
|
47
|
-
:param pulumi.Input[
|
48
|
-
:param pulumi.Input[
|
47
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
48
|
+
:param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
|
49
49
|
:param pulumi.Input[str] aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregation_delay` with the `event_flow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `event_flow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregation_delay` cannot be set with `nrql.evaluation_offset`.
|
50
50
|
:param pulumi.Input[str] aggregation_method: Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `event_flow` or `event_timer`. Default is `event_flow`. `aggregation_method` cannot be set with `nrql.evaluation_offset`.
|
51
51
|
:param pulumi.Input[str] aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregation_timer` with the `event_timer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregation_timer` cannot be set with `nrql.evaluation_offset`.
|
@@ -140,26 +140,26 @@ class NrqlAlertConditionArgs:
|
|
140
140
|
|
141
141
|
@property
|
142
142
|
@pulumi.getter(name="policyId")
|
143
|
-
def policy_id(self) -> pulumi.Input[
|
143
|
+
def policy_id(self) -> pulumi.Input[str]:
|
144
144
|
"""
|
145
145
|
The ID of the policy where this condition should be used.
|
146
146
|
"""
|
147
147
|
return pulumi.get(self, "policy_id")
|
148
148
|
|
149
149
|
@policy_id.setter
|
150
|
-
def policy_id(self, value: pulumi.Input[
|
150
|
+
def policy_id(self, value: pulumi.Input[str]):
|
151
151
|
pulumi.set(self, "policy_id", value)
|
152
152
|
|
153
153
|
@property
|
154
154
|
@pulumi.getter(name="accountId")
|
155
|
-
def account_id(self) -> Optional[pulumi.Input[
|
155
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
156
156
|
"""
|
157
157
|
The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
|
158
158
|
"""
|
159
159
|
return pulumi.get(self, "account_id")
|
160
160
|
|
161
161
|
@account_id.setter
|
162
|
-
def account_id(self, value: Optional[pulumi.Input[
|
162
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
163
163
|
pulumi.set(self, "account_id", value)
|
164
164
|
|
165
165
|
@property
|
@@ -438,7 +438,7 @@ class NrqlAlertConditionArgs:
|
|
438
438
|
@pulumi.input_type
|
439
439
|
class _NrqlAlertConditionState:
|
440
440
|
def __init__(__self__, *,
|
441
|
-
account_id: Optional[pulumi.Input[
|
441
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
442
442
|
aggregation_delay: Optional[pulumi.Input[str]] = None,
|
443
443
|
aggregation_method: Optional[pulumi.Input[str]] = None,
|
444
444
|
aggregation_timer: Optional[pulumi.Input[str]] = None,
|
@@ -456,7 +456,7 @@ class _NrqlAlertConditionState:
|
|
456
456
|
name: Optional[pulumi.Input[str]] = None,
|
457
457
|
nrql: Optional[pulumi.Input['NrqlAlertConditionNrqlArgs']] = None,
|
458
458
|
open_violation_on_expiration: Optional[pulumi.Input[bool]] = None,
|
459
|
-
policy_id: Optional[pulumi.Input[
|
459
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
460
460
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
461
461
|
slide_by: Optional[pulumi.Input[int]] = None,
|
462
462
|
terms: Optional[pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]]] = None,
|
@@ -466,7 +466,7 @@ class _NrqlAlertConditionState:
|
|
466
466
|
warning: Optional[pulumi.Input['NrqlAlertConditionWarningArgs']] = None):
|
467
467
|
"""
|
468
468
|
Input properties used for looking up and filtering NrqlAlertCondition resources.
|
469
|
-
:param pulumi.Input[
|
469
|
+
:param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
|
470
470
|
:param pulumi.Input[str] aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregation_delay` with the `event_flow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `event_flow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregation_delay` cannot be set with `nrql.evaluation_offset`.
|
471
471
|
:param pulumi.Input[str] aggregation_method: Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `event_flow` or `event_timer`. Default is `event_flow`. `aggregation_method` cannot be set with `nrql.evaluation_offset`.
|
472
472
|
:param pulumi.Input[str] aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregation_timer` with the `event_timer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregation_timer` cannot be set with `nrql.evaluation_offset`.
|
@@ -484,7 +484,7 @@ class _NrqlAlertConditionState:
|
|
484
484
|
:param pulumi.Input[str] name: The title of the condition.
|
485
485
|
:param pulumi.Input['NrqlAlertConditionNrqlArgs'] nrql: A NRQL query. See NRQL below for details.
|
486
486
|
:param pulumi.Input[bool] open_violation_on_expiration: Whether to create a new incident to capture that the signal expired.
|
487
|
-
:param pulumi.Input[
|
487
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
488
488
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
489
489
|
:param pulumi.Input[int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
|
490
490
|
:param pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
|
@@ -556,14 +556,14 @@ class _NrqlAlertConditionState:
|
|
556
556
|
|
557
557
|
@property
|
558
558
|
@pulumi.getter(name="accountId")
|
559
|
-
def account_id(self) -> Optional[pulumi.Input[
|
559
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
560
560
|
"""
|
561
561
|
The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
|
562
562
|
"""
|
563
563
|
return pulumi.get(self, "account_id")
|
564
564
|
|
565
565
|
@account_id.setter
|
566
|
-
def account_id(self, value: Optional[pulumi.Input[
|
566
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
567
567
|
pulumi.set(self, "account_id", value)
|
568
568
|
|
569
569
|
@property
|
@@ -772,14 +772,14 @@ class _NrqlAlertConditionState:
|
|
772
772
|
|
773
773
|
@property
|
774
774
|
@pulumi.getter(name="policyId")
|
775
|
-
def policy_id(self) -> Optional[pulumi.Input[
|
775
|
+
def policy_id(self) -> Optional[pulumi.Input[str]]:
|
776
776
|
"""
|
777
777
|
The ID of the policy where this condition should be used.
|
778
778
|
"""
|
779
779
|
return pulumi.get(self, "policy_id")
|
780
780
|
|
781
781
|
@policy_id.setter
|
782
|
-
def policy_id(self, value: Optional[pulumi.Input[
|
782
|
+
def policy_id(self, value: Optional[pulumi.Input[str]]):
|
783
783
|
pulumi.set(self, "policy_id", value)
|
784
784
|
|
785
785
|
@property
|
@@ -880,7 +880,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
880
880
|
def __init__(__self__,
|
881
881
|
resource_name: str,
|
882
882
|
opts: Optional[pulumi.ResourceOptions] = None,
|
883
|
-
account_id: Optional[pulumi.Input[
|
883
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
884
884
|
aggregation_delay: Optional[pulumi.Input[str]] = None,
|
885
885
|
aggregation_method: Optional[pulumi.Input[str]] = None,
|
886
886
|
aggregation_timer: Optional[pulumi.Input[str]] = None,
|
@@ -897,7 +897,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
897
897
|
name: Optional[pulumi.Input[str]] = None,
|
898
898
|
nrql: Optional[pulumi.Input[pulumi.InputType['NrqlAlertConditionNrqlArgs']]] = None,
|
899
899
|
open_violation_on_expiration: Optional[pulumi.Input[bool]] = None,
|
900
|
-
policy_id: Optional[pulumi.Input[
|
900
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
901
901
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
902
902
|
slide_by: Optional[pulumi.Input[int]] = None,
|
903
903
|
terms: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NrqlAlertConditionTermArgs']]]]] = None,
|
@@ -919,7 +919,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
919
919
|
|
920
920
|
foo = newrelic.AlertPolicy("foo", name="foo")
|
921
921
|
foo_nrql_alert_condition = newrelic.NrqlAlertCondition("foo",
|
922
|
-
account_id=12345678,
|
922
|
+
account_id="12345678",
|
923
923
|
policy_id=foo.id,
|
924
924
|
type="static",
|
925
925
|
name="foo",
|
@@ -1041,7 +1041,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1041
1041
|
|
1042
1042
|
foo = newrelic.AlertPolicy("foo", name="foo")
|
1043
1043
|
foo_nrql_alert_condition = newrelic.NrqlAlertCondition("foo",
|
1044
|
-
account_id=12345678,
|
1044
|
+
account_id="12345678",
|
1045
1045
|
policy_id=foo.id,
|
1046
1046
|
type="static",
|
1047
1047
|
name="foo",
|
@@ -1166,7 +1166,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1166
1166
|
|
1167
1167
|
:param str resource_name: The name of the resource.
|
1168
1168
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1169
|
-
:param pulumi.Input[
|
1169
|
+
:param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
|
1170
1170
|
:param pulumi.Input[str] aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregation_delay` with the `event_flow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `event_flow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregation_delay` cannot be set with `nrql.evaluation_offset`.
|
1171
1171
|
:param pulumi.Input[str] aggregation_method: Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `event_flow` or `event_timer`. Default is `event_flow`. `aggregation_method` cannot be set with `nrql.evaluation_offset`.
|
1172
1172
|
:param pulumi.Input[str] aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregation_timer` with the `event_timer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregation_timer` cannot be set with `nrql.evaluation_offset`.
|
@@ -1183,7 +1183,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1183
1183
|
:param pulumi.Input[str] name: The title of the condition.
|
1184
1184
|
:param pulumi.Input[pulumi.InputType['NrqlAlertConditionNrqlArgs']] nrql: A NRQL query. See NRQL below for details.
|
1185
1185
|
:param pulumi.Input[bool] open_violation_on_expiration: Whether to create a new incident to capture that the signal expired.
|
1186
|
-
:param pulumi.Input[
|
1186
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
1187
1187
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
1188
1188
|
:param pulumi.Input[int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
|
1189
1189
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NrqlAlertConditionTermArgs']]]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
|
@@ -1213,7 +1213,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1213
1213
|
|
1214
1214
|
foo = newrelic.AlertPolicy("foo", name="foo")
|
1215
1215
|
foo_nrql_alert_condition = newrelic.NrqlAlertCondition("foo",
|
1216
|
-
account_id=12345678,
|
1216
|
+
account_id="12345678",
|
1217
1217
|
policy_id=foo.id,
|
1218
1218
|
type="static",
|
1219
1219
|
name="foo",
|
@@ -1335,7 +1335,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1335
1335
|
|
1336
1336
|
foo = newrelic.AlertPolicy("foo", name="foo")
|
1337
1337
|
foo_nrql_alert_condition = newrelic.NrqlAlertCondition("foo",
|
1338
|
-
account_id=12345678,
|
1338
|
+
account_id="12345678",
|
1339
1339
|
policy_id=foo.id,
|
1340
1340
|
type="static",
|
1341
1341
|
name="foo",
|
@@ -1473,7 +1473,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1473
1473
|
def _internal_init(__self__,
|
1474
1474
|
resource_name: str,
|
1475
1475
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1476
|
-
account_id: Optional[pulumi.Input[
|
1476
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
1477
1477
|
aggregation_delay: Optional[pulumi.Input[str]] = None,
|
1478
1478
|
aggregation_method: Optional[pulumi.Input[str]] = None,
|
1479
1479
|
aggregation_timer: Optional[pulumi.Input[str]] = None,
|
@@ -1490,7 +1490,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1490
1490
|
name: Optional[pulumi.Input[str]] = None,
|
1491
1491
|
nrql: Optional[pulumi.Input[pulumi.InputType['NrqlAlertConditionNrqlArgs']]] = None,
|
1492
1492
|
open_violation_on_expiration: Optional[pulumi.Input[bool]] = None,
|
1493
|
-
policy_id: Optional[pulumi.Input[
|
1493
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
1494
1494
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
1495
1495
|
slide_by: Optional[pulumi.Input[int]] = None,
|
1496
1496
|
terms: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NrqlAlertConditionTermArgs']]]]] = None,
|
@@ -1547,7 +1547,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1547
1547
|
def get(resource_name: str,
|
1548
1548
|
id: pulumi.Input[str],
|
1549
1549
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1550
|
-
account_id: Optional[pulumi.Input[
|
1550
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
1551
1551
|
aggregation_delay: Optional[pulumi.Input[str]] = None,
|
1552
1552
|
aggregation_method: Optional[pulumi.Input[str]] = None,
|
1553
1553
|
aggregation_timer: Optional[pulumi.Input[str]] = None,
|
@@ -1565,7 +1565,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1565
1565
|
name: Optional[pulumi.Input[str]] = None,
|
1566
1566
|
nrql: Optional[pulumi.Input[pulumi.InputType['NrqlAlertConditionNrqlArgs']]] = None,
|
1567
1567
|
open_violation_on_expiration: Optional[pulumi.Input[bool]] = None,
|
1568
|
-
policy_id: Optional[pulumi.Input[
|
1568
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
1569
1569
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
1570
1570
|
slide_by: Optional[pulumi.Input[int]] = None,
|
1571
1571
|
terms: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NrqlAlertConditionTermArgs']]]]] = None,
|
@@ -1580,7 +1580,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1580
1580
|
:param str resource_name: The unique name of the resulting resource.
|
1581
1581
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1582
1582
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1583
|
-
:param pulumi.Input[
|
1583
|
+
:param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
|
1584
1584
|
:param pulumi.Input[str] aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregation_delay` with the `event_flow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `event_flow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregation_delay` cannot be set with `nrql.evaluation_offset`.
|
1585
1585
|
:param pulumi.Input[str] aggregation_method: Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `event_flow` or `event_timer`. Default is `event_flow`. `aggregation_method` cannot be set with `nrql.evaluation_offset`.
|
1586
1586
|
:param pulumi.Input[str] aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregation_timer` with the `event_timer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregation_timer` cannot be set with `nrql.evaluation_offset`.
|
@@ -1598,7 +1598,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1598
1598
|
:param pulumi.Input[str] name: The title of the condition.
|
1599
1599
|
:param pulumi.Input[pulumi.InputType['NrqlAlertConditionNrqlArgs']] nrql: A NRQL query. See NRQL below for details.
|
1600
1600
|
:param pulumi.Input[bool] open_violation_on_expiration: Whether to create a new incident to capture that the signal expired.
|
1601
|
-
:param pulumi.Input[
|
1601
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
1602
1602
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
1603
1603
|
:param pulumi.Input[int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
|
1604
1604
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NrqlAlertConditionTermArgs']]]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
|
@@ -1643,7 +1643,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1643
1643
|
|
1644
1644
|
@property
|
1645
1645
|
@pulumi.getter(name="accountId")
|
1646
|
-
def account_id(self) -> pulumi.Output[
|
1646
|
+
def account_id(self) -> pulumi.Output[str]:
|
1647
1647
|
"""
|
1648
1648
|
The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
|
1649
1649
|
"""
|
@@ -1787,7 +1787,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
|
|
1787
1787
|
|
1788
1788
|
@property
|
1789
1789
|
@pulumi.getter(name="policyId")
|
1790
|
-
def policy_id(self) -> pulumi.Output[
|
1790
|
+
def policy_id(self) -> pulumi.Output[str]:
|
1791
1791
|
"""
|
1792
1792
|
The ID of the policy where this condition should be used.
|
1793
1793
|
"""
|
@@ -16,13 +16,13 @@ class NrqlDropRuleArgs:
|
|
16
16
|
def __init__(__self__, *,
|
17
17
|
action: pulumi.Input[str],
|
18
18
|
nrql: pulumi.Input[str],
|
19
|
-
account_id: Optional[pulumi.Input[
|
19
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
20
20
|
description: Optional[pulumi.Input[str]] = None):
|
21
21
|
"""
|
22
22
|
The set of arguments for constructing a NrqlDropRule resource.
|
23
23
|
:param pulumi.Input[str] action: The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
|
24
24
|
:param pulumi.Input[str] nrql: Explains which data to apply the drop rule to.
|
25
|
-
:param pulumi.Input[
|
25
|
+
:param pulumi.Input[str] account_id: Account with the NRQL drop rule will be put.
|
26
26
|
:param pulumi.Input[str] description: Provides additional information about the rule.
|
27
27
|
"""
|
28
28
|
pulumi.set(__self__, "action", action)
|
@@ -58,14 +58,14 @@ class NrqlDropRuleArgs:
|
|
58
58
|
|
59
59
|
@property
|
60
60
|
@pulumi.getter(name="accountId")
|
61
|
-
def account_id(self) -> Optional[pulumi.Input[
|
61
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
62
62
|
"""
|
63
63
|
Account with the NRQL drop rule will be put.
|
64
64
|
"""
|
65
65
|
return pulumi.get(self, "account_id")
|
66
66
|
|
67
67
|
@account_id.setter
|
68
|
-
def account_id(self, value: Optional[pulumi.Input[
|
68
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
69
69
|
pulumi.set(self, "account_id", value)
|
70
70
|
|
71
71
|
@property
|
@@ -84,14 +84,14 @@ class NrqlDropRuleArgs:
|
|
84
84
|
@pulumi.input_type
|
85
85
|
class _NrqlDropRuleState:
|
86
86
|
def __init__(__self__, *,
|
87
|
-
account_id: Optional[pulumi.Input[
|
87
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
88
88
|
action: Optional[pulumi.Input[str]] = None,
|
89
89
|
description: Optional[pulumi.Input[str]] = None,
|
90
90
|
nrql: Optional[pulumi.Input[str]] = None,
|
91
91
|
rule_id: Optional[pulumi.Input[str]] = None):
|
92
92
|
"""
|
93
93
|
Input properties used for looking up and filtering NrqlDropRule resources.
|
94
|
-
:param pulumi.Input[
|
94
|
+
:param pulumi.Input[str] account_id: Account with the NRQL drop rule will be put.
|
95
95
|
:param pulumi.Input[str] action: The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
|
96
96
|
:param pulumi.Input[str] description: Provides additional information about the rule.
|
97
97
|
:param pulumi.Input[str] nrql: Explains which data to apply the drop rule to.
|
@@ -110,14 +110,14 @@ class _NrqlDropRuleState:
|
|
110
110
|
|
111
111
|
@property
|
112
112
|
@pulumi.getter(name="accountId")
|
113
|
-
def account_id(self) -> Optional[pulumi.Input[
|
113
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
114
114
|
"""
|
115
115
|
Account with the NRQL drop rule will be put.
|
116
116
|
"""
|
117
117
|
return pulumi.get(self, "account_id")
|
118
118
|
|
119
119
|
@account_id.setter
|
120
|
-
def account_id(self, value: Optional[pulumi.Input[
|
120
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
121
121
|
pulumi.set(self, "account_id", value)
|
122
122
|
|
123
123
|
@property
|
@@ -174,7 +174,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
174
174
|
def __init__(__self__,
|
175
175
|
resource_name: str,
|
176
176
|
opts: Optional[pulumi.ResourceOptions] = None,
|
177
|
-
account_id: Optional[pulumi.Input[
|
177
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
178
178
|
action: Optional[pulumi.Input[str]] = None,
|
179
179
|
description: Optional[pulumi.Input[str]] = None,
|
180
180
|
nrql: Optional[pulumi.Input[str]] = None,
|
@@ -187,17 +187,17 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
187
187
|
import pulumi_newrelic as newrelic
|
188
188
|
|
189
189
|
foo = newrelic.NrqlDropRule("foo",
|
190
|
-
account_id=12345,
|
190
|
+
account_id="12345",
|
191
191
|
description="Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it.",
|
192
192
|
action="drop_data",
|
193
193
|
nrql="SELECT * FROM MyCustomEvent WHERE appName='LoadGeneratingApp' AND environment='development'")
|
194
194
|
bar = newrelic.NrqlDropRule("bar",
|
195
|
-
account_id=12345,
|
195
|
+
account_id="12345",
|
196
196
|
description="Removes the user name and email fields from MyCustomEvent",
|
197
197
|
action="drop_attributes",
|
198
198
|
nrql="SELECT userEmail, userName FROM MyCustomEvent")
|
199
199
|
baz = newrelic.NrqlDropRule("baz",
|
200
|
-
account_id=12345,
|
200
|
+
account_id="12345",
|
201
201
|
description="Removes containerId from metric aggregates to reduce metric cardinality.",
|
202
202
|
action="drop_attributes_from_metric_aggregates",
|
203
203
|
nrql="SELECT containerId FROM Metric")
|
@@ -228,7 +228,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
228
228
|
|
229
229
|
:param str resource_name: The name of the resource.
|
230
230
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
231
|
-
:param pulumi.Input[
|
231
|
+
:param pulumi.Input[str] account_id: Account with the NRQL drop rule will be put.
|
232
232
|
:param pulumi.Input[str] action: The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
|
233
233
|
:param pulumi.Input[str] description: Provides additional information about the rule.
|
234
234
|
:param pulumi.Input[str] nrql: Explains which data to apply the drop rule to.
|
@@ -247,17 +247,17 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
247
247
|
import pulumi_newrelic as newrelic
|
248
248
|
|
249
249
|
foo = newrelic.NrqlDropRule("foo",
|
250
|
-
account_id=12345,
|
250
|
+
account_id="12345",
|
251
251
|
description="Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it.",
|
252
252
|
action="drop_data",
|
253
253
|
nrql="SELECT * FROM MyCustomEvent WHERE appName='LoadGeneratingApp' AND environment='development'")
|
254
254
|
bar = newrelic.NrqlDropRule("bar",
|
255
|
-
account_id=12345,
|
255
|
+
account_id="12345",
|
256
256
|
description="Removes the user name and email fields from MyCustomEvent",
|
257
257
|
action="drop_attributes",
|
258
258
|
nrql="SELECT userEmail, userName FROM MyCustomEvent")
|
259
259
|
baz = newrelic.NrqlDropRule("baz",
|
260
|
-
account_id=12345,
|
260
|
+
account_id="12345",
|
261
261
|
description="Removes containerId from metric aggregates to reduce metric cardinality.",
|
262
262
|
action="drop_attributes_from_metric_aggregates",
|
263
263
|
nrql="SELECT containerId FROM Metric")
|
@@ -301,7 +301,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
301
301
|
def _internal_init(__self__,
|
302
302
|
resource_name: str,
|
303
303
|
opts: Optional[pulumi.ResourceOptions] = None,
|
304
|
-
account_id: Optional[pulumi.Input[
|
304
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
305
305
|
action: Optional[pulumi.Input[str]] = None,
|
306
306
|
description: Optional[pulumi.Input[str]] = None,
|
307
307
|
nrql: Optional[pulumi.Input[str]] = None,
|
@@ -333,7 +333,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
333
333
|
def get(resource_name: str,
|
334
334
|
id: pulumi.Input[str],
|
335
335
|
opts: Optional[pulumi.ResourceOptions] = None,
|
336
|
-
account_id: Optional[pulumi.Input[
|
336
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
337
337
|
action: Optional[pulumi.Input[str]] = None,
|
338
338
|
description: Optional[pulumi.Input[str]] = None,
|
339
339
|
nrql: Optional[pulumi.Input[str]] = None,
|
@@ -345,7 +345,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
345
345
|
:param str resource_name: The unique name of the resulting resource.
|
346
346
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
347
347
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
348
|
-
:param pulumi.Input[
|
348
|
+
:param pulumi.Input[str] account_id: Account with the NRQL drop rule will be put.
|
349
349
|
:param pulumi.Input[str] action: The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
|
350
350
|
:param pulumi.Input[str] description: Provides additional information about the rule.
|
351
351
|
:param pulumi.Input[str] nrql: Explains which data to apply the drop rule to.
|
@@ -364,7 +364,7 @@ class NrqlDropRule(pulumi.CustomResource):
|
|
364
364
|
|
365
365
|
@property
|
366
366
|
@pulumi.getter(name="accountId")
|
367
|
-
def account_id(self) -> pulumi.Output[
|
367
|
+
def account_id(self) -> pulumi.Output[str]:
|
368
368
|
"""
|
369
369
|
Account with the NRQL drop rule will be put.
|
370
370
|
"""
|
@@ -15,13 +15,13 @@ __all__ = ['ObfuscationExpressionArgs', 'ObfuscationExpression']
|
|
15
15
|
class ObfuscationExpressionArgs:
|
16
16
|
def __init__(__self__, *,
|
17
17
|
regex: pulumi.Input[str],
|
18
|
-
account_id: Optional[pulumi.Input[
|
18
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
19
19
|
description: Optional[pulumi.Input[str]] = None,
|
20
20
|
name: Optional[pulumi.Input[str]] = None):
|
21
21
|
"""
|
22
22
|
The set of arguments for constructing a ObfuscationExpression resource.
|
23
23
|
:param pulumi.Input[str] regex: Regex of expression. Must be wrapped in parentheses, e.g. (regex.*).
|
24
|
-
:param pulumi.Input[
|
24
|
+
:param pulumi.Input[str] account_id: The account id associated with the obfuscation expression.
|
25
25
|
:param pulumi.Input[str] description: Description of expression.
|
26
26
|
:param pulumi.Input[str] name: Name of expression.
|
27
27
|
"""
|
@@ -47,14 +47,14 @@ class ObfuscationExpressionArgs:
|
|
47
47
|
|
48
48
|
@property
|
49
49
|
@pulumi.getter(name="accountId")
|
50
|
-
def account_id(self) -> Optional[pulumi.Input[
|
50
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
51
51
|
"""
|
52
52
|
The account id associated with the obfuscation expression.
|
53
53
|
"""
|
54
54
|
return pulumi.get(self, "account_id")
|
55
55
|
|
56
56
|
@account_id.setter
|
57
|
-
def account_id(self, value: Optional[pulumi.Input[
|
57
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
58
58
|
pulumi.set(self, "account_id", value)
|
59
59
|
|
60
60
|
@property
|
@@ -85,13 +85,13 @@ class ObfuscationExpressionArgs:
|
|
85
85
|
@pulumi.input_type
|
86
86
|
class _ObfuscationExpressionState:
|
87
87
|
def __init__(__self__, *,
|
88
|
-
account_id: Optional[pulumi.Input[
|
88
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
89
89
|
description: Optional[pulumi.Input[str]] = None,
|
90
90
|
name: Optional[pulumi.Input[str]] = None,
|
91
91
|
regex: Optional[pulumi.Input[str]] = None):
|
92
92
|
"""
|
93
93
|
Input properties used for looking up and filtering ObfuscationExpression resources.
|
94
|
-
:param pulumi.Input[
|
94
|
+
:param pulumi.Input[str] account_id: The account id associated with the obfuscation expression.
|
95
95
|
:param pulumi.Input[str] description: Description of expression.
|
96
96
|
:param pulumi.Input[str] name: Name of expression.
|
97
97
|
:param pulumi.Input[str] regex: Regex of expression. Must be wrapped in parentheses, e.g. (regex.*).
|
@@ -107,14 +107,14 @@ class _ObfuscationExpressionState:
|
|
107
107
|
|
108
108
|
@property
|
109
109
|
@pulumi.getter(name="accountId")
|
110
|
-
def account_id(self) -> Optional[pulumi.Input[
|
110
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
111
111
|
"""
|
112
112
|
The account id associated with the obfuscation expression.
|
113
113
|
"""
|
114
114
|
return pulumi.get(self, "account_id")
|
115
115
|
|
116
116
|
@account_id.setter
|
117
|
-
def account_id(self, value: Optional[pulumi.Input[
|
117
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
118
118
|
pulumi.set(self, "account_id", value)
|
119
119
|
|
120
120
|
@property
|
@@ -159,7 +159,7 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
159
159
|
def __init__(__self__,
|
160
160
|
resource_name: str,
|
161
161
|
opts: Optional[pulumi.ResourceOptions] = None,
|
162
|
-
account_id: Optional[pulumi.Input[
|
162
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
163
163
|
description: Optional[pulumi.Input[str]] = None,
|
164
164
|
name: Optional[pulumi.Input[str]] = None,
|
165
165
|
regex: Optional[pulumi.Input[str]] = None,
|
@@ -174,7 +174,7 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
174
174
|
import pulumi_newrelic as newrelic
|
175
175
|
|
176
176
|
foo = newrelic.ObfuscationExpression("foo",
|
177
|
-
account_id=12345,
|
177
|
+
account_id="12345",
|
178
178
|
name="OExp",
|
179
179
|
description="The description",
|
180
180
|
regex="(regex.*)")
|
@@ -192,7 +192,7 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
192
192
|
|
193
193
|
:param str resource_name: The name of the resource.
|
194
194
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
195
|
-
:param pulumi.Input[
|
195
|
+
:param pulumi.Input[str] account_id: The account id associated with the obfuscation expression.
|
196
196
|
:param pulumi.Input[str] description: Description of expression.
|
197
197
|
:param pulumi.Input[str] name: Name of expression.
|
198
198
|
:param pulumi.Input[str] regex: Regex of expression. Must be wrapped in parentheses, e.g. (regex.*).
|
@@ -213,7 +213,7 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
213
213
|
import pulumi_newrelic as newrelic
|
214
214
|
|
215
215
|
foo = newrelic.ObfuscationExpression("foo",
|
216
|
-
account_id=12345,
|
216
|
+
account_id="12345",
|
217
217
|
name="OExp",
|
218
218
|
description="The description",
|
219
219
|
regex="(regex.*)")
|
@@ -244,7 +244,7 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
244
244
|
def _internal_init(__self__,
|
245
245
|
resource_name: str,
|
246
246
|
opts: Optional[pulumi.ResourceOptions] = None,
|
247
|
-
account_id: Optional[pulumi.Input[
|
247
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
248
248
|
description: Optional[pulumi.Input[str]] = None,
|
249
249
|
name: Optional[pulumi.Input[str]] = None,
|
250
250
|
regex: Optional[pulumi.Input[str]] = None,
|
@@ -273,7 +273,7 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
273
273
|
def get(resource_name: str,
|
274
274
|
id: pulumi.Input[str],
|
275
275
|
opts: Optional[pulumi.ResourceOptions] = None,
|
276
|
-
account_id: Optional[pulumi.Input[
|
276
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
277
277
|
description: Optional[pulumi.Input[str]] = None,
|
278
278
|
name: Optional[pulumi.Input[str]] = None,
|
279
279
|
regex: Optional[pulumi.Input[str]] = None) -> 'ObfuscationExpression':
|
@@ -284,7 +284,7 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
284
284
|
:param str resource_name: The unique name of the resulting resource.
|
285
285
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
286
286
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
287
|
-
:param pulumi.Input[
|
287
|
+
:param pulumi.Input[str] account_id: The account id associated with the obfuscation expression.
|
288
288
|
:param pulumi.Input[str] description: Description of expression.
|
289
289
|
:param pulumi.Input[str] name: Name of expression.
|
290
290
|
:param pulumi.Input[str] regex: Regex of expression. Must be wrapped in parentheses, e.g. (regex.*).
|
@@ -301,7 +301,7 @@ class ObfuscationExpression(pulumi.CustomResource):
|
|
301
301
|
|
302
302
|
@property
|
303
303
|
@pulumi.getter(name="accountId")
|
304
|
-
def account_id(self) -> pulumi.Output[
|
304
|
+
def account_id(self) -> pulumi.Output[str]:
|
305
305
|
"""
|
306
306
|
The account id associated with the obfuscation expression.
|
307
307
|
"""
|