Data Source: oci_optimizer_histories

This data source provides the list of Histories in Oracle Cloud Infrastructure Optimizer service.

Lists changes to the recommendations based on user activity. For example, lists when recommendations have been implemented, dismissed, postponed, or reactivated.

Example Usage

data "oci_optimizer_histories" "test_histories" {
	#Required
	compartment_id = var.compartment_id
	compartment_id_in_subtree = var.history_compartment_id_in_subtree

	#Optional
	include_resource_metadata = var.history_include_resource_metadata
	name = var.history_name
	recommendation_id = oci_optimizer_recommendation.test_recommendation.id
	recommendation_name = oci_optimizer_recommendation.test_recommendation.name
	resource_type = var.history_resource_type
	state = var.history_state
	status = var.history_status
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

History Reference

The following attributes are exported: