UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

65 lines 2.13 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about your Scaleway invoices. */ export declare function getInvoices(args?: GetInvoicesArgs, opts?: pulumi.InvokeOptions): Promise<GetInvoicesResult>; /** * A collection of arguments for invoking getInvoices. */ export interface GetInvoicesArgs { /** * 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 getInvoices. */ export interface GetInvoicesResult { /** * 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.billing.GetInvoicesInvoice[]; readonly organizationId: string; readonly startedAfter?: string; readonly startedBefore?: string; } /** * Gets information about your Scaleway invoices. */ export declare function getInvoicesOutput(args?: GetInvoicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInvoicesResult>; /** * A collection of arguments for invoking getInvoices. */ export interface GetInvoicesOutputArgs { /** * 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=getInvoices.d.ts.map