@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
67 lines • 2.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about your Scaleway invoices.
*/
/** @deprecated scaleway.index/getbillinginvoices.getBillingInvoices has been deprecated in favor of scaleway.billing/getinvoices.getInvoices */
export declare function getBillingInvoices(args?: GetBillingInvoicesArgs, opts?: pulumi.InvokeOptions): Promise<GetBillingInvoicesResult>;
/**
* A collection of arguments for invoking getBillingInvoices.
*/
export interface GetBillingInvoicesArgs {
/**
* Invoices with the given type are listed. Valid values are `periodic` and `purchase`.
*/
invoiceType?: string;
/**
* Invoices with a start date that are greater or equal to `startedAfter` are listed (RFC 3339 format).
*/
startedAfter?: string;
/**
* Invoices with a start date that precedes `startedBefore` are listed (RFC 3339 format).
*/
startedBefore?: string;
}
/**
* A collection of values returned by getBillingInvoices.
*/
export interface GetBillingInvoicesResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The type of invoice.
*/
readonly invoiceType?: string;
/**
* List of found invoices
*/
readonly invoices: outputs.GetBillingInvoicesInvoice[];
readonly organizationId: string;
readonly startedAfter?: string;
readonly startedBefore?: string;
}
/**
* Gets information about your Scaleway invoices.
*/
/** @deprecated scaleway.index/getbillinginvoices.getBillingInvoices has been deprecated in favor of scaleway.billing/getinvoices.getInvoices */
export declare function getBillingInvoicesOutput(args?: GetBillingInvoicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBillingInvoicesResult>;
/**
* A collection of arguments for invoking getBillingInvoices.
*/
export interface GetBillingInvoicesOutputArgs {
/**
* Invoices with the given type are listed. Valid values are `periodic` and `purchase`.
*/
invoiceType?: pulumi.Input<string | undefined>;
/**
* Invoices with a start date that are greater or equal to `startedAfter` are listed (RFC 3339 format).
*/
startedAfter?: pulumi.Input<string | undefined>;
/**
* Invoices with a start date that precedes `startedBefore` are listed (RFC 3339 format).
*/
startedBefore?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getBillingInvoices.d.ts.map