import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to create a temporary order cart to retrieve information order cart products. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myAccount = ovh.Me.getMe({}); * const myCart = myAccount.then(myAccount => ovh.Order.getCart({ * ovhSubsidiary: myAccount.ovhSubsidiary, * })); * ``` */ export declare function getCart(args: GetCartArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCart. */ export interface GetCartArgs { /** * Assign a shopping cart to a logged in client. Values can be `true` or `false`. */ assign?: boolean; /** * Description of your cart */ description?: string; /** * Expiration time (format: 2006-01-02T15:04:05+00:00) */ expire?: string; /** * OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json under `models.nichandle.OvhSubsidiaryEnum`](https://eu.api.ovh.com/1.0/me.json) */ ovhSubsidiary: string; } /** * A collection of values returned by getCart. */ export interface GetCartResult { readonly assign?: boolean; /** * Cart identifier */ readonly cartId: string; readonly description?: string; readonly expire: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Items of your cart */ readonly items: number[]; readonly ovhSubsidiary: string; /** * Indicates if the cart has already been validated */ readonly readOnly: boolean; } /** * Use this data source to create a temporary order cart to retrieve information order cart products. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myAccount = ovh.Me.getMe({}); * const myCart = myAccount.then(myAccount => ovh.Order.getCart({ * ovhSubsidiary: myAccount.ovhSubsidiary, * })); * ``` */ export declare function getCartOutput(args: GetCartOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCart. */ export interface GetCartOutputArgs { /** * Assign a shopping cart to a logged in client. Values can be `true` or `false`. */ assign?: pulumi.Input; /** * Description of your cart */ description?: pulumi.Input; /** * Expiration time (format: 2006-01-02T15:04:05+00:00) */ expire?: pulumi.Input; /** * OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json under `models.nichandle.OvhSubsidiaryEnum`](https://eu.api.ovh.com/1.0/me.json) */ ovhSubsidiary: pulumi.Input; }