order

package
v0.43.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCartArgs

type GetCartArgs struct {
	// Assign a shopping cart to a logged in client. Values can be `true` or `false`.
	Assign *bool `pulumi:"assign"`
	// Description of your cart
	Description *string `pulumi:"description"`
	// Expiration time (format: 2006-01-02T15:04:05+00:00)
	Expire *string `pulumi:"expire"`
	// 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 `pulumi:"ovhSubsidiary"`
}

A collection of arguments for invoking getCart.

type GetCartOutputArgs

type GetCartOutputArgs struct {
	// Assign a shopping cart to a logged in client. Values can be `true` or `false`.
	Assign pulumi.BoolPtrInput `pulumi:"assign"`
	// Description of your cart
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Expiration time (format: 2006-01-02T15:04:05+00:00)
	Expire pulumi.StringPtrInput `pulumi:"expire"`
	// 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.StringInput `pulumi:"ovhSubsidiary"`
}

A collection of arguments for invoking getCart.

func (GetCartOutputArgs) ElementType

func (GetCartOutputArgs) ElementType() reflect.Type

type GetCartProductOptionsPlanArgs

type GetCartProductOptionsPlanArgs struct {
	// Cart identifier
	CartId string `pulumi:"cartId"`
	// Catalog name
	CatalogName *string `pulumi:"catalogName"`
	// options plan code.
	OptionsPlanCode string `pulumi:"optionsPlanCode"`
	// Product offer identifier
	PlanCode string `pulumi:"planCode"`
	// Capacity of the pricing (type of pricing)
	PriceCapacity string `pulumi:"priceCapacity"`
	// Product
	Product string `pulumi:"product"`
}

A collection of arguments for invoking getCartProductOptionsPlan.

type GetCartProductOptionsPlanOutputArgs

type GetCartProductOptionsPlanOutputArgs struct {
	// Cart identifier
	CartId pulumi.StringInput `pulumi:"cartId"`
	// Catalog name
	CatalogName pulumi.StringPtrInput `pulumi:"catalogName"`
	// options plan code.
	OptionsPlanCode pulumi.StringInput `pulumi:"optionsPlanCode"`
	// Product offer identifier
	PlanCode pulumi.StringInput `pulumi:"planCode"`
	// Capacity of the pricing (type of pricing)
	PriceCapacity pulumi.StringInput `pulumi:"priceCapacity"`
	// Product
	Product pulumi.StringInput `pulumi:"product"`
}

A collection of arguments for invoking getCartProductOptionsPlan.

func (GetCartProductOptionsPlanOutputArgs) ElementType

type GetCartProductOptionsPlanPrice

type GetCartProductOptionsPlanPrice struct {
	// Capacities of the pricing (type of pricing)
	Capacities []interface{} `pulumi:"capacities"`
	// Description of the pricing
	Description string `pulumi:"description"`
	// Duration for ordering the product
	Duration string `pulumi:"duration"`
	// Interval of renewal
	Interval int `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity int `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat int `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity int `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat int `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents int `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices []GetCartProductOptionsPlanPricePrice `pulumi:"prices"`
	// Pricing model identifier
	PricingMode string `pulumi:"pricingMode"`
	// Pricing type
	PricingType string `pulumi:"pricingType"`
}

type GetCartProductOptionsPlanPriceArgs

type GetCartProductOptionsPlanPriceArgs struct {
	// Capacities of the pricing (type of pricing)
	Capacities pulumi.ArrayInput `pulumi:"capacities"`
	// Description of the pricing
	Description pulumi.StringInput `pulumi:"description"`
	// Duration for ordering the product
	Duration pulumi.StringInput `pulumi:"duration"`
	// Interval of renewal
	Interval pulumi.IntInput `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity pulumi.IntInput `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat pulumi.IntInput `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity pulumi.IntInput `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat pulumi.IntInput `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents pulumi.IntInput `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices GetCartProductOptionsPlanPricePriceArrayInput `pulumi:"prices"`
	// Pricing model identifier
	PricingMode pulumi.StringInput `pulumi:"pricingMode"`
	// Pricing type
	PricingType pulumi.StringInput `pulumi:"pricingType"`
}

func (GetCartProductOptionsPlanPriceArgs) ElementType

func (GetCartProductOptionsPlanPriceArgs) ToGetCartProductOptionsPlanPriceOutput

func (i GetCartProductOptionsPlanPriceArgs) ToGetCartProductOptionsPlanPriceOutput() GetCartProductOptionsPlanPriceOutput

func (GetCartProductOptionsPlanPriceArgs) ToGetCartProductOptionsPlanPriceOutputWithContext

func (i GetCartProductOptionsPlanPriceArgs) ToGetCartProductOptionsPlanPriceOutputWithContext(ctx context.Context) GetCartProductOptionsPlanPriceOutput

type GetCartProductOptionsPlanPriceArray

type GetCartProductOptionsPlanPriceArray []GetCartProductOptionsPlanPriceInput

func (GetCartProductOptionsPlanPriceArray) ElementType

func (GetCartProductOptionsPlanPriceArray) ToGetCartProductOptionsPlanPriceArrayOutput

func (i GetCartProductOptionsPlanPriceArray) ToGetCartProductOptionsPlanPriceArrayOutput() GetCartProductOptionsPlanPriceArrayOutput

func (GetCartProductOptionsPlanPriceArray) ToGetCartProductOptionsPlanPriceArrayOutputWithContext

func (i GetCartProductOptionsPlanPriceArray) ToGetCartProductOptionsPlanPriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsPlanPriceArrayOutput

type GetCartProductOptionsPlanPriceArrayInput

type GetCartProductOptionsPlanPriceArrayInput interface {
	pulumi.Input

	ToGetCartProductOptionsPlanPriceArrayOutput() GetCartProductOptionsPlanPriceArrayOutput
	ToGetCartProductOptionsPlanPriceArrayOutputWithContext(context.Context) GetCartProductOptionsPlanPriceArrayOutput
}

GetCartProductOptionsPlanPriceArrayInput is an input type that accepts GetCartProductOptionsPlanPriceArray and GetCartProductOptionsPlanPriceArrayOutput values. You can construct a concrete instance of `GetCartProductOptionsPlanPriceArrayInput` via:

GetCartProductOptionsPlanPriceArray{ GetCartProductOptionsPlanPriceArgs{...} }

type GetCartProductOptionsPlanPriceArrayOutput

type GetCartProductOptionsPlanPriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsPlanPriceArrayOutput) ElementType

func (GetCartProductOptionsPlanPriceArrayOutput) Index

func (GetCartProductOptionsPlanPriceArrayOutput) ToGetCartProductOptionsPlanPriceArrayOutput

func (o GetCartProductOptionsPlanPriceArrayOutput) ToGetCartProductOptionsPlanPriceArrayOutput() GetCartProductOptionsPlanPriceArrayOutput

func (GetCartProductOptionsPlanPriceArrayOutput) ToGetCartProductOptionsPlanPriceArrayOutputWithContext

func (o GetCartProductOptionsPlanPriceArrayOutput) ToGetCartProductOptionsPlanPriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsPlanPriceArrayOutput

type GetCartProductOptionsPlanPriceInput

type GetCartProductOptionsPlanPriceInput interface {
	pulumi.Input

	ToGetCartProductOptionsPlanPriceOutput() GetCartProductOptionsPlanPriceOutput
	ToGetCartProductOptionsPlanPriceOutputWithContext(context.Context) GetCartProductOptionsPlanPriceOutput
}

GetCartProductOptionsPlanPriceInput is an input type that accepts GetCartProductOptionsPlanPriceArgs and GetCartProductOptionsPlanPriceOutput values. You can construct a concrete instance of `GetCartProductOptionsPlanPriceInput` via:

GetCartProductOptionsPlanPriceArgs{...}

type GetCartProductOptionsPlanPriceOutput

type GetCartProductOptionsPlanPriceOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsPlanPriceOutput) Capacities

Capacities of the pricing (type of pricing)

func (GetCartProductOptionsPlanPriceOutput) Description

Description of the pricing

func (GetCartProductOptionsPlanPriceOutput) Duration

Duration for ordering the product

func (GetCartProductOptionsPlanPriceOutput) ElementType

func (GetCartProductOptionsPlanPriceOutput) Interval

Interval of renewal

func (GetCartProductOptionsPlanPriceOutput) MaximumQuantity

Maximum quantity that can be ordered

func (GetCartProductOptionsPlanPriceOutput) MaximumRepeat

Maximum repeat for renewal

func (GetCartProductOptionsPlanPriceOutput) MinimumQuantity

Minimum quantity that can be ordered

func (GetCartProductOptionsPlanPriceOutput) MinimumRepeat

Minimum repeat for renewal

func (GetCartProductOptionsPlanPriceOutput) PriceInUcents

Price of the product in micro-centims

func (GetCartProductOptionsPlanPriceOutput) Prices

Price of the product (Price with its currency and textual representation)

func (GetCartProductOptionsPlanPriceOutput) PricingMode

Pricing model identifier

func (GetCartProductOptionsPlanPriceOutput) PricingType

Pricing type

func (GetCartProductOptionsPlanPriceOutput) ToGetCartProductOptionsPlanPriceOutput

func (o GetCartProductOptionsPlanPriceOutput) ToGetCartProductOptionsPlanPriceOutput() GetCartProductOptionsPlanPriceOutput

func (GetCartProductOptionsPlanPriceOutput) ToGetCartProductOptionsPlanPriceOutputWithContext

func (o GetCartProductOptionsPlanPriceOutput) ToGetCartProductOptionsPlanPriceOutputWithContext(ctx context.Context) GetCartProductOptionsPlanPriceOutput

type GetCartProductOptionsPlanPricePrice

type GetCartProductOptionsPlanPricePrice struct {
	// Currency code
	CurrencyCode string `pulumi:"currencyCode"`
	// Textual representation
	Text string `pulumi:"text"`
	// The effective price
	Value float64 `pulumi:"value"`
}

type GetCartProductOptionsPlanPricePriceArgs

type GetCartProductOptionsPlanPricePriceArgs struct {
	// Currency code
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
	// Textual representation
	Text pulumi.StringInput `pulumi:"text"`
	// The effective price
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetCartProductOptionsPlanPricePriceArgs) ElementType

func (GetCartProductOptionsPlanPricePriceArgs) ToGetCartProductOptionsPlanPricePriceOutput

func (i GetCartProductOptionsPlanPricePriceArgs) ToGetCartProductOptionsPlanPricePriceOutput() GetCartProductOptionsPlanPricePriceOutput

func (GetCartProductOptionsPlanPricePriceArgs) ToGetCartProductOptionsPlanPricePriceOutputWithContext

func (i GetCartProductOptionsPlanPricePriceArgs) ToGetCartProductOptionsPlanPricePriceOutputWithContext(ctx context.Context) GetCartProductOptionsPlanPricePriceOutput

type GetCartProductOptionsPlanPricePriceArray

type GetCartProductOptionsPlanPricePriceArray []GetCartProductOptionsPlanPricePriceInput

func (GetCartProductOptionsPlanPricePriceArray) ElementType

func (GetCartProductOptionsPlanPricePriceArray) ToGetCartProductOptionsPlanPricePriceArrayOutput

func (i GetCartProductOptionsPlanPricePriceArray) ToGetCartProductOptionsPlanPricePriceArrayOutput() GetCartProductOptionsPlanPricePriceArrayOutput

func (GetCartProductOptionsPlanPricePriceArray) ToGetCartProductOptionsPlanPricePriceArrayOutputWithContext

func (i GetCartProductOptionsPlanPricePriceArray) ToGetCartProductOptionsPlanPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsPlanPricePriceArrayOutput

type GetCartProductOptionsPlanPricePriceArrayInput

type GetCartProductOptionsPlanPricePriceArrayInput interface {
	pulumi.Input

	ToGetCartProductOptionsPlanPricePriceArrayOutput() GetCartProductOptionsPlanPricePriceArrayOutput
	ToGetCartProductOptionsPlanPricePriceArrayOutputWithContext(context.Context) GetCartProductOptionsPlanPricePriceArrayOutput
}

GetCartProductOptionsPlanPricePriceArrayInput is an input type that accepts GetCartProductOptionsPlanPricePriceArray and GetCartProductOptionsPlanPricePriceArrayOutput values. You can construct a concrete instance of `GetCartProductOptionsPlanPricePriceArrayInput` via:

GetCartProductOptionsPlanPricePriceArray{ GetCartProductOptionsPlanPricePriceArgs{...} }

type GetCartProductOptionsPlanPricePriceArrayOutput

type GetCartProductOptionsPlanPricePriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsPlanPricePriceArrayOutput) ElementType

func (GetCartProductOptionsPlanPricePriceArrayOutput) Index

func (GetCartProductOptionsPlanPricePriceArrayOutput) ToGetCartProductOptionsPlanPricePriceArrayOutput

func (o GetCartProductOptionsPlanPricePriceArrayOutput) ToGetCartProductOptionsPlanPricePriceArrayOutput() GetCartProductOptionsPlanPricePriceArrayOutput

func (GetCartProductOptionsPlanPricePriceArrayOutput) ToGetCartProductOptionsPlanPricePriceArrayOutputWithContext

func (o GetCartProductOptionsPlanPricePriceArrayOutput) ToGetCartProductOptionsPlanPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsPlanPricePriceArrayOutput

type GetCartProductOptionsPlanPricePriceInput

type GetCartProductOptionsPlanPricePriceInput interface {
	pulumi.Input

	ToGetCartProductOptionsPlanPricePriceOutput() GetCartProductOptionsPlanPricePriceOutput
	ToGetCartProductOptionsPlanPricePriceOutputWithContext(context.Context) GetCartProductOptionsPlanPricePriceOutput
}

GetCartProductOptionsPlanPricePriceInput is an input type that accepts GetCartProductOptionsPlanPricePriceArgs and GetCartProductOptionsPlanPricePriceOutput values. You can construct a concrete instance of `GetCartProductOptionsPlanPricePriceInput` via:

GetCartProductOptionsPlanPricePriceArgs{...}

type GetCartProductOptionsPlanPricePriceOutput

type GetCartProductOptionsPlanPricePriceOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsPlanPricePriceOutput) CurrencyCode

Currency code

func (GetCartProductOptionsPlanPricePriceOutput) ElementType

func (GetCartProductOptionsPlanPricePriceOutput) Text

Textual representation

func (GetCartProductOptionsPlanPricePriceOutput) ToGetCartProductOptionsPlanPricePriceOutput

func (o GetCartProductOptionsPlanPricePriceOutput) ToGetCartProductOptionsPlanPricePriceOutput() GetCartProductOptionsPlanPricePriceOutput

func (GetCartProductOptionsPlanPricePriceOutput) ToGetCartProductOptionsPlanPricePriceOutputWithContext

func (o GetCartProductOptionsPlanPricePriceOutput) ToGetCartProductOptionsPlanPricePriceOutputWithContext(ctx context.Context) GetCartProductOptionsPlanPricePriceOutput

func (GetCartProductOptionsPlanPricePriceOutput) Value

The effective price

type GetCartProductOptionsPlanResult

type GetCartProductOptionsPlanResult struct {
	CartId      string  `pulumi:"cartId"`
	CatalogName *string `pulumi:"catalogName"`
	// Define if options of this family are exclusive with each other
	Exclusive bool `pulumi:"exclusive"`
	// Option family
	Family string `pulumi:"family"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Define if an option of this family is mandatory
	Mandatory       bool   `pulumi:"mandatory"`
	OptionsPlanCode string `pulumi:"optionsPlanCode"`
	// Product offer identifier
	PlanCode      string `pulumi:"planCode"`
	PriceCapacity string `pulumi:"priceCapacity"`
	// Prices of the product offer
	Prices  []GetCartProductOptionsPlanPrice `pulumi:"prices"`
	Product string                           `pulumi:"product"`
	// Name of the product
	ProductName string `pulumi:"productName"`
	// Product type
	ProductType string `pulumi:"productType"`
	// Selected Price according to capacity
	SelectedPrices []GetCartProductOptionsPlanSelectedPrice `pulumi:"selectedPrices"`
}

A collection of values returned by getCartProductOptionsPlan.

func GetCartProductOptionsPlan

func GetCartProductOptionsPlan(ctx *pulumi.Context, args *GetCartProductOptionsPlanArgs, opts ...pulumi.InvokeOption) (*GetCartProductOptionsPlanResult, error)

Use this data source to retrieve information of order cart product options plan.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Order"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myaccount, err := Me.GetMe(ctx, nil, nil)
		if err != nil {
			return err
		}
		mycart, err := Order.GetCart(ctx, &order.GetCartArgs{
			OvhSubsidiary: myaccount.OvhSubsidiary,
		}, nil)
		if err != nil {
			return err
		}
		_, err = Order.GetCartProductOptionsPlan(ctx, &order.GetCartProductOptionsPlanArgs{
			CartId:          mycart.Id,
			PriceCapacity:   "renew",
			Product:         "cloud",
			PlanCode:        "project",
			OptionsPlanCode: "vrack",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCartProductOptionsPlanResultOutput

type GetCartProductOptionsPlanResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCartProductOptionsPlan.

func (GetCartProductOptionsPlanResultOutput) CartId

func (GetCartProductOptionsPlanResultOutput) CatalogName

func (GetCartProductOptionsPlanResultOutput) ElementType

func (GetCartProductOptionsPlanResultOutput) Exclusive

Define if options of this family are exclusive with each other

func (GetCartProductOptionsPlanResultOutput) Family

Option family

func (GetCartProductOptionsPlanResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCartProductOptionsPlanResultOutput) Mandatory

Define if an option of this family is mandatory

func (GetCartProductOptionsPlanResultOutput) OptionsPlanCode

func (GetCartProductOptionsPlanResultOutput) PlanCode

Product offer identifier

func (GetCartProductOptionsPlanResultOutput) PriceCapacity

func (GetCartProductOptionsPlanResultOutput) Prices

Prices of the product offer

func (GetCartProductOptionsPlanResultOutput) Product

func (GetCartProductOptionsPlanResultOutput) ProductName

Name of the product

func (GetCartProductOptionsPlanResultOutput) ProductType

Product type

func (GetCartProductOptionsPlanResultOutput) SelectedPrices

Selected Price according to capacity

func (GetCartProductOptionsPlanResultOutput) ToGetCartProductOptionsPlanResultOutput

func (o GetCartProductOptionsPlanResultOutput) ToGetCartProductOptionsPlanResultOutput() GetCartProductOptionsPlanResultOutput

func (GetCartProductOptionsPlanResultOutput) ToGetCartProductOptionsPlanResultOutputWithContext

func (o GetCartProductOptionsPlanResultOutput) ToGetCartProductOptionsPlanResultOutputWithContext(ctx context.Context) GetCartProductOptionsPlanResultOutput

type GetCartProductOptionsPlanSelectedPrice

type GetCartProductOptionsPlanSelectedPrice struct {
	// Capacities of the pricing (type of pricing)
	Capacities []interface{} `pulumi:"capacities"`
	// Description of the pricing
	Description string `pulumi:"description"`
	// Duration for ordering the product
	Duration string `pulumi:"duration"`
	// Interval of renewal
	Interval int `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity int `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat int `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity int `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat int `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents int `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices []GetCartProductOptionsPlanSelectedPricePrice `pulumi:"prices"`
	// Pricing model identifier
	PricingMode string `pulumi:"pricingMode"`
	// Pricing type
	PricingType string `pulumi:"pricingType"`
}

type GetCartProductOptionsPlanSelectedPriceArgs

type GetCartProductOptionsPlanSelectedPriceArgs struct {
	// Capacities of the pricing (type of pricing)
	Capacities pulumi.ArrayInput `pulumi:"capacities"`
	// Description of the pricing
	Description pulumi.StringInput `pulumi:"description"`
	// Duration for ordering the product
	Duration pulumi.StringInput `pulumi:"duration"`
	// Interval of renewal
	Interval pulumi.IntInput `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity pulumi.IntInput `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat pulumi.IntInput `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity pulumi.IntInput `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat pulumi.IntInput `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents pulumi.IntInput `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices GetCartProductOptionsPlanSelectedPricePriceArrayInput `pulumi:"prices"`
	// Pricing model identifier
	PricingMode pulumi.StringInput `pulumi:"pricingMode"`
	// Pricing type
	PricingType pulumi.StringInput `pulumi:"pricingType"`
}

func (GetCartProductOptionsPlanSelectedPriceArgs) ElementType

func (GetCartProductOptionsPlanSelectedPriceArgs) ToGetCartProductOptionsPlanSelectedPriceOutput

func (i GetCartProductOptionsPlanSelectedPriceArgs) ToGetCartProductOptionsPlanSelectedPriceOutput() GetCartProductOptionsPlanSelectedPriceOutput

func (GetCartProductOptionsPlanSelectedPriceArgs) ToGetCartProductOptionsPlanSelectedPriceOutputWithContext

func (i GetCartProductOptionsPlanSelectedPriceArgs) ToGetCartProductOptionsPlanSelectedPriceOutputWithContext(ctx context.Context) GetCartProductOptionsPlanSelectedPriceOutput

type GetCartProductOptionsPlanSelectedPriceArray

type GetCartProductOptionsPlanSelectedPriceArray []GetCartProductOptionsPlanSelectedPriceInput

func (GetCartProductOptionsPlanSelectedPriceArray) ElementType

func (GetCartProductOptionsPlanSelectedPriceArray) ToGetCartProductOptionsPlanSelectedPriceArrayOutput

func (i GetCartProductOptionsPlanSelectedPriceArray) ToGetCartProductOptionsPlanSelectedPriceArrayOutput() GetCartProductOptionsPlanSelectedPriceArrayOutput

func (GetCartProductOptionsPlanSelectedPriceArray) ToGetCartProductOptionsPlanSelectedPriceArrayOutputWithContext

func (i GetCartProductOptionsPlanSelectedPriceArray) ToGetCartProductOptionsPlanSelectedPriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsPlanSelectedPriceArrayOutput

type GetCartProductOptionsPlanSelectedPriceArrayInput

type GetCartProductOptionsPlanSelectedPriceArrayInput interface {
	pulumi.Input

	ToGetCartProductOptionsPlanSelectedPriceArrayOutput() GetCartProductOptionsPlanSelectedPriceArrayOutput
	ToGetCartProductOptionsPlanSelectedPriceArrayOutputWithContext(context.Context) GetCartProductOptionsPlanSelectedPriceArrayOutput
}

GetCartProductOptionsPlanSelectedPriceArrayInput is an input type that accepts GetCartProductOptionsPlanSelectedPriceArray and GetCartProductOptionsPlanSelectedPriceArrayOutput values. You can construct a concrete instance of `GetCartProductOptionsPlanSelectedPriceArrayInput` via:

GetCartProductOptionsPlanSelectedPriceArray{ GetCartProductOptionsPlanSelectedPriceArgs{...} }

type GetCartProductOptionsPlanSelectedPriceArrayOutput

type GetCartProductOptionsPlanSelectedPriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsPlanSelectedPriceArrayOutput) ElementType

func (GetCartProductOptionsPlanSelectedPriceArrayOutput) Index

func (GetCartProductOptionsPlanSelectedPriceArrayOutput) ToGetCartProductOptionsPlanSelectedPriceArrayOutput

func (o GetCartProductOptionsPlanSelectedPriceArrayOutput) ToGetCartProductOptionsPlanSelectedPriceArrayOutput() GetCartProductOptionsPlanSelectedPriceArrayOutput

func (GetCartProductOptionsPlanSelectedPriceArrayOutput) ToGetCartProductOptionsPlanSelectedPriceArrayOutputWithContext

func (o GetCartProductOptionsPlanSelectedPriceArrayOutput) ToGetCartProductOptionsPlanSelectedPriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsPlanSelectedPriceArrayOutput

type GetCartProductOptionsPlanSelectedPriceInput

type GetCartProductOptionsPlanSelectedPriceInput interface {
	pulumi.Input

	ToGetCartProductOptionsPlanSelectedPriceOutput() GetCartProductOptionsPlanSelectedPriceOutput
	ToGetCartProductOptionsPlanSelectedPriceOutputWithContext(context.Context) GetCartProductOptionsPlanSelectedPriceOutput
}

GetCartProductOptionsPlanSelectedPriceInput is an input type that accepts GetCartProductOptionsPlanSelectedPriceArgs and GetCartProductOptionsPlanSelectedPriceOutput values. You can construct a concrete instance of `GetCartProductOptionsPlanSelectedPriceInput` via:

GetCartProductOptionsPlanSelectedPriceArgs{...}

type GetCartProductOptionsPlanSelectedPriceOutput

type GetCartProductOptionsPlanSelectedPriceOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsPlanSelectedPriceOutput) Capacities

Capacities of the pricing (type of pricing)

func (GetCartProductOptionsPlanSelectedPriceOutput) Description

Description of the pricing

func (GetCartProductOptionsPlanSelectedPriceOutput) Duration

Duration for ordering the product

func (GetCartProductOptionsPlanSelectedPriceOutput) ElementType

func (GetCartProductOptionsPlanSelectedPriceOutput) Interval

Interval of renewal

func (GetCartProductOptionsPlanSelectedPriceOutput) MaximumQuantity

Maximum quantity that can be ordered

func (GetCartProductOptionsPlanSelectedPriceOutput) MaximumRepeat

Maximum repeat for renewal

func (GetCartProductOptionsPlanSelectedPriceOutput) MinimumQuantity

Minimum quantity that can be ordered

func (GetCartProductOptionsPlanSelectedPriceOutput) MinimumRepeat

Minimum repeat for renewal

func (GetCartProductOptionsPlanSelectedPriceOutput) PriceInUcents

Price of the product in micro-centims

func (GetCartProductOptionsPlanSelectedPriceOutput) Prices

Price of the product (Price with its currency and textual representation)

func (GetCartProductOptionsPlanSelectedPriceOutput) PricingMode

Pricing model identifier

func (GetCartProductOptionsPlanSelectedPriceOutput) PricingType

Pricing type

func (GetCartProductOptionsPlanSelectedPriceOutput) ToGetCartProductOptionsPlanSelectedPriceOutput

func (o GetCartProductOptionsPlanSelectedPriceOutput) ToGetCartProductOptionsPlanSelectedPriceOutput() GetCartProductOptionsPlanSelectedPriceOutput

func (GetCartProductOptionsPlanSelectedPriceOutput) ToGetCartProductOptionsPlanSelectedPriceOutputWithContext

func (o GetCartProductOptionsPlanSelectedPriceOutput) ToGetCartProductOptionsPlanSelectedPriceOutputWithContext(ctx context.Context) GetCartProductOptionsPlanSelectedPriceOutput

type GetCartProductOptionsPlanSelectedPricePrice

type GetCartProductOptionsPlanSelectedPricePrice struct {
	// Currency code
	CurrencyCode string `pulumi:"currencyCode"`
	// Textual representation
	Text string `pulumi:"text"`
	// The effective price
	Value float64 `pulumi:"value"`
}

type GetCartProductOptionsPlanSelectedPricePriceArgs

type GetCartProductOptionsPlanSelectedPricePriceArgs struct {
	// Currency code
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
	// Textual representation
	Text pulumi.StringInput `pulumi:"text"`
	// The effective price
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetCartProductOptionsPlanSelectedPricePriceArgs) ElementType

func (GetCartProductOptionsPlanSelectedPricePriceArgs) ToGetCartProductOptionsPlanSelectedPricePriceOutput

func (i GetCartProductOptionsPlanSelectedPricePriceArgs) ToGetCartProductOptionsPlanSelectedPricePriceOutput() GetCartProductOptionsPlanSelectedPricePriceOutput

func (GetCartProductOptionsPlanSelectedPricePriceArgs) ToGetCartProductOptionsPlanSelectedPricePriceOutputWithContext

func (i GetCartProductOptionsPlanSelectedPricePriceArgs) ToGetCartProductOptionsPlanSelectedPricePriceOutputWithContext(ctx context.Context) GetCartProductOptionsPlanSelectedPricePriceOutput

type GetCartProductOptionsPlanSelectedPricePriceArray

type GetCartProductOptionsPlanSelectedPricePriceArray []GetCartProductOptionsPlanSelectedPricePriceInput

func (GetCartProductOptionsPlanSelectedPricePriceArray) ElementType

func (GetCartProductOptionsPlanSelectedPricePriceArray) ToGetCartProductOptionsPlanSelectedPricePriceArrayOutput

func (i GetCartProductOptionsPlanSelectedPricePriceArray) ToGetCartProductOptionsPlanSelectedPricePriceArrayOutput() GetCartProductOptionsPlanSelectedPricePriceArrayOutput

func (GetCartProductOptionsPlanSelectedPricePriceArray) ToGetCartProductOptionsPlanSelectedPricePriceArrayOutputWithContext

func (i GetCartProductOptionsPlanSelectedPricePriceArray) ToGetCartProductOptionsPlanSelectedPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsPlanSelectedPricePriceArrayOutput

type GetCartProductOptionsPlanSelectedPricePriceArrayInput

type GetCartProductOptionsPlanSelectedPricePriceArrayInput interface {
	pulumi.Input

	ToGetCartProductOptionsPlanSelectedPricePriceArrayOutput() GetCartProductOptionsPlanSelectedPricePriceArrayOutput
	ToGetCartProductOptionsPlanSelectedPricePriceArrayOutputWithContext(context.Context) GetCartProductOptionsPlanSelectedPricePriceArrayOutput
}

GetCartProductOptionsPlanSelectedPricePriceArrayInput is an input type that accepts GetCartProductOptionsPlanSelectedPricePriceArray and GetCartProductOptionsPlanSelectedPricePriceArrayOutput values. You can construct a concrete instance of `GetCartProductOptionsPlanSelectedPricePriceArrayInput` via:

GetCartProductOptionsPlanSelectedPricePriceArray{ GetCartProductOptionsPlanSelectedPricePriceArgs{...} }

type GetCartProductOptionsPlanSelectedPricePriceArrayOutput

type GetCartProductOptionsPlanSelectedPricePriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsPlanSelectedPricePriceArrayOutput) ElementType

func (GetCartProductOptionsPlanSelectedPricePriceArrayOutput) Index

func (GetCartProductOptionsPlanSelectedPricePriceArrayOutput) ToGetCartProductOptionsPlanSelectedPricePriceArrayOutput

func (GetCartProductOptionsPlanSelectedPricePriceArrayOutput) ToGetCartProductOptionsPlanSelectedPricePriceArrayOutputWithContext

func (o GetCartProductOptionsPlanSelectedPricePriceArrayOutput) ToGetCartProductOptionsPlanSelectedPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsPlanSelectedPricePriceArrayOutput

type GetCartProductOptionsPlanSelectedPricePriceInput

type GetCartProductOptionsPlanSelectedPricePriceInput interface {
	pulumi.Input

	ToGetCartProductOptionsPlanSelectedPricePriceOutput() GetCartProductOptionsPlanSelectedPricePriceOutput
	ToGetCartProductOptionsPlanSelectedPricePriceOutputWithContext(context.Context) GetCartProductOptionsPlanSelectedPricePriceOutput
}

GetCartProductOptionsPlanSelectedPricePriceInput is an input type that accepts GetCartProductOptionsPlanSelectedPricePriceArgs and GetCartProductOptionsPlanSelectedPricePriceOutput values. You can construct a concrete instance of `GetCartProductOptionsPlanSelectedPricePriceInput` via:

GetCartProductOptionsPlanSelectedPricePriceArgs{...}

type GetCartProductOptionsPlanSelectedPricePriceOutput

type GetCartProductOptionsPlanSelectedPricePriceOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsPlanSelectedPricePriceOutput) CurrencyCode

Currency code

func (GetCartProductOptionsPlanSelectedPricePriceOutput) ElementType

func (GetCartProductOptionsPlanSelectedPricePriceOutput) Text

Textual representation

func (GetCartProductOptionsPlanSelectedPricePriceOutput) ToGetCartProductOptionsPlanSelectedPricePriceOutput

func (o GetCartProductOptionsPlanSelectedPricePriceOutput) ToGetCartProductOptionsPlanSelectedPricePriceOutput() GetCartProductOptionsPlanSelectedPricePriceOutput

func (GetCartProductOptionsPlanSelectedPricePriceOutput) ToGetCartProductOptionsPlanSelectedPricePriceOutputWithContext

func (o GetCartProductOptionsPlanSelectedPricePriceOutput) ToGetCartProductOptionsPlanSelectedPricePriceOutputWithContext(ctx context.Context) GetCartProductOptionsPlanSelectedPricePriceOutput

func (GetCartProductOptionsPlanSelectedPricePriceOutput) Value

The effective price

type GetCartProductOptionsResult

type GetCartProductOptionsResult struct {
	// Define if options of this family are exclusive with each other
	Exclusive bool `pulumi:"exclusive"`
	// Option family
	Family string `pulumi:"family"`
	// Define if an option of this family is mandatory
	Mandatory bool `pulumi:"mandatory"`
	// Product offer identifier
	PlanCode string `pulumi:"planCode"`
	// Prices of the product offer
	Prices []GetCartProductOptionsResultPrice `pulumi:"prices"`
	// Name of the product
	ProductName string `pulumi:"productName"`
	// Product type
	ProductType string `pulumi:"productType"`
}

type GetCartProductOptionsResultArgs

type GetCartProductOptionsResultArgs struct {
	// Define if options of this family are exclusive with each other
	Exclusive pulumi.BoolInput `pulumi:"exclusive"`
	// Option family
	Family pulumi.StringInput `pulumi:"family"`
	// Define if an option of this family is mandatory
	Mandatory pulumi.BoolInput `pulumi:"mandatory"`
	// Product offer identifier
	PlanCode pulumi.StringInput `pulumi:"planCode"`
	// Prices of the product offer
	Prices GetCartProductOptionsResultPriceArrayInput `pulumi:"prices"`
	// Name of the product
	ProductName pulumi.StringInput `pulumi:"productName"`
	// Product type
	ProductType pulumi.StringInput `pulumi:"productType"`
}

func (GetCartProductOptionsResultArgs) ElementType

func (GetCartProductOptionsResultArgs) ToGetCartProductOptionsResultOutput

func (i GetCartProductOptionsResultArgs) ToGetCartProductOptionsResultOutput() GetCartProductOptionsResultOutput

func (GetCartProductOptionsResultArgs) ToGetCartProductOptionsResultOutputWithContext

func (i GetCartProductOptionsResultArgs) ToGetCartProductOptionsResultOutputWithContext(ctx context.Context) GetCartProductOptionsResultOutput

type GetCartProductOptionsResultArray

type GetCartProductOptionsResultArray []GetCartProductOptionsResultInput

func (GetCartProductOptionsResultArray) ElementType

func (GetCartProductOptionsResultArray) ToGetCartProductOptionsResultArrayOutput

func (i GetCartProductOptionsResultArray) ToGetCartProductOptionsResultArrayOutput() GetCartProductOptionsResultArrayOutput

func (GetCartProductOptionsResultArray) ToGetCartProductOptionsResultArrayOutputWithContext

func (i GetCartProductOptionsResultArray) ToGetCartProductOptionsResultArrayOutputWithContext(ctx context.Context) GetCartProductOptionsResultArrayOutput

type GetCartProductOptionsResultArrayInput

type GetCartProductOptionsResultArrayInput interface {
	pulumi.Input

	ToGetCartProductOptionsResultArrayOutput() GetCartProductOptionsResultArrayOutput
	ToGetCartProductOptionsResultArrayOutputWithContext(context.Context) GetCartProductOptionsResultArrayOutput
}

GetCartProductOptionsResultArrayInput is an input type that accepts GetCartProductOptionsResultArray and GetCartProductOptionsResultArrayOutput values. You can construct a concrete instance of `GetCartProductOptionsResultArrayInput` via:

GetCartProductOptionsResultArray{ GetCartProductOptionsResultArgs{...} }

type GetCartProductOptionsResultArrayOutput

type GetCartProductOptionsResultArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsResultArrayOutput) ElementType

func (GetCartProductOptionsResultArrayOutput) Index

func (GetCartProductOptionsResultArrayOutput) ToGetCartProductOptionsResultArrayOutput

func (o GetCartProductOptionsResultArrayOutput) ToGetCartProductOptionsResultArrayOutput() GetCartProductOptionsResultArrayOutput

func (GetCartProductOptionsResultArrayOutput) ToGetCartProductOptionsResultArrayOutputWithContext

func (o GetCartProductOptionsResultArrayOutput) ToGetCartProductOptionsResultArrayOutputWithContext(ctx context.Context) GetCartProductOptionsResultArrayOutput

type GetCartProductOptionsResultInput

type GetCartProductOptionsResultInput interface {
	pulumi.Input

	ToGetCartProductOptionsResultOutput() GetCartProductOptionsResultOutput
	ToGetCartProductOptionsResultOutputWithContext(context.Context) GetCartProductOptionsResultOutput
}

GetCartProductOptionsResultInput is an input type that accepts GetCartProductOptionsResultArgs and GetCartProductOptionsResultOutput values. You can construct a concrete instance of `GetCartProductOptionsResultInput` via:

GetCartProductOptionsResultArgs{...}

type GetCartProductOptionsResultOutput

type GetCartProductOptionsResultOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsResultOutput) ElementType

func (GetCartProductOptionsResultOutput) Exclusive

Define if options of this family are exclusive with each other

func (GetCartProductOptionsResultOutput) Family

Option family

func (GetCartProductOptionsResultOutput) Mandatory

Define if an option of this family is mandatory

func (GetCartProductOptionsResultOutput) PlanCode

Product offer identifier

func (GetCartProductOptionsResultOutput) Prices

Prices of the product offer

func (GetCartProductOptionsResultOutput) ProductName

Name of the product

func (GetCartProductOptionsResultOutput) ProductType

Product type

func (GetCartProductOptionsResultOutput) ToGetCartProductOptionsResultOutput

func (o GetCartProductOptionsResultOutput) ToGetCartProductOptionsResultOutput() GetCartProductOptionsResultOutput

func (GetCartProductOptionsResultOutput) ToGetCartProductOptionsResultOutputWithContext

func (o GetCartProductOptionsResultOutput) ToGetCartProductOptionsResultOutputWithContext(ctx context.Context) GetCartProductOptionsResultOutput

type GetCartProductOptionsResultPrice

type GetCartProductOptionsResultPrice struct {
	// Capacities of the pricing (type of pricing)
	Capacities []interface{} `pulumi:"capacities"`
	// Description of the pricing
	Description string `pulumi:"description"`
	// Duration for ordering the product
	Duration string `pulumi:"duration"`
	// Interval of renewal
	Interval int `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity int `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat int `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity int `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat int `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents int `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices []GetCartProductOptionsResultPricePrice `pulumi:"prices"`
	// Pricing model identifier
	PricingMode string `pulumi:"pricingMode"`
	// Pricing type
	PricingType string `pulumi:"pricingType"`
}

type GetCartProductOptionsResultPriceArgs

type GetCartProductOptionsResultPriceArgs struct {
	// Capacities of the pricing (type of pricing)
	Capacities pulumi.ArrayInput `pulumi:"capacities"`
	// Description of the pricing
	Description pulumi.StringInput `pulumi:"description"`
	// Duration for ordering the product
	Duration pulumi.StringInput `pulumi:"duration"`
	// Interval of renewal
	Interval pulumi.IntInput `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity pulumi.IntInput `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat pulumi.IntInput `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity pulumi.IntInput `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat pulumi.IntInput `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents pulumi.IntInput `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices GetCartProductOptionsResultPricePriceArrayInput `pulumi:"prices"`
	// Pricing model identifier
	PricingMode pulumi.StringInput `pulumi:"pricingMode"`
	// Pricing type
	PricingType pulumi.StringInput `pulumi:"pricingType"`
}

func (GetCartProductOptionsResultPriceArgs) ElementType

func (GetCartProductOptionsResultPriceArgs) ToGetCartProductOptionsResultPriceOutput

func (i GetCartProductOptionsResultPriceArgs) ToGetCartProductOptionsResultPriceOutput() GetCartProductOptionsResultPriceOutput

func (GetCartProductOptionsResultPriceArgs) ToGetCartProductOptionsResultPriceOutputWithContext

func (i GetCartProductOptionsResultPriceArgs) ToGetCartProductOptionsResultPriceOutputWithContext(ctx context.Context) GetCartProductOptionsResultPriceOutput

type GetCartProductOptionsResultPriceArray

type GetCartProductOptionsResultPriceArray []GetCartProductOptionsResultPriceInput

func (GetCartProductOptionsResultPriceArray) ElementType

func (GetCartProductOptionsResultPriceArray) ToGetCartProductOptionsResultPriceArrayOutput

func (i GetCartProductOptionsResultPriceArray) ToGetCartProductOptionsResultPriceArrayOutput() GetCartProductOptionsResultPriceArrayOutput

func (GetCartProductOptionsResultPriceArray) ToGetCartProductOptionsResultPriceArrayOutputWithContext

func (i GetCartProductOptionsResultPriceArray) ToGetCartProductOptionsResultPriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsResultPriceArrayOutput

type GetCartProductOptionsResultPriceArrayInput

type GetCartProductOptionsResultPriceArrayInput interface {
	pulumi.Input

	ToGetCartProductOptionsResultPriceArrayOutput() GetCartProductOptionsResultPriceArrayOutput
	ToGetCartProductOptionsResultPriceArrayOutputWithContext(context.Context) GetCartProductOptionsResultPriceArrayOutput
}

GetCartProductOptionsResultPriceArrayInput is an input type that accepts GetCartProductOptionsResultPriceArray and GetCartProductOptionsResultPriceArrayOutput values. You can construct a concrete instance of `GetCartProductOptionsResultPriceArrayInput` via:

GetCartProductOptionsResultPriceArray{ GetCartProductOptionsResultPriceArgs{...} }

type GetCartProductOptionsResultPriceArrayOutput

type GetCartProductOptionsResultPriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsResultPriceArrayOutput) ElementType

func (GetCartProductOptionsResultPriceArrayOutput) Index

func (GetCartProductOptionsResultPriceArrayOutput) ToGetCartProductOptionsResultPriceArrayOutput

func (o GetCartProductOptionsResultPriceArrayOutput) ToGetCartProductOptionsResultPriceArrayOutput() GetCartProductOptionsResultPriceArrayOutput

func (GetCartProductOptionsResultPriceArrayOutput) ToGetCartProductOptionsResultPriceArrayOutputWithContext

func (o GetCartProductOptionsResultPriceArrayOutput) ToGetCartProductOptionsResultPriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsResultPriceArrayOutput

type GetCartProductOptionsResultPriceInput

type GetCartProductOptionsResultPriceInput interface {
	pulumi.Input

	ToGetCartProductOptionsResultPriceOutput() GetCartProductOptionsResultPriceOutput
	ToGetCartProductOptionsResultPriceOutputWithContext(context.Context) GetCartProductOptionsResultPriceOutput
}

GetCartProductOptionsResultPriceInput is an input type that accepts GetCartProductOptionsResultPriceArgs and GetCartProductOptionsResultPriceOutput values. You can construct a concrete instance of `GetCartProductOptionsResultPriceInput` via:

GetCartProductOptionsResultPriceArgs{...}

type GetCartProductOptionsResultPriceOutput

type GetCartProductOptionsResultPriceOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsResultPriceOutput) Capacities

Capacities of the pricing (type of pricing)

func (GetCartProductOptionsResultPriceOutput) Description

Description of the pricing

func (GetCartProductOptionsResultPriceOutput) Duration

Duration for ordering the product

func (GetCartProductOptionsResultPriceOutput) ElementType

func (GetCartProductOptionsResultPriceOutput) Interval

Interval of renewal

func (GetCartProductOptionsResultPriceOutput) MaximumQuantity

Maximum quantity that can be ordered

func (GetCartProductOptionsResultPriceOutput) MaximumRepeat

Maximum repeat for renewal

func (GetCartProductOptionsResultPriceOutput) MinimumQuantity

Minimum quantity that can be ordered

func (GetCartProductOptionsResultPriceOutput) MinimumRepeat

Minimum repeat for renewal

func (GetCartProductOptionsResultPriceOutput) PriceInUcents

Price of the product in micro-centims

func (GetCartProductOptionsResultPriceOutput) Prices

Price of the product (Price with its currency and textual representation)

func (GetCartProductOptionsResultPriceOutput) PricingMode

Pricing model identifier

func (GetCartProductOptionsResultPriceOutput) PricingType

Pricing type

func (GetCartProductOptionsResultPriceOutput) ToGetCartProductOptionsResultPriceOutput

func (o GetCartProductOptionsResultPriceOutput) ToGetCartProductOptionsResultPriceOutput() GetCartProductOptionsResultPriceOutput

func (GetCartProductOptionsResultPriceOutput) ToGetCartProductOptionsResultPriceOutputWithContext

func (o GetCartProductOptionsResultPriceOutput) ToGetCartProductOptionsResultPriceOutputWithContext(ctx context.Context) GetCartProductOptionsResultPriceOutput

type GetCartProductOptionsResultPricePrice

type GetCartProductOptionsResultPricePrice struct {
	// Currency code
	CurrencyCode string `pulumi:"currencyCode"`
	// Textual representation
	Text string `pulumi:"text"`
	// The effective price
	Value float64 `pulumi:"value"`
}

type GetCartProductOptionsResultPricePriceArgs

type GetCartProductOptionsResultPricePriceArgs struct {
	// Currency code
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
	// Textual representation
	Text pulumi.StringInput `pulumi:"text"`
	// The effective price
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetCartProductOptionsResultPricePriceArgs) ElementType

func (GetCartProductOptionsResultPricePriceArgs) ToGetCartProductOptionsResultPricePriceOutput

func (i GetCartProductOptionsResultPricePriceArgs) ToGetCartProductOptionsResultPricePriceOutput() GetCartProductOptionsResultPricePriceOutput

func (GetCartProductOptionsResultPricePriceArgs) ToGetCartProductOptionsResultPricePriceOutputWithContext

func (i GetCartProductOptionsResultPricePriceArgs) ToGetCartProductOptionsResultPricePriceOutputWithContext(ctx context.Context) GetCartProductOptionsResultPricePriceOutput

type GetCartProductOptionsResultPricePriceArray

type GetCartProductOptionsResultPricePriceArray []GetCartProductOptionsResultPricePriceInput

func (GetCartProductOptionsResultPricePriceArray) ElementType

func (GetCartProductOptionsResultPricePriceArray) ToGetCartProductOptionsResultPricePriceArrayOutput

func (i GetCartProductOptionsResultPricePriceArray) ToGetCartProductOptionsResultPricePriceArrayOutput() GetCartProductOptionsResultPricePriceArrayOutput

func (GetCartProductOptionsResultPricePriceArray) ToGetCartProductOptionsResultPricePriceArrayOutputWithContext

func (i GetCartProductOptionsResultPricePriceArray) ToGetCartProductOptionsResultPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsResultPricePriceArrayOutput

type GetCartProductOptionsResultPricePriceArrayInput

type GetCartProductOptionsResultPricePriceArrayInput interface {
	pulumi.Input

	ToGetCartProductOptionsResultPricePriceArrayOutput() GetCartProductOptionsResultPricePriceArrayOutput
	ToGetCartProductOptionsResultPricePriceArrayOutputWithContext(context.Context) GetCartProductOptionsResultPricePriceArrayOutput
}

GetCartProductOptionsResultPricePriceArrayInput is an input type that accepts GetCartProductOptionsResultPricePriceArray and GetCartProductOptionsResultPricePriceArrayOutput values. You can construct a concrete instance of `GetCartProductOptionsResultPricePriceArrayInput` via:

GetCartProductOptionsResultPricePriceArray{ GetCartProductOptionsResultPricePriceArgs{...} }

type GetCartProductOptionsResultPricePriceArrayOutput

type GetCartProductOptionsResultPricePriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsResultPricePriceArrayOutput) ElementType

func (GetCartProductOptionsResultPricePriceArrayOutput) Index

func (GetCartProductOptionsResultPricePriceArrayOutput) ToGetCartProductOptionsResultPricePriceArrayOutput

func (o GetCartProductOptionsResultPricePriceArrayOutput) ToGetCartProductOptionsResultPricePriceArrayOutput() GetCartProductOptionsResultPricePriceArrayOutput

func (GetCartProductOptionsResultPricePriceArrayOutput) ToGetCartProductOptionsResultPricePriceArrayOutputWithContext

func (o GetCartProductOptionsResultPricePriceArrayOutput) ToGetCartProductOptionsResultPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductOptionsResultPricePriceArrayOutput

type GetCartProductOptionsResultPricePriceInput

type GetCartProductOptionsResultPricePriceInput interface {
	pulumi.Input

	ToGetCartProductOptionsResultPricePriceOutput() GetCartProductOptionsResultPricePriceOutput
	ToGetCartProductOptionsResultPricePriceOutputWithContext(context.Context) GetCartProductOptionsResultPricePriceOutput
}

GetCartProductOptionsResultPricePriceInput is an input type that accepts GetCartProductOptionsResultPricePriceArgs and GetCartProductOptionsResultPricePriceOutput values. You can construct a concrete instance of `GetCartProductOptionsResultPricePriceInput` via:

GetCartProductOptionsResultPricePriceArgs{...}

type GetCartProductOptionsResultPricePriceOutput

type GetCartProductOptionsResultPricePriceOutput struct{ *pulumi.OutputState }

func (GetCartProductOptionsResultPricePriceOutput) CurrencyCode

Currency code

func (GetCartProductOptionsResultPricePriceOutput) ElementType

func (GetCartProductOptionsResultPricePriceOutput) Text

Textual representation

func (GetCartProductOptionsResultPricePriceOutput) ToGetCartProductOptionsResultPricePriceOutput

func (o GetCartProductOptionsResultPricePriceOutput) ToGetCartProductOptionsResultPricePriceOutput() GetCartProductOptionsResultPricePriceOutput

func (GetCartProductOptionsResultPricePriceOutput) ToGetCartProductOptionsResultPricePriceOutputWithContext

func (o GetCartProductOptionsResultPricePriceOutput) ToGetCartProductOptionsResultPricePriceOutputWithContext(ctx context.Context) GetCartProductOptionsResultPricePriceOutput

func (GetCartProductOptionsResultPricePriceOutput) Value

The effective price

type GetCartProductPlanArgs

type GetCartProductPlanArgs struct {
	// Cart identifier
	CartId string `pulumi:"cartId"`
	// Catalog name
	CatalogName *string `pulumi:"catalogName"`
	// Product offer identifier
	PlanCode string `pulumi:"planCode"`
	// Capacity of the pricing (type of pricing)
	PriceCapacity string `pulumi:"priceCapacity"`
	// Product
	Product string `pulumi:"product"`
}

A collection of arguments for invoking getCartProductPlan.

type GetCartProductPlanOutputArgs

type GetCartProductPlanOutputArgs struct {
	// Cart identifier
	CartId pulumi.StringInput `pulumi:"cartId"`
	// Catalog name
	CatalogName pulumi.StringPtrInput `pulumi:"catalogName"`
	// Product offer identifier
	PlanCode pulumi.StringInput `pulumi:"planCode"`
	// Capacity of the pricing (type of pricing)
	PriceCapacity pulumi.StringInput `pulumi:"priceCapacity"`
	// Product
	Product pulumi.StringInput `pulumi:"product"`
}

A collection of arguments for invoking getCartProductPlan.

func (GetCartProductPlanOutputArgs) ElementType

type GetCartProductPlanPrice

type GetCartProductPlanPrice struct {
	// Capacities of the pricing (type of pricing)
	Capacities []interface{} `pulumi:"capacities"`
	// Description of the pricing
	Description string `pulumi:"description"`
	// Duration for ordering the product
	Duration string `pulumi:"duration"`
	// Interval of renewal
	Interval int `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity int `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat int `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity int `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat int `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents int `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices []GetCartProductPlanPricePrice `pulumi:"prices"`
	// Pricing model identifier
	PricingMode string `pulumi:"pricingMode"`
	// Pricing type
	PricingType string `pulumi:"pricingType"`
}

type GetCartProductPlanPriceArgs

type GetCartProductPlanPriceArgs struct {
	// Capacities of the pricing (type of pricing)
	Capacities pulumi.ArrayInput `pulumi:"capacities"`
	// Description of the pricing
	Description pulumi.StringInput `pulumi:"description"`
	// Duration for ordering the product
	Duration pulumi.StringInput `pulumi:"duration"`
	// Interval of renewal
	Interval pulumi.IntInput `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity pulumi.IntInput `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat pulumi.IntInput `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity pulumi.IntInput `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat pulumi.IntInput `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents pulumi.IntInput `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices GetCartProductPlanPricePriceArrayInput `pulumi:"prices"`
	// Pricing model identifier
	PricingMode pulumi.StringInput `pulumi:"pricingMode"`
	// Pricing type
	PricingType pulumi.StringInput `pulumi:"pricingType"`
}

func (GetCartProductPlanPriceArgs) ElementType

func (GetCartProductPlanPriceArgs) ToGetCartProductPlanPriceOutput

func (i GetCartProductPlanPriceArgs) ToGetCartProductPlanPriceOutput() GetCartProductPlanPriceOutput

func (GetCartProductPlanPriceArgs) ToGetCartProductPlanPriceOutputWithContext

func (i GetCartProductPlanPriceArgs) ToGetCartProductPlanPriceOutputWithContext(ctx context.Context) GetCartProductPlanPriceOutput

type GetCartProductPlanPriceArray

type GetCartProductPlanPriceArray []GetCartProductPlanPriceInput

func (GetCartProductPlanPriceArray) ElementType

func (GetCartProductPlanPriceArray) ToGetCartProductPlanPriceArrayOutput

func (i GetCartProductPlanPriceArray) ToGetCartProductPlanPriceArrayOutput() GetCartProductPlanPriceArrayOutput

func (GetCartProductPlanPriceArray) ToGetCartProductPlanPriceArrayOutputWithContext

func (i GetCartProductPlanPriceArray) ToGetCartProductPlanPriceArrayOutputWithContext(ctx context.Context) GetCartProductPlanPriceArrayOutput

type GetCartProductPlanPriceArrayInput

type GetCartProductPlanPriceArrayInput interface {
	pulumi.Input

	ToGetCartProductPlanPriceArrayOutput() GetCartProductPlanPriceArrayOutput
	ToGetCartProductPlanPriceArrayOutputWithContext(context.Context) GetCartProductPlanPriceArrayOutput
}

GetCartProductPlanPriceArrayInput is an input type that accepts GetCartProductPlanPriceArray and GetCartProductPlanPriceArrayOutput values. You can construct a concrete instance of `GetCartProductPlanPriceArrayInput` via:

GetCartProductPlanPriceArray{ GetCartProductPlanPriceArgs{...} }

type GetCartProductPlanPriceArrayOutput

type GetCartProductPlanPriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductPlanPriceArrayOutput) ElementType

func (GetCartProductPlanPriceArrayOutput) Index

func (GetCartProductPlanPriceArrayOutput) ToGetCartProductPlanPriceArrayOutput

func (o GetCartProductPlanPriceArrayOutput) ToGetCartProductPlanPriceArrayOutput() GetCartProductPlanPriceArrayOutput

func (GetCartProductPlanPriceArrayOutput) ToGetCartProductPlanPriceArrayOutputWithContext

func (o GetCartProductPlanPriceArrayOutput) ToGetCartProductPlanPriceArrayOutputWithContext(ctx context.Context) GetCartProductPlanPriceArrayOutput

type GetCartProductPlanPriceInput

type GetCartProductPlanPriceInput interface {
	pulumi.Input

	ToGetCartProductPlanPriceOutput() GetCartProductPlanPriceOutput
	ToGetCartProductPlanPriceOutputWithContext(context.Context) GetCartProductPlanPriceOutput
}

GetCartProductPlanPriceInput is an input type that accepts GetCartProductPlanPriceArgs and GetCartProductPlanPriceOutput values. You can construct a concrete instance of `GetCartProductPlanPriceInput` via:

GetCartProductPlanPriceArgs{...}

type GetCartProductPlanPriceOutput

type GetCartProductPlanPriceOutput struct{ *pulumi.OutputState }

func (GetCartProductPlanPriceOutput) Capacities

Capacities of the pricing (type of pricing)

func (GetCartProductPlanPriceOutput) Description

Description of the pricing

func (GetCartProductPlanPriceOutput) Duration

Duration for ordering the product

func (GetCartProductPlanPriceOutput) ElementType

func (GetCartProductPlanPriceOutput) Interval

Interval of renewal

func (GetCartProductPlanPriceOutput) MaximumQuantity

func (o GetCartProductPlanPriceOutput) MaximumQuantity() pulumi.IntOutput

Maximum quantity that can be ordered

func (GetCartProductPlanPriceOutput) MaximumRepeat

Maximum repeat for renewal

func (GetCartProductPlanPriceOutput) MinimumQuantity

func (o GetCartProductPlanPriceOutput) MinimumQuantity() pulumi.IntOutput

Minimum quantity that can be ordered

func (GetCartProductPlanPriceOutput) MinimumRepeat

Minimum repeat for renewal

func (GetCartProductPlanPriceOutput) PriceInUcents

Price of the product in micro-centims

func (GetCartProductPlanPriceOutput) Prices

Price of the product (Price with its currency and textual representation)

func (GetCartProductPlanPriceOutput) PricingMode

Pricing model identifier

func (GetCartProductPlanPriceOutput) PricingType

Pricing type

func (GetCartProductPlanPriceOutput) ToGetCartProductPlanPriceOutput

func (o GetCartProductPlanPriceOutput) ToGetCartProductPlanPriceOutput() GetCartProductPlanPriceOutput

func (GetCartProductPlanPriceOutput) ToGetCartProductPlanPriceOutputWithContext

func (o GetCartProductPlanPriceOutput) ToGetCartProductPlanPriceOutputWithContext(ctx context.Context) GetCartProductPlanPriceOutput

type GetCartProductPlanPricePrice

type GetCartProductPlanPricePrice struct {
	// Currency code
	CurrencyCode string `pulumi:"currencyCode"`
	// Textual representation
	Text string `pulumi:"text"`
	// The effective price
	Value float64 `pulumi:"value"`
}

type GetCartProductPlanPricePriceArgs

type GetCartProductPlanPricePriceArgs struct {
	// Currency code
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
	// Textual representation
	Text pulumi.StringInput `pulumi:"text"`
	// The effective price
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetCartProductPlanPricePriceArgs) ElementType

func (GetCartProductPlanPricePriceArgs) ToGetCartProductPlanPricePriceOutput

func (i GetCartProductPlanPricePriceArgs) ToGetCartProductPlanPricePriceOutput() GetCartProductPlanPricePriceOutput

func (GetCartProductPlanPricePriceArgs) ToGetCartProductPlanPricePriceOutputWithContext

func (i GetCartProductPlanPricePriceArgs) ToGetCartProductPlanPricePriceOutputWithContext(ctx context.Context) GetCartProductPlanPricePriceOutput

type GetCartProductPlanPricePriceArray

type GetCartProductPlanPricePriceArray []GetCartProductPlanPricePriceInput

func (GetCartProductPlanPricePriceArray) ElementType

func (GetCartProductPlanPricePriceArray) ToGetCartProductPlanPricePriceArrayOutput

func (i GetCartProductPlanPricePriceArray) ToGetCartProductPlanPricePriceArrayOutput() GetCartProductPlanPricePriceArrayOutput

func (GetCartProductPlanPricePriceArray) ToGetCartProductPlanPricePriceArrayOutputWithContext

func (i GetCartProductPlanPricePriceArray) ToGetCartProductPlanPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductPlanPricePriceArrayOutput

type GetCartProductPlanPricePriceArrayInput

type GetCartProductPlanPricePriceArrayInput interface {
	pulumi.Input

	ToGetCartProductPlanPricePriceArrayOutput() GetCartProductPlanPricePriceArrayOutput
	ToGetCartProductPlanPricePriceArrayOutputWithContext(context.Context) GetCartProductPlanPricePriceArrayOutput
}

GetCartProductPlanPricePriceArrayInput is an input type that accepts GetCartProductPlanPricePriceArray and GetCartProductPlanPricePriceArrayOutput values. You can construct a concrete instance of `GetCartProductPlanPricePriceArrayInput` via:

GetCartProductPlanPricePriceArray{ GetCartProductPlanPricePriceArgs{...} }

type GetCartProductPlanPricePriceArrayOutput

type GetCartProductPlanPricePriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductPlanPricePriceArrayOutput) ElementType

func (GetCartProductPlanPricePriceArrayOutput) Index

func (GetCartProductPlanPricePriceArrayOutput) ToGetCartProductPlanPricePriceArrayOutput

func (o GetCartProductPlanPricePriceArrayOutput) ToGetCartProductPlanPricePriceArrayOutput() GetCartProductPlanPricePriceArrayOutput

func (GetCartProductPlanPricePriceArrayOutput) ToGetCartProductPlanPricePriceArrayOutputWithContext

func (o GetCartProductPlanPricePriceArrayOutput) ToGetCartProductPlanPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductPlanPricePriceArrayOutput

type GetCartProductPlanPricePriceInput

type GetCartProductPlanPricePriceInput interface {
	pulumi.Input

	ToGetCartProductPlanPricePriceOutput() GetCartProductPlanPricePriceOutput
	ToGetCartProductPlanPricePriceOutputWithContext(context.Context) GetCartProductPlanPricePriceOutput
}

GetCartProductPlanPricePriceInput is an input type that accepts GetCartProductPlanPricePriceArgs and GetCartProductPlanPricePriceOutput values. You can construct a concrete instance of `GetCartProductPlanPricePriceInput` via:

GetCartProductPlanPricePriceArgs{...}

type GetCartProductPlanPricePriceOutput

type GetCartProductPlanPricePriceOutput struct{ *pulumi.OutputState }

func (GetCartProductPlanPricePriceOutput) CurrencyCode

Currency code

func (GetCartProductPlanPricePriceOutput) ElementType

func (GetCartProductPlanPricePriceOutput) Text

Textual representation

func (GetCartProductPlanPricePriceOutput) ToGetCartProductPlanPricePriceOutput

func (o GetCartProductPlanPricePriceOutput) ToGetCartProductPlanPricePriceOutput() GetCartProductPlanPricePriceOutput

func (GetCartProductPlanPricePriceOutput) ToGetCartProductPlanPricePriceOutputWithContext

func (o GetCartProductPlanPricePriceOutput) ToGetCartProductPlanPricePriceOutputWithContext(ctx context.Context) GetCartProductPlanPricePriceOutput

func (GetCartProductPlanPricePriceOutput) Value

The effective price

type GetCartProductPlanResult

type GetCartProductPlanResult struct {
	CartId      string  `pulumi:"cartId"`
	CatalogName *string `pulumi:"catalogName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Product offer identifier
	PlanCode      string `pulumi:"planCode"`
	PriceCapacity string `pulumi:"priceCapacity"`
	// Prices of the product offer
	Prices  []GetCartProductPlanPrice `pulumi:"prices"`
	Product string                    `pulumi:"product"`
	// Name of the product
	ProductName string `pulumi:"productName"`
	// Product type
	ProductType string `pulumi:"productType"`
	// Selected Price according to capacity
	SelectedPrices []GetCartProductPlanSelectedPrice `pulumi:"selectedPrices"`
}

A collection of values returned by getCartProductPlan.

func GetCartProductPlan

func GetCartProductPlan(ctx *pulumi.Context, args *GetCartProductPlanArgs, opts ...pulumi.InvokeOption) (*GetCartProductPlanResult, error)

Use this data source to retrieve information of order cart product plan.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Order"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myaccount, err := Me.GetMe(ctx, nil, nil)
		if err != nil {
			return err
		}
		mycart, err := Order.GetCart(ctx, &order.GetCartArgs{
			OvhSubsidiary: myaccount.OvhSubsidiary,
		}, nil)
		if err != nil {
			return err
		}
		_, err = Order.GetCartProductPlan(ctx, &order.GetCartProductPlanArgs{
			CartId:        mycart.Id,
			PriceCapacity: "renew",
			Product:       "cloud",
			PlanCode:      "project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCartProductPlanResultOutput

type GetCartProductPlanResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCartProductPlan.

func (GetCartProductPlanResultOutput) CartId

func (GetCartProductPlanResultOutput) CatalogName

func (GetCartProductPlanResultOutput) ElementType

func (GetCartProductPlanResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCartProductPlanResultOutput) PlanCode

Product offer identifier

func (GetCartProductPlanResultOutput) PriceCapacity

func (GetCartProductPlanResultOutput) Prices

Prices of the product offer

func (GetCartProductPlanResultOutput) Product

func (GetCartProductPlanResultOutput) ProductName

Name of the product

func (GetCartProductPlanResultOutput) ProductType

Product type

func (GetCartProductPlanResultOutput) SelectedPrices

Selected Price according to capacity

func (GetCartProductPlanResultOutput) ToGetCartProductPlanResultOutput

func (o GetCartProductPlanResultOutput) ToGetCartProductPlanResultOutput() GetCartProductPlanResultOutput

func (GetCartProductPlanResultOutput) ToGetCartProductPlanResultOutputWithContext

func (o GetCartProductPlanResultOutput) ToGetCartProductPlanResultOutputWithContext(ctx context.Context) GetCartProductPlanResultOutput

type GetCartProductPlanSelectedPrice

type GetCartProductPlanSelectedPrice struct {
	// Capacities of the pricing (type of pricing)
	Capacities []interface{} `pulumi:"capacities"`
	// Description of the pricing
	Description string `pulumi:"description"`
	// Duration for ordering the product
	Duration string `pulumi:"duration"`
	// Interval of renewal
	Interval int `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity int `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat int `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity int `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat int `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents int `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices []GetCartProductPlanSelectedPricePrice `pulumi:"prices"`
	// Pricing model identifier
	PricingMode string `pulumi:"pricingMode"`
	// Pricing type
	PricingType string `pulumi:"pricingType"`
}

type GetCartProductPlanSelectedPriceArgs

type GetCartProductPlanSelectedPriceArgs struct {
	// Capacities of the pricing (type of pricing)
	Capacities pulumi.ArrayInput `pulumi:"capacities"`
	// Description of the pricing
	Description pulumi.StringInput `pulumi:"description"`
	// Duration for ordering the product
	Duration pulumi.StringInput `pulumi:"duration"`
	// Interval of renewal
	Interval pulumi.IntInput `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity pulumi.IntInput `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat pulumi.IntInput `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity pulumi.IntInput `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat pulumi.IntInput `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents pulumi.IntInput `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices GetCartProductPlanSelectedPricePriceArrayInput `pulumi:"prices"`
	// Pricing model identifier
	PricingMode pulumi.StringInput `pulumi:"pricingMode"`
	// Pricing type
	PricingType pulumi.StringInput `pulumi:"pricingType"`
}

func (GetCartProductPlanSelectedPriceArgs) ElementType

func (GetCartProductPlanSelectedPriceArgs) ToGetCartProductPlanSelectedPriceOutput

func (i GetCartProductPlanSelectedPriceArgs) ToGetCartProductPlanSelectedPriceOutput() GetCartProductPlanSelectedPriceOutput

func (GetCartProductPlanSelectedPriceArgs) ToGetCartProductPlanSelectedPriceOutputWithContext

func (i GetCartProductPlanSelectedPriceArgs) ToGetCartProductPlanSelectedPriceOutputWithContext(ctx context.Context) GetCartProductPlanSelectedPriceOutput

type GetCartProductPlanSelectedPriceArray

type GetCartProductPlanSelectedPriceArray []GetCartProductPlanSelectedPriceInput

func (GetCartProductPlanSelectedPriceArray) ElementType

func (GetCartProductPlanSelectedPriceArray) ToGetCartProductPlanSelectedPriceArrayOutput

func (i GetCartProductPlanSelectedPriceArray) ToGetCartProductPlanSelectedPriceArrayOutput() GetCartProductPlanSelectedPriceArrayOutput

func (GetCartProductPlanSelectedPriceArray) ToGetCartProductPlanSelectedPriceArrayOutputWithContext

func (i GetCartProductPlanSelectedPriceArray) ToGetCartProductPlanSelectedPriceArrayOutputWithContext(ctx context.Context) GetCartProductPlanSelectedPriceArrayOutput

type GetCartProductPlanSelectedPriceArrayInput

type GetCartProductPlanSelectedPriceArrayInput interface {
	pulumi.Input

	ToGetCartProductPlanSelectedPriceArrayOutput() GetCartProductPlanSelectedPriceArrayOutput
	ToGetCartProductPlanSelectedPriceArrayOutputWithContext(context.Context) GetCartProductPlanSelectedPriceArrayOutput
}

GetCartProductPlanSelectedPriceArrayInput is an input type that accepts GetCartProductPlanSelectedPriceArray and GetCartProductPlanSelectedPriceArrayOutput values. You can construct a concrete instance of `GetCartProductPlanSelectedPriceArrayInput` via:

GetCartProductPlanSelectedPriceArray{ GetCartProductPlanSelectedPriceArgs{...} }

type GetCartProductPlanSelectedPriceArrayOutput

type GetCartProductPlanSelectedPriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductPlanSelectedPriceArrayOutput) ElementType

func (GetCartProductPlanSelectedPriceArrayOutput) Index

func (GetCartProductPlanSelectedPriceArrayOutput) ToGetCartProductPlanSelectedPriceArrayOutput

func (o GetCartProductPlanSelectedPriceArrayOutput) ToGetCartProductPlanSelectedPriceArrayOutput() GetCartProductPlanSelectedPriceArrayOutput

func (GetCartProductPlanSelectedPriceArrayOutput) ToGetCartProductPlanSelectedPriceArrayOutputWithContext

func (o GetCartProductPlanSelectedPriceArrayOutput) ToGetCartProductPlanSelectedPriceArrayOutputWithContext(ctx context.Context) GetCartProductPlanSelectedPriceArrayOutput

type GetCartProductPlanSelectedPriceInput

type GetCartProductPlanSelectedPriceInput interface {
	pulumi.Input

	ToGetCartProductPlanSelectedPriceOutput() GetCartProductPlanSelectedPriceOutput
	ToGetCartProductPlanSelectedPriceOutputWithContext(context.Context) GetCartProductPlanSelectedPriceOutput
}

GetCartProductPlanSelectedPriceInput is an input type that accepts GetCartProductPlanSelectedPriceArgs and GetCartProductPlanSelectedPriceOutput values. You can construct a concrete instance of `GetCartProductPlanSelectedPriceInput` via:

GetCartProductPlanSelectedPriceArgs{...}

type GetCartProductPlanSelectedPriceOutput

type GetCartProductPlanSelectedPriceOutput struct{ *pulumi.OutputState }

func (GetCartProductPlanSelectedPriceOutput) Capacities

Capacities of the pricing (type of pricing)

func (GetCartProductPlanSelectedPriceOutput) Description

Description of the pricing

func (GetCartProductPlanSelectedPriceOutput) Duration

Duration for ordering the product

func (GetCartProductPlanSelectedPriceOutput) ElementType

func (GetCartProductPlanSelectedPriceOutput) Interval

Interval of renewal

func (GetCartProductPlanSelectedPriceOutput) MaximumQuantity

Maximum quantity that can be ordered

func (GetCartProductPlanSelectedPriceOutput) MaximumRepeat

Maximum repeat for renewal

func (GetCartProductPlanSelectedPriceOutput) MinimumQuantity

Minimum quantity that can be ordered

func (GetCartProductPlanSelectedPriceOutput) MinimumRepeat

Minimum repeat for renewal

func (GetCartProductPlanSelectedPriceOutput) PriceInUcents

Price of the product in micro-centims

func (GetCartProductPlanSelectedPriceOutput) Prices

Price of the product (Price with its currency and textual representation)

func (GetCartProductPlanSelectedPriceOutput) PricingMode

Pricing model identifier

func (GetCartProductPlanSelectedPriceOutput) PricingType

Pricing type

func (GetCartProductPlanSelectedPriceOutput) ToGetCartProductPlanSelectedPriceOutput

func (o GetCartProductPlanSelectedPriceOutput) ToGetCartProductPlanSelectedPriceOutput() GetCartProductPlanSelectedPriceOutput

func (GetCartProductPlanSelectedPriceOutput) ToGetCartProductPlanSelectedPriceOutputWithContext

func (o GetCartProductPlanSelectedPriceOutput) ToGetCartProductPlanSelectedPriceOutputWithContext(ctx context.Context) GetCartProductPlanSelectedPriceOutput

type GetCartProductPlanSelectedPricePrice

type GetCartProductPlanSelectedPricePrice struct {
	// Currency code
	CurrencyCode string `pulumi:"currencyCode"`
	// Textual representation
	Text string `pulumi:"text"`
	// The effective price
	Value float64 `pulumi:"value"`
}

type GetCartProductPlanSelectedPricePriceArgs

type GetCartProductPlanSelectedPricePriceArgs struct {
	// Currency code
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
	// Textual representation
	Text pulumi.StringInput `pulumi:"text"`
	// The effective price
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetCartProductPlanSelectedPricePriceArgs) ElementType

func (GetCartProductPlanSelectedPricePriceArgs) ToGetCartProductPlanSelectedPricePriceOutput

func (i GetCartProductPlanSelectedPricePriceArgs) ToGetCartProductPlanSelectedPricePriceOutput() GetCartProductPlanSelectedPricePriceOutput

func (GetCartProductPlanSelectedPricePriceArgs) ToGetCartProductPlanSelectedPricePriceOutputWithContext

func (i GetCartProductPlanSelectedPricePriceArgs) ToGetCartProductPlanSelectedPricePriceOutputWithContext(ctx context.Context) GetCartProductPlanSelectedPricePriceOutput

type GetCartProductPlanSelectedPricePriceArray

type GetCartProductPlanSelectedPricePriceArray []GetCartProductPlanSelectedPricePriceInput

func (GetCartProductPlanSelectedPricePriceArray) ElementType

func (GetCartProductPlanSelectedPricePriceArray) ToGetCartProductPlanSelectedPricePriceArrayOutput

func (i GetCartProductPlanSelectedPricePriceArray) ToGetCartProductPlanSelectedPricePriceArrayOutput() GetCartProductPlanSelectedPricePriceArrayOutput

func (GetCartProductPlanSelectedPricePriceArray) ToGetCartProductPlanSelectedPricePriceArrayOutputWithContext

func (i GetCartProductPlanSelectedPricePriceArray) ToGetCartProductPlanSelectedPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductPlanSelectedPricePriceArrayOutput

type GetCartProductPlanSelectedPricePriceArrayInput

type GetCartProductPlanSelectedPricePriceArrayInput interface {
	pulumi.Input

	ToGetCartProductPlanSelectedPricePriceArrayOutput() GetCartProductPlanSelectedPricePriceArrayOutput
	ToGetCartProductPlanSelectedPricePriceArrayOutputWithContext(context.Context) GetCartProductPlanSelectedPricePriceArrayOutput
}

GetCartProductPlanSelectedPricePriceArrayInput is an input type that accepts GetCartProductPlanSelectedPricePriceArray and GetCartProductPlanSelectedPricePriceArrayOutput values. You can construct a concrete instance of `GetCartProductPlanSelectedPricePriceArrayInput` via:

GetCartProductPlanSelectedPricePriceArray{ GetCartProductPlanSelectedPricePriceArgs{...} }

type GetCartProductPlanSelectedPricePriceArrayOutput

type GetCartProductPlanSelectedPricePriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductPlanSelectedPricePriceArrayOutput) ElementType

func (GetCartProductPlanSelectedPricePriceArrayOutput) Index

func (GetCartProductPlanSelectedPricePriceArrayOutput) ToGetCartProductPlanSelectedPricePriceArrayOutput

func (o GetCartProductPlanSelectedPricePriceArrayOutput) ToGetCartProductPlanSelectedPricePriceArrayOutput() GetCartProductPlanSelectedPricePriceArrayOutput

func (GetCartProductPlanSelectedPricePriceArrayOutput) ToGetCartProductPlanSelectedPricePriceArrayOutputWithContext

func (o GetCartProductPlanSelectedPricePriceArrayOutput) ToGetCartProductPlanSelectedPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductPlanSelectedPricePriceArrayOutput

type GetCartProductPlanSelectedPricePriceInput

type GetCartProductPlanSelectedPricePriceInput interface {
	pulumi.Input

	ToGetCartProductPlanSelectedPricePriceOutput() GetCartProductPlanSelectedPricePriceOutput
	ToGetCartProductPlanSelectedPricePriceOutputWithContext(context.Context) GetCartProductPlanSelectedPricePriceOutput
}

GetCartProductPlanSelectedPricePriceInput is an input type that accepts GetCartProductPlanSelectedPricePriceArgs and GetCartProductPlanSelectedPricePriceOutput values. You can construct a concrete instance of `GetCartProductPlanSelectedPricePriceInput` via:

GetCartProductPlanSelectedPricePriceArgs{...}

type GetCartProductPlanSelectedPricePriceOutput

type GetCartProductPlanSelectedPricePriceOutput struct{ *pulumi.OutputState }

func (GetCartProductPlanSelectedPricePriceOutput) CurrencyCode

Currency code

func (GetCartProductPlanSelectedPricePriceOutput) ElementType

func (GetCartProductPlanSelectedPricePriceOutput) Text

Textual representation

func (GetCartProductPlanSelectedPricePriceOutput) ToGetCartProductPlanSelectedPricePriceOutput

func (o GetCartProductPlanSelectedPricePriceOutput) ToGetCartProductPlanSelectedPricePriceOutput() GetCartProductPlanSelectedPricePriceOutput

func (GetCartProductPlanSelectedPricePriceOutput) ToGetCartProductPlanSelectedPricePriceOutputWithContext

func (o GetCartProductPlanSelectedPricePriceOutput) ToGetCartProductPlanSelectedPricePriceOutputWithContext(ctx context.Context) GetCartProductPlanSelectedPricePriceOutput

func (GetCartProductPlanSelectedPricePriceOutput) Value

The effective price

type GetCartProductResult

type GetCartProductResult struct {
	// Product offer identifier
	PlanCode string `pulumi:"planCode"`
	// Prices of the product offer
	Prices []GetCartProductResultPrice `pulumi:"prices"`
	// Name of the product
	ProductName string `pulumi:"productName"`
	// Product type
	ProductType string `pulumi:"productType"`
}

type GetCartProductResultArgs

type GetCartProductResultArgs struct {
	// Product offer identifier
	PlanCode pulumi.StringInput `pulumi:"planCode"`
	// Prices of the product offer
	Prices GetCartProductResultPriceArrayInput `pulumi:"prices"`
	// Name of the product
	ProductName pulumi.StringInput `pulumi:"productName"`
	// Product type
	ProductType pulumi.StringInput `pulumi:"productType"`
}

func (GetCartProductResultArgs) ElementType

func (GetCartProductResultArgs) ElementType() reflect.Type

func (GetCartProductResultArgs) ToGetCartProductResultOutput

func (i GetCartProductResultArgs) ToGetCartProductResultOutput() GetCartProductResultOutput

func (GetCartProductResultArgs) ToGetCartProductResultOutputWithContext

func (i GetCartProductResultArgs) ToGetCartProductResultOutputWithContext(ctx context.Context) GetCartProductResultOutput

type GetCartProductResultArray

type GetCartProductResultArray []GetCartProductResultInput

func (GetCartProductResultArray) ElementType

func (GetCartProductResultArray) ElementType() reflect.Type

func (GetCartProductResultArray) ToGetCartProductResultArrayOutput

func (i GetCartProductResultArray) ToGetCartProductResultArrayOutput() GetCartProductResultArrayOutput

func (GetCartProductResultArray) ToGetCartProductResultArrayOutputWithContext

func (i GetCartProductResultArray) ToGetCartProductResultArrayOutputWithContext(ctx context.Context) GetCartProductResultArrayOutput

type GetCartProductResultArrayInput

type GetCartProductResultArrayInput interface {
	pulumi.Input

	ToGetCartProductResultArrayOutput() GetCartProductResultArrayOutput
	ToGetCartProductResultArrayOutputWithContext(context.Context) GetCartProductResultArrayOutput
}

GetCartProductResultArrayInput is an input type that accepts GetCartProductResultArray and GetCartProductResultArrayOutput values. You can construct a concrete instance of `GetCartProductResultArrayInput` via:

GetCartProductResultArray{ GetCartProductResultArgs{...} }

type GetCartProductResultArrayOutput

type GetCartProductResultArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductResultArrayOutput) ElementType

func (GetCartProductResultArrayOutput) Index

func (GetCartProductResultArrayOutput) ToGetCartProductResultArrayOutput

func (o GetCartProductResultArrayOutput) ToGetCartProductResultArrayOutput() GetCartProductResultArrayOutput

func (GetCartProductResultArrayOutput) ToGetCartProductResultArrayOutputWithContext

func (o GetCartProductResultArrayOutput) ToGetCartProductResultArrayOutputWithContext(ctx context.Context) GetCartProductResultArrayOutput

type GetCartProductResultInput

type GetCartProductResultInput interface {
	pulumi.Input

	ToGetCartProductResultOutput() GetCartProductResultOutput
	ToGetCartProductResultOutputWithContext(context.Context) GetCartProductResultOutput
}

GetCartProductResultInput is an input type that accepts GetCartProductResultArgs and GetCartProductResultOutput values. You can construct a concrete instance of `GetCartProductResultInput` via:

GetCartProductResultArgs{...}

type GetCartProductResultOutput

type GetCartProductResultOutput struct{ *pulumi.OutputState }

func (GetCartProductResultOutput) ElementType

func (GetCartProductResultOutput) ElementType() reflect.Type

func (GetCartProductResultOutput) PlanCode

Product offer identifier

func (GetCartProductResultOutput) Prices

Prices of the product offer

func (GetCartProductResultOutput) ProductName

Name of the product

func (GetCartProductResultOutput) ProductType

Product type

func (GetCartProductResultOutput) ToGetCartProductResultOutput

func (o GetCartProductResultOutput) ToGetCartProductResultOutput() GetCartProductResultOutput

func (GetCartProductResultOutput) ToGetCartProductResultOutputWithContext

func (o GetCartProductResultOutput) ToGetCartProductResultOutputWithContext(ctx context.Context) GetCartProductResultOutput

type GetCartProductResultPrice

type GetCartProductResultPrice struct {
	// Capacities of the pricing (type of pricing)
	Capacities []interface{} `pulumi:"capacities"`
	// Description of the pricing
	Description string `pulumi:"description"`
	// Duration for ordering the product
	Duration string `pulumi:"duration"`
	// Interval of renewal
	Interval int `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity int `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat int `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity int `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat int `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents int `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices []GetCartProductResultPricePrice `pulumi:"prices"`
	// Pricing model identifier
	PricingMode string `pulumi:"pricingMode"`
	// Pricing type
	PricingType string `pulumi:"pricingType"`
}

type GetCartProductResultPriceArgs

type GetCartProductResultPriceArgs struct {
	// Capacities of the pricing (type of pricing)
	Capacities pulumi.ArrayInput `pulumi:"capacities"`
	// Description of the pricing
	Description pulumi.StringInput `pulumi:"description"`
	// Duration for ordering the product
	Duration pulumi.StringInput `pulumi:"duration"`
	// Interval of renewal
	Interval pulumi.IntInput `pulumi:"interval"`
	// Maximum quantity that can be ordered
	MaximumQuantity pulumi.IntInput `pulumi:"maximumQuantity"`
	// Maximum repeat for renewal
	MaximumRepeat pulumi.IntInput `pulumi:"maximumRepeat"`
	// Minimum quantity that can be ordered
	MinimumQuantity pulumi.IntInput `pulumi:"minimumQuantity"`
	// Minimum repeat for renewal
	MinimumRepeat pulumi.IntInput `pulumi:"minimumRepeat"`
	// Price of the product in micro-centims
	PriceInUcents pulumi.IntInput `pulumi:"priceInUcents"`
	// Price of the product (Price with its currency and textual representation)
	Prices GetCartProductResultPricePriceArrayInput `pulumi:"prices"`
	// Pricing model identifier
	PricingMode pulumi.StringInput `pulumi:"pricingMode"`
	// Pricing type
	PricingType pulumi.StringInput `pulumi:"pricingType"`
}

func (GetCartProductResultPriceArgs) ElementType

func (GetCartProductResultPriceArgs) ToGetCartProductResultPriceOutput

func (i GetCartProductResultPriceArgs) ToGetCartProductResultPriceOutput() GetCartProductResultPriceOutput

func (GetCartProductResultPriceArgs) ToGetCartProductResultPriceOutputWithContext

func (i GetCartProductResultPriceArgs) ToGetCartProductResultPriceOutputWithContext(ctx context.Context) GetCartProductResultPriceOutput

type GetCartProductResultPriceArray

type GetCartProductResultPriceArray []GetCartProductResultPriceInput

func (GetCartProductResultPriceArray) ElementType

func (GetCartProductResultPriceArray) ToGetCartProductResultPriceArrayOutput

func (i GetCartProductResultPriceArray) ToGetCartProductResultPriceArrayOutput() GetCartProductResultPriceArrayOutput

func (GetCartProductResultPriceArray) ToGetCartProductResultPriceArrayOutputWithContext

func (i GetCartProductResultPriceArray) ToGetCartProductResultPriceArrayOutputWithContext(ctx context.Context) GetCartProductResultPriceArrayOutput

type GetCartProductResultPriceArrayInput

type GetCartProductResultPriceArrayInput interface {
	pulumi.Input

	ToGetCartProductResultPriceArrayOutput() GetCartProductResultPriceArrayOutput
	ToGetCartProductResultPriceArrayOutputWithContext(context.Context) GetCartProductResultPriceArrayOutput
}

GetCartProductResultPriceArrayInput is an input type that accepts GetCartProductResultPriceArray and GetCartProductResultPriceArrayOutput values. You can construct a concrete instance of `GetCartProductResultPriceArrayInput` via:

GetCartProductResultPriceArray{ GetCartProductResultPriceArgs{...} }

type GetCartProductResultPriceArrayOutput

type GetCartProductResultPriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductResultPriceArrayOutput) ElementType

func (GetCartProductResultPriceArrayOutput) Index

func (GetCartProductResultPriceArrayOutput) ToGetCartProductResultPriceArrayOutput

func (o GetCartProductResultPriceArrayOutput) ToGetCartProductResultPriceArrayOutput() GetCartProductResultPriceArrayOutput

func (GetCartProductResultPriceArrayOutput) ToGetCartProductResultPriceArrayOutputWithContext

func (o GetCartProductResultPriceArrayOutput) ToGetCartProductResultPriceArrayOutputWithContext(ctx context.Context) GetCartProductResultPriceArrayOutput

type GetCartProductResultPriceInput

type GetCartProductResultPriceInput interface {
	pulumi.Input

	ToGetCartProductResultPriceOutput() GetCartProductResultPriceOutput
	ToGetCartProductResultPriceOutputWithContext(context.Context) GetCartProductResultPriceOutput
}

GetCartProductResultPriceInput is an input type that accepts GetCartProductResultPriceArgs and GetCartProductResultPriceOutput values. You can construct a concrete instance of `GetCartProductResultPriceInput` via:

GetCartProductResultPriceArgs{...}

type GetCartProductResultPriceOutput

type GetCartProductResultPriceOutput struct{ *pulumi.OutputState }

func (GetCartProductResultPriceOutput) Capacities

Capacities of the pricing (type of pricing)

func (GetCartProductResultPriceOutput) Description

Description of the pricing

func (GetCartProductResultPriceOutput) Duration

Duration for ordering the product

func (GetCartProductResultPriceOutput) ElementType

func (GetCartProductResultPriceOutput) Interval

Interval of renewal

func (GetCartProductResultPriceOutput) MaximumQuantity

func (o GetCartProductResultPriceOutput) MaximumQuantity() pulumi.IntOutput

Maximum quantity that can be ordered

func (GetCartProductResultPriceOutput) MaximumRepeat

Maximum repeat for renewal

func (GetCartProductResultPriceOutput) MinimumQuantity

func (o GetCartProductResultPriceOutput) MinimumQuantity() pulumi.IntOutput

Minimum quantity that can be ordered

func (GetCartProductResultPriceOutput) MinimumRepeat

Minimum repeat for renewal

func (GetCartProductResultPriceOutput) PriceInUcents

Price of the product in micro-centims

func (GetCartProductResultPriceOutput) Prices

Price of the product (Price with its currency and textual representation)

func (GetCartProductResultPriceOutput) PricingMode

Pricing model identifier

func (GetCartProductResultPriceOutput) PricingType

Pricing type

func (GetCartProductResultPriceOutput) ToGetCartProductResultPriceOutput

func (o GetCartProductResultPriceOutput) ToGetCartProductResultPriceOutput() GetCartProductResultPriceOutput

func (GetCartProductResultPriceOutput) ToGetCartProductResultPriceOutputWithContext

func (o GetCartProductResultPriceOutput) ToGetCartProductResultPriceOutputWithContext(ctx context.Context) GetCartProductResultPriceOutput

type GetCartProductResultPricePrice

type GetCartProductResultPricePrice struct {
	// Currency code
	CurrencyCode string `pulumi:"currencyCode"`
	// Textual representation
	Text string `pulumi:"text"`
	// The effective price
	Value float64 `pulumi:"value"`
}

type GetCartProductResultPricePriceArgs

type GetCartProductResultPricePriceArgs struct {
	// Currency code
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
	// Textual representation
	Text pulumi.StringInput `pulumi:"text"`
	// The effective price
	Value pulumi.Float64Input `pulumi:"value"`
}

func (GetCartProductResultPricePriceArgs) ElementType

func (GetCartProductResultPricePriceArgs) ToGetCartProductResultPricePriceOutput

func (i GetCartProductResultPricePriceArgs) ToGetCartProductResultPricePriceOutput() GetCartProductResultPricePriceOutput

func (GetCartProductResultPricePriceArgs) ToGetCartProductResultPricePriceOutputWithContext

func (i GetCartProductResultPricePriceArgs) ToGetCartProductResultPricePriceOutputWithContext(ctx context.Context) GetCartProductResultPricePriceOutput

type GetCartProductResultPricePriceArray

type GetCartProductResultPricePriceArray []GetCartProductResultPricePriceInput

func (GetCartProductResultPricePriceArray) ElementType

func (GetCartProductResultPricePriceArray) ToGetCartProductResultPricePriceArrayOutput

func (i GetCartProductResultPricePriceArray) ToGetCartProductResultPricePriceArrayOutput() GetCartProductResultPricePriceArrayOutput

func (GetCartProductResultPricePriceArray) ToGetCartProductResultPricePriceArrayOutputWithContext

func (i GetCartProductResultPricePriceArray) ToGetCartProductResultPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductResultPricePriceArrayOutput

type GetCartProductResultPricePriceArrayInput

type GetCartProductResultPricePriceArrayInput interface {
	pulumi.Input

	ToGetCartProductResultPricePriceArrayOutput() GetCartProductResultPricePriceArrayOutput
	ToGetCartProductResultPricePriceArrayOutputWithContext(context.Context) GetCartProductResultPricePriceArrayOutput
}

GetCartProductResultPricePriceArrayInput is an input type that accepts GetCartProductResultPricePriceArray and GetCartProductResultPricePriceArrayOutput values. You can construct a concrete instance of `GetCartProductResultPricePriceArrayInput` via:

GetCartProductResultPricePriceArray{ GetCartProductResultPricePriceArgs{...} }

type GetCartProductResultPricePriceArrayOutput

type GetCartProductResultPricePriceArrayOutput struct{ *pulumi.OutputState }

func (GetCartProductResultPricePriceArrayOutput) ElementType

func (GetCartProductResultPricePriceArrayOutput) Index

func (GetCartProductResultPricePriceArrayOutput) ToGetCartProductResultPricePriceArrayOutput

func (o GetCartProductResultPricePriceArrayOutput) ToGetCartProductResultPricePriceArrayOutput() GetCartProductResultPricePriceArrayOutput

func (GetCartProductResultPricePriceArrayOutput) ToGetCartProductResultPricePriceArrayOutputWithContext

func (o GetCartProductResultPricePriceArrayOutput) ToGetCartProductResultPricePriceArrayOutputWithContext(ctx context.Context) GetCartProductResultPricePriceArrayOutput

type GetCartProductResultPricePriceInput

type GetCartProductResultPricePriceInput interface {
	pulumi.Input

	ToGetCartProductResultPricePriceOutput() GetCartProductResultPricePriceOutput
	ToGetCartProductResultPricePriceOutputWithContext(context.Context) GetCartProductResultPricePriceOutput
}

GetCartProductResultPricePriceInput is an input type that accepts GetCartProductResultPricePriceArgs and GetCartProductResultPricePriceOutput values. You can construct a concrete instance of `GetCartProductResultPricePriceInput` via:

GetCartProductResultPricePriceArgs{...}

type GetCartProductResultPricePriceOutput

type GetCartProductResultPricePriceOutput struct{ *pulumi.OutputState }

func (GetCartProductResultPricePriceOutput) CurrencyCode

Currency code

func (GetCartProductResultPricePriceOutput) ElementType

func (GetCartProductResultPricePriceOutput) Text

Textual representation

func (GetCartProductResultPricePriceOutput) ToGetCartProductResultPricePriceOutput

func (o GetCartProductResultPricePriceOutput) ToGetCartProductResultPricePriceOutput() GetCartProductResultPricePriceOutput

func (GetCartProductResultPricePriceOutput) ToGetCartProductResultPricePriceOutputWithContext

func (o GetCartProductResultPricePriceOutput) ToGetCartProductResultPricePriceOutputWithContext(ctx context.Context) GetCartProductResultPricePriceOutput

func (GetCartProductResultPricePriceOutput) Value

The effective price

type GetCartResult

type GetCartResult struct {
	Assign *bool `pulumi:"assign"`
	// Cart identifier
	CartId      string  `pulumi:"cartId"`
	Description *string `pulumi:"description"`
	Expire      string  `pulumi:"expire"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Items of your cart
	Items         []int  `pulumi:"items"`
	OvhSubsidiary string `pulumi:"ovhSubsidiary"`
	// Indicates if the cart has already been validated
	ReadOnly bool `pulumi:"readOnly"`
}

A collection of values returned by getCart.

func GetCart

func GetCart(ctx *pulumi.Context, args *GetCartArgs, opts ...pulumi.InvokeOption) (*GetCartResult, error)

Use this data source to create a temporary order cart to retrieve information order cart products.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Order"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myaccount, err := Me.GetMe(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = Order.GetCart(ctx, &order.GetCartArgs{
			OvhSubsidiary: myaccount.OvhSubsidiary,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCartResultOutput

type GetCartResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCart.

func (GetCartResultOutput) Assign

func (GetCartResultOutput) CartId

Cart identifier

func (GetCartResultOutput) Description

func (o GetCartResultOutput) Description() pulumi.StringPtrOutput

func (GetCartResultOutput) ElementType

func (GetCartResultOutput) ElementType() reflect.Type

func (GetCartResultOutput) Expire

func (GetCartResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCartResultOutput) Items

Items of your cart

func (GetCartResultOutput) OvhSubsidiary

func (o GetCartResultOutput) OvhSubsidiary() pulumi.StringOutput

func (GetCartResultOutput) ReadOnly

func (o GetCartResultOutput) ReadOnly() pulumi.BoolOutput

Indicates if the cart has already been validated

func (GetCartResultOutput) ToGetCartResultOutput

func (o GetCartResultOutput) ToGetCartResultOutput() GetCartResultOutput

func (GetCartResultOutput) ToGetCartResultOutputWithContext

func (o GetCartResultOutput) ToGetCartResultOutputWithContext(ctx context.Context) GetCartResultOutput

type LookupCartProductArgs

type LookupCartProductArgs struct {
	// Cart identifier
	CartId string `pulumi:"cartId"`
	// product
	Product string `pulumi:"product"`
}

A collection of arguments for invoking getCartProduct.

type LookupCartProductOptionsArgs

type LookupCartProductOptionsArgs struct {
	// Cart identifier
	CartId string `pulumi:"cartId"`
	// Catalog name
	CatalogName *string `pulumi:"catalogName"`
	// Product offer identifier
	PlanCode string `pulumi:"planCode"`
	// Product
	Product string `pulumi:"product"`
}

A collection of arguments for invoking getCartProductOptions.

type LookupCartProductOptionsOutputArgs

type LookupCartProductOptionsOutputArgs struct {
	// Cart identifier
	CartId pulumi.StringInput `pulumi:"cartId"`
	// Catalog name
	CatalogName pulumi.StringPtrInput `pulumi:"catalogName"`
	// Product offer identifier
	PlanCode pulumi.StringInput `pulumi:"planCode"`
	// Product
	Product pulumi.StringInput `pulumi:"product"`
}

A collection of arguments for invoking getCartProductOptions.

func (LookupCartProductOptionsOutputArgs) ElementType

type LookupCartProductOptionsResult

type LookupCartProductOptionsResult struct {
	CartId      string  `pulumi:"cartId"`
	CatalogName *string `pulumi:"catalogName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Product offer identifier
	PlanCode string `pulumi:"planCode"`
	Product  string `pulumi:"product"`
	// products results
	Results []GetCartProductOptionsResult `pulumi:"results"`
}

A collection of values returned by getCartProductOptions.

func LookupCartProductOptions

func LookupCartProductOptions(ctx *pulumi.Context, args *LookupCartProductOptionsArgs, opts ...pulumi.InvokeOption) (*LookupCartProductOptionsResult, error)

Use this data source to retrieve information of order cart product options.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Order"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myaccount, err := Me.GetMe(ctx, nil, nil)
		if err != nil {
			return err
		}
		mycart, err := Order.GetCart(ctx, &order.GetCartArgs{
			OvhSubsidiary: myaccount.OvhSubsidiary,
		}, nil)
		if err != nil {
			return err
		}
		_, err = Order.GetCartProductOptions(ctx, &order.GetCartProductOptionsArgs{
			CartId:   mycart.Id,
			Product:  "cloud",
			PlanCode: "project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupCartProductOptionsResultOutput

type LookupCartProductOptionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCartProductOptions.

func (LookupCartProductOptionsResultOutput) CartId

func (LookupCartProductOptionsResultOutput) CatalogName

func (LookupCartProductOptionsResultOutput) ElementType

func (LookupCartProductOptionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCartProductOptionsResultOutput) PlanCode

Product offer identifier

func (LookupCartProductOptionsResultOutput) Product

func (LookupCartProductOptionsResultOutput) Results

products results

func (LookupCartProductOptionsResultOutput) ToLookupCartProductOptionsResultOutput

func (o LookupCartProductOptionsResultOutput) ToLookupCartProductOptionsResultOutput() LookupCartProductOptionsResultOutput

func (LookupCartProductOptionsResultOutput) ToLookupCartProductOptionsResultOutputWithContext

func (o LookupCartProductOptionsResultOutput) ToLookupCartProductOptionsResultOutputWithContext(ctx context.Context) LookupCartProductOptionsResultOutput

type LookupCartProductOutputArgs

type LookupCartProductOutputArgs struct {
	// Cart identifier
	CartId pulumi.StringInput `pulumi:"cartId"`
	// product
	Product pulumi.StringInput `pulumi:"product"`
}

A collection of arguments for invoking getCartProduct.

func (LookupCartProductOutputArgs) ElementType

type LookupCartProductResult

type LookupCartProductResult struct {
	CartId string `pulumi:"cartId"`
	// The provider-assigned unique ID for this managed resource.
	Id      string `pulumi:"id"`
	Product string `pulumi:"product"`
	// products results
	Results []GetCartProductResult `pulumi:"results"`
}

A collection of values returned by getCartProduct.

func LookupCartProduct

func LookupCartProduct(ctx *pulumi.Context, args *LookupCartProductArgs, opts ...pulumi.InvokeOption) (*LookupCartProductResult, error)

Use this data source to retrieve information of order cart product products.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Order"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myaccount, err := Me.GetMe(ctx, nil, nil)
		if err != nil {
			return err
		}
		mycart, err := Order.GetCart(ctx, &order.GetCartArgs{
			OvhSubsidiary: myaccount.OvhSubsidiary,
		}, nil)
		if err != nil {
			return err
		}
		_, err = Order.GetCartProduct(ctx, &order.GetCartProductArgs{
			CartId:  mycart.Id,
			Product: "...",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupCartProductResultOutput

type LookupCartProductResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCartProduct.

func (LookupCartProductResultOutput) CartId

func (LookupCartProductResultOutput) ElementType

func (LookupCartProductResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCartProductResultOutput) Product

func (LookupCartProductResultOutput) Results

products results

func (LookupCartProductResultOutput) ToLookupCartProductResultOutput

func (o LookupCartProductResultOutput) ToLookupCartProductResultOutput() LookupCartProductResultOutput

func (LookupCartProductResultOutput) ToLookupCartProductResultOutputWithContext

func (o LookupCartProductResultOutput) ToLookupCartProductResultOutputWithContext(ctx context.Context) LookupCartProductResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL