@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
57 lines • 2.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about your Consumptions.
*
* ## Example Usage
*/
/** @deprecated scaleway.index/getbillingconsumptions.getBillingConsumptions has been deprecated in favor of scaleway.billing/getconsumptions.getConsumptions */
export declare function getBillingConsumptions(args?: GetBillingConsumptionsArgs, opts?: pulumi.InvokeOptions): Promise<GetBillingConsumptionsResult>;
/**
* A collection of arguments for invoking getBillingConsumptions.
*/
export interface GetBillingConsumptionsArgs {
/**
* `projectId`) The ID of the project the consumption list is associated with.
*/
projectId?: string;
}
/**
* A collection of values returned by getBillingConsumptions.
*/
export interface GetBillingConsumptionsResult {
/**
* List of found consumptions
*/
readonly consumptions: outputs.GetBillingConsumptionsConsumption[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly organizationId: string;
/**
* The project ID of the consumption.
*/
readonly projectId: string;
/**
* The last consumption update date.
*/
readonly updatedAt: string;
}
/**
* Gets information about your Consumptions.
*
* ## Example Usage
*/
/** @deprecated scaleway.index/getbillingconsumptions.getBillingConsumptions has been deprecated in favor of scaleway.billing/getconsumptions.getConsumptions */
export declare function getBillingConsumptionsOutput(args?: GetBillingConsumptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBillingConsumptionsResult>;
/**
* A collection of arguments for invoking getBillingConsumptions.
*/
export interface GetBillingConsumptionsOutputArgs {
/**
* `projectId`) The ID of the project the consumption list is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getBillingConsumptions.d.ts.map