oci_capacity_management_occm_demand_signal_item

This resource provides the Occm Demand Signal Item resource in Oracle Cloud Infrastructure Capacity Management service.

This API will create a demand signal item representing a resource request. This needs to be grouped under a demand signal.

Example Usage

resource "oci_capacity_management_occm_demand_signal_item" "test_occm_demand_signal_item" {
	#Required
	compartment_id = var.compartment_id
	demand_quantity = var.occm_demand_signal_item_demand_quantity
	demand_signal_catalog_resource_id = oci_cloud_guard_resource.test_resource.id
	demand_signal_id = oci_capacity_management_demand_signal.test_demand_signal.id
	region = var.occm_demand_signal_item_region
	request_type = var.occm_demand_signal_item_request_type
	resource_properties = var.occm_demand_signal_item_resource_properties
	time_needed_before = var.occm_demand_signal_item_time_needed_before

	#Optional
	availability_domain = var.occm_demand_signal_item_availability_domain
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
	notes = var.occm_demand_signal_item_notes
	target_compartment_id = oci_identity_compartment.test_compartment.id
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Occm Demand Signal Item * update - (Defaults to 20 minutes), when updating the Occm Demand Signal Item * delete - (Defaults to 20 minutes), when destroying the Occm Demand Signal Item

Import

OccmDemandSignalItems can be imported using the id, e.g.

$ terraform import oci_capacity_management_occm_demand_signal_item.test_occm_demand_signal_item "id"