published on Thursday, Jun 11, 2026 by Pulumi
published on Thursday, Jun 11, 2026 by Pulumi
This resource provides the Cost Anomaly Event resource in Oracle Cloud Infrastructure Costad service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/costad
Update a CostAnomalyEvent identified by the OCID.
Create CostadCostAnomalyEvent Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CostadCostAnomalyEvent(name: string, args: CostadCostAnomalyEventArgs, opts?: CustomResourceOptions);@overload
def CostadCostAnomalyEvent(resource_name: str,
args: CostadCostAnomalyEventArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CostadCostAnomalyEvent(resource_name: str,
opts: Optional[ResourceOptions] = None,
cost_anomaly_event_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
feedback_response: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None)func NewCostadCostAnomalyEvent(ctx *Context, name string, args CostadCostAnomalyEventArgs, opts ...ResourceOption) (*CostadCostAnomalyEvent, error)public CostadCostAnomalyEvent(string name, CostadCostAnomalyEventArgs args, CustomResourceOptions? opts = null)
public CostadCostAnomalyEvent(String name, CostadCostAnomalyEventArgs args)
public CostadCostAnomalyEvent(String name, CostadCostAnomalyEventArgs args, CustomResourceOptions options)
type: oci:oci:CostadCostAnomalyEvent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_oci_costadcostanomalyevent" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CostadCostAnomalyEventArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CostadCostAnomalyEventArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CostadCostAnomalyEventArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CostadCostAnomalyEventArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CostadCostAnomalyEventArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var costadCostAnomalyEventResource = new Oci.Oci.CostadCostAnomalyEvent("costadCostAnomalyEventResource", new()
{
CostAnomalyEventId = "string",
DefinedTags =
{
{ "string", "string" },
},
FeedbackResponse = "string",
FreeformTags =
{
{ "string", "string" },
},
});
example, err := oci.NewCostadCostAnomalyEvent(ctx, "costadCostAnomalyEventResource", &oci.CostadCostAnomalyEventArgs{
CostAnomalyEventId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FeedbackResponse: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "oci_oci_costadcostanomalyevent" "costadCostAnomalyEventResource" {
cost_anomaly_event_id = "string"
defined_tags = {
"string" = "string"
}
feedback_response = "string"
freeform_tags = {
"string" = "string"
}
}
var costadCostAnomalyEventResource = new CostadCostAnomalyEvent("costadCostAnomalyEventResource", CostadCostAnomalyEventArgs.builder()
.costAnomalyEventId("string")
.definedTags(Map.of("string", "string"))
.feedbackResponse("string")
.freeformTags(Map.of("string", "string"))
.build());
costad_cost_anomaly_event_resource = oci.oci.CostadCostAnomalyEvent("costadCostAnomalyEventResource",
cost_anomaly_event_id="string",
defined_tags={
"string": "string",
},
feedback_response="string",
freeform_tags={
"string": "string",
})
const costadCostAnomalyEventResource = new oci.oci.CostadCostAnomalyEvent("costadCostAnomalyEventResource", {
costAnomalyEventId: "string",
definedTags: {
string: "string",
},
feedbackResponse: "string",
freeformTags: {
string: "string",
},
});
type: oci:oci:CostadCostAnomalyEvent
properties:
costAnomalyEventId: string
definedTags:
string: string
feedbackResponse: string
freeformTags:
string: string
CostadCostAnomalyEvent Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CostadCostAnomalyEvent resource accepts the following input properties:
- Cost
Anomaly stringEvent Id - The unique costAnomalyEventId OCID.
- Dictionary<string, string>
- (Updatable) 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 string - (Updatable) The feedback response for the cost anomaly event.
- Dictionary<string, string>
(Updatable) 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"}** 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
- Cost
Anomaly stringEvent Id - The unique costAnomalyEventId OCID.
- map[string]string
- (Updatable) 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 string - (Updatable) The feedback response for the cost anomaly event.
- map[string]string
(Updatable) 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"}** 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
- cost_
anomaly_ stringevent_ id - The unique costAnomalyEventId OCID.
- map(string)
- (Updatable) 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 string - (Updatable) The feedback response for the cost anomaly event.
- map(string)
(Updatable) 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"}** 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
- cost
Anomaly StringEvent Id - The unique costAnomalyEventId OCID.
- Map<String,String>
- (Updatable) 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 String - (Updatable) The feedback response for the cost anomaly event.
- Map<String,String>
(Updatable) 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"}** 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
- cost
Anomaly stringEvent Id - The unique costAnomalyEventId OCID.
- {[key: string]: string}
- (Updatable) 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 string - (Updatable) The feedback response for the cost anomaly event.
- {[key: string]: string}
(Updatable) 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"}** 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
- cost_
anomaly_ strevent_ id - The unique costAnomalyEventId OCID.
- Mapping[str, str]
- (Updatable) 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 str - (Updatable) The feedback response for the cost anomaly event.
- Mapping[str, str]
(Updatable) 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"}** 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
- cost
Anomaly StringEvent Id - The unique costAnomalyEventId OCID.
- Map<String>
- (Updatable) 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 String - (Updatable) The feedback response for the cost anomaly event.
- Map<String>
(Updatable) 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"}** 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
Outputs
All input properties are implicitly available as output properties. Additionally, the CostadCostAnomalyEvent resource produces the following output properties:
- Compartment
Id string - The OCID of the compartment.
- Cost
Anomaly stringName - The name of the associated cost monitor.
- Cost
Impact double - The cost impact of the detected anomaly.
- Cost
Monitor stringId - The OCID of the associated cost monitor.
- Cost
Monitor stringName - The name of the associated cost monitor.
- Cost
Monitor stringType - Type of cost monitor
- Cost
Variance doublePercentage - The cost variance percentage of the detected anomaly.
- Id string
- The provider-assigned unique ID for this managed resource.
- Root
Cause stringDetail - The root cause details of the cost anomaly event.
- State string
- The current state of the cost anomaly event.
- Dictionary<string, string>
- 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 stringFilter - 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 stringEvent Date - The event date of the anomaly event.
- Time
Created string - The created time of the cost anomaly event.
- Time
Updated string - The updated time of the cost anomaly event.
- Compartment
Id string - The OCID of the compartment.
- Cost
Anomaly stringName - The name of the associated cost monitor.
- Cost
Impact float64 - The cost impact of the detected anomaly.
- Cost
Monitor stringId - The OCID of the associated cost monitor.
- Cost
Monitor stringName - The name of the associated cost monitor.
- Cost
Monitor stringType - Type of cost monitor
- Cost
Variance float64Percentage - The cost variance percentage of the detected anomaly.
- Id string
- The provider-assigned unique ID for this managed resource.
- Root
Cause stringDetail - The root cause details of the cost anomaly event.
- State string
- The current state of the cost anomaly event.
- map[string]string
- 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 stringFilter - 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 stringEvent Date - The event date of the anomaly event.
- Time
Created string - The created time of the cost anomaly event.
- Time
Updated string - The updated time of the cost anomaly event.
- compartment_
id string - The OCID of the compartment.
- cost_
anomaly_ stringname - The name of the associated cost monitor.
- cost_
impact number - The cost impact of the detected anomaly.
- cost_
monitor_ stringid - The OCID of the associated cost monitor.
- cost_
monitor_ stringname - The name of the associated cost monitor.
- cost_
monitor_ stringtype - Type of cost monitor
- cost_
variance_ numberpercentage - The cost variance percentage of the detected anomaly.
- id string
- The provider-assigned unique ID for this managed resource.
- root_
cause_ stringdetail - The root cause details of the cost anomaly event.
- state string
- The current state of the cost anomaly event.
- map(string)
- 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_ stringfilter - 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_ stringevent_ date - The event date of the anomaly event.
- time_
created string - The created time of the cost anomaly event.
- time_
updated string - The updated time of the cost anomaly event.
- compartment
Id String - The OCID of the compartment.
- cost
Anomaly StringName - The name of the associated cost monitor.
- cost
Impact Double - The cost impact of the detected anomaly.
- cost
Monitor StringId - The OCID of the associated cost monitor.
- cost
Monitor StringName - The name of the associated cost monitor.
- cost
Monitor StringType - Type of cost monitor
- cost
Variance DoublePercentage - The cost variance percentage of the detected anomaly.
- id String
- The provider-assigned unique ID for this managed resource.
- root
Cause StringDetail - The root cause details of the cost anomaly event.
- state String
- The current state of the cost anomaly event.
- Map<String,String>
- 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 StringFilter - 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 StringEvent Date - The event date of the anomaly event.
- time
Created String - The created time of the cost anomaly event.
- time
Updated String - The updated time of the cost anomaly event.
- compartment
Id string - The OCID of the compartment.
- cost
Anomaly stringName - The name of the associated cost monitor.
- cost
Impact number - The cost impact of the detected anomaly.
- cost
Monitor stringId - The OCID of the associated cost monitor.
- cost
Monitor stringName - The name of the associated cost monitor.
- cost
Monitor stringType - Type of cost monitor
- cost
Variance numberPercentage - The cost variance percentage of the detected anomaly.
- id string
- The provider-assigned unique ID for this managed resource.
- root
Cause stringDetail - The root cause details of the cost anomaly event.
- state string
- The current state of the cost anomaly event.
- {[key: string]: string}
- 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 stringFilter - 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 stringEvent Date - The event date of the anomaly event.
- time
Created string - The created time of the cost anomaly event.
- time
Updated string - The updated time of the cost anomaly event.
- compartment_
id str - The OCID of the compartment.
- cost_
anomaly_ strname - The name of the associated cost monitor.
- cost_
impact float - The cost impact of the detected anomaly.
- cost_
monitor_ strid - The OCID of the associated cost monitor.
- cost_
monitor_ strname - The name of the associated cost monitor.
- cost_
monitor_ strtype - Type of cost monitor
- cost_
variance_ floatpercentage - The cost variance percentage of the detected anomaly.
- id str
- The provider-assigned unique ID for this managed resource.
- root_
cause_ strdetail - The root cause details of the cost anomaly event.
- state str
- The current state of the cost anomaly event.
- Mapping[str, str]
- 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_ strfilter - 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_ strevent_ date - The event date of the anomaly event.
- time_
created str - The created time of the cost anomaly event.
- time_
updated str - The updated time of the cost anomaly event.
- compartment
Id String - The OCID of the compartment.
- cost
Anomaly StringName - The name of the associated cost monitor.
- cost
Impact Number - The cost impact of the detected anomaly.
- cost
Monitor StringId - The OCID of the associated cost monitor.
- cost
Monitor StringName - The name of the associated cost monitor.
- cost
Monitor StringType - Type of cost monitor
- cost
Variance NumberPercentage - The cost variance percentage of the detected anomaly.
- id String
- The provider-assigned unique ID for this managed resource.
- root
Cause StringDetail - The root cause details of the cost anomaly event.
- state String
- The current state of the cost anomaly event.
- Map<String>
- 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 StringFilter - 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 StringEvent Date - The event date of the anomaly event.
- time
Created String - The created time of the cost anomaly event.
- time
Updated String - The updated time of the cost anomaly event.
Look up Existing CostadCostAnomalyEvent Resource
Get an existing CostadCostAnomalyEvent resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CostadCostAnomalyEventState, opts?: CustomResourceOptions): CostadCostAnomalyEvent@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
cost_anomaly_event_id: Optional[str] = None,
cost_anomaly_name: Optional[str] = None,
cost_impact: Optional[float] = None,
cost_monitor_id: Optional[str] = None,
cost_monitor_name: Optional[str] = None,
cost_monitor_type: Optional[str] = None,
cost_variance_percentage: Optional[float] = None,
defined_tags: Optional[Mapping[str, str]] = None,
feedback_response: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
root_cause_detail: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
target_resource_filter: Optional[str] = None,
time_anomaly_event_date: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> CostadCostAnomalyEventfunc GetCostadCostAnomalyEvent(ctx *Context, name string, id IDInput, state *CostadCostAnomalyEventState, opts ...ResourceOption) (*CostadCostAnomalyEvent, error)public static CostadCostAnomalyEvent Get(string name, Input<string> id, CostadCostAnomalyEventState? state, CustomResourceOptions? opts = null)public static CostadCostAnomalyEvent get(String name, Output<String> id, CostadCostAnomalyEventState state, CustomResourceOptions options)resources: _: type: oci:oci:CostadCostAnomalyEvent get: id: ${id}import {
to = oci_oci_costadcostanomalyevent.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - The OCID of the compartment.
- Cost
Anomaly stringEvent Id - The unique costAnomalyEventId OCID.
- Cost
Anomaly stringName - The name of the associated cost monitor.
- Cost
Impact double - The cost impact of the detected anomaly.
- Cost
Monitor stringId - The OCID of the associated cost monitor.
- Cost
Monitor stringName - The name of the associated cost monitor.
- Cost
Monitor stringType - Type of cost monitor
- Cost
Variance doublePercentage - The cost variance percentage of the detected anomaly.
- Dictionary<string, string>
- (Updatable) 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 string - (Updatable) The feedback response for the cost anomaly event.
- Dictionary<string, string>
(Updatable) 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"}** 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
- Root
Cause stringDetail - The root cause details of the cost anomaly event.
- State string
- The current state of the cost anomaly event.
- Dictionary<string, string>
- 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 stringFilter - 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 stringEvent Date - The event date of the anomaly event.
- Time
Created string - The created time of the cost anomaly event.
- Time
Updated string - The updated time of the cost anomaly event.
- Compartment
Id string - The OCID of the compartment.
- Cost
Anomaly stringEvent Id - The unique costAnomalyEventId OCID.
- Cost
Anomaly stringName - The name of the associated cost monitor.
- Cost
Impact float64 - The cost impact of the detected anomaly.
- Cost
Monitor stringId - The OCID of the associated cost monitor.
- Cost
Monitor stringName - The name of the associated cost monitor.
- Cost
Monitor stringType - Type of cost monitor
- Cost
Variance float64Percentage - The cost variance percentage of the detected anomaly.
- map[string]string
- (Updatable) 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 string - (Updatable) The feedback response for the cost anomaly event.
- map[string]string
(Updatable) 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"}** 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
- Root
Cause stringDetail - The root cause details of the cost anomaly event.
- State string
- The current state of the cost anomaly event.
- map[string]string
- 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 stringFilter - 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 stringEvent Date - The event date of the anomaly event.
- Time
Created string - The created time of the cost anomaly event.
- Time
Updated string - The updated time of the cost anomaly event.
- compartment_
id string - The OCID of the compartment.
- cost_
anomaly_ stringevent_ id - The unique costAnomalyEventId OCID.
- cost_
anomaly_ stringname - The name of the associated cost monitor.
- cost_
impact number - The cost impact of the detected anomaly.
- cost_
monitor_ stringid - The OCID of the associated cost monitor.
- cost_
monitor_ stringname - The name of the associated cost monitor.
- cost_
monitor_ stringtype - Type of cost monitor
- cost_
variance_ numberpercentage - The cost variance percentage of the detected anomaly.
- map(string)
- (Updatable) 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 string - (Updatable) The feedback response for the cost anomaly event.
- map(string)
(Updatable) 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"}** 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
- root_
cause_ stringdetail - The root cause details of the cost anomaly event.
- state string
- The current state of the cost anomaly event.
- map(string)
- 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_ stringfilter - 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_ stringevent_ date - The event date of the anomaly event.
- time_
created string - The created time of the cost anomaly event.
- time_
updated string - The updated time of the cost anomaly event.
- compartment
Id String - The OCID of the compartment.
- cost
Anomaly StringEvent Id - The unique costAnomalyEventId OCID.
- cost
Anomaly StringName - The name of the associated cost monitor.
- cost
Impact Double - The cost impact of the detected anomaly.
- cost
Monitor StringId - The OCID of the associated cost monitor.
- cost
Monitor StringName - The name of the associated cost monitor.
- cost
Monitor StringType - Type of cost monitor
- cost
Variance DoublePercentage - The cost variance percentage of the detected anomaly.
- Map<String,String>
- (Updatable) 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 String - (Updatable) The feedback response for the cost anomaly event.
- Map<String,String>
(Updatable) 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"}** 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
- root
Cause StringDetail - The root cause details of the cost anomaly event.
- state String
- The current state of the cost anomaly event.
- Map<String,String>
- 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 StringFilter - 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 StringEvent Date - The event date of the anomaly event.
- time
Created String - The created time of the cost anomaly event.
- time
Updated String - The updated time of the cost anomaly event.
- compartment
Id string - The OCID of the compartment.
- cost
Anomaly stringEvent Id - The unique costAnomalyEventId OCID.
- cost
Anomaly stringName - The name of the associated cost monitor.
- cost
Impact number - The cost impact of the detected anomaly.
- cost
Monitor stringId - The OCID of the associated cost monitor.
- cost
Monitor stringName - The name of the associated cost monitor.
- cost
Monitor stringType - Type of cost monitor
- cost
Variance numberPercentage - The cost variance percentage of the detected anomaly.
- {[key: string]: string}
- (Updatable) 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 string - (Updatable) The feedback response for the cost anomaly event.
- {[key: string]: string}
(Updatable) 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"}** 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
- root
Cause stringDetail - The root cause details of the cost anomaly event.
- state string
- The current state of the cost anomaly event.
- {[key: string]: string}
- 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 stringFilter - 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 stringEvent Date - The event date of the anomaly event.
- time
Created string - The created time of the cost anomaly event.
- time
Updated string - The updated time of the cost anomaly event.
- compartment_
id str - The OCID of the compartment.
- cost_
anomaly_ strevent_ id - The unique costAnomalyEventId OCID.
- cost_
anomaly_ strname - The name of the associated cost monitor.
- cost_
impact float - The cost impact of the detected anomaly.
- cost_
monitor_ strid - The OCID of the associated cost monitor.
- cost_
monitor_ strname - The name of the associated cost monitor.
- cost_
monitor_ strtype - Type of cost monitor
- cost_
variance_ floatpercentage - The cost variance percentage of the detected anomaly.
- Mapping[str, str]
- (Updatable) 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 str - (Updatable) The feedback response for the cost anomaly event.
- Mapping[str, str]
(Updatable) 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"}** 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
- root_
cause_ strdetail - The root cause details of the cost anomaly event.
- state str
- The current state of the cost anomaly event.
- Mapping[str, str]
- 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_ strfilter - 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_ strevent_ date - The event date of the anomaly event.
- time_
created str - The created time of the cost anomaly event.
- time_
updated str - The updated time of the cost anomaly event.
- compartment
Id String - The OCID of the compartment.
- cost
Anomaly StringEvent Id - The unique costAnomalyEventId OCID.
- cost
Anomaly StringName - The name of the associated cost monitor.
- cost
Impact Number - The cost impact of the detected anomaly.
- cost
Monitor StringId - The OCID of the associated cost monitor.
- cost
Monitor StringName - The name of the associated cost monitor.
- cost
Monitor StringType - Type of cost monitor
- cost
Variance NumberPercentage - The cost variance percentage of the detected anomaly.
- Map<String>
- (Updatable) 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 String - (Updatable) The feedback response for the cost anomaly event.
- Map<String>
(Updatable) 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"}** 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
- root
Cause StringDetail - The root cause details of the cost anomaly event.
- state String
- The current state of the cost anomaly event.
- Map<String>
- 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 StringFilter - 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 StringEvent Date - The event date of the anomaly event.
- time
Created String - The created time of the cost anomaly event.
- time
Updated String - The updated time of the cost anomaly event.
Import
CostAnomalyEvents can be imported using the id, e.g.
$ pulumi import oci:oci/costadCostAnomalyEvent:CostadCostAnomalyEvent test_cost_anomaly_event "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Thursday, Jun 11, 2026 by Pulumi