import * as pulumi from "@pulumi/pulumi"; /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCostAnomalyEvent = oci.budget.getCostAnomalyEvent({ * costAnomalyEventId: testCostAnomalyEventOciBudgetCostAnomalyEvent.id, * }); * ``` */ export declare function getCostAnomalyEvent(args: GetCostAnomalyEventArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCostAnomalyEvent. */ export interface GetCostAnomalyEventArgs { /** * The unique costAnomalyEventId OCID. */ costAnomalyEventId: string; } /** * A collection of values returned by getCostAnomalyEvent. */ export interface GetCostAnomalyEventResult { /** * The OCID of the compartment. */ readonly compartmentId: string; readonly costAnomalyEventId: string; /** * The name of the associated cost monitor. */ readonly costAnomalyName: string; /** * The cost impact of the detected anomaly. */ readonly costImpact: number; /** * The OCID of the associated cost monitor. */ readonly costMonitorId: string; /** * The name of the associated cost monitor. */ readonly costMonitorName: string; /** * Type of cost monitor */ readonly costMonitorType: string; /** * The cost variance percentage of the detected anomaly. */ readonly costVariancePercentage: number; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The feedback response for the cost anomaly event. */ readonly feedbackResponse: string; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The OCID of the Cost Anomaly Event. */ readonly id: string; /** * The root cause details of the cost anomaly event. */ readonly rootCauseDetail: string; /** * The current state of the cost anomaly event. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: 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. */ readonly targetResourceFilter: string; /** * The event date of the anomaly event. */ readonly timeAnomalyEventDate: string; /** * The created time of the cost anomaly event. */ readonly timeCreated: string; /** * The updated time of the cost anomaly event. */ readonly timeUpdated: string; } /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCostAnomalyEvent = oci.budget.getCostAnomalyEvent({ * costAnomalyEventId: testCostAnomalyEventOciBudgetCostAnomalyEvent.id, * }); * ``` */ export declare function getCostAnomalyEventOutput(args: GetCostAnomalyEventOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCostAnomalyEvent. */ export interface GetCostAnomalyEventOutputArgs { /** * The unique costAnomalyEventId OCID. */ costAnomalyEventId: pulumi.Input; } //# sourceMappingURL=getCostAnomalyEvent.d.ts.map