Data Source: oci_monitoring_alarms

This data source provides the list of Alarms in Oracle Cloud Infrastructure Monitoring service.

Lists the alarms for the specified compartment. For more information, see Listing Alarms. 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

data "oci_monitoring_alarms" "test_alarms" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	compartment_id_in_subtree = var.alarm_compartment_id_in_subtree
	display_name = var.alarm_display_name
	state = var.alarm_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Alarm Reference

The following attributes are exported: