import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to retrieve information of order cart product options 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.getCartProductOptionsPlan({ * cartId: myCart.id, * priceCapacity: "renew", * product: "cloud", * planCode: "project", * optionsPlanCode: "vrack", * })); * ``` */ export declare function getCartProductOptionsPlan(args: GetCartProductOptionsPlanArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCartProductOptionsPlan. */ export interface GetCartProductOptionsPlanArgs { /** * Cart identifier */ cartId: string; /** * Catalog name */ catalogName?: string; /** * options plan code. */ optionsPlanCode: string; /** * Product offer identifier */ planCode: string; /** * Capacity of the pricing (type of pricing) */ priceCapacity: string; /** * Product */ product: string; } /** * A collection of values returned by getCartProductOptionsPlan. */ export interface GetCartProductOptionsPlanResult { readonly cartId: string; readonly catalogName?: string; /** * Define if options of this family are exclusive with each other */ readonly exclusive: boolean; /** * Option family */ readonly family: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Define if an option of this family is mandatory */ readonly mandatory: boolean; readonly optionsPlanCode: string; /** * Product offer identifier */ readonly planCode: string; readonly priceCapacity: string; /** * Prices of the product offer */ readonly prices: outputs.Order.GetCartProductOptionsPlanPrice[]; readonly product: string; /** * Name of the product */ readonly productName: string; /** * Product type */ readonly productType: string; /** * Selected Price according to capacity */ readonly selectedPrices: outputs.Order.GetCartProductOptionsPlanSelectedPrice[]; } /** * Use this data source to retrieve information of order cart product options 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.getCartProductOptionsPlan({ * cartId: myCart.id, * priceCapacity: "renew", * product: "cloud", * planCode: "project", * optionsPlanCode: "vrack", * })); * ``` */ export declare function getCartProductOptionsPlanOutput(args: GetCartProductOptionsPlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCartProductOptionsPlan. */ export interface GetCartProductOptionsPlanOutputArgs { /** * Cart identifier */ cartId: pulumi.Input; /** * Catalog name */ catalogName?: pulumi.Input; /** * options plan code. */ optionsPlanCode: pulumi.Input; /** * Product offer identifier */ planCode: pulumi.Input; /** * Capacity of the pricing (type of pricing) */ priceCapacity: pulumi.Input; /** * Product */ product: pulumi.Input; }