Data Source: oci_demand_signal_occ_demand_signals
This data source provides the list of Occ Demand Signals in Oracle Cloud Infrastructure Demand Signal service.
Gets a list of OccDemandSignals.
Example Usage
data "oci_demand_signal_occ_demand_signals" "test_occ_demand_signals" {
#Optional
compartment_id = var.compartment_id
display_name = var.occ_demand_signal_display_name
id = var.occ_demand_signal_id
state = var.occ_demand_signal_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Optional) The OCID of the compartment in which to list resources.display_name
- (Optional) A filter to return only resources that match the given display name exactly.id
- (Optional) The OCID of the OccDemandSignal.state
- (Optional) A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
Attributes Reference
The following attributes are exported:
occ_demand_signal_collection
- The list of occ_demand_signal_collection.
OccDemandSignal Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
display_name
- A user-friendly name. Does not have to be unique, and it’s changeable.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}
id
- The OCID of the OccDemandSignal.is_active
- Indicator of whether to share the data with Oracle.lifecycle_details
- A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.occ_demand_signals
- The OccDemandSignal data.resource_type
- The name of the resource for the data.units
- The units of the data.values
- The values of forecast.comments
- Space provided for users to make comments regarding the value.time_expected
- The date of the Demand Signal Value.value
- The Demand Signal Value.
state
- The current state of the OccDemandSignal.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Z
time_updated
- The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Z