1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. CostadCostAnomalyEvent
Viewing docs for Oracle Cloud Infrastructure v4.15.0
published on Thursday, Jun 11, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.15.0
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:

    CostAnomalyEventId string
    The unique costAnomalyEventId OCID.
    DefinedTags 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"}
    FeedbackResponse string
    (Updatable) The feedback response for the cost anomaly event.
    FreeformTags 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

    CostAnomalyEventId string
    The unique costAnomalyEventId OCID.
    DefinedTags 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"}
    FeedbackResponse string
    (Updatable) The feedback response for the cost anomaly event.
    FreeformTags 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_event_id string
    The unique costAnomalyEventId OCID.
    defined_tags 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.
    freeform_tags 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

    costAnomalyEventId String
    The unique costAnomalyEventId OCID.
    definedTags 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"}
    feedbackResponse String
    (Updatable) The feedback response for the cost anomaly event.
    freeformTags 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

    costAnomalyEventId string
    The unique costAnomalyEventId OCID.
    definedTags {[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"}
    feedbackResponse string
    (Updatable) The feedback response for the cost anomaly event.
    freeformTags {[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_event_id str
    The unique costAnomalyEventId OCID.
    defined_tags 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.
    freeform_tags 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

    costAnomalyEventId String
    The unique costAnomalyEventId OCID.
    definedTags 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"}
    feedbackResponse String
    (Updatable) The feedback response for the cost anomaly event.
    freeformTags 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:

    CompartmentId string
    The OCID of the compartment.
    CostAnomalyName string
    The name of the associated cost monitor.
    CostImpact double
    The cost impact of the detected anomaly.
    CostMonitorId string
    The OCID of the associated cost monitor.
    CostMonitorName string
    The name of the associated cost monitor.
    CostMonitorType string
    Type of cost monitor
    CostVariancePercentage double
    The cost variance percentage of the detected anomaly.
    Id string
    The provider-assigned unique ID for this managed resource.
    RootCauseDetail string
    The root cause details of the cost anomaly event.
    State string
    The current state of the cost anomaly event.
    SystemTags 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"}
    TargetResourceFilter string
    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.
    TimeAnomalyEventDate string
    The event date of the anomaly event.
    TimeCreated string
    The created time of the cost anomaly event.
    TimeUpdated string
    The updated time of the cost anomaly event.
    CompartmentId string
    The OCID of the compartment.
    CostAnomalyName string
    The name of the associated cost monitor.
    CostImpact float64
    The cost impact of the detected anomaly.
    CostMonitorId string
    The OCID of the associated cost monitor.
    CostMonitorName string
    The name of the associated cost monitor.
    CostMonitorType string
    Type of cost monitor
    CostVariancePercentage float64
    The cost variance percentage of the detected anomaly.
    Id string
    The provider-assigned unique ID for this managed resource.
    RootCauseDetail string
    The root cause details of the cost anomaly event.
    State string
    The current state of the cost anomaly event.
    SystemTags 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"}
    TargetResourceFilter string
    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.
    TimeAnomalyEventDate string
    The event date of the anomaly event.
    TimeCreated string
    The created time of the cost anomaly event.
    TimeUpdated string
    The updated time of the cost anomaly event.
    compartment_id string
    The OCID of the compartment.
    cost_anomaly_name string
    The name of the associated cost monitor.
    cost_impact number
    The cost impact of the detected anomaly.
    cost_monitor_id string
    The OCID of the associated cost monitor.
    cost_monitor_name string
    The name of the associated cost monitor.
    cost_monitor_type string
    Type of cost monitor
    cost_variance_percentage number
    The cost variance percentage of the detected anomaly.
    id string
    The provider-assigned unique ID for this managed resource.
    root_cause_detail string
    The root cause details of the cost anomaly event.
    state string
    The current state of the cost anomaly event.
    system_tags 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_filter string
    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 string
    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.
    compartmentId String
    The OCID of the compartment.
    costAnomalyName String
    The name of the associated cost monitor.
    costImpact Double
    The cost impact of the detected anomaly.
    costMonitorId String
    The OCID of the associated cost monitor.
    costMonitorName String
    The name of the associated cost monitor.
    costMonitorType String
    Type of cost monitor
    costVariancePercentage Double
    The cost variance percentage of the detected anomaly.
    id String
    The provider-assigned unique ID for this managed resource.
    rootCauseDetail String
    The root cause details of the cost anomaly event.
    state String
    The current state of the cost anomaly event.
    systemTags 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"}
    targetResourceFilter String
    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.
    timeAnomalyEventDate String
    The event date of the anomaly event.
    timeCreated String
    The created time of the cost anomaly event.
    timeUpdated String
    The updated time of the cost anomaly event.
    compartmentId string
    The OCID of the compartment.
    costAnomalyName string
    The name of the associated cost monitor.
    costImpact number
    The cost impact of the detected anomaly.
    costMonitorId string
    The OCID of the associated cost monitor.
    costMonitorName string
    The name of the associated cost monitor.
    costMonitorType string
    Type of cost monitor
    costVariancePercentage number
    The cost variance percentage of the detected anomaly.
    id string
    The provider-assigned unique ID for this managed resource.
    rootCauseDetail string
    The root cause details of the cost anomaly event.
    state string
    The current state of the cost anomaly event.
    systemTags {[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"}
    targetResourceFilter string
    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.
    timeAnomalyEventDate string
    The event date of the anomaly event.
    timeCreated string
    The created time of the cost anomaly event.
    timeUpdated string
    The updated time of the cost anomaly event.
    compartment_id str
    The OCID of the compartment.
    cost_anomaly_name str
    The name of the associated cost monitor.
    cost_impact float
    The cost impact of the detected anomaly.
    cost_monitor_id str
    The OCID of the associated cost monitor.
    cost_monitor_name str
    The name of the associated cost monitor.
    cost_monitor_type str
    Type of cost monitor
    cost_variance_percentage float
    The cost variance percentage of the detected anomaly.
    id str
    The provider-assigned unique ID for this managed resource.
    root_cause_detail str
    The root cause details of the cost anomaly event.
    state str
    The current state of the cost anomaly event.
    system_tags 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_filter str
    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 str
    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.
    compartmentId String
    The OCID of the compartment.
    costAnomalyName String
    The name of the associated cost monitor.
    costImpact Number
    The cost impact of the detected anomaly.
    costMonitorId String
    The OCID of the associated cost monitor.
    costMonitorName String
    The name of the associated cost monitor.
    costMonitorType String
    Type of cost monitor
    costVariancePercentage Number
    The cost variance percentage of the detected anomaly.
    id String
    The provider-assigned unique ID for this managed resource.
    rootCauseDetail String
    The root cause details of the cost anomaly event.
    state String
    The current state of the cost anomaly event.
    systemTags 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"}
    targetResourceFilter String
    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.
    timeAnomalyEventDate String
    The event date of the anomaly event.
    timeCreated String
    The created time of the cost anomaly event.
    timeUpdated 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) -> CostadCostAnomalyEvent
    func 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.
    The following state arguments are supported:
    CompartmentId string
    The OCID of the compartment.
    CostAnomalyEventId string
    The unique costAnomalyEventId OCID.
    CostAnomalyName string
    The name of the associated cost monitor.
    CostImpact double
    The cost impact of the detected anomaly.
    CostMonitorId string
    The OCID of the associated cost monitor.
    CostMonitorName string
    The name of the associated cost monitor.
    CostMonitorType string
    Type of cost monitor
    CostVariancePercentage double
    The cost variance percentage of the detected anomaly.
    DefinedTags 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"}
    FeedbackResponse string
    (Updatable) The feedback response for the cost anomaly event.
    FreeformTags 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

    RootCauseDetail string
    The root cause details of the cost anomaly event.
    State string
    The current state of the cost anomaly event.
    SystemTags 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"}
    TargetResourceFilter string
    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.
    TimeAnomalyEventDate string
    The event date of the anomaly event.
    TimeCreated string
    The created time of the cost anomaly event.
    TimeUpdated string
    The updated time of the cost anomaly event.
    CompartmentId string
    The OCID of the compartment.
    CostAnomalyEventId string
    The unique costAnomalyEventId OCID.
    CostAnomalyName string
    The name of the associated cost monitor.
    CostImpact float64
    The cost impact of the detected anomaly.
    CostMonitorId string
    The OCID of the associated cost monitor.
    CostMonitorName string
    The name of the associated cost monitor.
    CostMonitorType string
    Type of cost monitor
    CostVariancePercentage float64
    The cost variance percentage of the detected anomaly.
    DefinedTags 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"}
    FeedbackResponse string
    (Updatable) The feedback response for the cost anomaly event.
    FreeformTags 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

    RootCauseDetail string
    The root cause details of the cost anomaly event.
    State string
    The current state of the cost anomaly event.
    SystemTags 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"}
    TargetResourceFilter string
    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.
    TimeAnomalyEventDate string
    The event date of the anomaly event.
    TimeCreated string
    The created time of the cost anomaly event.
    TimeUpdated string
    The updated time of the cost anomaly event.
    compartment_id string
    The OCID of the compartment.
    cost_anomaly_event_id string
    The unique costAnomalyEventId OCID.
    cost_anomaly_name string
    The name of the associated cost monitor.
    cost_impact number
    The cost impact of the detected anomaly.
    cost_monitor_id string
    The OCID of the associated cost monitor.
    cost_monitor_name string
    The name of the associated cost monitor.
    cost_monitor_type string
    Type of cost monitor
    cost_variance_percentage number
    The cost variance percentage of the detected anomaly.
    defined_tags 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.
    freeform_tags 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_detail string
    The root cause details of the cost anomaly event.
    state string
    The current state of the cost anomaly event.
    system_tags 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_filter string
    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 string
    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.
    compartmentId String
    The OCID of the compartment.
    costAnomalyEventId String
    The unique costAnomalyEventId OCID.
    costAnomalyName String
    The name of the associated cost monitor.
    costImpact Double
    The cost impact of the detected anomaly.
    costMonitorId String
    The OCID of the associated cost monitor.
    costMonitorName String
    The name of the associated cost monitor.
    costMonitorType String
    Type of cost monitor
    costVariancePercentage Double
    The cost variance percentage of the detected anomaly.
    definedTags 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"}
    feedbackResponse String
    (Updatable) The feedback response for the cost anomaly event.
    freeformTags 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

    rootCauseDetail String
    The root cause details of the cost anomaly event.
    state String
    The current state of the cost anomaly event.
    systemTags 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"}
    targetResourceFilter String
    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.
    timeAnomalyEventDate String
    The event date of the anomaly event.
    timeCreated String
    The created time of the cost anomaly event.
    timeUpdated String
    The updated time of the cost anomaly event.
    compartmentId string
    The OCID of the compartment.
    costAnomalyEventId string
    The unique costAnomalyEventId OCID.
    costAnomalyName string
    The name of the associated cost monitor.
    costImpact number
    The cost impact of the detected anomaly.
    costMonitorId string
    The OCID of the associated cost monitor.
    costMonitorName string
    The name of the associated cost monitor.
    costMonitorType string
    Type of cost monitor
    costVariancePercentage number
    The cost variance percentage of the detected anomaly.
    definedTags {[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"}
    feedbackResponse string
    (Updatable) The feedback response for the cost anomaly event.
    freeformTags {[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

    rootCauseDetail string
    The root cause details of the cost anomaly event.
    state string
    The current state of the cost anomaly event.
    systemTags {[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"}
    targetResourceFilter string
    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.
    timeAnomalyEventDate string
    The event date of the anomaly event.
    timeCreated string
    The created time of the cost anomaly event.
    timeUpdated string
    The updated time of the cost anomaly event.
    compartment_id str
    The OCID of the compartment.
    cost_anomaly_event_id str
    The unique costAnomalyEventId OCID.
    cost_anomaly_name str
    The name of the associated cost monitor.
    cost_impact float
    The cost impact of the detected anomaly.
    cost_monitor_id str
    The OCID of the associated cost monitor.
    cost_monitor_name str
    The name of the associated cost monitor.
    cost_monitor_type str
    Type of cost monitor
    cost_variance_percentage float
    The cost variance percentage of the detected anomaly.
    defined_tags 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.
    freeform_tags 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_detail str
    The root cause details of the cost anomaly event.
    state str
    The current state of the cost anomaly event.
    system_tags 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_filter str
    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 str
    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.
    compartmentId String
    The OCID of the compartment.
    costAnomalyEventId String
    The unique costAnomalyEventId OCID.
    costAnomalyName String
    The name of the associated cost monitor.
    costImpact Number
    The cost impact of the detected anomaly.
    costMonitorId String
    The OCID of the associated cost monitor.
    costMonitorName String
    The name of the associated cost monitor.
    costMonitorType String
    Type of cost monitor
    costVariancePercentage Number
    The cost variance percentage of the detected anomaly.
    definedTags 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"}
    feedbackResponse String
    (Updatable) The feedback response for the cost anomaly event.
    freeformTags 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

    rootCauseDetail String
    The root cause details of the cost anomaly event.
    state String
    The current state of the cost anomaly event.
    systemTags 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"}
    targetResourceFilter String
    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.
    timeAnomalyEventDate String
    The event date of the anomaly event.
    timeCreated String
    The created time of the cost anomaly event.
    timeUpdated 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 oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.15.0
    published on Thursday, Jun 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial