import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCostAnomalyMonitor = oci.budget.getCostAnomalyMonitor({ * costAnomalyMonitorId: testCostAnomalyMonitorOciBudgetCostAnomalyMonitor.id, * }); * ``` */ export declare function getCostAnomalyMonitor(args: GetCostAnomalyMonitorArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCostAnomalyMonitor. */ export interface GetCostAnomalyMonitorArgs { /** * The unique costAnomalyMonitor OCID. */ costAnomalyMonitorId: string; } /** * A collection of values returned by getCostAnomalyMonitor. */ export interface GetCostAnomalyMonitorResult { /** * The OCID of the compartment. */ readonly compartmentId: string; /** * The mapping of cost monitor to alert subscription along with thresholds. */ readonly costAlertSubscriptionMaps: outputs.Budget.GetCostAnomalyMonitorCostAlertSubscriptionMap[]; readonly costAnomalyMonitorId: string; /** * 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 description of the budget. */ readonly description: 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 Monitor. */ readonly id: string; /** * The current state details of the cost monitor. */ readonly lifecycleDetails: string; /** * The name of the cost anomaly monitor. Avoid entering confidential information. */ readonly name: string; /** * The current state of the cost monitor. */ 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 time that the cost monitor was created. */ readonly timeCreated: string; /** * The time that the cost monitor was last updated. */ readonly timeUpdated: string; /** * Type of cost monitor */ readonly type: string; } /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCostAnomalyMonitor = oci.budget.getCostAnomalyMonitor({ * costAnomalyMonitorId: testCostAnomalyMonitorOciBudgetCostAnomalyMonitor.id, * }); * ``` */ export declare function getCostAnomalyMonitorOutput(args: GetCostAnomalyMonitorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCostAnomalyMonitor. */ export interface GetCostAnomalyMonitorOutputArgs { /** * The unique costAnomalyMonitor OCID. */ costAnomalyMonitorId: pulumi.Input; } //# sourceMappingURL=getCostAnomalyMonitor.d.ts.map