Data Source: oci_monitoring_alarm_statuses

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

List the status of each alarm in the specified compartment. Status is collective, across all metric streams in the alarm. To list alarm status for each metric stream, use RetrieveDimensionStates. Optionally filter by resource or status value.

For more information, see Listing Alarm Statuses. 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_alarm_statuses" "test_alarm_statuses" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	compartment_id_in_subtree = var.alarm_status_compartment_id_in_subtree
	display_name = var.alarm_status_display_name
	entity_id = oci_monitoring_entity.test_entity.id
	resource_id = oci_monitoring_resource.test_resource.id
	service_name = oci_core_service.test_service.name
	status = var.alarm_status_status
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

AlarmStatus Reference

The following attributes are exported: