cdktf-cdktf-provider-newrelic 13.7.0__py3-none-any.whl → 13.7.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.
- 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.1.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 +1224 -1224
- 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.0.dist-info → cdktf_cdktf_provider_newrelic-13.7.1.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_newrelic-13.7.1.dist-info/RECORD +76 -0
- cdktf_cdktf_provider_newrelic/_jsii/provider-newrelic@13.7.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_newrelic-13.7.0.dist-info/RECORD +0 -76
- {cdktf_cdktf_provider_newrelic-13.7.0.dist-info → cdktf_cdktf_provider_newrelic-13.7.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_newrelic-13.7.0.dist-info → cdktf_cdktf_provider_newrelic-13.7.1.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_newrelic-13.7.0.dist-info → cdktf_cdktf_provider_newrelic-13.7.1.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
r'''
|
2
2
|
# `newrelic_alert_condition`
|
3
3
|
|
4
|
-
Refer to the Terraform Registry for docs: [`newrelic_alert_condition`](https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
4
|
+
Refer to the Terraform Registry for docs: [`newrelic_alert_condition`](https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition).
|
5
5
|
'''
|
6
6
|
from pkgutil import extend_path
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
@@ -44,7 +44,7 @@ class AlertCondition(
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
45
45
|
jsii_type="@cdktf/provider-newrelic.alertCondition.AlertCondition",
|
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.2/docs/resources/alert_condition newrelic_alert_condition}.'''
|
48
48
|
|
49
49
|
def __init__(
|
50
50
|
self,
|
@@ -73,24 +73,24 @@ class AlertCondition(
|
|
73
73
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
74
74
|
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,
|
75
75
|
) -> None:
|
76
|
-
'''Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
76
|
+
'''Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition newrelic_alert_condition} Resource.
|
77
77
|
|
78
78
|
:param scope: The scope in which to define this construct.
|
79
79
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
80
|
-
:param entities: The instance IDs associated with this condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
81
|
-
:param metric: The metric field accepts parameters based on the type set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
82
|
-
:param name: The title of the condition. Must be between 1 and 128 characters, inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
83
|
-
:param policy_id: The ID of the policy where this condition should be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
84
|
-
:param term: term block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
85
|
-
:param type: The type of condition. One of: (
|
86
|
-
:param condition_scope: One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
87
|
-
:param enabled: Whether the condition is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
88
|
-
:param gc_metric: A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with gc_cpu_time condition type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
89
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
90
|
-
:param runbook_url: Runbook URL to display in notifications. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
91
|
-
:param user_defined_metric: A custom metric to be evaluated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
92
|
-
:param user_defined_value_function: One of: (average, min, max, total, sample_size, percent, rate). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
93
|
-
:param violation_close_timer: Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be between 1 and 720 hours. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
80
|
+
:param entities: The instance IDs associated with this condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#entities AlertCondition#entities}
|
81
|
+
:param metric: The metric field accepts parameters based on the type set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#metric AlertCondition#metric}
|
82
|
+
:param name: The title of the condition. Must be between 1 and 128 characters, inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#name AlertCondition#name}
|
83
|
+
:param policy_id: The ID of the policy where this condition should be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#policy_id AlertCondition#policy_id}
|
84
|
+
:param term: term block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#term AlertCondition#term}
|
85
|
+
:param type: The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric, servers_metric). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#type AlertCondition#type}
|
86
|
+
:param condition_scope: One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#condition_scope AlertCondition#condition_scope}
|
87
|
+
:param enabled: Whether the condition is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#enabled AlertCondition#enabled}
|
88
|
+
:param gc_metric: A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with gc_cpu_time condition type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#gc_metric AlertCondition#gc_metric}
|
89
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#id AlertCondition#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.
|
90
|
+
:param runbook_url: Runbook URL to display in notifications. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#runbook_url AlertCondition#runbook_url}
|
91
|
+
:param user_defined_metric: A custom metric to be evaluated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#user_defined_metric AlertCondition#user_defined_metric}
|
92
|
+
:param user_defined_value_function: One of: (average, min, max, total, sample_size, percent, rate). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#user_defined_value_function AlertCondition#user_defined_value_function}
|
93
|
+
:param violation_close_timer: Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be between 1 and 720 hours. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#violation_close_timer AlertCondition#violation_close_timer}
|
94
94
|
:param connection:
|
95
95
|
:param count:
|
96
96
|
:param depends_on:
|
@@ -142,7 +142,7 @@ class AlertCondition(
|
|
142
142
|
|
143
143
|
:param scope: The scope in which to define this construct.
|
144
144
|
:param import_to_id: The construct id used in the generated config for the AlertCondition to import.
|
145
|
-
:param import_from_id: The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
145
|
+
:param import_from_id: The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#import import section} in the documentation of this resource for the id to use
|
146
146
|
:param provider: ? Optional instance of the provider where the AlertCondition to import is found.
|
147
147
|
'''
|
148
148
|
if __debug__:
|
@@ -516,20 +516,20 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
516
516
|
:param lifecycle:
|
517
517
|
:param provider:
|
518
518
|
:param provisioners:
|
519
|
-
:param entities: The instance IDs associated with this condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
520
|
-
:param metric: The metric field accepts parameters based on the type set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
521
|
-
:param name: The title of the condition. Must be between 1 and 128 characters, inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
522
|
-
:param policy_id: The ID of the policy where this condition should be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
523
|
-
:param term: term block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
524
|
-
:param type: The type of condition. One of: (
|
525
|
-
:param condition_scope: One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
526
|
-
:param enabled: Whether the condition is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
527
|
-
:param gc_metric: A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with gc_cpu_time condition type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
528
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
529
|
-
:param runbook_url: Runbook URL to display in notifications. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
530
|
-
:param user_defined_metric: A custom metric to be evaluated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
531
|
-
:param user_defined_value_function: One of: (average, min, max, total, sample_size, percent, rate). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
532
|
-
:param violation_close_timer: Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be between 1 and 720 hours. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
519
|
+
:param entities: The instance IDs associated with this condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#entities AlertCondition#entities}
|
520
|
+
:param metric: The metric field accepts parameters based on the type set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#metric AlertCondition#metric}
|
521
|
+
:param name: The title of the condition. Must be between 1 and 128 characters, inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#name AlertCondition#name}
|
522
|
+
:param policy_id: The ID of the policy where this condition should be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#policy_id AlertCondition#policy_id}
|
523
|
+
:param term: term block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#term AlertCondition#term}
|
524
|
+
:param type: The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric, servers_metric). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#type AlertCondition#type}
|
525
|
+
:param condition_scope: One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#condition_scope AlertCondition#condition_scope}
|
526
|
+
:param enabled: Whether the condition is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#enabled AlertCondition#enabled}
|
527
|
+
:param gc_metric: A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with gc_cpu_time condition type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#gc_metric AlertCondition#gc_metric}
|
528
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#id AlertCondition#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.
|
529
|
+
:param runbook_url: Runbook URL to display in notifications. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#runbook_url AlertCondition#runbook_url}
|
530
|
+
:param user_defined_metric: A custom metric to be evaluated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#user_defined_metric AlertCondition#user_defined_metric}
|
531
|
+
:param user_defined_value_function: One of: (average, min, max, total, sample_size, percent, rate). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#user_defined_value_function AlertCondition#user_defined_value_function}
|
532
|
+
:param violation_close_timer: Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be between 1 and 720 hours. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#violation_close_timer AlertCondition#violation_close_timer}
|
533
533
|
'''
|
534
534
|
if isinstance(lifecycle, dict):
|
535
535
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
@@ -663,7 +663,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
663
663
|
def entities(self) -> typing.List[jsii.Number]:
|
664
664
|
'''The instance IDs associated with this condition.
|
665
665
|
|
666
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
666
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#entities AlertCondition#entities}
|
667
667
|
'''
|
668
668
|
result = self._values.get("entities")
|
669
669
|
assert result is not None, "Required property 'entities' is missing"
|
@@ -673,7 +673,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
673
673
|
def metric(self) -> builtins.str:
|
674
674
|
'''The metric field accepts parameters based on the type set.
|
675
675
|
|
676
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
676
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#metric AlertCondition#metric}
|
677
677
|
'''
|
678
678
|
result = self._values.get("metric")
|
679
679
|
assert result is not None, "Required property 'metric' is missing"
|
@@ -683,7 +683,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
683
683
|
def name(self) -> builtins.str:
|
684
684
|
'''The title of the condition. Must be between 1 and 128 characters, inclusive.
|
685
685
|
|
686
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
686
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#name AlertCondition#name}
|
687
687
|
'''
|
688
688
|
result = self._values.get("name")
|
689
689
|
assert result is not None, "Required property 'name' is missing"
|
@@ -693,7 +693,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
693
693
|
def policy_id(self) -> jsii.Number:
|
694
694
|
'''The ID of the policy where this condition should be used.
|
695
695
|
|
696
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
696
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#policy_id AlertCondition#policy_id}
|
697
697
|
'''
|
698
698
|
result = self._values.get("policy_id")
|
699
699
|
assert result is not None, "Required property 'policy_id' is missing"
|
@@ -705,7 +705,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
705
705
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["AlertConditionTerm"]]:
|
706
706
|
'''term block.
|
707
707
|
|
708
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
708
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#term AlertCondition#term}
|
709
709
|
'''
|
710
710
|
result = self._values.get("term")
|
711
711
|
assert result is not None, "Required property 'term' is missing"
|
@@ -713,9 +713,9 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
713
713
|
|
714
714
|
@builtins.property
|
715
715
|
def type(self) -> builtins.str:
|
716
|
-
'''The type of condition. One of: (
|
716
|
+
'''The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric, servers_metric).
|
717
717
|
|
718
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
718
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#type AlertCondition#type}
|
719
719
|
'''
|
720
720
|
result = self._values.get("type")
|
721
721
|
assert result is not None, "Required property 'type' is missing"
|
@@ -727,7 +727,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
727
727
|
|
728
728
|
Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances.
|
729
729
|
|
730
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
730
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#condition_scope AlertCondition#condition_scope}
|
731
731
|
'''
|
732
732
|
result = self._values.get("condition_scope")
|
733
733
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -738,7 +738,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
738
738
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
739
739
|
'''Whether the condition is enabled.
|
740
740
|
|
741
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
741
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#enabled AlertCondition#enabled}
|
742
742
|
'''
|
743
743
|
result = self._values.get("enabled")
|
744
744
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -747,14 +747,14 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
747
747
|
def gc_metric(self) -> typing.Optional[builtins.str]:
|
748
748
|
'''A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with gc_cpu_time condition type.
|
749
749
|
|
750
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
750
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#gc_metric AlertCondition#gc_metric}
|
751
751
|
'''
|
752
752
|
result = self._values.get("gc_metric")
|
753
753
|
return typing.cast(typing.Optional[builtins.str], result)
|
754
754
|
|
755
755
|
@builtins.property
|
756
756
|
def id(self) -> typing.Optional[builtins.str]:
|
757
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
757
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#id AlertCondition#id}.
|
758
758
|
|
759
759
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
760
760
|
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.
|
@@ -766,7 +766,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
766
766
|
def runbook_url(self) -> typing.Optional[builtins.str]:
|
767
767
|
'''Runbook URL to display in notifications.
|
768
768
|
|
769
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
769
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#runbook_url AlertCondition#runbook_url}
|
770
770
|
'''
|
771
771
|
result = self._values.get("runbook_url")
|
772
772
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -775,7 +775,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
775
775
|
def user_defined_metric(self) -> typing.Optional[builtins.str]:
|
776
776
|
'''A custom metric to be evaluated.
|
777
777
|
|
778
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
778
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#user_defined_metric AlertCondition#user_defined_metric}
|
779
779
|
'''
|
780
780
|
result = self._values.get("user_defined_metric")
|
781
781
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -784,7 +784,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
784
784
|
def user_defined_value_function(self) -> typing.Optional[builtins.str]:
|
785
785
|
'''One of: (average, min, max, total, sample_size, percent, rate).
|
786
786
|
|
787
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
787
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#user_defined_value_function AlertCondition#user_defined_value_function}
|
788
788
|
'''
|
789
789
|
result = self._values.get("user_defined_value_function")
|
790
790
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -795,7 +795,7 @@ class AlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
795
795
|
|
796
796
|
Must be between 1 and 720 hours.
|
797
797
|
|
798
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
798
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#violation_close_timer AlertCondition#violation_close_timer}
|
799
799
|
'''
|
800
800
|
result = self._values.get("violation_close_timer")
|
801
801
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -834,11 +834,11 @@ class AlertConditionTerm:
|
|
834
834
|
priority: typing.Optional[builtins.str] = None,
|
835
835
|
) -> None:
|
836
836
|
'''
|
837
|
-
:param duration: In minutes, must be in the range of 5 to 120, inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
838
|
-
:param threshold: Must be 0 or greater. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
839
|
-
:param time_function: One of (all, any). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
840
|
-
:param operator: One of (above, below, equal). Defaults to equal. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
841
|
-
:param priority: One of (critical, warning). Defaults to critical. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
837
|
+
:param duration: In minutes, must be in the range of 5 to 120, inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#duration AlertCondition#duration}
|
838
|
+
:param threshold: Must be 0 or greater. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#threshold AlertCondition#threshold}
|
839
|
+
:param time_function: One of (all, any). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#time_function AlertCondition#time_function}
|
840
|
+
:param operator: One of (above, below, equal). Defaults to equal. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#operator AlertCondition#operator}
|
841
|
+
:param priority: One of (critical, warning). Defaults to critical. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#priority AlertCondition#priority}
|
842
842
|
'''
|
843
843
|
if __debug__:
|
844
844
|
type_hints = typing.get_type_hints(_typecheckingstub__875db0a7cd53797019a3f5180766e26ab6115f465d677d5b00fdaed983c5a5b1)
|
@@ -861,7 +861,7 @@ class AlertConditionTerm:
|
|
861
861
|
def duration(self) -> jsii.Number:
|
862
862
|
'''In minutes, must be in the range of 5 to 120, inclusive.
|
863
863
|
|
864
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
864
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#duration AlertCondition#duration}
|
865
865
|
'''
|
866
866
|
result = self._values.get("duration")
|
867
867
|
assert result is not None, "Required property 'duration' is missing"
|
@@ -871,7 +871,7 @@ class AlertConditionTerm:
|
|
871
871
|
def threshold(self) -> jsii.Number:
|
872
872
|
'''Must be 0 or greater.
|
873
873
|
|
874
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
874
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#threshold AlertCondition#threshold}
|
875
875
|
'''
|
876
876
|
result = self._values.get("threshold")
|
877
877
|
assert result is not None, "Required property 'threshold' is missing"
|
@@ -881,7 +881,7 @@ class AlertConditionTerm:
|
|
881
881
|
def time_function(self) -> builtins.str:
|
882
882
|
'''One of (all, any).
|
883
883
|
|
884
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
884
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#time_function AlertCondition#time_function}
|
885
885
|
'''
|
886
886
|
result = self._values.get("time_function")
|
887
887
|
assert result is not None, "Required property 'time_function' is missing"
|
@@ -891,7 +891,7 @@ class AlertConditionTerm:
|
|
891
891
|
def operator(self) -> typing.Optional[builtins.str]:
|
892
892
|
'''One of (above, below, equal). Defaults to equal.
|
893
893
|
|
894
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
894
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#operator AlertCondition#operator}
|
895
895
|
'''
|
896
896
|
result = self._values.get("operator")
|
897
897
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -900,7 +900,7 @@ class AlertConditionTerm:
|
|
900
900
|
def priority(self) -> typing.Optional[builtins.str]:
|
901
901
|
'''One of (critical, warning). Defaults to critical.
|
902
902
|
|
903
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.
|
903
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.2/docs/resources/alert_condition#priority AlertCondition#priority}
|
904
904
|
'''
|
905
905
|
result = self._values.get("priority")
|
906
906
|
return typing.cast(typing.Optional[builtins.str], result)
|