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 Invoice Line Computed Usages in Oracle Cloud Infrastructure Onesubscription service. * * This is a collection API which returns a list of Invoiced Computed Usages for given Invoiceline id. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInvoiceLineComputedUsages = oci.onesubsription.getInvoiceLineComputedUsages({ * compartmentId: compartmentId, * invoiceLineId: testInvoiceLine.id, * fields: invoiceLineComputedUsageFields, * }); * ``` */ export declare function getInvoiceLineComputedUsages(args: GetInvoiceLineComputedUsagesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInvoiceLineComputedUsages. */ export interface GetInvoiceLineComputedUsagesArgs { /** * The OCID of the root compartment. */ compartmentId: string; /** * Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client. This parameter is used to control what fields to return. */ fields?: string[]; filters?: inputs.OneSubsription.GetInvoiceLineComputedUsagesFilter[]; /** * Invoice Line Identifier - Primary Key SPM */ invoiceLineId: string; } /** * A collection of values returned by getInvoiceLineComputedUsages. */ export interface GetInvoiceLineComputedUsagesResult { readonly compartmentId: string; readonly fields?: string[]; readonly filters?: outputs.OneSubsription.GetInvoiceLineComputedUsagesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly invoiceLineId: string; /** * The list of invoiceline_computed_usages. */ readonly invoicelineComputedUsages: outputs.OneSubsription.GetInvoiceLineComputedUsagesInvoicelineComputedUsage[]; } /** * This data source provides the list of Invoice Line Computed Usages in Oracle Cloud Infrastructure Onesubscription service. * * This is a collection API which returns a list of Invoiced Computed Usages for given Invoiceline id. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInvoiceLineComputedUsages = oci.onesubsription.getInvoiceLineComputedUsages({ * compartmentId: compartmentId, * invoiceLineId: testInvoiceLine.id, * fields: invoiceLineComputedUsageFields, * }); * ``` */ export declare function getInvoiceLineComputedUsagesOutput(args: GetInvoiceLineComputedUsagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInvoiceLineComputedUsages. */ export interface GetInvoiceLineComputedUsagesOutputArgs { /** * The OCID of the root compartment. */ compartmentId: pulumi.Input; /** * Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client. This parameter is used to control what fields to return. */ fields?: pulumi.Input[] | undefined>; filters?: pulumi.Input[] | undefined>; /** * Invoice Line Identifier - Primary Key SPM */ invoiceLineId: pulumi.Input; } //# sourceMappingURL=getInvoiceLineComputedUsages.d.ts.map