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 Invoices in Oracle Cloud Infrastructure Onesubscription service. * * This is a collection API which returns a list of Invoices for given filters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInvoices = oci.onesubsription.getInvoices({ * arCustomerTransactionId: testArCustomerTransaction.id, * compartmentId: compartmentId, * fields: invoiceFields, * timeFrom: invoiceTimeFrom, * timeTo: invoiceTimeTo, * }); * ``` */ export declare function getInvoices(args: GetInvoicesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInvoices. */ export interface GetInvoicesArgs { /** * AR Unique identifier for an invoice . */ arCustomerTransactionId: string; /** * 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.GetInvoicesFilter[]; /** * Initial date to filter Invoice data in SPM. */ timeFrom?: string; /** * Final date to filter Invoice data in SPM. */ timeTo?: string; } /** * A collection of values returned by getInvoices. */ export interface GetInvoicesResult { readonly arCustomerTransactionId: string; readonly compartmentId: string; readonly fields?: string[]; readonly filters?: outputs.OneSubsription.GetInvoicesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of invoices. */ readonly invoices: outputs.OneSubsription.GetInvoicesInvoice[]; readonly timeFrom?: string; readonly timeTo?: string; } /** * This data source provides the list of Invoices in Oracle Cloud Infrastructure Onesubscription service. * * This is a collection API which returns a list of Invoices for given filters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInvoices = oci.onesubsription.getInvoices({ * arCustomerTransactionId: testArCustomerTransaction.id, * compartmentId: compartmentId, * fields: invoiceFields, * timeFrom: invoiceTimeFrom, * timeTo: invoiceTimeTo, * }); * ``` */ export declare function getInvoicesOutput(args: GetInvoicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInvoices. */ export interface GetInvoicesOutputArgs { /** * AR Unique identifier for an invoice . */ arCustomerTransactionId: pulumi.Input; /** * 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>; /** * Initial date to filter Invoice data in SPM. */ timeFrom?: pulumi.Input; /** * Final date to filter Invoice data in SPM. */ timeTo?: pulumi.Input; } //# sourceMappingURL=getInvoices.d.ts.map