@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
87 lines (86 loc) • 2.59 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about your Invoices.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const my-invoices = scaleway.getBillingInvoices({
* invoiceType: "periodic",
* });
* ```
*/
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 Invoices.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const my-invoices = scaleway.getBillingInvoices({
* invoiceType: "periodic",
* });
* ```
*/
export declare function getBillingInvoicesOutput(args?: GetBillingInvoicesOutputArgs, opts?: pulumi.InvokeOptions): 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>;
/**
* Invoices with a start date that are greater or equal to `startedAfter` are listed (RFC 3339 format).
*/
startedAfter?: pulumi.Input<string>;
/**
* Invoices with a start date that precedes `startedBefore` are listed (RFC 3339 format).
*/
startedBefore?: pulumi.Input<string>;
}