Data Source: oci_stack_monitoring_monitoring_templates

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

Returns a list of Monitoring Templates.

Example Usage

data "oci_stack_monitoring_monitoring_templates" "test_monitoring_templates" {

	#Optional
	compartment_id = var.compartment_id
	display_name = var.monitoring_template_display_name
	metric_name = oci_monitoring_metric.test_metric.name
	monitoring_template_id = oci_stack_monitoring_monitoring_template.test_monitoring_template.id
	namespace = var.monitoring_template_namespace
	resource_types = var.monitoring_template_resource_types
	state = var.monitoring_template_state
	status = var.monitoring_template_status
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

MonitoringTemplate Reference

The following attributes are exported: