Data Source: oci_optimizer_resource_actions

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

Lists the Cloud Advisor resource actions that are supported.

Example Usage

data "oci_optimizer_resource_actions" "test_resource_actions" {
	#Required
	compartment_id = var.compartment_id
	compartment_id_in_subtree = var.resource_action_compartment_id_in_subtree

	#Optional
	child_tenancy_ids = var.resource_action_child_tenancy_ids
	include_organization = var.resource_action_include_organization
	include_resource_metadata = var.resource_action_include_resource_metadata
	name = var.resource_action_name
	recommendation_id = oci_optimizer_recommendation.test_recommendation.id
	recommendation_name = oci_optimizer_recommendation.test_recommendation.name
	resource_type = var.resource_action_resource_type
	state = var.resource_action_state
	status = var.resource_action_status
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ResourceAction Reference

The following attributes are exported: