cdktf-cdktf-provider-newrelic 13.7.2__py3-none-any.whl → 13.7.4__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.
- cdktf_cdktf_provider_newrelic/__init__.py +3 -3
- cdktf_cdktf_provider_newrelic/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_newrelic/_jsii/provider-newrelic@13.7.4.jsii.tgz +0 -0
- cdktf_cdktf_provider_newrelic/account_management/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/alert_channel/__init__.py +83 -83
- cdktf_cdktf_provider_newrelic/alert_condition/__init__.py +57 -57
- cdktf_cdktf_provider_newrelic/alert_muting_rule/__init__.py +61 -61
- cdktf_cdktf_provider_newrelic/alert_policy/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/alert_policy_channel/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/api_access_key/__init__.py +25 -25
- cdktf_cdktf_provider_newrelic/application_settings/__init__.py +65 -65
- cdktf_cdktf_provider_newrelic/browser_application/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/cloud_aws_govcloud_integrations/__init__.py +325 -325
- cdktf_cdktf_provider_newrelic/cloud_aws_govcloud_link_account/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/cloud_aws_integrations/__init__.py +688 -688
- cdktf_cdktf_provider_newrelic/cloud_aws_link_account/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/cloud_azure_integrations/__init__.py +313 -313
- cdktf_cdktf_provider_newrelic/cloud_azure_link_account/__init__.py +25 -25
- cdktf_cdktf_provider_newrelic/cloud_gcp_integrations/__init__.py +181 -181
- cdktf_cdktf_provider_newrelic/cloud_gcp_link_account/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/cloud_oci_link_account/__init__.py +52 -52
- cdktf_cdktf_provider_newrelic/data_newrelic_account/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_alert_channel/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/data_newrelic_alert_policy/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_application/__init__.py +10 -10
- cdktf_cdktf_provider_newrelic/data_newrelic_authentication_domain/__init__.py +7 -7
- cdktf_cdktf_provider_newrelic/data_newrelic_cloud_account/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_entity/__init__.py +35 -35
- cdktf_cdktf_provider_newrelic/data_newrelic_group/__init__.py +10 -10
- cdktf_cdktf_provider_newrelic/data_newrelic_key_transaction/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_notification_destination/__init__.py +18 -18
- cdktf_cdktf_provider_newrelic/data_newrelic_obfuscation_expression/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/data_newrelic_service_level_alert_helper/__init__.py +28 -28
- cdktf_cdktf_provider_newrelic/data_newrelic_synthetics_private_location/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_synthetics_secure_credential/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/data_newrelic_test_grok_pattern/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_user/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/data_partition_rule/__init__.py +31 -31
- cdktf_cdktf_provider_newrelic/entity_tags/__init__.py +23 -23
- cdktf_cdktf_provider_newrelic/events_to_metrics_rule/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/group/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/infra_alert_condition/__init__.py +70 -70
- cdktf_cdktf_provider_newrelic/insights_event/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/key_transaction/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/log_parsing_rule/__init__.py +31 -31
- cdktf_cdktf_provider_newrelic/monitor_downtime/__init__.py +55 -55
- cdktf_cdktf_provider_newrelic/notification_channel/__init__.py +45 -45
- cdktf_cdktf_provider_newrelic/notification_destination/__init__.py +73 -73
- cdktf_cdktf_provider_newrelic/nrql_alert_condition/__init__.py +193 -193
- cdktf_cdktf_provider_newrelic/nrql_drop_rule/__init__.py +25 -25
- cdktf_cdktf_provider_newrelic/obfuscation_expression/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/obfuscation_rule/__init__.py +31 -31
- cdktf_cdktf_provider_newrelic/one_dashboard/__init__.py +1259 -1259
- cdktf_cdktf_provider_newrelic/one_dashboard_json/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/one_dashboard_raw/__init__.py +44 -44
- cdktf_cdktf_provider_newrelic/pipeline_cloud_rule/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/provider/__init__.py +46 -46
- cdktf_cdktf_provider_newrelic/service_level/__init__.py +109 -109
- cdktf_cdktf_provider_newrelic/synthetics_alert_condition/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/synthetics_broken_links_monitor/__init__.py +44 -44
- cdktf_cdktf_provider_newrelic/synthetics_cert_check_monitor/__init__.py +47 -47
- cdktf_cdktf_provider_newrelic/synthetics_monitor/__init__.py +84 -84
- cdktf_cdktf_provider_newrelic/synthetics_multilocation_alert_condition/__init__.py +37 -37
- cdktf_cdktf_provider_newrelic/synthetics_private_location/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/synthetics_script_monitor/__init__.py +69 -69
- cdktf_cdktf_provider_newrelic/synthetics_secure_credential/__init__.py +28 -28
- cdktf_cdktf_provider_newrelic/synthetics_step_monitor/__init__.py +63 -63
- cdktf_cdktf_provider_newrelic/user/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/workflow/__init__.py +64 -64
- cdktf_cdktf_provider_newrelic/workload/__init__.py +86 -86
- {cdktf_cdktf_provider_newrelic-13.7.2.dist-info → cdktf_cdktf_provider_newrelic-13.7.4.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_newrelic-13.7.4.dist-info/RECORD +76 -0
- cdktf_cdktf_provider_newrelic/_jsii/provider-newrelic@13.7.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_newrelic-13.7.2.dist-info/RECORD +0 -76
- {cdktf_cdktf_provider_newrelic-13.7.2.dist-info → cdktf_cdktf_provider_newrelic-13.7.4.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_newrelic-13.7.2.dist-info → cdktf_cdktf_provider_newrelic-13.7.4.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_newrelic-13.7.2.dist-info → cdktf_cdktf_provider_newrelic-13.7.4.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
r'''
|
2
2
|
# `newrelic_alert_muting_rule`
|
3
3
|
|
4
|
-
Refer to the Terraform Registry for docs: [`newrelic_alert_muting_rule`](https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
4
|
+
Refer to the Terraform Registry for docs: [`newrelic_alert_muting_rule`](https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule).
|
5
5
|
'''
|
6
6
|
from pkgutil import extend_path
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
@@ -44,7 +44,7 @@ class AlertMutingRule(
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
45
45
|
jsii_type="@cdktf/provider-newrelic.alertMutingRule.AlertMutingRule",
|
46
46
|
):
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule newrelic_alert_muting_rule}.'''
|
48
48
|
|
49
49
|
def __init__(
|
50
50
|
self,
|
@@ -67,18 +67,18 @@ class AlertMutingRule(
|
|
67
67
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
68
68
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
69
69
|
) -> None:
|
70
|
-
'''Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
70
|
+
'''Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule newrelic_alert_muting_rule} Resource.
|
71
71
|
|
72
72
|
:param scope: The scope in which to define this construct.
|
73
73
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
74
|
-
:param condition: condition block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
75
|
-
:param enabled: Whether the MutingRule is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
76
|
-
:param name: The name of the MutingRule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
77
|
-
:param account_id: The account id of the MutingRule.. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
78
|
-
:param action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
79
|
-
:param description: The description of the MutingRule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
80
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
81
|
-
:param schedule: schedule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
74
|
+
:param condition: condition block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#condition AlertMutingRule#condition}
|
75
|
+
:param enabled: Whether the MutingRule is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#enabled AlertMutingRule#enabled}
|
76
|
+
:param name: The name of the MutingRule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#name AlertMutingRule#name}
|
77
|
+
:param account_id: The account id of the MutingRule.. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#account_id AlertMutingRule#account_id}
|
78
|
+
:param action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#action_on_muting_rule_window_ended AlertMutingRule#action_on_muting_rule_window_ended}
|
79
|
+
:param description: The description of the MutingRule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#description AlertMutingRule#description}
|
80
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#id AlertMutingRule#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
81
|
+
:param schedule: schedule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#schedule AlertMutingRule#schedule}
|
82
82
|
:param connection:
|
83
83
|
:param count:
|
84
84
|
:param depends_on:
|
@@ -124,7 +124,7 @@ class AlertMutingRule(
|
|
124
124
|
|
125
125
|
:param scope: The scope in which to define this construct.
|
126
126
|
:param import_to_id: The construct id used in the generated config for the AlertMutingRule to import.
|
127
|
-
:param import_from_id: The id of the existing AlertMutingRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
127
|
+
:param import_from_id: The id of the existing AlertMutingRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#import import section} in the documentation of this resource for the id to use
|
128
128
|
:param provider: ? Optional instance of the provider where the AlertMutingRule to import is found.
|
129
129
|
'''
|
130
130
|
if __debug__:
|
@@ -143,8 +143,8 @@ class AlertMutingRule(
|
|
143
143
|
operator: builtins.str,
|
144
144
|
) -> None:
|
145
145
|
'''
|
146
|
-
:param conditions: conditions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
147
|
-
:param operator: The operator used to combine all the MutingRuleConditions within the group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
146
|
+
:param conditions: conditions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#conditions AlertMutingRule#conditions}
|
147
|
+
:param operator: The operator used to combine all the MutingRuleConditions within the group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#operator AlertMutingRule#operator}
|
148
148
|
'''
|
149
149
|
value = AlertMutingRuleCondition(conditions=conditions, operator=operator)
|
150
150
|
|
@@ -163,13 +163,13 @@ class AlertMutingRule(
|
|
163
163
|
weekly_repeat_days: typing.Optional[typing.Sequence[builtins.str]] = None,
|
164
164
|
) -> None:
|
165
165
|
'''
|
166
|
-
:param time_zone: The time zone that applies to the MutingRule schedule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
167
|
-
:param end_repeat: The datetime stamp when the MutingRule schedule should stop repeating. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
168
|
-
:param end_time: The datetime stamp representing when the MutingRule should end. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
169
|
-
:param repeat: The frequency the MutingRule schedule repeats. One of [DAILY, WEEKLY, MONTHLY]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
170
|
-
:param repeat_count: The number of times the MutingRule schedule should repeat. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
171
|
-
:param start_time: The datetime stamp representing when the MutingRule should start. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
172
|
-
:param weekly_repeat_days: The day(s) of the week that a MutingRule should repeat when the repeat field is set to WEEKLY. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
166
|
+
:param time_zone: The time zone that applies to the MutingRule schedule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#time_zone AlertMutingRule#time_zone}
|
167
|
+
:param end_repeat: The datetime stamp when the MutingRule schedule should stop repeating. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#end_repeat AlertMutingRule#end_repeat}
|
168
|
+
:param end_time: The datetime stamp representing when the MutingRule should end. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#end_time AlertMutingRule#end_time}
|
169
|
+
:param repeat: The frequency the MutingRule schedule repeats. One of [DAILY, WEEKLY, MONTHLY]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#repeat AlertMutingRule#repeat}
|
170
|
+
:param repeat_count: The number of times the MutingRule schedule should repeat. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#repeat_count AlertMutingRule#repeat_count}
|
171
|
+
:param start_time: The datetime stamp representing when the MutingRule should start. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#start_time AlertMutingRule#start_time}
|
172
|
+
:param weekly_repeat_days: The day(s) of the week that a MutingRule should repeat when the repeat field is set to WEEKLY. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#weekly_repeat_days AlertMutingRule#weekly_repeat_days}
|
173
173
|
'''
|
174
174
|
value = AlertMutingRuleSchedule(
|
175
175
|
time_zone=time_zone,
|
@@ -357,8 +357,8 @@ class AlertMutingRuleCondition:
|
|
357
357
|
operator: builtins.str,
|
358
358
|
) -> None:
|
359
359
|
'''
|
360
|
-
:param conditions: conditions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
361
|
-
:param operator: The operator used to combine all the MutingRuleConditions within the group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
360
|
+
:param conditions: conditions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#conditions AlertMutingRule#conditions}
|
361
|
+
:param operator: The operator used to combine all the MutingRuleConditions within the group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#operator AlertMutingRule#operator}
|
362
362
|
'''
|
363
363
|
if __debug__:
|
364
364
|
type_hints = typing.get_type_hints(_typecheckingstub__dd98dc98f01ae80b26c4ac029d5f430720dc0ac872180953a8895612d904102b)
|
@@ -375,7 +375,7 @@ class AlertMutingRuleCondition:
|
|
375
375
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["AlertMutingRuleConditionConditions"]]:
|
376
376
|
'''conditions block.
|
377
377
|
|
378
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
378
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#conditions AlertMutingRule#conditions}
|
379
379
|
'''
|
380
380
|
result = self._values.get("conditions")
|
381
381
|
assert result is not None, "Required property 'conditions' is missing"
|
@@ -385,7 +385,7 @@ class AlertMutingRuleCondition:
|
|
385
385
|
def operator(self) -> builtins.str:
|
386
386
|
'''The operator used to combine all the MutingRuleConditions within the group.
|
387
387
|
|
388
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
388
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#operator AlertMutingRule#operator}
|
389
389
|
'''
|
390
390
|
result = self._values.get("operator")
|
391
391
|
assert result is not None, "Required property 'operator' is missing"
|
@@ -421,9 +421,9 @@ class AlertMutingRuleConditionConditions:
|
|
421
421
|
values: typing.Sequence[builtins.str],
|
422
422
|
) -> None:
|
423
423
|
'''
|
424
|
-
:param attribute: The attribute on an incident. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
425
|
-
:param operator: The operator used to compare the attribute's value with the supplied value(s). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
426
|
-
:param values: The value(s) to compare against the attribute's value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
424
|
+
:param attribute: The attribute on an incident. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#attribute AlertMutingRule#attribute}
|
425
|
+
:param operator: The operator used to compare the attribute's value with the supplied value(s). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#operator AlertMutingRule#operator}
|
426
|
+
:param values: The value(s) to compare against the attribute's value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#values AlertMutingRule#values}
|
427
427
|
'''
|
428
428
|
if __debug__:
|
429
429
|
type_hints = typing.get_type_hints(_typecheckingstub__a8ca093c0cac3cd5291106045e554f8171ec8ad8191031069202247fc142ac4a)
|
@@ -440,7 +440,7 @@ class AlertMutingRuleConditionConditions:
|
|
440
440
|
def attribute(self) -> builtins.str:
|
441
441
|
'''The attribute on an incident.
|
442
442
|
|
443
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
443
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#attribute AlertMutingRule#attribute}
|
444
444
|
'''
|
445
445
|
result = self._values.get("attribute")
|
446
446
|
assert result is not None, "Required property 'attribute' is missing"
|
@@ -450,7 +450,7 @@ class AlertMutingRuleConditionConditions:
|
|
450
450
|
def operator(self) -> builtins.str:
|
451
451
|
'''The operator used to compare the attribute's value with the supplied value(s).
|
452
452
|
|
453
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
453
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#operator AlertMutingRule#operator}
|
454
454
|
'''
|
455
455
|
result = self._values.get("operator")
|
456
456
|
assert result is not None, "Required property 'operator' is missing"
|
@@ -460,7 +460,7 @@ class AlertMutingRuleConditionConditions:
|
|
460
460
|
def values(self) -> typing.List[builtins.str]:
|
461
461
|
'''The value(s) to compare against the attribute's value.
|
462
462
|
|
463
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
463
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#values AlertMutingRule#values}
|
464
464
|
'''
|
465
465
|
result = self._values.get("values")
|
466
466
|
assert result is not None, "Required property 'values' is missing"
|
@@ -790,14 +790,14 @@ class AlertMutingRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
790
790
|
:param lifecycle:
|
791
791
|
:param provider:
|
792
792
|
:param provisioners:
|
793
|
-
:param condition: condition block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
794
|
-
:param enabled: Whether the MutingRule is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
795
|
-
:param name: The name of the MutingRule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
796
|
-
:param account_id: The account id of the MutingRule.. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
797
|
-
:param action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
798
|
-
:param description: The description of the MutingRule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
799
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
800
|
-
:param schedule: schedule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
793
|
+
:param condition: condition block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#condition AlertMutingRule#condition}
|
794
|
+
:param enabled: Whether the MutingRule is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#enabled AlertMutingRule#enabled}
|
795
|
+
:param name: The name of the MutingRule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#name AlertMutingRule#name}
|
796
|
+
:param account_id: The account id of the MutingRule.. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#account_id AlertMutingRule#account_id}
|
797
|
+
:param action_on_muting_rule_window_ended: The action when the muting rule window is ended or disabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#action_on_muting_rule_window_ended AlertMutingRule#action_on_muting_rule_window_ended}
|
798
|
+
:param description: The description of the MutingRule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#description AlertMutingRule#description}
|
799
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#id AlertMutingRule#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
800
|
+
:param schedule: schedule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#schedule AlertMutingRule#schedule}
|
801
801
|
'''
|
802
802
|
if isinstance(lifecycle, dict):
|
803
803
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
@@ -920,7 +920,7 @@ class AlertMutingRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
920
920
|
def condition(self) -> AlertMutingRuleCondition:
|
921
921
|
'''condition block.
|
922
922
|
|
923
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
923
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#condition AlertMutingRule#condition}
|
924
924
|
'''
|
925
925
|
result = self._values.get("condition")
|
926
926
|
assert result is not None, "Required property 'condition' is missing"
|
@@ -930,7 +930,7 @@ class AlertMutingRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
930
930
|
def enabled(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
931
931
|
'''Whether the MutingRule is enabled.
|
932
932
|
|
933
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
933
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#enabled AlertMutingRule#enabled}
|
934
934
|
'''
|
935
935
|
result = self._values.get("enabled")
|
936
936
|
assert result is not None, "Required property 'enabled' is missing"
|
@@ -940,7 +940,7 @@ class AlertMutingRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
940
940
|
def name(self) -> builtins.str:
|
941
941
|
'''The name of the MutingRule.
|
942
942
|
|
943
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
943
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#name AlertMutingRule#name}
|
944
944
|
'''
|
945
945
|
result = self._values.get("name")
|
946
946
|
assert result is not None, "Required property 'name' is missing"
|
@@ -950,7 +950,7 @@ class AlertMutingRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
950
950
|
def account_id(self) -> typing.Optional[jsii.Number]:
|
951
951
|
'''The account id of the MutingRule..
|
952
952
|
|
953
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
953
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#account_id AlertMutingRule#account_id}
|
954
954
|
'''
|
955
955
|
result = self._values.get("account_id")
|
956
956
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -959,7 +959,7 @@ class AlertMutingRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
959
959
|
def action_on_muting_rule_window_ended(self) -> typing.Optional[builtins.str]:
|
960
960
|
'''The action when the muting rule window is ended or disabled.
|
961
961
|
|
962
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
962
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#action_on_muting_rule_window_ended AlertMutingRule#action_on_muting_rule_window_ended}
|
963
963
|
'''
|
964
964
|
result = self._values.get("action_on_muting_rule_window_ended")
|
965
965
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -968,14 +968,14 @@ class AlertMutingRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
968
968
|
def description(self) -> typing.Optional[builtins.str]:
|
969
969
|
'''The description of the MutingRule.
|
970
970
|
|
971
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
971
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#description AlertMutingRule#description}
|
972
972
|
'''
|
973
973
|
result = self._values.get("description")
|
974
974
|
return typing.cast(typing.Optional[builtins.str], result)
|
975
975
|
|
976
976
|
@builtins.property
|
977
977
|
def id(self) -> typing.Optional[builtins.str]:
|
978
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
978
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#id AlertMutingRule#id}.
|
979
979
|
|
980
980
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
981
981
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
@@ -987,7 +987,7 @@ class AlertMutingRuleConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
987
987
|
def schedule(self) -> typing.Optional["AlertMutingRuleSchedule"]:
|
988
988
|
'''schedule block.
|
989
989
|
|
990
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
990
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#schedule AlertMutingRule#schedule}
|
991
991
|
'''
|
992
992
|
result = self._values.get("schedule")
|
993
993
|
return typing.cast(typing.Optional["AlertMutingRuleSchedule"], result)
|
@@ -1030,13 +1030,13 @@ class AlertMutingRuleSchedule:
|
|
1030
1030
|
weekly_repeat_days: typing.Optional[typing.Sequence[builtins.str]] = None,
|
1031
1031
|
) -> None:
|
1032
1032
|
'''
|
1033
|
-
:param time_zone: The time zone that applies to the MutingRule schedule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1034
|
-
:param end_repeat: The datetime stamp when the MutingRule schedule should stop repeating. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1035
|
-
:param end_time: The datetime stamp representing when the MutingRule should end. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1036
|
-
:param repeat: The frequency the MutingRule schedule repeats. One of [DAILY, WEEKLY, MONTHLY]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1037
|
-
:param repeat_count: The number of times the MutingRule schedule should repeat. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1038
|
-
:param start_time: The datetime stamp representing when the MutingRule should start. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1039
|
-
:param weekly_repeat_days: The day(s) of the week that a MutingRule should repeat when the repeat field is set to WEEKLY. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1033
|
+
:param time_zone: The time zone that applies to the MutingRule schedule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#time_zone AlertMutingRule#time_zone}
|
1034
|
+
:param end_repeat: The datetime stamp when the MutingRule schedule should stop repeating. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#end_repeat AlertMutingRule#end_repeat}
|
1035
|
+
:param end_time: The datetime stamp representing when the MutingRule should end. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#end_time AlertMutingRule#end_time}
|
1036
|
+
:param repeat: The frequency the MutingRule schedule repeats. One of [DAILY, WEEKLY, MONTHLY]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#repeat AlertMutingRule#repeat}
|
1037
|
+
:param repeat_count: The number of times the MutingRule schedule should repeat. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#repeat_count AlertMutingRule#repeat_count}
|
1038
|
+
:param start_time: The datetime stamp representing when the MutingRule should start. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#start_time AlertMutingRule#start_time}
|
1039
|
+
:param weekly_repeat_days: The day(s) of the week that a MutingRule should repeat when the repeat field is set to WEEKLY. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#weekly_repeat_days AlertMutingRule#weekly_repeat_days}
|
1040
1040
|
'''
|
1041
1041
|
if __debug__:
|
1042
1042
|
type_hints = typing.get_type_hints(_typecheckingstub__1a6411425d56d8aeb41c89558fa120864d42b91b654b108c44f191df98a7fec4)
|
@@ -1067,7 +1067,7 @@ class AlertMutingRuleSchedule:
|
|
1067
1067
|
def time_zone(self) -> builtins.str:
|
1068
1068
|
'''The time zone that applies to the MutingRule schedule.
|
1069
1069
|
|
1070
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1070
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#time_zone AlertMutingRule#time_zone}
|
1071
1071
|
'''
|
1072
1072
|
result = self._values.get("time_zone")
|
1073
1073
|
assert result is not None, "Required property 'time_zone' is missing"
|
@@ -1077,7 +1077,7 @@ class AlertMutingRuleSchedule:
|
|
1077
1077
|
def end_repeat(self) -> typing.Optional[builtins.str]:
|
1078
1078
|
'''The datetime stamp when the MutingRule schedule should stop repeating.
|
1079
1079
|
|
1080
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1080
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#end_repeat AlertMutingRule#end_repeat}
|
1081
1081
|
'''
|
1082
1082
|
result = self._values.get("end_repeat")
|
1083
1083
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1086,7 +1086,7 @@ class AlertMutingRuleSchedule:
|
|
1086
1086
|
def end_time(self) -> typing.Optional[builtins.str]:
|
1087
1087
|
'''The datetime stamp representing when the MutingRule should end.
|
1088
1088
|
|
1089
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1089
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#end_time AlertMutingRule#end_time}
|
1090
1090
|
'''
|
1091
1091
|
result = self._values.get("end_time")
|
1092
1092
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1095,7 +1095,7 @@ class AlertMutingRuleSchedule:
|
|
1095
1095
|
def repeat(self) -> typing.Optional[builtins.str]:
|
1096
1096
|
'''The frequency the MutingRule schedule repeats. One of [DAILY, WEEKLY, MONTHLY].
|
1097
1097
|
|
1098
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1098
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#repeat AlertMutingRule#repeat}
|
1099
1099
|
'''
|
1100
1100
|
result = self._values.get("repeat")
|
1101
1101
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1104,7 +1104,7 @@ class AlertMutingRuleSchedule:
|
|
1104
1104
|
def repeat_count(self) -> typing.Optional[jsii.Number]:
|
1105
1105
|
'''The number of times the MutingRule schedule should repeat.
|
1106
1106
|
|
1107
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1107
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#repeat_count AlertMutingRule#repeat_count}
|
1108
1108
|
'''
|
1109
1109
|
result = self._values.get("repeat_count")
|
1110
1110
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -1113,7 +1113,7 @@ class AlertMutingRuleSchedule:
|
|
1113
1113
|
def start_time(self) -> typing.Optional[builtins.str]:
|
1114
1114
|
'''The datetime stamp representing when the MutingRule should start.
|
1115
1115
|
|
1116
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1116
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#start_time AlertMutingRule#start_time}
|
1117
1117
|
'''
|
1118
1118
|
result = self._values.get("start_time")
|
1119
1119
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1122,7 +1122,7 @@ class AlertMutingRuleSchedule:
|
|
1122
1122
|
def weekly_repeat_days(self) -> typing.Optional[typing.List[builtins.str]]:
|
1123
1123
|
'''The day(s) of the week that a MutingRule should repeat when the repeat field is set to WEEKLY.
|
1124
1124
|
|
1125
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
1125
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_muting_rule#weekly_repeat_days AlertMutingRule#weekly_repeat_days}
|
1126
1126
|
'''
|
1127
1127
|
result = self._values.get("weekly_repeat_days")
|
1128
1128
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
r'''
|
2
2
|
# `newrelic_alert_policy`
|
3
3
|
|
4
|
-
Refer to the Terraform Registry for docs: [`newrelic_alert_policy`](https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
4
|
+
Refer to the Terraform Registry for docs: [`newrelic_alert_policy`](https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy).
|
5
5
|
'''
|
6
6
|
from pkgutil import extend_path
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
@@ -44,7 +44,7 @@ class AlertPolicy(
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
45
45
|
jsii_type="@cdktf/provider-newrelic.alertPolicy.AlertPolicy",
|
46
46
|
):
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy newrelic_alert_policy}.'''
|
48
48
|
|
49
49
|
def __init__(
|
50
50
|
self,
|
@@ -64,15 +64,15 @@ class AlertPolicy(
|
|
64
64
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
65
65
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
66
66
|
) -> None:
|
67
|
-
'''Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
67
|
+
'''Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy newrelic_alert_policy} Resource.
|
68
68
|
|
69
69
|
:param scope: The scope in which to define this construct.
|
70
70
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
71
|
-
:param name: The name of the policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
72
|
-
:param account_id: The New Relic account ID to operate on. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
73
|
-
:param channel_ids: An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be imported via terraform import. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
74
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
75
|
-
:param incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
71
|
+
:param name: The name of the policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#name AlertPolicy#name}
|
72
|
+
:param account_id: The New Relic account ID to operate on. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#account_id AlertPolicy#account_id}
|
73
|
+
:param channel_ids: An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be imported via terraform import. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#channel_ids AlertPolicy#channel_ids}
|
74
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#id AlertPolicy#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
75
|
+
:param incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#incident_preference AlertPolicy#incident_preference}
|
76
76
|
:param connection:
|
77
77
|
:param count:
|
78
78
|
:param depends_on:
|
@@ -115,7 +115,7 @@ class AlertPolicy(
|
|
115
115
|
|
116
116
|
:param scope: The scope in which to define this construct.
|
117
117
|
:param import_to_id: The construct id used in the generated config for the AlertPolicy to import.
|
118
|
-
:param import_from_id: The id of the existing AlertPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
118
|
+
:param import_from_id: The id of the existing AlertPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#import import section} in the documentation of this resource for the id to use
|
119
119
|
:param provider: ? Optional instance of the provider where the AlertPolicy to import is found.
|
120
120
|
'''
|
121
121
|
if __debug__:
|
@@ -284,11 +284,11 @@ class AlertPolicyConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
284
284
|
:param lifecycle:
|
285
285
|
:param provider:
|
286
286
|
:param provisioners:
|
287
|
-
:param name: The name of the policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
288
|
-
:param account_id: The New Relic account ID to operate on. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
289
|
-
:param channel_ids: An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be imported via terraform import. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
290
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
291
|
-
:param incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
287
|
+
:param name: The name of the policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#name AlertPolicy#name}
|
288
|
+
:param account_id: The New Relic account ID to operate on. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#account_id AlertPolicy#account_id}
|
289
|
+
:param channel_ids: An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be imported via terraform import. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#channel_ids AlertPolicy#channel_ids}
|
290
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#id AlertPolicy#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
291
|
+
:param incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#incident_preference AlertPolicy#incident_preference}
|
292
292
|
'''
|
293
293
|
if isinstance(lifecycle, dict):
|
294
294
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
@@ -400,7 +400,7 @@ class AlertPolicyConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
400
400
|
def name(self) -> builtins.str:
|
401
401
|
'''The name of the policy.
|
402
402
|
|
403
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
403
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#name AlertPolicy#name}
|
404
404
|
'''
|
405
405
|
result = self._values.get("name")
|
406
406
|
assert result is not None, "Required property 'name' is missing"
|
@@ -410,7 +410,7 @@ class AlertPolicyConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
410
410
|
def account_id(self) -> typing.Optional[jsii.Number]:
|
411
411
|
'''The New Relic account ID to operate on.
|
412
412
|
|
413
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
413
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#account_id AlertPolicy#account_id}
|
414
414
|
'''
|
415
415
|
result = self._values.get("account_id")
|
416
416
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -421,14 +421,14 @@ class AlertPolicyConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
421
421
|
|
422
422
|
Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be imported via terraform import.
|
423
423
|
|
424
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
424
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#channel_ids AlertPolicy#channel_ids}
|
425
425
|
'''
|
426
426
|
result = self._values.get("channel_ids")
|
427
427
|
return typing.cast(typing.Optional[typing.List[jsii.Number]], result)
|
428
428
|
|
429
429
|
@builtins.property
|
430
430
|
def id(self) -> typing.Optional[builtins.str]:
|
431
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
431
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#id AlertPolicy#id}.
|
432
432
|
|
433
433
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
434
434
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
@@ -440,7 +440,7 @@ class AlertPolicyConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
440
440
|
def incident_preference(self) -> typing.Optional[builtins.str]:
|
441
441
|
'''The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY.
|
442
442
|
|
443
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
443
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.6/docs/resources/alert_policy#incident_preference AlertPolicy#incident_preference}
|
444
444
|
'''
|
445
445
|
result = self._values.get("incident_preference")
|
446
446
|
return typing.cast(typing.Optional[builtins.str], result)
|