import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Cost Anomaly Events in Oracle Cloud Infrastructure Budget service. * * Gets a list of Cost Anomaly Event in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCostAnomalyEvents = oci.budget.getCostAnomalyEvents({ * compartmentId: compartmentId, * costAnomalyMonitorId: testCostAnomalyMonitor.id, * costImpact: costAnomalyEventCostImpact, * costImpactPercentage: costAnomalyEventCostImpactPercentage, * name: costAnomalyEventName, * regions: costAnomalyEventRegion, * targetTenantIds: testTargetTenant.id, * timeAnomalyEventEndDate: costAnomalyEventTimeAnomalyEventEndDate, * timeAnomalyEventStartDate: costAnomalyEventTimeAnomalyEventStartDate, * }); * ``` */ export declare function getCostAnomalyEvents(args: GetCostAnomalyEventsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCostAnomalyEvents. */ export interface GetCostAnomalyEventsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * The cost monitor ocid. */ costAnomalyMonitorId?: string; /** * cost impact (absolute) of the anomaly event. */ costImpact?: number; /** * cost impact (percentage) of the anomaly event. */ costImpactPercentage?: number; filters?: inputs.Budget.GetCostAnomalyEventsFilter[]; /** * Unique, non-changeable resource name. */ name?: string; /** * region of the anomaly event. */ regions?: string[]; /** * The target tenantId ocid filter param. */ targetTenantIds?: string[]; /** * endDate for anomaly event date. */ timeAnomalyEventEndDate?: string; /** * startDate for anomaly event date. */ timeAnomalyEventStartDate?: string; } /** * A collection of values returned by getCostAnomalyEvents. */ export interface GetCostAnomalyEventsResult { /** * The OCID of the compartment. */ readonly compartmentId: string; /** * The list of cost_anomaly_event_collection. */ readonly costAnomalyEventCollections: outputs.Budget.GetCostAnomalyEventsCostAnomalyEventCollection[]; readonly costAnomalyMonitorId?: string; /** * The cost impact of the detected anomaly. */ readonly costImpact?: number; readonly costImpactPercentage?: number; readonly filters?: outputs.Budget.GetCostAnomalyEventsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; readonly regions?: string[]; readonly targetTenantIds?: string[]; readonly timeAnomalyEventEndDate?: string; readonly timeAnomalyEventStartDate?: string; } /** * This data source provides the list of Cost Anomaly Events in Oracle Cloud Infrastructure Budget service. * * Gets a list of Cost Anomaly Event in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCostAnomalyEvents = oci.budget.getCostAnomalyEvents({ * compartmentId: compartmentId, * costAnomalyMonitorId: testCostAnomalyMonitor.id, * costImpact: costAnomalyEventCostImpact, * costImpactPercentage: costAnomalyEventCostImpactPercentage, * name: costAnomalyEventName, * regions: costAnomalyEventRegion, * targetTenantIds: testTargetTenant.id, * timeAnomalyEventEndDate: costAnomalyEventTimeAnomalyEventEndDate, * timeAnomalyEventStartDate: costAnomalyEventTimeAnomalyEventStartDate, * }); * ``` */ export declare function getCostAnomalyEventsOutput(args: GetCostAnomalyEventsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCostAnomalyEvents. */ export interface GetCostAnomalyEventsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * The cost monitor ocid. */ costAnomalyMonitorId?: pulumi.Input; /** * cost impact (absolute) of the anomaly event. */ costImpact?: pulumi.Input; /** * cost impact (percentage) of the anomaly event. */ costImpactPercentage?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique, non-changeable resource name. */ name?: pulumi.Input; /** * region of the anomaly event. */ regions?: pulumi.Input[] | undefined>; /** * The target tenantId ocid filter param. */ targetTenantIds?: pulumi.Input[] | undefined>; /** * endDate for anomaly event date. */ timeAnomalyEventEndDate?: pulumi.Input; /** * startDate for anomaly event date. */ timeAnomalyEventStartDate?: pulumi.Input; } //# sourceMappingURL=getCostAnomalyEvents.d.ts.map