oci_monitoring_alarm_suppression

This resource provides the Alarm Suppression resource in Oracle Cloud Infrastructure Monitoring service.

Creates a dimension-specific suppression for an alarm.

For important limits information, see Limits on Monitoring.

This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.

Example Usage

resource "oci_monitoring_alarm_suppression" "test_alarm_suppression" {
	#Required
	alarm_suppression_target {
		#Required
		alarm_id = oci_monitoring_alarm.test_alarm.id
		target_type = var.alarm_suppression_alarm_suppression_target_target_type
	}
	dimensions = var.alarm_suppression_dimensions
	display_name = var.alarm_suppression_display_name
	time_suppress_from = var.alarm_suppression_time_suppress_from
	time_suppress_until = var.alarm_suppression_time_suppress_until

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.alarm_suppression_description
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_monitoring_alarm_suppression.test_alarm_suppression "id"