Data Source: oci_budget_cost_anomaly_event
This data source provides details about a specific Cost Anomaly Event resource in Oracle Cloud Infrastructure Budget service.
Gets a CostAnomalyEvent by the identifier.
Example Usage
data "oci_budget_cost_anomaly_event" "test_cost_anomaly_event" {
#Required
cost_anomaly_event_id = oci_budget_cost_anomaly_event.test_cost_anomaly_event.id
}
Argument Reference
The following arguments are supported:
cost_anomaly_event_id- (Required) The unique costAnomalyEventId OCID.
Attributes Reference
The following attributes are exported:
compartment_id- The OCID of the compartment.cost_anomaly_name- The name of the associated cost monitor.cost_impact- The cost impact of the detected anomaly.cost_monitor_id- The OCID of the associated cost monitor.cost_monitor_name- The name of the associated cost monitor.cost_monitor_type- Type of cost monitorcost_variance_percentage- The cost variance percentage of the detected anomaly.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"}feedback_response- The feedback response for the cost anomaly event.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 Cost Anomaly Event.root_cause_detail- The root cause details of the cost anomaly event.value- The json object representing the root cause details of the anomaly event.
state- The current state of the cost anomaly event.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:{"orcl-cloud.free-tier-retained": "true"}target_resource_filter- The filter object to target resources for cost monitor. Cost generated by one or more resources identified by this filter is monitored for anomalous deviations.time_anomaly_event_date- The event date of the anomaly event.time_created- The created time of the cost anomaly event.time_updated- The updated time of the cost anomaly event.