import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to retrieve information of order cart product options. * * ## 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, * })); * const options = myCart.then(myCart => ovh.Order.getCartProductOptions({ * cartId: myCart.id, * product: "cloud", * planCode: "project", * })); * ``` */ export declare function getCartProductOptions(args: GetCartProductOptionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCartProductOptions. */ export interface GetCartProductOptionsArgs { /** * Cart identifier */ cartId: string; /** * Catalog name */ catalogName?: string; /** * Product offer identifier */ planCode: string; /** * Product */ product: string; } /** * A collection of values returned by getCartProductOptions. */ export interface GetCartProductOptionsResult { readonly cartId: string; readonly catalogName?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Product offer identifier */ readonly planCode: string; readonly product: string; /** * products results */ readonly results: outputs.Order.GetCartProductOptionsResult[]; } /** * Use this data source to retrieve information of order cart product options. * * ## 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, * })); * const options = myCart.then(myCart => ovh.Order.getCartProductOptions({ * cartId: myCart.id, * product: "cloud", * planCode: "project", * })); * ``` */ export declare function getCartProductOptionsOutput(args: GetCartProductOptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCartProductOptions. */ export interface GetCartProductOptionsOutputArgs { /** * Cart identifier */ cartId: pulumi.Input; /** * Catalog name */ catalogName?: pulumi.Input; /** * Product offer identifier */ planCode: pulumi.Input; /** * Product */ product: pulumi.Input; }