oci_data_safe_alert

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

Updates the status of the specified alert.

Example Usage

resource "oci_data_safe_alert" "test_alert" {
	#Required
	alert_id = oci_data_safe_alert.test_alert.id

	#Optional
	comment = var.alert_comment
	defined_tags = {"Operations.CostCenter"= "42"}
	freeform_tags = {"Department"= "Finance"}
	status = var.alert_status
}

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 * update - (Defaults to 20 minutes), when updating the Alert * delete - (Defaults to 20 minutes), when destroying the Alert

Import

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

$ terraform import oci_data_safe_alert.test_alert "id"