Data Source: oci_capacity_management_internal_occm_demand_signals
This data source provides the list of Internal Occm Demand Signals in Oracle Cloud Infrastructure Capacity Management service.
This is an internal GET call is used to list all demand signals within the compartment passed as a query parameter.
Example Usage
data "oci_capacity_management_internal_occm_demand_signals" "test_internal_occm_demand_signals" {
#Required
compartment_id = var.compartment_id
occ_customer_group_id = oci_capacity_management_occ_customer_group.test_occ_customer_group.id
#Optional
display_name = var.internal_occm_demand_signal_display_name
id = var.internal_occm_demand_signal_id
lifecycle_details = var.internal_occm_demand_signal_lifecycle_details
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.display_name
- (Optional) A filter to return only the resources that match the entire display name. The match is not case sensitive.id
- (Optional) A query parameter to filter the list of demand signals based on it’s OCID.lifecycle_details
- (Optional) A query parameter to filter the list of demand signals based on its state.occ_customer_group_id
- (Required) The customer group ocid by which we would filter the list.
Attributes Reference
The following attributes are exported:
internal_occm_demand_signal_collection
- The list of internal_occm_demand_signal_collection.
InternalOccmDemandSignal Reference
The following attributes are exported:
compartment_id
- The OCID of the tenancy from which the request to create the demand signal was made.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
description
- A short description about the demand signal.display_name
- The display name of the demand signal.freeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- The OCID of the demand signal.lifecycle_details
- The different states associated with a demand signal.CREATED -> A demand signal is by default created in this state. SUBMITTED -> Once you have reviewed the details of the demand signal, you can transition it to SUBMITTED state so that Oracle Cloud Infrastructure can start working on it. DELETED -> You can delete a demand signal as long as it is in either CREATED or SUBMITTED state. IN_PROGRESS -> Once Oracle Cloud Infrastructure starts working on a given demand signal. They transition it to IN_PROGRESS. REJECTED -> Oracle Cloud Infrastructure can transition the demand signal to this state if all the demand signal items of that demand signal are declined. COMPLETED -> Oracle Cloud Infrastructure will transition the demand signal to COMPLETED state once the quantities which Oracle Cloud Infrastructure committed to deliver to you has been delivered.
occ_customer_group_id
- The OCID of the customer group in which the demand signal is created.state
- The current lifecycle state of the demand signal.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 time when the demand signal was created.time_updated
- The time when the demand signal was last updated.