import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to retrieve information of order cart product plan. * * ## 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 plan = myCart.then(myCart => ovh.Order.getCartProductPlan({ * cartId: myCart.id, * priceCapacity: "renew", * product: "cloud", * planCode: "project", * })); * ``` */ export declare function getCartProductPlan(args: GetCartProductPlanArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCartProductPlan. */ export interface GetCartProductPlanArgs { /** * Cart identifier */ cartId: string; /** * Catalog name */ catalogName?: string; /** * Product offer identifier */ planCode: string; /** * Capacity of the pricing (type of pricing) */ priceCapacity: string; /** * Product */ product: string; } /** * A collection of values returned by getCartProductPlan. */ export interface GetCartProductPlanResult { 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 priceCapacity: string; /** * Prices of the product offer */ readonly prices: outputs.Order.GetCartProductPlanPrice[]; readonly product: string; /** * Name of the product */ readonly productName: string; /** * Product type */ readonly productType: string; /** * Selected Price according to capacity */ readonly selectedPrices: outputs.Order.GetCartProductPlanSelectedPrice[]; } /** * Use this data source to retrieve information of order cart product plan. * * ## 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 plan = myCart.then(myCart => ovh.Order.getCartProductPlan({ * cartId: myCart.id, * priceCapacity: "renew", * product: "cloud", * planCode: "project", * })); * ``` */ export declare function getCartProductPlanOutput(args: GetCartProductPlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCartProductPlan. */ export interface GetCartProductPlanOutputArgs { /** * Cart identifier */ cartId: pulumi.Input; /** * Catalog name */ catalogName?: pulumi.Input; /** * Product offer identifier */ planCode: pulumi.Input; /** * Capacity of the pricing (type of pricing) */ priceCapacity: pulumi.Input; /** * Product */ product: pulumi.Input; }