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 Computed Usage Aggregateds in Oracle Cloud Infrastructure Osub Usage service. * * This is a collection API which returns a list of aggregated computed usage details (there can be multiple Parent Products under a given SubID each of which is represented under Subscription Service Line # in SPM). */ export declare function getCommitmentAggregateds(args: GetCommitmentAggregatedsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCommitmentAggregateds. */ export interface GetCommitmentAggregatedsArgs { /** * The OCID of the root compartment. */ compartmentId: string; filters?: inputs.OsubUsage.GetCommitmentAggregatedsFilter[]; /** * Grouping criteria to use for aggregate the computed Usage, either hourly (`HOURLY`), daily (`DAILY`), monthly(`MONTHLY`) or none (`NONE`) to not follow a grouping criteria by date. */ grouping?: string; /** * Product part number for subscribed service line, called parent product. */ parentProduct?: string; /** * Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM. */ subscriptionId: string; /** * Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format. */ timeFrom: string; /** * Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format. */ timeTo: string; /** * The Oracle Cloud Infrastructure home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc. */ xOneOriginRegion?: string; } /** * A collection of values returned by getCommitmentAggregateds. */ export interface GetCommitmentAggregatedsResult { readonly compartmentId: string; /** * The list of computed_usage_aggregateds. */ readonly computedUsageAggregateds: outputs.OsubUsage.GetCommitmentAggregatedsComputedUsageAggregated[]; readonly filters?: outputs.OsubUsage.GetCommitmentAggregatedsFilter[]; readonly grouping?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Product description */ readonly parentProduct?: string; /** * Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM */ readonly subscriptionId: string; readonly timeFrom: string; readonly timeTo: string; readonly xOneOriginRegion?: string; } /** * This data source provides the list of Computed Usage Aggregateds in Oracle Cloud Infrastructure Osub Usage service. * * This is a collection API which returns a list of aggregated computed usage details (there can be multiple Parent Products under a given SubID each of which is represented under Subscription Service Line # in SPM). */ export declare function getCommitmentAggregatedsOutput(args: GetCommitmentAggregatedsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCommitmentAggregateds. */ export interface GetCommitmentAggregatedsOutputArgs { /** * The OCID of the root compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Grouping criteria to use for aggregate the computed Usage, either hourly (`HOURLY`), daily (`DAILY`), monthly(`MONTHLY`) or none (`NONE`) to not follow a grouping criteria by date. */ grouping?: pulumi.Input; /** * Product part number for subscribed service line, called parent product. */ parentProduct?: pulumi.Input; /** * Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM. */ subscriptionId: pulumi.Input; /** * Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format. */ timeFrom: pulumi.Input; /** * Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format. */ timeTo: pulumi.Input; /** * The Oracle Cloud Infrastructure home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc. */ xOneOriginRegion?: pulumi.Input; } //# sourceMappingURL=getCommitmentAggregateds.d.ts.map