oci_data_safe_alert_policy_rule

This resource provides the Alert Policy Rule resource in Oracle Cloud Infrastructure Data Safe service.

Creates a new rule for the alert policy.

Example Usage

resource "oci_data_safe_alert_policy_rule" "test_alert_policy_rule" {
	#Required
	alert_policy_id = oci_data_safe_alert_policy.test_alert_policy.id
	expression = var.alert_policy_rule_expression

	#Optional
	description = var.alert_policy_rule_description
	display_name = var.alert_policy_rule_display_name
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Alert Policy Rule * update - (Defaults to 20 minutes), when updating the Alert Policy Rule * delete - (Defaults to 20 minutes), when destroying the Alert Policy Rule

Import

AlertPolicyRules can be imported using the id, e.g.

$ terraform import oci_data_safe_alert_policy_rule.test_alert_policy_rule "alertPolicies/{alertPolicyId}/rules/{ruleKey}"