Data Source: oci_budget_cost_anomaly_monitor
This data source provides details about a specific Cost Anomaly Monitor resource in Oracle Cloud Infrastructure Budget service.
Gets a CostAnomalyMonitor by the identifier.
Example Usage
data "oci_budget_cost_anomaly_monitor" "test_cost_anomaly_monitor" {
#Required
cost_anomaly_monitor_id = oci_budget_cost_anomaly_monitor.test_cost_anomaly_monitor.id
}
Argument Reference
The following arguments are supported:
cost_anomaly_monitor_id- (Required) The unique costAnomalyMonitor OCID.
Attributes Reference
The following attributes are exported:
compartment_id- The OCID of the compartment.cost_alert_subscription_map- The mapping of cost monitor to alert subscription along with thresholds.cost_alert_subscription_id- The costAlertSubscription ocid which the cost monitor alert maps to.operator- The filter operator. Example: ‘AND’, ‘OR’.threshold_absolute_value- The absolute threshold value.threshold_relative_percent- The relative percentage threshold value.
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"}description- The description of the budget.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 Monitor.lifecycle_details- The current state details of the cost monitor.name- The name of the cost anomaly monitor. Avoid entering confidential information.state- The current state of the cost monitor.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_created- The time that the cost monitor was created.time_updated- The time that the cost monitor was last updated.type- Type of cost monitor