commercetools

package
v0.0.0-...-a281650 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing commercetools cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiClient

type ApiClient struct {
	pulumi.CustomResourceState

	// Name of the API client
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes)
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
	Secret pulumi.StringOutput      `pulumi:"secret"`
}

func GetApiClient

func GetApiClient(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiClientState, opts ...pulumi.ResourceOption) (*ApiClient, error)

GetApiClient gets an existing ApiClient resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApiClient

func NewApiClient(ctx *pulumi.Context,
	name string, args *ApiClientArgs, opts ...pulumi.ResourceOption) (*ApiClient, error)

NewApiClient registers a new resource with the given unique name, arguments, and options.

func (*ApiClient) ElementType

func (*ApiClient) ElementType() reflect.Type

func (*ApiClient) ToApiClientOutput

func (i *ApiClient) ToApiClientOutput() ApiClientOutput

func (*ApiClient) ToApiClientOutputWithContext

func (i *ApiClient) ToApiClientOutputWithContext(ctx context.Context) ApiClientOutput

type ApiClientArgs

type ApiClientArgs struct {
	// Name of the API client
	Name pulumi.StringPtrInput
	// A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes)
	Scopes pulumi.StringArrayInput
}

The set of arguments for constructing a ApiClient resource.

func (ApiClientArgs) ElementType

func (ApiClientArgs) ElementType() reflect.Type

type ApiClientArray

type ApiClientArray []ApiClientInput

func (ApiClientArray) ElementType

func (ApiClientArray) ElementType() reflect.Type

func (ApiClientArray) ToApiClientArrayOutput

func (i ApiClientArray) ToApiClientArrayOutput() ApiClientArrayOutput

func (ApiClientArray) ToApiClientArrayOutputWithContext

func (i ApiClientArray) ToApiClientArrayOutputWithContext(ctx context.Context) ApiClientArrayOutput

type ApiClientArrayInput

type ApiClientArrayInput interface {
	pulumi.Input

	ToApiClientArrayOutput() ApiClientArrayOutput
	ToApiClientArrayOutputWithContext(context.Context) ApiClientArrayOutput
}

ApiClientArrayInput is an input type that accepts ApiClientArray and ApiClientArrayOutput values. You can construct a concrete instance of `ApiClientArrayInput` via:

ApiClientArray{ ApiClientArgs{...} }

type ApiClientArrayOutput

type ApiClientArrayOutput struct{ *pulumi.OutputState }

func (ApiClientArrayOutput) ElementType

func (ApiClientArrayOutput) ElementType() reflect.Type

func (ApiClientArrayOutput) Index

func (ApiClientArrayOutput) ToApiClientArrayOutput

func (o ApiClientArrayOutput) ToApiClientArrayOutput() ApiClientArrayOutput

func (ApiClientArrayOutput) ToApiClientArrayOutputWithContext

func (o ApiClientArrayOutput) ToApiClientArrayOutputWithContext(ctx context.Context) ApiClientArrayOutput

type ApiClientInput

type ApiClientInput interface {
	pulumi.Input

	ToApiClientOutput() ApiClientOutput
	ToApiClientOutputWithContext(ctx context.Context) ApiClientOutput
}

type ApiClientMap

type ApiClientMap map[string]ApiClientInput

func (ApiClientMap) ElementType

func (ApiClientMap) ElementType() reflect.Type

func (ApiClientMap) ToApiClientMapOutput

func (i ApiClientMap) ToApiClientMapOutput() ApiClientMapOutput

func (ApiClientMap) ToApiClientMapOutputWithContext

func (i ApiClientMap) ToApiClientMapOutputWithContext(ctx context.Context) ApiClientMapOutput

type ApiClientMapInput

type ApiClientMapInput interface {
	pulumi.Input

	ToApiClientMapOutput() ApiClientMapOutput
	ToApiClientMapOutputWithContext(context.Context) ApiClientMapOutput
}

ApiClientMapInput is an input type that accepts ApiClientMap and ApiClientMapOutput values. You can construct a concrete instance of `ApiClientMapInput` via:

ApiClientMap{ "key": ApiClientArgs{...} }

type ApiClientMapOutput

type ApiClientMapOutput struct{ *pulumi.OutputState }

func (ApiClientMapOutput) ElementType

func (ApiClientMapOutput) ElementType() reflect.Type

func (ApiClientMapOutput) MapIndex

func (ApiClientMapOutput) ToApiClientMapOutput

func (o ApiClientMapOutput) ToApiClientMapOutput() ApiClientMapOutput

func (ApiClientMapOutput) ToApiClientMapOutputWithContext

func (o ApiClientMapOutput) ToApiClientMapOutputWithContext(ctx context.Context) ApiClientMapOutput

type ApiClientOutput

type ApiClientOutput struct{ *pulumi.OutputState }

func (ApiClientOutput) ElementType

func (ApiClientOutput) ElementType() reflect.Type

func (ApiClientOutput) Name

Name of the API client

func (ApiClientOutput) Scopes

A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes)

func (ApiClientOutput) Secret

func (o ApiClientOutput) Secret() pulumi.StringOutput

func (ApiClientOutput) ToApiClientOutput

func (o ApiClientOutput) ToApiClientOutput() ApiClientOutput

func (ApiClientOutput) ToApiClientOutputWithContext

func (o ApiClientOutput) ToApiClientOutputWithContext(ctx context.Context) ApiClientOutput

type ApiClientState

type ApiClientState struct {
	// Name of the API client
	Name pulumi.StringPtrInput
	// A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes)
	Scopes pulumi.StringArrayInput
	Secret pulumi.StringPtrInput
}

func (ApiClientState) ElementType

func (ApiClientState) ElementType() reflect.Type

type ApiExtension

type ApiExtension struct {
	pulumi.CustomResourceState

	// [Destination](https://docs.commercetools.com/api/projects/api-extensions#destination) Details where the extension can be
	// reached
	Destination ApiExtensionDestinationOutput `pulumi:"destination"`
	// User-specific unique identifier for the extension
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// Extension timeout in milliseconds
	TimeoutInMs pulumi.IntPtrOutput `pulumi:"timeoutInMs"`
	// Array of [Trigger](https://docs.commercetools.com/api/projects/api-extensions#trigger) Describes what triggers the
	// extension
	Triggers ApiExtensionTriggerArrayOutput `pulumi:"triggers"`
	Version  pulumi.IntOutput               `pulumi:"version"`
}

func GetApiExtension

func GetApiExtension(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiExtensionState, opts ...pulumi.ResourceOption) (*ApiExtension, error)

GetApiExtension gets an existing ApiExtension resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApiExtension

func NewApiExtension(ctx *pulumi.Context,
	name string, args *ApiExtensionArgs, opts ...pulumi.ResourceOption) (*ApiExtension, error)

NewApiExtension registers a new resource with the given unique name, arguments, and options.

func (*ApiExtension) ElementType

func (*ApiExtension) ElementType() reflect.Type

func (*ApiExtension) ToApiExtensionOutput

func (i *ApiExtension) ToApiExtensionOutput() ApiExtensionOutput

func (*ApiExtension) ToApiExtensionOutputWithContext

func (i *ApiExtension) ToApiExtensionOutputWithContext(ctx context.Context) ApiExtensionOutput

type ApiExtensionArgs

type ApiExtensionArgs struct {
	// [Destination](https://docs.commercetools.com/api/projects/api-extensions#destination) Details where the extension can be
	// reached
	Destination ApiExtensionDestinationInput
	// User-specific unique identifier for the extension
	Key pulumi.StringPtrInput
	// Extension timeout in milliseconds
	TimeoutInMs pulumi.IntPtrInput
	// Array of [Trigger](https://docs.commercetools.com/api/projects/api-extensions#trigger) Describes what triggers the
	// extension
	Triggers ApiExtensionTriggerArrayInput
}

The set of arguments for constructing a ApiExtension resource.

func (ApiExtensionArgs) ElementType

func (ApiExtensionArgs) ElementType() reflect.Type

type ApiExtensionArray

type ApiExtensionArray []ApiExtensionInput

func (ApiExtensionArray) ElementType

func (ApiExtensionArray) ElementType() reflect.Type

func (ApiExtensionArray) ToApiExtensionArrayOutput

func (i ApiExtensionArray) ToApiExtensionArrayOutput() ApiExtensionArrayOutput

func (ApiExtensionArray) ToApiExtensionArrayOutputWithContext

func (i ApiExtensionArray) ToApiExtensionArrayOutputWithContext(ctx context.Context) ApiExtensionArrayOutput

type ApiExtensionArrayInput

type ApiExtensionArrayInput interface {
	pulumi.Input

	ToApiExtensionArrayOutput() ApiExtensionArrayOutput
	ToApiExtensionArrayOutputWithContext(context.Context) ApiExtensionArrayOutput
}

ApiExtensionArrayInput is an input type that accepts ApiExtensionArray and ApiExtensionArrayOutput values. You can construct a concrete instance of `ApiExtensionArrayInput` via:

ApiExtensionArray{ ApiExtensionArgs{...} }

type ApiExtensionArrayOutput

type ApiExtensionArrayOutput struct{ *pulumi.OutputState }

func (ApiExtensionArrayOutput) ElementType

func (ApiExtensionArrayOutput) ElementType() reflect.Type

func (ApiExtensionArrayOutput) Index

func (ApiExtensionArrayOutput) ToApiExtensionArrayOutput

func (o ApiExtensionArrayOutput) ToApiExtensionArrayOutput() ApiExtensionArrayOutput

func (ApiExtensionArrayOutput) ToApiExtensionArrayOutputWithContext

func (o ApiExtensionArrayOutput) ToApiExtensionArrayOutputWithContext(ctx context.Context) ApiExtensionArrayOutput

type ApiExtensionDestination

type ApiExtensionDestination struct {
	AccessKey           *string `pulumi:"accessKey"`
	AccessSecret        *string `pulumi:"accessSecret"`
	Arn                 *string `pulumi:"arn"`
	AuthorizationHeader *string `pulumi:"authorizationHeader"`
	AzureAuthentication *string `pulumi:"azureAuthentication"`
	Type                string  `pulumi:"type"`
	Url                 *string `pulumi:"url"`
}

type ApiExtensionDestinationArgs

type ApiExtensionDestinationArgs struct {
	AccessKey           pulumi.StringPtrInput `pulumi:"accessKey"`
	AccessSecret        pulumi.StringPtrInput `pulumi:"accessSecret"`
	Arn                 pulumi.StringPtrInput `pulumi:"arn"`
	AuthorizationHeader pulumi.StringPtrInput `pulumi:"authorizationHeader"`
	AzureAuthentication pulumi.StringPtrInput `pulumi:"azureAuthentication"`
	Type                pulumi.StringInput    `pulumi:"type"`
	Url                 pulumi.StringPtrInput `pulumi:"url"`
}

func (ApiExtensionDestinationArgs) ElementType

func (ApiExtensionDestinationArgs) ToApiExtensionDestinationOutput

func (i ApiExtensionDestinationArgs) ToApiExtensionDestinationOutput() ApiExtensionDestinationOutput

func (ApiExtensionDestinationArgs) ToApiExtensionDestinationOutputWithContext

func (i ApiExtensionDestinationArgs) ToApiExtensionDestinationOutputWithContext(ctx context.Context) ApiExtensionDestinationOutput

func (ApiExtensionDestinationArgs) ToApiExtensionDestinationPtrOutput

func (i ApiExtensionDestinationArgs) ToApiExtensionDestinationPtrOutput() ApiExtensionDestinationPtrOutput

func (ApiExtensionDestinationArgs) ToApiExtensionDestinationPtrOutputWithContext

func (i ApiExtensionDestinationArgs) ToApiExtensionDestinationPtrOutputWithContext(ctx context.Context) ApiExtensionDestinationPtrOutput

type ApiExtensionDestinationInput

type ApiExtensionDestinationInput interface {
	pulumi.Input

	ToApiExtensionDestinationOutput() ApiExtensionDestinationOutput
	ToApiExtensionDestinationOutputWithContext(context.Context) ApiExtensionDestinationOutput
}

ApiExtensionDestinationInput is an input type that accepts ApiExtensionDestinationArgs and ApiExtensionDestinationOutput values. You can construct a concrete instance of `ApiExtensionDestinationInput` via:

ApiExtensionDestinationArgs{...}

type ApiExtensionDestinationOutput

type ApiExtensionDestinationOutput struct{ *pulumi.OutputState }

func (ApiExtensionDestinationOutput) AccessKey

func (ApiExtensionDestinationOutput) AccessSecret

func (ApiExtensionDestinationOutput) Arn

func (ApiExtensionDestinationOutput) AuthorizationHeader

func (o ApiExtensionDestinationOutput) AuthorizationHeader() pulumi.StringPtrOutput

func (ApiExtensionDestinationOutput) AzureAuthentication

func (o ApiExtensionDestinationOutput) AzureAuthentication() pulumi.StringPtrOutput

func (ApiExtensionDestinationOutput) ElementType

func (ApiExtensionDestinationOutput) ToApiExtensionDestinationOutput

func (o ApiExtensionDestinationOutput) ToApiExtensionDestinationOutput() ApiExtensionDestinationOutput

func (ApiExtensionDestinationOutput) ToApiExtensionDestinationOutputWithContext

func (o ApiExtensionDestinationOutput) ToApiExtensionDestinationOutputWithContext(ctx context.Context) ApiExtensionDestinationOutput

func (ApiExtensionDestinationOutput) ToApiExtensionDestinationPtrOutput

func (o ApiExtensionDestinationOutput) ToApiExtensionDestinationPtrOutput() ApiExtensionDestinationPtrOutput

func (ApiExtensionDestinationOutput) ToApiExtensionDestinationPtrOutputWithContext

func (o ApiExtensionDestinationOutput) ToApiExtensionDestinationPtrOutputWithContext(ctx context.Context) ApiExtensionDestinationPtrOutput

func (ApiExtensionDestinationOutput) Type

func (ApiExtensionDestinationOutput) Url

type ApiExtensionDestinationPtrInput

type ApiExtensionDestinationPtrInput interface {
	pulumi.Input

	ToApiExtensionDestinationPtrOutput() ApiExtensionDestinationPtrOutput
	ToApiExtensionDestinationPtrOutputWithContext(context.Context) ApiExtensionDestinationPtrOutput
}

ApiExtensionDestinationPtrInput is an input type that accepts ApiExtensionDestinationArgs, ApiExtensionDestinationPtr and ApiExtensionDestinationPtrOutput values. You can construct a concrete instance of `ApiExtensionDestinationPtrInput` via:

        ApiExtensionDestinationArgs{...}

or:

        nil

type ApiExtensionDestinationPtrOutput

type ApiExtensionDestinationPtrOutput struct{ *pulumi.OutputState }

func (ApiExtensionDestinationPtrOutput) AccessKey

func (ApiExtensionDestinationPtrOutput) AccessSecret

func (ApiExtensionDestinationPtrOutput) Arn

func (ApiExtensionDestinationPtrOutput) AuthorizationHeader

func (ApiExtensionDestinationPtrOutput) AzureAuthentication

func (ApiExtensionDestinationPtrOutput) Elem

func (ApiExtensionDestinationPtrOutput) ElementType

func (ApiExtensionDestinationPtrOutput) ToApiExtensionDestinationPtrOutput

func (o ApiExtensionDestinationPtrOutput) ToApiExtensionDestinationPtrOutput() ApiExtensionDestinationPtrOutput

func (ApiExtensionDestinationPtrOutput) ToApiExtensionDestinationPtrOutputWithContext

func (o ApiExtensionDestinationPtrOutput) ToApiExtensionDestinationPtrOutputWithContext(ctx context.Context) ApiExtensionDestinationPtrOutput

func (ApiExtensionDestinationPtrOutput) Type

func (ApiExtensionDestinationPtrOutput) Url

type ApiExtensionInput

type ApiExtensionInput interface {
	pulumi.Input

	ToApiExtensionOutput() ApiExtensionOutput
	ToApiExtensionOutputWithContext(ctx context.Context) ApiExtensionOutput
}

type ApiExtensionMap

type ApiExtensionMap map[string]ApiExtensionInput

func (ApiExtensionMap) ElementType

func (ApiExtensionMap) ElementType() reflect.Type

func (ApiExtensionMap) ToApiExtensionMapOutput

func (i ApiExtensionMap) ToApiExtensionMapOutput() ApiExtensionMapOutput

func (ApiExtensionMap) ToApiExtensionMapOutputWithContext

func (i ApiExtensionMap) ToApiExtensionMapOutputWithContext(ctx context.Context) ApiExtensionMapOutput

type ApiExtensionMapInput

type ApiExtensionMapInput interface {
	pulumi.Input

	ToApiExtensionMapOutput() ApiExtensionMapOutput
	ToApiExtensionMapOutputWithContext(context.Context) ApiExtensionMapOutput
}

ApiExtensionMapInput is an input type that accepts ApiExtensionMap and ApiExtensionMapOutput values. You can construct a concrete instance of `ApiExtensionMapInput` via:

ApiExtensionMap{ "key": ApiExtensionArgs{...} }

type ApiExtensionMapOutput

type ApiExtensionMapOutput struct{ *pulumi.OutputState }

func (ApiExtensionMapOutput) ElementType

func (ApiExtensionMapOutput) ElementType() reflect.Type

func (ApiExtensionMapOutput) MapIndex

func (ApiExtensionMapOutput) ToApiExtensionMapOutput

func (o ApiExtensionMapOutput) ToApiExtensionMapOutput() ApiExtensionMapOutput

func (ApiExtensionMapOutput) ToApiExtensionMapOutputWithContext

func (o ApiExtensionMapOutput) ToApiExtensionMapOutputWithContext(ctx context.Context) ApiExtensionMapOutput

type ApiExtensionOutput

type ApiExtensionOutput struct{ *pulumi.OutputState }

func (ApiExtensionOutput) Destination

[Destination](https://docs.commercetools.com/api/projects/api-extensions#destination) Details where the extension can be reached

func (ApiExtensionOutput) ElementType

func (ApiExtensionOutput) ElementType() reflect.Type

func (ApiExtensionOutput) Key

User-specific unique identifier for the extension

func (ApiExtensionOutput) TimeoutInMs

func (o ApiExtensionOutput) TimeoutInMs() pulumi.IntPtrOutput

Extension timeout in milliseconds

func (ApiExtensionOutput) ToApiExtensionOutput

func (o ApiExtensionOutput) ToApiExtensionOutput() ApiExtensionOutput

func (ApiExtensionOutput) ToApiExtensionOutputWithContext

func (o ApiExtensionOutput) ToApiExtensionOutputWithContext(ctx context.Context) ApiExtensionOutput

func (ApiExtensionOutput) Triggers

Array of [Trigger](https://docs.commercetools.com/api/projects/api-extensions#trigger) Describes what triggers the extension

func (ApiExtensionOutput) Version

func (o ApiExtensionOutput) Version() pulumi.IntOutput

type ApiExtensionState

type ApiExtensionState struct {
	// [Destination](https://docs.commercetools.com/api/projects/api-extensions#destination) Details where the extension can be
	// reached
	Destination ApiExtensionDestinationPtrInput
	// User-specific unique identifier for the extension
	Key pulumi.StringPtrInput
	// Extension timeout in milliseconds
	TimeoutInMs pulumi.IntPtrInput
	// Array of [Trigger](https://docs.commercetools.com/api/projects/api-extensions#trigger) Describes what triggers the
	// extension
	Triggers ApiExtensionTriggerArrayInput
	Version  pulumi.IntPtrInput
}

func (ApiExtensionState) ElementType

func (ApiExtensionState) ElementType() reflect.Type

type ApiExtensionTrigger

type ApiExtensionTrigger struct {
	// Currently, Create and Update are supported
	Actions []string `pulumi:"actions"`
	// Valid predicate that controls the conditions under which the API Extension is called.
	Condition *string `pulumi:"condition"`
	// Currently, cart, order, payment, and customer are supported
	ResourceTypeId string `pulumi:"resourceTypeId"`
}

type ApiExtensionTriggerArgs

type ApiExtensionTriggerArgs struct {
	// Currently, Create and Update are supported
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// Valid predicate that controls the conditions under which the API Extension is called.
	Condition pulumi.StringPtrInput `pulumi:"condition"`
	// Currently, cart, order, payment, and customer are supported
	ResourceTypeId pulumi.StringInput `pulumi:"resourceTypeId"`
}

func (ApiExtensionTriggerArgs) ElementType

func (ApiExtensionTriggerArgs) ElementType() reflect.Type

func (ApiExtensionTriggerArgs) ToApiExtensionTriggerOutput

func (i ApiExtensionTriggerArgs) ToApiExtensionTriggerOutput() ApiExtensionTriggerOutput

func (ApiExtensionTriggerArgs) ToApiExtensionTriggerOutputWithContext

func (i ApiExtensionTriggerArgs) ToApiExtensionTriggerOutputWithContext(ctx context.Context) ApiExtensionTriggerOutput

type ApiExtensionTriggerArray

type ApiExtensionTriggerArray []ApiExtensionTriggerInput

func (ApiExtensionTriggerArray) ElementType

func (ApiExtensionTriggerArray) ElementType() reflect.Type

func (ApiExtensionTriggerArray) ToApiExtensionTriggerArrayOutput

func (i ApiExtensionTriggerArray) ToApiExtensionTriggerArrayOutput() ApiExtensionTriggerArrayOutput

func (ApiExtensionTriggerArray) ToApiExtensionTriggerArrayOutputWithContext

func (i ApiExtensionTriggerArray) ToApiExtensionTriggerArrayOutputWithContext(ctx context.Context) ApiExtensionTriggerArrayOutput

type ApiExtensionTriggerArrayInput

type ApiExtensionTriggerArrayInput interface {
	pulumi.Input

	ToApiExtensionTriggerArrayOutput() ApiExtensionTriggerArrayOutput
	ToApiExtensionTriggerArrayOutputWithContext(context.Context) ApiExtensionTriggerArrayOutput
}

ApiExtensionTriggerArrayInput is an input type that accepts ApiExtensionTriggerArray and ApiExtensionTriggerArrayOutput values. You can construct a concrete instance of `ApiExtensionTriggerArrayInput` via:

ApiExtensionTriggerArray{ ApiExtensionTriggerArgs{...} }

type ApiExtensionTriggerArrayOutput

type ApiExtensionTriggerArrayOutput struct{ *pulumi.OutputState }

func (ApiExtensionTriggerArrayOutput) ElementType

func (ApiExtensionTriggerArrayOutput) Index

func (ApiExtensionTriggerArrayOutput) ToApiExtensionTriggerArrayOutput

func (o ApiExtensionTriggerArrayOutput) ToApiExtensionTriggerArrayOutput() ApiExtensionTriggerArrayOutput

func (ApiExtensionTriggerArrayOutput) ToApiExtensionTriggerArrayOutputWithContext

func (o ApiExtensionTriggerArrayOutput) ToApiExtensionTriggerArrayOutputWithContext(ctx context.Context) ApiExtensionTriggerArrayOutput

type ApiExtensionTriggerInput

type ApiExtensionTriggerInput interface {
	pulumi.Input

	ToApiExtensionTriggerOutput() ApiExtensionTriggerOutput
	ToApiExtensionTriggerOutputWithContext(context.Context) ApiExtensionTriggerOutput
}

ApiExtensionTriggerInput is an input type that accepts ApiExtensionTriggerArgs and ApiExtensionTriggerOutput values. You can construct a concrete instance of `ApiExtensionTriggerInput` via:

ApiExtensionTriggerArgs{...}

type ApiExtensionTriggerOutput

type ApiExtensionTriggerOutput struct{ *pulumi.OutputState }

func (ApiExtensionTriggerOutput) Actions

Currently, Create and Update are supported

func (ApiExtensionTriggerOutput) Condition

Valid predicate that controls the conditions under which the API Extension is called.

func (ApiExtensionTriggerOutput) ElementType

func (ApiExtensionTriggerOutput) ElementType() reflect.Type

func (ApiExtensionTriggerOutput) ResourceTypeId

func (o ApiExtensionTriggerOutput) ResourceTypeId() pulumi.StringOutput

Currently, cart, order, payment, and customer are supported

func (ApiExtensionTriggerOutput) ToApiExtensionTriggerOutput

func (o ApiExtensionTriggerOutput) ToApiExtensionTriggerOutput() ApiExtensionTriggerOutput

func (ApiExtensionTriggerOutput) ToApiExtensionTriggerOutputWithContext

func (o ApiExtensionTriggerOutput) ToApiExtensionTriggerOutputWithContext(ctx context.Context) ApiExtensionTriggerOutput

type AssociateRole

type AssociateRole struct {
	pulumi.CustomResourceState

	// Whether the AssociateRole can be assigned to an Associate by a buyer. If false, the AssociateRole can only be assigned
	// using the general endpoint.
	BuyerAssignable pulumi.BoolPtrOutput `pulumi:"buyerAssignable"`
	// User-defined unique identifier of the AssociateRole.
	Key pulumi.StringOutput `pulumi:"key"`
	// Name of the AssociateRole.
	Name pulumi.StringOutput `pulumi:"name"`
	// List of Permissions for the AssociateRole.
	Permissions pulumi.StringArrayOutput `pulumi:"permissions"`
	// Current version of the AssociateRole.
	Version pulumi.IntOutput `pulumi:"version"`
}

func GetAssociateRole

func GetAssociateRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssociateRoleState, opts ...pulumi.ResourceOption) (*AssociateRole, error)

GetAssociateRole gets an existing AssociateRole resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssociateRole

func NewAssociateRole(ctx *pulumi.Context,
	name string, args *AssociateRoleArgs, opts ...pulumi.ResourceOption) (*AssociateRole, error)

NewAssociateRole registers a new resource with the given unique name, arguments, and options.

func (*AssociateRole) ElementType

func (*AssociateRole) ElementType() reflect.Type

func (*AssociateRole) ToAssociateRoleOutput

func (i *AssociateRole) ToAssociateRoleOutput() AssociateRoleOutput

func (*AssociateRole) ToAssociateRoleOutputWithContext

func (i *AssociateRole) ToAssociateRoleOutputWithContext(ctx context.Context) AssociateRoleOutput

type AssociateRoleArgs

type AssociateRoleArgs struct {
	// Whether the AssociateRole can be assigned to an Associate by a buyer. If false, the AssociateRole can only be assigned
	// using the general endpoint.
	BuyerAssignable pulumi.BoolPtrInput
	// User-defined unique identifier of the AssociateRole.
	Key pulumi.StringInput
	// Name of the AssociateRole.
	Name pulumi.StringPtrInput
	// List of Permissions for the AssociateRole.
	Permissions pulumi.StringArrayInput
}

The set of arguments for constructing a AssociateRole resource.

func (AssociateRoleArgs) ElementType

func (AssociateRoleArgs) ElementType() reflect.Type

type AssociateRoleArray

type AssociateRoleArray []AssociateRoleInput

func (AssociateRoleArray) ElementType

func (AssociateRoleArray) ElementType() reflect.Type

func (AssociateRoleArray) ToAssociateRoleArrayOutput

func (i AssociateRoleArray) ToAssociateRoleArrayOutput() AssociateRoleArrayOutput

func (AssociateRoleArray) ToAssociateRoleArrayOutputWithContext

func (i AssociateRoleArray) ToAssociateRoleArrayOutputWithContext(ctx context.Context) AssociateRoleArrayOutput

type AssociateRoleArrayInput

type AssociateRoleArrayInput interface {
	pulumi.Input

	ToAssociateRoleArrayOutput() AssociateRoleArrayOutput
	ToAssociateRoleArrayOutputWithContext(context.Context) AssociateRoleArrayOutput
}

AssociateRoleArrayInput is an input type that accepts AssociateRoleArray and AssociateRoleArrayOutput values. You can construct a concrete instance of `AssociateRoleArrayInput` via:

AssociateRoleArray{ AssociateRoleArgs{...} }

type AssociateRoleArrayOutput

type AssociateRoleArrayOutput struct{ *pulumi.OutputState }

func (AssociateRoleArrayOutput) ElementType

func (AssociateRoleArrayOutput) ElementType() reflect.Type

func (AssociateRoleArrayOutput) Index

func (AssociateRoleArrayOutput) ToAssociateRoleArrayOutput

func (o AssociateRoleArrayOutput) ToAssociateRoleArrayOutput() AssociateRoleArrayOutput

func (AssociateRoleArrayOutput) ToAssociateRoleArrayOutputWithContext

func (o AssociateRoleArrayOutput) ToAssociateRoleArrayOutputWithContext(ctx context.Context) AssociateRoleArrayOutput

type AssociateRoleInput

type AssociateRoleInput interface {
	pulumi.Input

	ToAssociateRoleOutput() AssociateRoleOutput
	ToAssociateRoleOutputWithContext(ctx context.Context) AssociateRoleOutput
}

type AssociateRoleMap

type AssociateRoleMap map[string]AssociateRoleInput

func (AssociateRoleMap) ElementType

func (AssociateRoleMap) ElementType() reflect.Type

func (AssociateRoleMap) ToAssociateRoleMapOutput

func (i AssociateRoleMap) ToAssociateRoleMapOutput() AssociateRoleMapOutput

func (AssociateRoleMap) ToAssociateRoleMapOutputWithContext

func (i AssociateRoleMap) ToAssociateRoleMapOutputWithContext(ctx context.Context) AssociateRoleMapOutput

type AssociateRoleMapInput

type AssociateRoleMapInput interface {
	pulumi.Input

	ToAssociateRoleMapOutput() AssociateRoleMapOutput
	ToAssociateRoleMapOutputWithContext(context.Context) AssociateRoleMapOutput
}

AssociateRoleMapInput is an input type that accepts AssociateRoleMap and AssociateRoleMapOutput values. You can construct a concrete instance of `AssociateRoleMapInput` via:

AssociateRoleMap{ "key": AssociateRoleArgs{...} }

type AssociateRoleMapOutput

type AssociateRoleMapOutput struct{ *pulumi.OutputState }

func (AssociateRoleMapOutput) ElementType

func (AssociateRoleMapOutput) ElementType() reflect.Type

func (AssociateRoleMapOutput) MapIndex

func (AssociateRoleMapOutput) ToAssociateRoleMapOutput

func (o AssociateRoleMapOutput) ToAssociateRoleMapOutput() AssociateRoleMapOutput

func (AssociateRoleMapOutput) ToAssociateRoleMapOutputWithContext

func (o AssociateRoleMapOutput) ToAssociateRoleMapOutputWithContext(ctx context.Context) AssociateRoleMapOutput

type AssociateRoleOutput

type AssociateRoleOutput struct{ *pulumi.OutputState }

func (AssociateRoleOutput) BuyerAssignable

func (o AssociateRoleOutput) BuyerAssignable() pulumi.BoolPtrOutput

Whether the AssociateRole can be assigned to an Associate by a buyer. If false, the AssociateRole can only be assigned using the general endpoint.

func (AssociateRoleOutput) ElementType

func (AssociateRoleOutput) ElementType() reflect.Type

func (AssociateRoleOutput) Key

User-defined unique identifier of the AssociateRole.

func (AssociateRoleOutput) Name

Name of the AssociateRole.

func (AssociateRoleOutput) Permissions

List of Permissions for the AssociateRole.

func (AssociateRoleOutput) ToAssociateRoleOutput

func (o AssociateRoleOutput) ToAssociateRoleOutput() AssociateRoleOutput

func (AssociateRoleOutput) ToAssociateRoleOutputWithContext

func (o AssociateRoleOutput) ToAssociateRoleOutputWithContext(ctx context.Context) AssociateRoleOutput

func (AssociateRoleOutput) Version

func (o AssociateRoleOutput) Version() pulumi.IntOutput

Current version of the AssociateRole.

type AssociateRoleState

type AssociateRoleState struct {
	// Whether the AssociateRole can be assigned to an Associate by a buyer. If false, the AssociateRole can only be assigned
	// using the general endpoint.
	BuyerAssignable pulumi.BoolPtrInput
	// User-defined unique identifier of the AssociateRole.
	Key pulumi.StringPtrInput
	// Name of the AssociateRole.
	Name pulumi.StringPtrInput
	// List of Permissions for the AssociateRole.
	Permissions pulumi.StringArrayInput
	// Current version of the AssociateRole.
	Version pulumi.IntPtrInput
}

func (AssociateRoleState) ElementType

func (AssociateRoleState) ElementType() reflect.Type

type AttributeGroup

type AttributeGroup struct {
	pulumi.CustomResourceState

	// Attributes with unique values.
	Attributes AttributeGroupAttributeArrayOutput `pulumi:"attributes"`
	// Description of the State as localized string.
	Description pulumi.StringMapOutput `pulumi:"description"`
	// User-defined unique identifier of the AttributeGroup.
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// Name of the State as localized string.
	Name pulumi.StringMapOutput `pulumi:"name"`
	// Current version of the AttributeGroup.
	Version pulumi.IntOutput `pulumi:"version"`
}

func GetAttributeGroup

func GetAttributeGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AttributeGroupState, opts ...pulumi.ResourceOption) (*AttributeGroup, error)

GetAttributeGroup gets an existing AttributeGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAttributeGroup

func NewAttributeGroup(ctx *pulumi.Context,
	name string, args *AttributeGroupArgs, opts ...pulumi.ResourceOption) (*AttributeGroup, error)

NewAttributeGroup registers a new resource with the given unique name, arguments, and options.

func (*AttributeGroup) ElementType

func (*AttributeGroup) ElementType() reflect.Type

func (*AttributeGroup) ToAttributeGroupOutput

func (i *AttributeGroup) ToAttributeGroupOutput() AttributeGroupOutput

func (*AttributeGroup) ToAttributeGroupOutputWithContext

func (i *AttributeGroup) ToAttributeGroupOutputWithContext(ctx context.Context) AttributeGroupOutput

type AttributeGroupArgs

type AttributeGroupArgs struct {
	// Attributes with unique values.
	Attributes AttributeGroupAttributeArrayInput
	// Description of the State as localized string.
	Description pulumi.StringMapInput
	// User-defined unique identifier of the AttributeGroup.
	Key pulumi.StringPtrInput
	// Name of the State as localized string.
	Name pulumi.StringMapInput
}

The set of arguments for constructing a AttributeGroup resource.

func (AttributeGroupArgs) ElementType

func (AttributeGroupArgs) ElementType() reflect.Type

type AttributeGroupArray

type AttributeGroupArray []AttributeGroupInput

func (AttributeGroupArray) ElementType

func (AttributeGroupArray) ElementType() reflect.Type

func (AttributeGroupArray) ToAttributeGroupArrayOutput

func (i AttributeGroupArray) ToAttributeGroupArrayOutput() AttributeGroupArrayOutput

func (AttributeGroupArray) ToAttributeGroupArrayOutputWithContext

func (i AttributeGroupArray) ToAttributeGroupArrayOutputWithContext(ctx context.Context) AttributeGroupArrayOutput

type AttributeGroupArrayInput

type AttributeGroupArrayInput interface {
	pulumi.Input

	ToAttributeGroupArrayOutput() AttributeGroupArrayOutput
	ToAttributeGroupArrayOutputWithContext(context.Context) AttributeGroupArrayOutput
}

AttributeGroupArrayInput is an input type that accepts AttributeGroupArray and AttributeGroupArrayOutput values. You can construct a concrete instance of `AttributeGroupArrayInput` via:

AttributeGroupArray{ AttributeGroupArgs{...} }

type AttributeGroupArrayOutput

type AttributeGroupArrayOutput struct{ *pulumi.OutputState }

func (AttributeGroupArrayOutput) ElementType

func (AttributeGroupArrayOutput) ElementType() reflect.Type

func (AttributeGroupArrayOutput) Index

func (AttributeGroupArrayOutput) ToAttributeGroupArrayOutput

func (o AttributeGroupArrayOutput) ToAttributeGroupArrayOutput() AttributeGroupArrayOutput

func (AttributeGroupArrayOutput) ToAttributeGroupArrayOutputWithContext

func (o AttributeGroupArrayOutput) ToAttributeGroupArrayOutputWithContext(ctx context.Context) AttributeGroupArrayOutput

type AttributeGroupAttribute

type AttributeGroupAttribute struct {
	// The Attribute's name as given in its AttributeDefinition.
	Key string `pulumi:"key"`
}

type AttributeGroupAttributeArgs

type AttributeGroupAttributeArgs struct {
	// The Attribute's name as given in its AttributeDefinition.
	Key pulumi.StringInput `pulumi:"key"`
}

func (AttributeGroupAttributeArgs) ElementType

func (AttributeGroupAttributeArgs) ToAttributeGroupAttributeOutput

func (i AttributeGroupAttributeArgs) ToAttributeGroupAttributeOutput() AttributeGroupAttributeOutput

func (AttributeGroupAttributeArgs) ToAttributeGroupAttributeOutputWithContext

func (i AttributeGroupAttributeArgs) ToAttributeGroupAttributeOutputWithContext(ctx context.Context) AttributeGroupAttributeOutput

type AttributeGroupAttributeArray

type AttributeGroupAttributeArray []AttributeGroupAttributeInput

func (AttributeGroupAttributeArray) ElementType

func (AttributeGroupAttributeArray) ToAttributeGroupAttributeArrayOutput

func (i AttributeGroupAttributeArray) ToAttributeGroupAttributeArrayOutput() AttributeGroupAttributeArrayOutput

func (AttributeGroupAttributeArray) ToAttributeGroupAttributeArrayOutputWithContext

func (i AttributeGroupAttributeArray) ToAttributeGroupAttributeArrayOutputWithContext(ctx context.Context) AttributeGroupAttributeArrayOutput

type AttributeGroupAttributeArrayInput

type AttributeGroupAttributeArrayInput interface {
	pulumi.Input

	ToAttributeGroupAttributeArrayOutput() AttributeGroupAttributeArrayOutput
	ToAttributeGroupAttributeArrayOutputWithContext(context.Context) AttributeGroupAttributeArrayOutput
}

AttributeGroupAttributeArrayInput is an input type that accepts AttributeGroupAttributeArray and AttributeGroupAttributeArrayOutput values. You can construct a concrete instance of `AttributeGroupAttributeArrayInput` via:

AttributeGroupAttributeArray{ AttributeGroupAttributeArgs{...} }

type AttributeGroupAttributeArrayOutput

type AttributeGroupAttributeArrayOutput struct{ *pulumi.OutputState }

func (AttributeGroupAttributeArrayOutput) ElementType

func (AttributeGroupAttributeArrayOutput) Index

func (AttributeGroupAttributeArrayOutput) ToAttributeGroupAttributeArrayOutput

func (o AttributeGroupAttributeArrayOutput) ToAttributeGroupAttributeArrayOutput() AttributeGroupAttributeArrayOutput

func (AttributeGroupAttributeArrayOutput) ToAttributeGroupAttributeArrayOutputWithContext

func (o AttributeGroupAttributeArrayOutput) ToAttributeGroupAttributeArrayOutputWithContext(ctx context.Context) AttributeGroupAttributeArrayOutput

type AttributeGroupAttributeInput

type AttributeGroupAttributeInput interface {
	pulumi.Input

	ToAttributeGroupAttributeOutput() AttributeGroupAttributeOutput
	ToAttributeGroupAttributeOutputWithContext(context.Context) AttributeGroupAttributeOutput
}

AttributeGroupAttributeInput is an input type that accepts AttributeGroupAttributeArgs and AttributeGroupAttributeOutput values. You can construct a concrete instance of `AttributeGroupAttributeInput` via:

AttributeGroupAttributeArgs{...}

type AttributeGroupAttributeOutput

type AttributeGroupAttributeOutput struct{ *pulumi.OutputState }

func (AttributeGroupAttributeOutput) ElementType

func (AttributeGroupAttributeOutput) Key

The Attribute's name as given in its AttributeDefinition.

func (AttributeGroupAttributeOutput) ToAttributeGroupAttributeOutput

func (o AttributeGroupAttributeOutput) ToAttributeGroupAttributeOutput() AttributeGroupAttributeOutput

func (AttributeGroupAttributeOutput) ToAttributeGroupAttributeOutputWithContext

func (o AttributeGroupAttributeOutput) ToAttributeGroupAttributeOutputWithContext(ctx context.Context) AttributeGroupAttributeOutput

type AttributeGroupInput

type AttributeGroupInput interface {
	pulumi.Input

	ToAttributeGroupOutput() AttributeGroupOutput
	ToAttributeGroupOutputWithContext(ctx context.Context) AttributeGroupOutput
}

type AttributeGroupMap

type AttributeGroupMap map[string]AttributeGroupInput

func (AttributeGroupMap) ElementType

func (AttributeGroupMap) ElementType() reflect.Type

func (AttributeGroupMap) ToAttributeGroupMapOutput

func (i AttributeGroupMap) ToAttributeGroupMapOutput() AttributeGroupMapOutput

func (AttributeGroupMap) ToAttributeGroupMapOutputWithContext

func (i AttributeGroupMap) ToAttributeGroupMapOutputWithContext(ctx context.Context) AttributeGroupMapOutput

type AttributeGroupMapInput

type AttributeGroupMapInput interface {
	pulumi.Input

	ToAttributeGroupMapOutput() AttributeGroupMapOutput
	ToAttributeGroupMapOutputWithContext(context.Context) AttributeGroupMapOutput
}

AttributeGroupMapInput is an input type that accepts AttributeGroupMap and AttributeGroupMapOutput values. You can construct a concrete instance of `AttributeGroupMapInput` via:

AttributeGroupMap{ "key": AttributeGroupArgs{...} }

type AttributeGroupMapOutput

type AttributeGroupMapOutput struct{ *pulumi.OutputState }

func (AttributeGroupMapOutput) ElementType

func (AttributeGroupMapOutput) ElementType() reflect.Type

func (AttributeGroupMapOutput) MapIndex

func (AttributeGroupMapOutput) ToAttributeGroupMapOutput

func (o AttributeGroupMapOutput) ToAttributeGroupMapOutput() AttributeGroupMapOutput

func (AttributeGroupMapOutput) ToAttributeGroupMapOutputWithContext

func (o AttributeGroupMapOutput) ToAttributeGroupMapOutputWithContext(ctx context.Context) AttributeGroupMapOutput

type AttributeGroupOutput

type AttributeGroupOutput struct{ *pulumi.OutputState }

func (AttributeGroupOutput) Attributes

Attributes with unique values.

func (AttributeGroupOutput) Description

Description of the State as localized string.

func (AttributeGroupOutput) ElementType

func (AttributeGroupOutput) ElementType() reflect.Type

func (AttributeGroupOutput) Key

User-defined unique identifier of the AttributeGroup.

func (AttributeGroupOutput) Name

Name of the State as localized string.

func (AttributeGroupOutput) ToAttributeGroupOutput

func (o AttributeGroupOutput) ToAttributeGroupOutput() AttributeGroupOutput

func (AttributeGroupOutput) ToAttributeGroupOutputWithContext

func (o AttributeGroupOutput) ToAttributeGroupOutputWithContext(ctx context.Context) AttributeGroupOutput

func (AttributeGroupOutput) Version

Current version of the AttributeGroup.

type AttributeGroupState

type AttributeGroupState struct {
	// Attributes with unique values.
	Attributes AttributeGroupAttributeArrayInput
	// Description of the State as localized string.
	Description pulumi.StringMapInput
	// User-defined unique identifier of the AttributeGroup.
	Key pulumi.StringPtrInput
	// Name of the State as localized string.
	Name pulumi.StringMapInput
	// Current version of the AttributeGroup.
	Version pulumi.IntPtrInput
}

func (AttributeGroupState) ElementType

func (AttributeGroupState) ElementType() reflect.Type

type CartDiscount

type CartDiscount struct {
	pulumi.CustomResourceState

	Custom CartDiscountCustomPtrOutput `pulumi:"custom"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapOutput `pulumi:"description"`
	// Only active discount can be applied to the cart
	IsActive pulumi.BoolPtrOutput `pulumi:"isActive"`
	// User-specific unique identifier for a cart discount. Must be unique across a project
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapOutput `pulumi:"name"`
	// A valid [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)
	Predicate pulumi.StringOutput `pulumi:"predicate"`
	// States whether the discount can only be used in a connection with a
	// [DiscountCode](https://docs.commercetools.com/api/projects/discountCodes#discountcode)
	RequiresDiscountCode pulumi.BoolPtrOutput `pulumi:"requiresDiscountCode"`
	// The string must contain a number between 0 and 1. All matching cart discounts are applied to a cart in the order defined
	// by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. The sort
	// order is unambiguous among all cart discounts
	SortOrder pulumi.StringOutput `pulumi:"sortOrder"`
	// Specifies whether the application of this discount causes the following discounts to be ignored. Can be either Stacking
	// or StopAfterThisDiscount
	StackingMode pulumi.StringPtrOutput `pulumi:"stackingMode"`
	// Empty when the value has type giftLineItem, otherwise a
	// [CartDiscountTarget](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscounttarget)
	Target     CartDiscountTargetPtrOutput `pulumi:"target"`
	ValidFrom  pulumi.StringPtrOutput      `pulumi:"validFrom"`
	ValidUntil pulumi.StringPtrOutput      `pulumi:"validUntil"`
	// Defines the effect the discount will have.
	// [CartDiscountValue](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscountvalue)
	Value   CartDiscountValueOutput `pulumi:"value"`
	Version pulumi.IntOutput        `pulumi:"version"`
}

func GetCartDiscount

func GetCartDiscount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CartDiscountState, opts ...pulumi.ResourceOption) (*CartDiscount, error)

GetCartDiscount gets an existing CartDiscount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCartDiscount

func NewCartDiscount(ctx *pulumi.Context,
	name string, args *CartDiscountArgs, opts ...pulumi.ResourceOption) (*CartDiscount, error)

NewCartDiscount registers a new resource with the given unique name, arguments, and options.

func (*CartDiscount) ElementType

func (*CartDiscount) ElementType() reflect.Type

func (*CartDiscount) ToCartDiscountOutput

func (i *CartDiscount) ToCartDiscountOutput() CartDiscountOutput

func (*CartDiscount) ToCartDiscountOutputWithContext

func (i *CartDiscount) ToCartDiscountOutputWithContext(ctx context.Context) CartDiscountOutput

type CartDiscountArgs

type CartDiscountArgs struct {
	Custom CartDiscountCustomPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	// Only active discount can be applied to the cart
	IsActive pulumi.BoolPtrInput
	// User-specific unique identifier for a cart discount. Must be unique across a project
	Key pulumi.StringPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// A valid [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)
	Predicate pulumi.StringInput
	// States whether the discount can only be used in a connection with a
	// [DiscountCode](https://docs.commercetools.com/api/projects/discountCodes#discountcode)
	RequiresDiscountCode pulumi.BoolPtrInput
	// The string must contain a number between 0 and 1. All matching cart discounts are applied to a cart in the order defined
	// by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. The sort
	// order is unambiguous among all cart discounts
	SortOrder pulumi.StringInput
	// Specifies whether the application of this discount causes the following discounts to be ignored. Can be either Stacking
	// or StopAfterThisDiscount
	StackingMode pulumi.StringPtrInput
	// Empty when the value has type giftLineItem, otherwise a
	// [CartDiscountTarget](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscounttarget)
	Target     CartDiscountTargetPtrInput
	ValidFrom  pulumi.StringPtrInput
	ValidUntil pulumi.StringPtrInput
	// Defines the effect the discount will have.
	// [CartDiscountValue](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscountvalue)
	Value CartDiscountValueInput
}

The set of arguments for constructing a CartDiscount resource.

func (CartDiscountArgs) ElementType

func (CartDiscountArgs) ElementType() reflect.Type

type CartDiscountArray

type CartDiscountArray []CartDiscountInput

func (CartDiscountArray) ElementType

func (CartDiscountArray) ElementType() reflect.Type

func (CartDiscountArray) ToCartDiscountArrayOutput

func (i CartDiscountArray) ToCartDiscountArrayOutput() CartDiscountArrayOutput

func (CartDiscountArray) ToCartDiscountArrayOutputWithContext

func (i CartDiscountArray) ToCartDiscountArrayOutputWithContext(ctx context.Context) CartDiscountArrayOutput

type CartDiscountArrayInput

type CartDiscountArrayInput interface {
	pulumi.Input

	ToCartDiscountArrayOutput() CartDiscountArrayOutput
	ToCartDiscountArrayOutputWithContext(context.Context) CartDiscountArrayOutput
}

CartDiscountArrayInput is an input type that accepts CartDiscountArray and CartDiscountArrayOutput values. You can construct a concrete instance of `CartDiscountArrayInput` via:

CartDiscountArray{ CartDiscountArgs{...} }

type CartDiscountArrayOutput

type CartDiscountArrayOutput struct{ *pulumi.OutputState }

func (CartDiscountArrayOutput) ElementType

func (CartDiscountArrayOutput) ElementType() reflect.Type

func (CartDiscountArrayOutput) Index

func (CartDiscountArrayOutput) ToCartDiscountArrayOutput

func (o CartDiscountArrayOutput) ToCartDiscountArrayOutput() CartDiscountArrayOutput

func (CartDiscountArrayOutput) ToCartDiscountArrayOutputWithContext

func (o CartDiscountArrayOutput) ToCartDiscountArrayOutputWithContext(ctx context.Context) CartDiscountArrayOutput

type CartDiscountCustom

type CartDiscountCustom struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields map[string]interface{} `pulumi:"fields"`
	TypeId string                 `pulumi:"typeId"`
}

type CartDiscountCustomArgs

type CartDiscountCustomArgs struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields pulumi.MapInput    `pulumi:"fields"`
	TypeId pulumi.StringInput `pulumi:"typeId"`
}

func (CartDiscountCustomArgs) ElementType

func (CartDiscountCustomArgs) ElementType() reflect.Type

func (CartDiscountCustomArgs) ToCartDiscountCustomOutput

func (i CartDiscountCustomArgs) ToCartDiscountCustomOutput() CartDiscountCustomOutput

func (CartDiscountCustomArgs) ToCartDiscountCustomOutputWithContext

func (i CartDiscountCustomArgs) ToCartDiscountCustomOutputWithContext(ctx context.Context) CartDiscountCustomOutput

func (CartDiscountCustomArgs) ToCartDiscountCustomPtrOutput

func (i CartDiscountCustomArgs) ToCartDiscountCustomPtrOutput() CartDiscountCustomPtrOutput

func (CartDiscountCustomArgs) ToCartDiscountCustomPtrOutputWithContext

func (i CartDiscountCustomArgs) ToCartDiscountCustomPtrOutputWithContext(ctx context.Context) CartDiscountCustomPtrOutput

type CartDiscountCustomInput

type CartDiscountCustomInput interface {
	pulumi.Input

	ToCartDiscountCustomOutput() CartDiscountCustomOutput
	ToCartDiscountCustomOutputWithContext(context.Context) CartDiscountCustomOutput
}

CartDiscountCustomInput is an input type that accepts CartDiscountCustomArgs and CartDiscountCustomOutput values. You can construct a concrete instance of `CartDiscountCustomInput` via:

CartDiscountCustomArgs{...}

type CartDiscountCustomOutput

type CartDiscountCustomOutput struct{ *pulumi.OutputState }

func (CartDiscountCustomOutput) ElementType

func (CartDiscountCustomOutput) ElementType() reflect.Type

func (CartDiscountCustomOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (CartDiscountCustomOutput) ToCartDiscountCustomOutput

func (o CartDiscountCustomOutput) ToCartDiscountCustomOutput() CartDiscountCustomOutput

func (CartDiscountCustomOutput) ToCartDiscountCustomOutputWithContext

func (o CartDiscountCustomOutput) ToCartDiscountCustomOutputWithContext(ctx context.Context) CartDiscountCustomOutput

func (CartDiscountCustomOutput) ToCartDiscountCustomPtrOutput

func (o CartDiscountCustomOutput) ToCartDiscountCustomPtrOutput() CartDiscountCustomPtrOutput

func (CartDiscountCustomOutput) ToCartDiscountCustomPtrOutputWithContext

func (o CartDiscountCustomOutput) ToCartDiscountCustomPtrOutputWithContext(ctx context.Context) CartDiscountCustomPtrOutput

func (CartDiscountCustomOutput) TypeId

type CartDiscountCustomPtrInput

type CartDiscountCustomPtrInput interface {
	pulumi.Input

	ToCartDiscountCustomPtrOutput() CartDiscountCustomPtrOutput
	ToCartDiscountCustomPtrOutputWithContext(context.Context) CartDiscountCustomPtrOutput
}

CartDiscountCustomPtrInput is an input type that accepts CartDiscountCustomArgs, CartDiscountCustomPtr and CartDiscountCustomPtrOutput values. You can construct a concrete instance of `CartDiscountCustomPtrInput` via:

        CartDiscountCustomArgs{...}

or:

        nil

type CartDiscountCustomPtrOutput

type CartDiscountCustomPtrOutput struct{ *pulumi.OutputState }

func (CartDiscountCustomPtrOutput) Elem

func (CartDiscountCustomPtrOutput) ElementType

func (CartDiscountCustomPtrOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (CartDiscountCustomPtrOutput) ToCartDiscountCustomPtrOutput

func (o CartDiscountCustomPtrOutput) ToCartDiscountCustomPtrOutput() CartDiscountCustomPtrOutput

func (CartDiscountCustomPtrOutput) ToCartDiscountCustomPtrOutputWithContext

func (o CartDiscountCustomPtrOutput) ToCartDiscountCustomPtrOutputWithContext(ctx context.Context) CartDiscountCustomPtrOutput

func (CartDiscountCustomPtrOutput) TypeId

type CartDiscountInput

type CartDiscountInput interface {
	pulumi.Input

	ToCartDiscountOutput() CartDiscountOutput
	ToCartDiscountOutputWithContext(ctx context.Context) CartDiscountOutput
}

type CartDiscountMap

type CartDiscountMap map[string]CartDiscountInput

func (CartDiscountMap) ElementType

func (CartDiscountMap) ElementType() reflect.Type

func (CartDiscountMap) ToCartDiscountMapOutput

func (i CartDiscountMap) ToCartDiscountMapOutput() CartDiscountMapOutput

func (CartDiscountMap) ToCartDiscountMapOutputWithContext

func (i CartDiscountMap) ToCartDiscountMapOutputWithContext(ctx context.Context) CartDiscountMapOutput

type CartDiscountMapInput

type CartDiscountMapInput interface {
	pulumi.Input

	ToCartDiscountMapOutput() CartDiscountMapOutput
	ToCartDiscountMapOutputWithContext(context.Context) CartDiscountMapOutput
}

CartDiscountMapInput is an input type that accepts CartDiscountMap and CartDiscountMapOutput values. You can construct a concrete instance of `CartDiscountMapInput` via:

CartDiscountMap{ "key": CartDiscountArgs{...} }

type CartDiscountMapOutput

type CartDiscountMapOutput struct{ *pulumi.OutputState }

func (CartDiscountMapOutput) ElementType

func (CartDiscountMapOutput) ElementType() reflect.Type

func (CartDiscountMapOutput) MapIndex

func (CartDiscountMapOutput) ToCartDiscountMapOutput

func (o CartDiscountMapOutput) ToCartDiscountMapOutput() CartDiscountMapOutput

func (CartDiscountMapOutput) ToCartDiscountMapOutputWithContext

func (o CartDiscountMapOutput) ToCartDiscountMapOutputWithContext(ctx context.Context) CartDiscountMapOutput

type CartDiscountOutput

type CartDiscountOutput struct{ *pulumi.OutputState }

func (CartDiscountOutput) Custom

func (CartDiscountOutput) Description

func (o CartDiscountOutput) Description() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (CartDiscountOutput) ElementType

func (CartDiscountOutput) ElementType() reflect.Type

func (CartDiscountOutput) IsActive

Only active discount can be applied to the cart

func (CartDiscountOutput) Key

User-specific unique identifier for a cart discount. Must be unique across a project

func (CartDiscountOutput) Name

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (CartDiscountOutput) Predicate

func (o CartDiscountOutput) Predicate() pulumi.StringOutput

A valid [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)

func (CartDiscountOutput) RequiresDiscountCode

func (o CartDiscountOutput) RequiresDiscountCode() pulumi.BoolPtrOutput

States whether the discount can only be used in a connection with a DiscountCode(https://docs.commercetools.com/api/projects/discountCodes#discountcode)

func (CartDiscountOutput) SortOrder

func (o CartDiscountOutput) SortOrder() pulumi.StringOutput

The string must contain a number between 0 and 1. All matching cart discounts are applied to a cart in the order defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. The sort order is unambiguous among all cart discounts

func (CartDiscountOutput) StackingMode

func (o CartDiscountOutput) StackingMode() pulumi.StringPtrOutput

Specifies whether the application of this discount causes the following discounts to be ignored. Can be either Stacking or StopAfterThisDiscount

func (CartDiscountOutput) Target

Empty when the value has type giftLineItem, otherwise a CartDiscountTarget(https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscounttarget)

func (CartDiscountOutput) ToCartDiscountOutput

func (o CartDiscountOutput) ToCartDiscountOutput() CartDiscountOutput

func (CartDiscountOutput) ToCartDiscountOutputWithContext

func (o CartDiscountOutput) ToCartDiscountOutputWithContext(ctx context.Context) CartDiscountOutput

func (CartDiscountOutput) ValidFrom

func (CartDiscountOutput) ValidUntil

func (o CartDiscountOutput) ValidUntil() pulumi.StringPtrOutput

func (CartDiscountOutput) Value

Defines the effect the discount will have. CartDiscountValue(https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscountvalue)

func (CartDiscountOutput) Version

func (o CartDiscountOutput) Version() pulumi.IntOutput

type CartDiscountState

type CartDiscountState struct {
	Custom CartDiscountCustomPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	// Only active discount can be applied to the cart
	IsActive pulumi.BoolPtrInput
	// User-specific unique identifier for a cart discount. Must be unique across a project
	Key pulumi.StringPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// A valid [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)
	Predicate pulumi.StringPtrInput
	// States whether the discount can only be used in a connection with a
	// [DiscountCode](https://docs.commercetools.com/api/projects/discountCodes#discountcode)
	RequiresDiscountCode pulumi.BoolPtrInput
	// The string must contain a number between 0 and 1. All matching cart discounts are applied to a cart in the order defined
	// by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. The sort
	// order is unambiguous among all cart discounts
	SortOrder pulumi.StringPtrInput
	// Specifies whether the application of this discount causes the following discounts to be ignored. Can be either Stacking
	// or StopAfterThisDiscount
	StackingMode pulumi.StringPtrInput
	// Empty when the value has type giftLineItem, otherwise a
	// [CartDiscountTarget](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscounttarget)
	Target     CartDiscountTargetPtrInput
	ValidFrom  pulumi.StringPtrInput
	ValidUntil pulumi.StringPtrInput
	// Defines the effect the discount will have.
	// [CartDiscountValue](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscountvalue)
	Value   CartDiscountValuePtrInput
	Version pulumi.IntPtrInput
}

func (CartDiscountState) ElementType

func (CartDiscountState) ElementType() reflect.Type

type CartDiscountTarget

type CartDiscountTarget struct {
	// MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored
	DiscountedQuantity *int `pulumi:"discountedQuantity"`
	// MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored
	MaxOccurrence *int `pulumi:"maxOccurrence"`
	// LineItems, CustomLineItems, MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored
	Predicate *string `pulumi:"predicate"`
	// MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. Can be either Cheapest or MostExpensive. If set for another target the value will be ignored
	SelectionMode *string `pulumi:"selectionMode"`
	// MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored
	TriggerQuantity *int `pulumi:"triggerQuantity"`
	// Supports lineItems, customLineItems, multiBuyLineItems, multiBuyCustomLineItems, shipping or totalPrice
	Type string `pulumi:"type"`
}

type CartDiscountTargetArgs

type CartDiscountTargetArgs struct {
	// MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored
	DiscountedQuantity pulumi.IntPtrInput `pulumi:"discountedQuantity"`
	// MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored
	MaxOccurrence pulumi.IntPtrInput `pulumi:"maxOccurrence"`
	// LineItems, CustomLineItems, MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored
	Predicate pulumi.StringPtrInput `pulumi:"predicate"`
	// MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. Can be either Cheapest or MostExpensive. If set for another target the value will be ignored
	SelectionMode pulumi.StringPtrInput `pulumi:"selectionMode"`
	// MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored
	TriggerQuantity pulumi.IntPtrInput `pulumi:"triggerQuantity"`
	// Supports lineItems, customLineItems, multiBuyLineItems, multiBuyCustomLineItems, shipping or totalPrice
	Type pulumi.StringInput `pulumi:"type"`
}

func (CartDiscountTargetArgs) ElementType

func (CartDiscountTargetArgs) ElementType() reflect.Type

func (CartDiscountTargetArgs) ToCartDiscountTargetOutput

func (i CartDiscountTargetArgs) ToCartDiscountTargetOutput() CartDiscountTargetOutput

func (CartDiscountTargetArgs) ToCartDiscountTargetOutputWithContext

func (i CartDiscountTargetArgs) ToCartDiscountTargetOutputWithContext(ctx context.Context) CartDiscountTargetOutput

func (CartDiscountTargetArgs) ToCartDiscountTargetPtrOutput

func (i CartDiscountTargetArgs) ToCartDiscountTargetPtrOutput() CartDiscountTargetPtrOutput

func (CartDiscountTargetArgs) ToCartDiscountTargetPtrOutputWithContext

func (i CartDiscountTargetArgs) ToCartDiscountTargetPtrOutputWithContext(ctx context.Context) CartDiscountTargetPtrOutput

type CartDiscountTargetInput

type CartDiscountTargetInput interface {
	pulumi.Input

	ToCartDiscountTargetOutput() CartDiscountTargetOutput
	ToCartDiscountTargetOutputWithContext(context.Context) CartDiscountTargetOutput
}

CartDiscountTargetInput is an input type that accepts CartDiscountTargetArgs and CartDiscountTargetOutput values. You can construct a concrete instance of `CartDiscountTargetInput` via:

CartDiscountTargetArgs{...}

type CartDiscountTargetOutput

type CartDiscountTargetOutput struct{ *pulumi.OutputState }

func (CartDiscountTargetOutput) DiscountedQuantity

func (o CartDiscountTargetOutput) DiscountedQuantity() pulumi.IntPtrOutput

MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored

func (CartDiscountTargetOutput) ElementType

func (CartDiscountTargetOutput) ElementType() reflect.Type

func (CartDiscountTargetOutput) MaxOccurrence

func (o CartDiscountTargetOutput) MaxOccurrence() pulumi.IntPtrOutput

MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored

func (CartDiscountTargetOutput) Predicate

LineItems, CustomLineItems, MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored

func (CartDiscountTargetOutput) SelectionMode

MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. Can be either Cheapest or MostExpensive. If set for another target the value will be ignored

func (CartDiscountTargetOutput) ToCartDiscountTargetOutput

func (o CartDiscountTargetOutput) ToCartDiscountTargetOutput() CartDiscountTargetOutput

func (CartDiscountTargetOutput) ToCartDiscountTargetOutputWithContext

func (o CartDiscountTargetOutput) ToCartDiscountTargetOutputWithContext(ctx context.Context) CartDiscountTargetOutput

func (CartDiscountTargetOutput) ToCartDiscountTargetPtrOutput

func (o CartDiscountTargetOutput) ToCartDiscountTargetPtrOutput() CartDiscountTargetPtrOutput

func (CartDiscountTargetOutput) ToCartDiscountTargetPtrOutputWithContext

func (o CartDiscountTargetOutput) ToCartDiscountTargetPtrOutputWithContext(ctx context.Context) CartDiscountTargetPtrOutput

func (CartDiscountTargetOutput) TriggerQuantity

func (o CartDiscountTargetOutput) TriggerQuantity() pulumi.IntPtrOutput

MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored

func (CartDiscountTargetOutput) Type

Supports lineItems, customLineItems, multiBuyLineItems, multiBuyCustomLineItems, shipping or totalPrice

type CartDiscountTargetPtrInput

type CartDiscountTargetPtrInput interface {
	pulumi.Input

	ToCartDiscountTargetPtrOutput() CartDiscountTargetPtrOutput
	ToCartDiscountTargetPtrOutputWithContext(context.Context) CartDiscountTargetPtrOutput
}

CartDiscountTargetPtrInput is an input type that accepts CartDiscountTargetArgs, CartDiscountTargetPtr and CartDiscountTargetPtrOutput values. You can construct a concrete instance of `CartDiscountTargetPtrInput` via:

        CartDiscountTargetArgs{...}

or:

        nil

type CartDiscountTargetPtrOutput

type CartDiscountTargetPtrOutput struct{ *pulumi.OutputState }

func (CartDiscountTargetPtrOutput) DiscountedQuantity

func (o CartDiscountTargetPtrOutput) DiscountedQuantity() pulumi.IntPtrOutput

MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored

func (CartDiscountTargetPtrOutput) Elem

func (CartDiscountTargetPtrOutput) ElementType

func (CartDiscountTargetPtrOutput) MaxOccurrence

MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored

func (CartDiscountTargetPtrOutput) Predicate

LineItems, CustomLineItems, MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored

func (CartDiscountTargetPtrOutput) SelectionMode

MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. Can be either Cheapest or MostExpensive. If set for another target the value will be ignored

func (CartDiscountTargetPtrOutput) ToCartDiscountTargetPtrOutput

func (o CartDiscountTargetPtrOutput) ToCartDiscountTargetPtrOutput() CartDiscountTargetPtrOutput

func (CartDiscountTargetPtrOutput) ToCartDiscountTargetPtrOutputWithContext

func (o CartDiscountTargetPtrOutput) ToCartDiscountTargetPtrOutputWithContext(ctx context.Context) CartDiscountTargetPtrOutput

func (CartDiscountTargetPtrOutput) TriggerQuantity

func (o CartDiscountTargetPtrOutput) TriggerQuantity() pulumi.IntPtrOutput

MultiBuyLineItems or MultiBuyCustomLineItems target specific fields. If set for another target the value will be ignored

func (CartDiscountTargetPtrOutput) Type

Supports lineItems, customLineItems, multiBuyLineItems, multiBuyCustomLineItems, shipping or totalPrice

type CartDiscountValue

type CartDiscountValue struct {
	// Channel must have the role ProductDistribution. Optional when value type is giftLineItem
	DistributionChannelId *string `pulumi:"distributionChannelId"`
	// Absolute discount specific fields
	Monies []CartDiscountValueMoney `pulumi:"monies"`
	// Relative discount specific fields
	Permyriad *int `pulumi:"permyriad"`
	// ResourceIdentifier of a Product. Required when value type is giftLineItem
	ProductId *string `pulumi:"productId"`
	// Channel must have the role InventorySupply. Optional when value type is giftLineItem
	SupplyChannelId *string `pulumi:"supplyChannelId"`
	// Currently supports absolute/relative/giftLineItem
	Type string `pulumi:"type"`
	// ProductVariant of the Product. Required when value type is giftLineItem
	VariantId *int `pulumi:"variantId"`
}

type CartDiscountValueArgs

type CartDiscountValueArgs struct {
	// Channel must have the role ProductDistribution. Optional when value type is giftLineItem
	DistributionChannelId pulumi.StringPtrInput `pulumi:"distributionChannelId"`
	// Absolute discount specific fields
	Monies CartDiscountValueMoneyArrayInput `pulumi:"monies"`
	// Relative discount specific fields
	Permyriad pulumi.IntPtrInput `pulumi:"permyriad"`
	// ResourceIdentifier of a Product. Required when value type is giftLineItem
	ProductId pulumi.StringPtrInput `pulumi:"productId"`
	// Channel must have the role InventorySupply. Optional when value type is giftLineItem
	SupplyChannelId pulumi.StringPtrInput `pulumi:"supplyChannelId"`
	// Currently supports absolute/relative/giftLineItem
	Type pulumi.StringInput `pulumi:"type"`
	// ProductVariant of the Product. Required when value type is giftLineItem
	VariantId pulumi.IntPtrInput `pulumi:"variantId"`
}

func (CartDiscountValueArgs) ElementType

func (CartDiscountValueArgs) ElementType() reflect.Type

func (CartDiscountValueArgs) ToCartDiscountValueOutput

func (i CartDiscountValueArgs) ToCartDiscountValueOutput() CartDiscountValueOutput

func (CartDiscountValueArgs) ToCartDiscountValueOutputWithContext

func (i CartDiscountValueArgs) ToCartDiscountValueOutputWithContext(ctx context.Context) CartDiscountValueOutput

func (CartDiscountValueArgs) ToCartDiscountValuePtrOutput

func (i CartDiscountValueArgs) ToCartDiscountValuePtrOutput() CartDiscountValuePtrOutput

func (CartDiscountValueArgs) ToCartDiscountValuePtrOutputWithContext

func (i CartDiscountValueArgs) ToCartDiscountValuePtrOutputWithContext(ctx context.Context) CartDiscountValuePtrOutput

type CartDiscountValueInput

type CartDiscountValueInput interface {
	pulumi.Input

	ToCartDiscountValueOutput() CartDiscountValueOutput
	ToCartDiscountValueOutputWithContext(context.Context) CartDiscountValueOutput
}

CartDiscountValueInput is an input type that accepts CartDiscountValueArgs and CartDiscountValueOutput values. You can construct a concrete instance of `CartDiscountValueInput` via:

CartDiscountValueArgs{...}

type CartDiscountValueMoney

type CartDiscountValueMoney struct {
	// The amount in cents (the smallest indivisible unit of the currency)
	CentAmount int `pulumi:"centAmount"`
	// The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
	CurrencyCode string `pulumi:"currencyCode"`
}

type CartDiscountValueMoneyArgs

type CartDiscountValueMoneyArgs struct {
	// The amount in cents (the smallest indivisible unit of the currency)
	CentAmount pulumi.IntInput `pulumi:"centAmount"`
	// The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
}

func (CartDiscountValueMoneyArgs) ElementType

func (CartDiscountValueMoneyArgs) ElementType() reflect.Type

func (CartDiscountValueMoneyArgs) ToCartDiscountValueMoneyOutput

func (i CartDiscountValueMoneyArgs) ToCartDiscountValueMoneyOutput() CartDiscountValueMoneyOutput

func (CartDiscountValueMoneyArgs) ToCartDiscountValueMoneyOutputWithContext

func (i CartDiscountValueMoneyArgs) ToCartDiscountValueMoneyOutputWithContext(ctx context.Context) CartDiscountValueMoneyOutput

type CartDiscountValueMoneyArray

type CartDiscountValueMoneyArray []CartDiscountValueMoneyInput

func (CartDiscountValueMoneyArray) ElementType

func (CartDiscountValueMoneyArray) ToCartDiscountValueMoneyArrayOutput

func (i CartDiscountValueMoneyArray) ToCartDiscountValueMoneyArrayOutput() CartDiscountValueMoneyArrayOutput

func (CartDiscountValueMoneyArray) ToCartDiscountValueMoneyArrayOutputWithContext

func (i CartDiscountValueMoneyArray) ToCartDiscountValueMoneyArrayOutputWithContext(ctx context.Context) CartDiscountValueMoneyArrayOutput

type CartDiscountValueMoneyArrayInput

type CartDiscountValueMoneyArrayInput interface {
	pulumi.Input

	ToCartDiscountValueMoneyArrayOutput() CartDiscountValueMoneyArrayOutput
	ToCartDiscountValueMoneyArrayOutputWithContext(context.Context) CartDiscountValueMoneyArrayOutput
}

CartDiscountValueMoneyArrayInput is an input type that accepts CartDiscountValueMoneyArray and CartDiscountValueMoneyArrayOutput values. You can construct a concrete instance of `CartDiscountValueMoneyArrayInput` via:

CartDiscountValueMoneyArray{ CartDiscountValueMoneyArgs{...} }

type CartDiscountValueMoneyArrayOutput

type CartDiscountValueMoneyArrayOutput struct{ *pulumi.OutputState }

func (CartDiscountValueMoneyArrayOutput) ElementType

func (CartDiscountValueMoneyArrayOutput) Index

func (CartDiscountValueMoneyArrayOutput) ToCartDiscountValueMoneyArrayOutput

func (o CartDiscountValueMoneyArrayOutput) ToCartDiscountValueMoneyArrayOutput() CartDiscountValueMoneyArrayOutput

func (CartDiscountValueMoneyArrayOutput) ToCartDiscountValueMoneyArrayOutputWithContext

func (o CartDiscountValueMoneyArrayOutput) ToCartDiscountValueMoneyArrayOutputWithContext(ctx context.Context) CartDiscountValueMoneyArrayOutput

type CartDiscountValueMoneyInput

type CartDiscountValueMoneyInput interface {
	pulumi.Input

	ToCartDiscountValueMoneyOutput() CartDiscountValueMoneyOutput
	ToCartDiscountValueMoneyOutputWithContext(context.Context) CartDiscountValueMoneyOutput
}

CartDiscountValueMoneyInput is an input type that accepts CartDiscountValueMoneyArgs and CartDiscountValueMoneyOutput values. You can construct a concrete instance of `CartDiscountValueMoneyInput` via:

CartDiscountValueMoneyArgs{...}

type CartDiscountValueMoneyOutput

type CartDiscountValueMoneyOutput struct{ *pulumi.OutputState }

func (CartDiscountValueMoneyOutput) CentAmount

The amount in cents (the smallest indivisible unit of the currency)

func (CartDiscountValueMoneyOutput) CurrencyCode

The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)

func (CartDiscountValueMoneyOutput) ElementType

func (CartDiscountValueMoneyOutput) ToCartDiscountValueMoneyOutput

func (o CartDiscountValueMoneyOutput) ToCartDiscountValueMoneyOutput() CartDiscountValueMoneyOutput

func (CartDiscountValueMoneyOutput) ToCartDiscountValueMoneyOutputWithContext

func (o CartDiscountValueMoneyOutput) ToCartDiscountValueMoneyOutputWithContext(ctx context.Context) CartDiscountValueMoneyOutput

type CartDiscountValueOutput

type CartDiscountValueOutput struct{ *pulumi.OutputState }

func (CartDiscountValueOutput) DistributionChannelId

func (o CartDiscountValueOutput) DistributionChannelId() pulumi.StringPtrOutput

Channel must have the role ProductDistribution. Optional when value type is giftLineItem

func (CartDiscountValueOutput) ElementType

func (CartDiscountValueOutput) ElementType() reflect.Type

func (CartDiscountValueOutput) Monies

Absolute discount specific fields

func (CartDiscountValueOutput) Permyriad

Relative discount specific fields

func (CartDiscountValueOutput) ProductId

ResourceIdentifier of a Product. Required when value type is giftLineItem

func (CartDiscountValueOutput) SupplyChannelId

func (o CartDiscountValueOutput) SupplyChannelId() pulumi.StringPtrOutput

Channel must have the role InventorySupply. Optional when value type is giftLineItem

func (CartDiscountValueOutput) ToCartDiscountValueOutput

func (o CartDiscountValueOutput) ToCartDiscountValueOutput() CartDiscountValueOutput

func (CartDiscountValueOutput) ToCartDiscountValueOutputWithContext

func (o CartDiscountValueOutput) ToCartDiscountValueOutputWithContext(ctx context.Context) CartDiscountValueOutput

func (CartDiscountValueOutput) ToCartDiscountValuePtrOutput

func (o CartDiscountValueOutput) ToCartDiscountValuePtrOutput() CartDiscountValuePtrOutput

func (CartDiscountValueOutput) ToCartDiscountValuePtrOutputWithContext

func (o CartDiscountValueOutput) ToCartDiscountValuePtrOutputWithContext(ctx context.Context) CartDiscountValuePtrOutput

func (CartDiscountValueOutput) Type

Currently supports absolute/relative/giftLineItem

func (CartDiscountValueOutput) VariantId

ProductVariant of the Product. Required when value type is giftLineItem

type CartDiscountValuePtrInput

type CartDiscountValuePtrInput interface {
	pulumi.Input

	ToCartDiscountValuePtrOutput() CartDiscountValuePtrOutput
	ToCartDiscountValuePtrOutputWithContext(context.Context) CartDiscountValuePtrOutput
}

CartDiscountValuePtrInput is an input type that accepts CartDiscountValueArgs, CartDiscountValuePtr and CartDiscountValuePtrOutput values. You can construct a concrete instance of `CartDiscountValuePtrInput` via:

        CartDiscountValueArgs{...}

or:

        nil

type CartDiscountValuePtrOutput

type CartDiscountValuePtrOutput struct{ *pulumi.OutputState }

func (CartDiscountValuePtrOutput) DistributionChannelId

func (o CartDiscountValuePtrOutput) DistributionChannelId() pulumi.StringPtrOutput

Channel must have the role ProductDistribution. Optional when value type is giftLineItem

func (CartDiscountValuePtrOutput) Elem

func (CartDiscountValuePtrOutput) ElementType

func (CartDiscountValuePtrOutput) ElementType() reflect.Type

func (CartDiscountValuePtrOutput) Monies

Absolute discount specific fields

func (CartDiscountValuePtrOutput) Permyriad

Relative discount specific fields

func (CartDiscountValuePtrOutput) ProductId

ResourceIdentifier of a Product. Required when value type is giftLineItem

func (CartDiscountValuePtrOutput) SupplyChannelId

Channel must have the role InventorySupply. Optional when value type is giftLineItem

func (CartDiscountValuePtrOutput) ToCartDiscountValuePtrOutput

func (o CartDiscountValuePtrOutput) ToCartDiscountValuePtrOutput() CartDiscountValuePtrOutput

func (CartDiscountValuePtrOutput) ToCartDiscountValuePtrOutputWithContext

func (o CartDiscountValuePtrOutput) ToCartDiscountValuePtrOutputWithContext(ctx context.Context) CartDiscountValuePtrOutput

func (CartDiscountValuePtrOutput) Type

Currently supports absolute/relative/giftLineItem

func (CartDiscountValuePtrOutput) VariantId

ProductVariant of the Product. Required when value type is giftLineItem

type Category

type Category struct {
	pulumi.CustomResourceState

	// Can be used to store images, icons or movies related to this category
	Assets      CategoryAssetArrayOutput `pulumi:"assets"`
	Custom      CategoryCustomPtrOutput  `pulumi:"custom"`
	Description pulumi.MapOutput         `pulumi:"description"`
	ExternalId  pulumi.StringPtrOutput   `pulumi:"externalId"`
	// Category-specific unique identifier. Must be unique across a project
	Key             pulumi.StringPtrOutput `pulumi:"key"`
	MetaDescription pulumi.MapOutput       `pulumi:"metaDescription"`
	MetaKeywords    pulumi.MapOutput       `pulumi:"metaKeywords"`
	MetaTitle       pulumi.MapOutput       `pulumi:"metaTitle"`
	Name            pulumi.MapOutput       `pulumi:"name"`
	// An attribute as base for a custom category order in one level, filled with random value when left empty
	OrderHint pulumi.StringPtrOutput `pulumi:"orderHint"`
	// A category that is the parent of this category in the category tree
	Parent pulumi.StringPtrOutput `pulumi:"parent"`
	// Human readable identifiers, needs to be unique
	Slug    pulumi.MapOutput `pulumi:"slug"`
	Version pulumi.IntOutput `pulumi:"version"`
}

func GetCategory

func GetCategory(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CategoryState, opts ...pulumi.ResourceOption) (*Category, error)

GetCategory gets an existing Category resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCategory

func NewCategory(ctx *pulumi.Context,
	name string, args *CategoryArgs, opts ...pulumi.ResourceOption) (*Category, error)

NewCategory registers a new resource with the given unique name, arguments, and options.

func (*Category) ElementType

func (*Category) ElementType() reflect.Type

func (*Category) ToCategoryOutput

func (i *Category) ToCategoryOutput() CategoryOutput

func (*Category) ToCategoryOutputWithContext

func (i *Category) ToCategoryOutputWithContext(ctx context.Context) CategoryOutput

type CategoryArgs

type CategoryArgs struct {
	// Can be used to store images, icons or movies related to this category
	Assets      CategoryAssetArrayInput
	Custom      CategoryCustomPtrInput
	Description pulumi.MapInput
	ExternalId  pulumi.StringPtrInput
	// Category-specific unique identifier. Must be unique across a project
	Key             pulumi.StringPtrInput
	MetaDescription pulumi.MapInput
	MetaKeywords    pulumi.MapInput
	MetaTitle       pulumi.MapInput
	Name            pulumi.MapInput
	// An attribute as base for a custom category order in one level, filled with random value when left empty
	OrderHint pulumi.StringPtrInput
	// A category that is the parent of this category in the category tree
	Parent pulumi.StringPtrInput
	// Human readable identifiers, needs to be unique
	Slug pulumi.MapInput
}

The set of arguments for constructing a Category resource.

func (CategoryArgs) ElementType

func (CategoryArgs) ElementType() reflect.Type

type CategoryArray

type CategoryArray []CategoryInput

func (CategoryArray) ElementType

func (CategoryArray) ElementType() reflect.Type

func (CategoryArray) ToCategoryArrayOutput

func (i CategoryArray) ToCategoryArrayOutput() CategoryArrayOutput

func (CategoryArray) ToCategoryArrayOutputWithContext

func (i CategoryArray) ToCategoryArrayOutputWithContext(ctx context.Context) CategoryArrayOutput

type CategoryArrayInput

type CategoryArrayInput interface {
	pulumi.Input

	ToCategoryArrayOutput() CategoryArrayOutput
	ToCategoryArrayOutputWithContext(context.Context) CategoryArrayOutput
}

CategoryArrayInput is an input type that accepts CategoryArray and CategoryArrayOutput values. You can construct a concrete instance of `CategoryArrayInput` via:

CategoryArray{ CategoryArgs{...} }

type CategoryArrayOutput

type CategoryArrayOutput struct{ *pulumi.OutputState }

func (CategoryArrayOutput) ElementType

func (CategoryArrayOutput) ElementType() reflect.Type

func (CategoryArrayOutput) Index

func (CategoryArrayOutput) ToCategoryArrayOutput

func (o CategoryArrayOutput) ToCategoryArrayOutput() CategoryArrayOutput

func (CategoryArrayOutput) ToCategoryArrayOutputWithContext

func (o CategoryArrayOutput) ToCategoryArrayOutputWithContext(ctx context.Context) CategoryArrayOutput

type CategoryAsset

type CategoryAsset struct {
	Description map[string]interface{} `pulumi:"description"`
	Id          *string                `pulumi:"id"`
	// Optional User-defined identifier for the asset. Asset keys are unique inside their container (in this case the category)
	Key  *string                `pulumi:"key"`
	Name map[string]interface{} `pulumi:"name"`
	// Array of AssetSource, Has at least one entry
	Sources []CategoryAssetSource `pulumi:"sources"`
	Tags    []string              `pulumi:"tags"`
}

type CategoryAssetArgs

type CategoryAssetArgs struct {
	Description pulumi.MapInput       `pulumi:"description"`
	Id          pulumi.StringPtrInput `pulumi:"id"`
	// Optional User-defined identifier for the asset. Asset keys are unique inside their container (in this case the category)
	Key  pulumi.StringPtrInput `pulumi:"key"`
	Name pulumi.MapInput       `pulumi:"name"`
	// Array of AssetSource, Has at least one entry
	Sources CategoryAssetSourceArrayInput `pulumi:"sources"`
	Tags    pulumi.StringArrayInput       `pulumi:"tags"`
}

func (CategoryAssetArgs) ElementType

func (CategoryAssetArgs) ElementType() reflect.Type

func (CategoryAssetArgs) ToCategoryAssetOutput

func (i CategoryAssetArgs) ToCategoryAssetOutput() CategoryAssetOutput

func (CategoryAssetArgs) ToCategoryAssetOutputWithContext

func (i CategoryAssetArgs) ToCategoryAssetOutputWithContext(ctx context.Context) CategoryAssetOutput

type CategoryAssetArray

type CategoryAssetArray []CategoryAssetInput

func (CategoryAssetArray) ElementType

func (CategoryAssetArray) ElementType() reflect.Type

func (CategoryAssetArray) ToCategoryAssetArrayOutput

func (i CategoryAssetArray) ToCategoryAssetArrayOutput() CategoryAssetArrayOutput

func (CategoryAssetArray) ToCategoryAssetArrayOutputWithContext

func (i CategoryAssetArray) ToCategoryAssetArrayOutputWithContext(ctx context.Context) CategoryAssetArrayOutput

type CategoryAssetArrayInput

type CategoryAssetArrayInput interface {
	pulumi.Input

	ToCategoryAssetArrayOutput() CategoryAssetArrayOutput
	ToCategoryAssetArrayOutputWithContext(context.Context) CategoryAssetArrayOutput
}

CategoryAssetArrayInput is an input type that accepts CategoryAssetArray and CategoryAssetArrayOutput values. You can construct a concrete instance of `CategoryAssetArrayInput` via:

CategoryAssetArray{ CategoryAssetArgs{...} }

type CategoryAssetArrayOutput

type CategoryAssetArrayOutput struct{ *pulumi.OutputState }

func (CategoryAssetArrayOutput) ElementType

func (CategoryAssetArrayOutput) ElementType() reflect.Type

func (CategoryAssetArrayOutput) Index

func (CategoryAssetArrayOutput) ToCategoryAssetArrayOutput

func (o CategoryAssetArrayOutput) ToCategoryAssetArrayOutput() CategoryAssetArrayOutput

func (CategoryAssetArrayOutput) ToCategoryAssetArrayOutputWithContext

func (o CategoryAssetArrayOutput) ToCategoryAssetArrayOutputWithContext(ctx context.Context) CategoryAssetArrayOutput

type CategoryAssetInput

type CategoryAssetInput interface {
	pulumi.Input

	ToCategoryAssetOutput() CategoryAssetOutput
	ToCategoryAssetOutputWithContext(context.Context) CategoryAssetOutput
}

CategoryAssetInput is an input type that accepts CategoryAssetArgs and CategoryAssetOutput values. You can construct a concrete instance of `CategoryAssetInput` via:

CategoryAssetArgs{...}

type CategoryAssetOutput

type CategoryAssetOutput struct{ *pulumi.OutputState }

func (CategoryAssetOutput) Description

func (o CategoryAssetOutput) Description() pulumi.MapOutput

func (CategoryAssetOutput) ElementType

func (CategoryAssetOutput) ElementType() reflect.Type

func (CategoryAssetOutput) Id

func (CategoryAssetOutput) Key

Optional User-defined identifier for the asset. Asset keys are unique inside their container (in this case the category)

func (CategoryAssetOutput) Name

func (CategoryAssetOutput) Sources

Array of AssetSource, Has at least one entry

func (CategoryAssetOutput) Tags

func (CategoryAssetOutput) ToCategoryAssetOutput

func (o CategoryAssetOutput) ToCategoryAssetOutput() CategoryAssetOutput

func (CategoryAssetOutput) ToCategoryAssetOutputWithContext

func (o CategoryAssetOutput) ToCategoryAssetOutputWithContext(ctx context.Context) CategoryAssetOutput

type CategoryAssetSource

type CategoryAssetSource struct {
	ContentType *string                        `pulumi:"contentType"`
	Dimensions  *CategoryAssetSourceDimensions `pulumi:"dimensions"`
	// Unique identifier, must be unique within the Asset
	Key *string `pulumi:"key"`
	Uri string  `pulumi:"uri"`
}

type CategoryAssetSourceArgs

type CategoryAssetSourceArgs struct {
	ContentType pulumi.StringPtrInput                 `pulumi:"contentType"`
	Dimensions  CategoryAssetSourceDimensionsPtrInput `pulumi:"dimensions"`
	// Unique identifier, must be unique within the Asset
	Key pulumi.StringPtrInput `pulumi:"key"`
	Uri pulumi.StringInput    `pulumi:"uri"`
}

func (CategoryAssetSourceArgs) ElementType

func (CategoryAssetSourceArgs) ElementType() reflect.Type

func (CategoryAssetSourceArgs) ToCategoryAssetSourceOutput

func (i CategoryAssetSourceArgs) ToCategoryAssetSourceOutput() CategoryAssetSourceOutput

func (CategoryAssetSourceArgs) ToCategoryAssetSourceOutputWithContext

func (i CategoryAssetSourceArgs) ToCategoryAssetSourceOutputWithContext(ctx context.Context) CategoryAssetSourceOutput

type CategoryAssetSourceArray

type CategoryAssetSourceArray []CategoryAssetSourceInput

func (CategoryAssetSourceArray) ElementType

func (CategoryAssetSourceArray) ElementType() reflect.Type

func (CategoryAssetSourceArray) ToCategoryAssetSourceArrayOutput

func (i CategoryAssetSourceArray) ToCategoryAssetSourceArrayOutput() CategoryAssetSourceArrayOutput

func (CategoryAssetSourceArray) ToCategoryAssetSourceArrayOutputWithContext

func (i CategoryAssetSourceArray) ToCategoryAssetSourceArrayOutputWithContext(ctx context.Context) CategoryAssetSourceArrayOutput

type CategoryAssetSourceArrayInput

type CategoryAssetSourceArrayInput interface {
	pulumi.Input

	ToCategoryAssetSourceArrayOutput() CategoryAssetSourceArrayOutput
	ToCategoryAssetSourceArrayOutputWithContext(context.Context) CategoryAssetSourceArrayOutput
}

CategoryAssetSourceArrayInput is an input type that accepts CategoryAssetSourceArray and CategoryAssetSourceArrayOutput values. You can construct a concrete instance of `CategoryAssetSourceArrayInput` via:

CategoryAssetSourceArray{ CategoryAssetSourceArgs{...} }

type CategoryAssetSourceArrayOutput

type CategoryAssetSourceArrayOutput struct{ *pulumi.OutputState }

func (CategoryAssetSourceArrayOutput) ElementType

func (CategoryAssetSourceArrayOutput) Index

func (CategoryAssetSourceArrayOutput) ToCategoryAssetSourceArrayOutput

func (o CategoryAssetSourceArrayOutput) ToCategoryAssetSourceArrayOutput() CategoryAssetSourceArrayOutput

func (CategoryAssetSourceArrayOutput) ToCategoryAssetSourceArrayOutputWithContext

func (o CategoryAssetSourceArrayOutput) ToCategoryAssetSourceArrayOutputWithContext(ctx context.Context) CategoryAssetSourceArrayOutput

type CategoryAssetSourceDimensions

type CategoryAssetSourceDimensions struct {
	// The height of the asset source
	H int `pulumi:"h"`
	// The width of the asset source
	W int `pulumi:"w"`
}

type CategoryAssetSourceDimensionsArgs

type CategoryAssetSourceDimensionsArgs struct {
	// The height of the asset source
	H pulumi.IntInput `pulumi:"h"`
	// The width of the asset source
	W pulumi.IntInput `pulumi:"w"`
}

func (CategoryAssetSourceDimensionsArgs) ElementType

func (CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsOutput

func (i CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsOutput() CategoryAssetSourceDimensionsOutput

func (CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsOutputWithContext

func (i CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsOutput

func (CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsPtrOutput

func (i CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsPtrOutput() CategoryAssetSourceDimensionsPtrOutput

func (CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsPtrOutputWithContext

func (i CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsPtrOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsPtrOutput

type CategoryAssetSourceDimensionsInput

type CategoryAssetSourceDimensionsInput interface {
	pulumi.Input

	ToCategoryAssetSourceDimensionsOutput() CategoryAssetSourceDimensionsOutput
	ToCategoryAssetSourceDimensionsOutputWithContext(context.Context) CategoryAssetSourceDimensionsOutput
}

CategoryAssetSourceDimensionsInput is an input type that accepts CategoryAssetSourceDimensionsArgs and CategoryAssetSourceDimensionsOutput values. You can construct a concrete instance of `CategoryAssetSourceDimensionsInput` via:

CategoryAssetSourceDimensionsArgs{...}

type CategoryAssetSourceDimensionsOutput

type CategoryAssetSourceDimensionsOutput struct{ *pulumi.OutputState }

func (CategoryAssetSourceDimensionsOutput) ElementType

func (CategoryAssetSourceDimensionsOutput) H

The height of the asset source

func (CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsOutput

func (o CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsOutput() CategoryAssetSourceDimensionsOutput

func (CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsOutputWithContext

func (o CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsOutput

func (CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsPtrOutput

func (o CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsPtrOutput() CategoryAssetSourceDimensionsPtrOutput

func (CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsPtrOutputWithContext

func (o CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsPtrOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsPtrOutput

func (CategoryAssetSourceDimensionsOutput) W

The width of the asset source

type CategoryAssetSourceDimensionsPtrInput

type CategoryAssetSourceDimensionsPtrInput interface {
	pulumi.Input

	ToCategoryAssetSourceDimensionsPtrOutput() CategoryAssetSourceDimensionsPtrOutput
	ToCategoryAssetSourceDimensionsPtrOutputWithContext(context.Context) CategoryAssetSourceDimensionsPtrOutput
}

CategoryAssetSourceDimensionsPtrInput is an input type that accepts CategoryAssetSourceDimensionsArgs, CategoryAssetSourceDimensionsPtr and CategoryAssetSourceDimensionsPtrOutput values. You can construct a concrete instance of `CategoryAssetSourceDimensionsPtrInput` via:

        CategoryAssetSourceDimensionsArgs{...}

or:

        nil

type CategoryAssetSourceDimensionsPtrOutput

type CategoryAssetSourceDimensionsPtrOutput struct{ *pulumi.OutputState }

func (CategoryAssetSourceDimensionsPtrOutput) Elem

func (CategoryAssetSourceDimensionsPtrOutput) ElementType

func (CategoryAssetSourceDimensionsPtrOutput) H

The height of the asset source

func (CategoryAssetSourceDimensionsPtrOutput) ToCategoryAssetSourceDimensionsPtrOutput

func (o CategoryAssetSourceDimensionsPtrOutput) ToCategoryAssetSourceDimensionsPtrOutput() CategoryAssetSourceDimensionsPtrOutput

func (CategoryAssetSourceDimensionsPtrOutput) ToCategoryAssetSourceDimensionsPtrOutputWithContext

func (o CategoryAssetSourceDimensionsPtrOutput) ToCategoryAssetSourceDimensionsPtrOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsPtrOutput

func (CategoryAssetSourceDimensionsPtrOutput) W

The width of the asset source

type CategoryAssetSourceInput

type CategoryAssetSourceInput interface {
	pulumi.Input

	ToCategoryAssetSourceOutput() CategoryAssetSourceOutput
	ToCategoryAssetSourceOutputWithContext(context.Context) CategoryAssetSourceOutput
}

CategoryAssetSourceInput is an input type that accepts CategoryAssetSourceArgs and CategoryAssetSourceOutput values. You can construct a concrete instance of `CategoryAssetSourceInput` via:

CategoryAssetSourceArgs{...}

type CategoryAssetSourceOutput

type CategoryAssetSourceOutput struct{ *pulumi.OutputState }

func (CategoryAssetSourceOutput) ContentType

func (CategoryAssetSourceOutput) Dimensions

func (CategoryAssetSourceOutput) ElementType

func (CategoryAssetSourceOutput) ElementType() reflect.Type

func (CategoryAssetSourceOutput) Key

Unique identifier, must be unique within the Asset

func (CategoryAssetSourceOutput) ToCategoryAssetSourceOutput

func (o CategoryAssetSourceOutput) ToCategoryAssetSourceOutput() CategoryAssetSourceOutput

func (CategoryAssetSourceOutput) ToCategoryAssetSourceOutputWithContext

func (o CategoryAssetSourceOutput) ToCategoryAssetSourceOutputWithContext(ctx context.Context) CategoryAssetSourceOutput

func (CategoryAssetSourceOutput) Uri

type CategoryCustom

type CategoryCustom struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields map[string]interface{} `pulumi:"fields"`
	TypeId string                 `pulumi:"typeId"`
}

type CategoryCustomArgs

type CategoryCustomArgs struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields pulumi.MapInput    `pulumi:"fields"`
	TypeId pulumi.StringInput `pulumi:"typeId"`
}

func (CategoryCustomArgs) ElementType

func (CategoryCustomArgs) ElementType() reflect.Type

func (CategoryCustomArgs) ToCategoryCustomOutput

func (i CategoryCustomArgs) ToCategoryCustomOutput() CategoryCustomOutput

func (CategoryCustomArgs) ToCategoryCustomOutputWithContext

func (i CategoryCustomArgs) ToCategoryCustomOutputWithContext(ctx context.Context) CategoryCustomOutput

func (CategoryCustomArgs) ToCategoryCustomPtrOutput

func (i CategoryCustomArgs) ToCategoryCustomPtrOutput() CategoryCustomPtrOutput

func (CategoryCustomArgs) ToCategoryCustomPtrOutputWithContext

func (i CategoryCustomArgs) ToCategoryCustomPtrOutputWithContext(ctx context.Context) CategoryCustomPtrOutput

type CategoryCustomInput

type CategoryCustomInput interface {
	pulumi.Input

	ToCategoryCustomOutput() CategoryCustomOutput
	ToCategoryCustomOutputWithContext(context.Context) CategoryCustomOutput
}

CategoryCustomInput is an input type that accepts CategoryCustomArgs and CategoryCustomOutput values. You can construct a concrete instance of `CategoryCustomInput` via:

CategoryCustomArgs{...}

type CategoryCustomOutput

type CategoryCustomOutput struct{ *pulumi.OutputState }

func (CategoryCustomOutput) ElementType

func (CategoryCustomOutput) ElementType() reflect.Type

func (CategoryCustomOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (CategoryCustomOutput) ToCategoryCustomOutput

func (o CategoryCustomOutput) ToCategoryCustomOutput() CategoryCustomOutput

func (CategoryCustomOutput) ToCategoryCustomOutputWithContext

func (o CategoryCustomOutput) ToCategoryCustomOutputWithContext(ctx context.Context) CategoryCustomOutput

func (CategoryCustomOutput) ToCategoryCustomPtrOutput

func (o CategoryCustomOutput) ToCategoryCustomPtrOutput() CategoryCustomPtrOutput

func (CategoryCustomOutput) ToCategoryCustomPtrOutputWithContext

func (o CategoryCustomOutput) ToCategoryCustomPtrOutputWithContext(ctx context.Context) CategoryCustomPtrOutput

func (CategoryCustomOutput) TypeId

type CategoryCustomPtrInput

type CategoryCustomPtrInput interface {
	pulumi.Input

	ToCategoryCustomPtrOutput() CategoryCustomPtrOutput
	ToCategoryCustomPtrOutputWithContext(context.Context) CategoryCustomPtrOutput
}

CategoryCustomPtrInput is an input type that accepts CategoryCustomArgs, CategoryCustomPtr and CategoryCustomPtrOutput values. You can construct a concrete instance of `CategoryCustomPtrInput` via:

        CategoryCustomArgs{...}

or:

        nil

type CategoryCustomPtrOutput

type CategoryCustomPtrOutput struct{ *pulumi.OutputState }

func (CategoryCustomPtrOutput) Elem

func (CategoryCustomPtrOutput) ElementType

func (CategoryCustomPtrOutput) ElementType() reflect.Type

func (CategoryCustomPtrOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (CategoryCustomPtrOutput) ToCategoryCustomPtrOutput

func (o CategoryCustomPtrOutput) ToCategoryCustomPtrOutput() CategoryCustomPtrOutput

func (CategoryCustomPtrOutput) ToCategoryCustomPtrOutputWithContext

func (o CategoryCustomPtrOutput) ToCategoryCustomPtrOutputWithContext(ctx context.Context) CategoryCustomPtrOutput

func (CategoryCustomPtrOutput) TypeId

type CategoryInput

type CategoryInput interface {
	pulumi.Input

	ToCategoryOutput() CategoryOutput
	ToCategoryOutputWithContext(ctx context.Context) CategoryOutput
}

type CategoryMap

type CategoryMap map[string]CategoryInput

func (CategoryMap) ElementType

func (CategoryMap) ElementType() reflect.Type

func (CategoryMap) ToCategoryMapOutput

func (i CategoryMap) ToCategoryMapOutput() CategoryMapOutput

func (CategoryMap) ToCategoryMapOutputWithContext

func (i CategoryMap) ToCategoryMapOutputWithContext(ctx context.Context) CategoryMapOutput

type CategoryMapInput

type CategoryMapInput interface {
	pulumi.Input

	ToCategoryMapOutput() CategoryMapOutput
	ToCategoryMapOutputWithContext(context.Context) CategoryMapOutput
}

CategoryMapInput is an input type that accepts CategoryMap and CategoryMapOutput values. You can construct a concrete instance of `CategoryMapInput` via:

CategoryMap{ "key": CategoryArgs{...} }

type CategoryMapOutput

type CategoryMapOutput struct{ *pulumi.OutputState }

func (CategoryMapOutput) ElementType

func (CategoryMapOutput) ElementType() reflect.Type

func (CategoryMapOutput) MapIndex

func (CategoryMapOutput) ToCategoryMapOutput

func (o CategoryMapOutput) ToCategoryMapOutput() CategoryMapOutput

func (CategoryMapOutput) ToCategoryMapOutputWithContext

func (o CategoryMapOutput) ToCategoryMapOutputWithContext(ctx context.Context) CategoryMapOutput

type CategoryOutput

type CategoryOutput struct{ *pulumi.OutputState }

func (CategoryOutput) Assets

Can be used to store images, icons or movies related to this category

func (CategoryOutput) Custom

func (CategoryOutput) Description

func (o CategoryOutput) Description() pulumi.MapOutput

func (CategoryOutput) ElementType

func (CategoryOutput) ElementType() reflect.Type

func (CategoryOutput) ExternalId

func (o CategoryOutput) ExternalId() pulumi.StringPtrOutput

func (CategoryOutput) Key

Category-specific unique identifier. Must be unique across a project

func (CategoryOutput) MetaDescription

func (o CategoryOutput) MetaDescription() pulumi.MapOutput

func (CategoryOutput) MetaKeywords

func (o CategoryOutput) MetaKeywords() pulumi.MapOutput

func (CategoryOutput) MetaTitle

func (o CategoryOutput) MetaTitle() pulumi.MapOutput

func (CategoryOutput) Name

func (o CategoryOutput) Name() pulumi.MapOutput

func (CategoryOutput) OrderHint

func (o CategoryOutput) OrderHint() pulumi.StringPtrOutput

An attribute as base for a custom category order in one level, filled with random value when left empty

func (CategoryOutput) Parent

A category that is the parent of this category in the category tree

func (CategoryOutput) Slug

func (o CategoryOutput) Slug() pulumi.MapOutput

Human readable identifiers, needs to be unique

func (CategoryOutput) ToCategoryOutput

func (o CategoryOutput) ToCategoryOutput() CategoryOutput

func (CategoryOutput) ToCategoryOutputWithContext

func (o CategoryOutput) ToCategoryOutputWithContext(ctx context.Context) CategoryOutput

func (CategoryOutput) Version

func (o CategoryOutput) Version() pulumi.IntOutput

type CategoryState

type CategoryState struct {
	// Can be used to store images, icons or movies related to this category
	Assets      CategoryAssetArrayInput
	Custom      CategoryCustomPtrInput
	Description pulumi.MapInput
	ExternalId  pulumi.StringPtrInput
	// Category-specific unique identifier. Must be unique across a project
	Key             pulumi.StringPtrInput
	MetaDescription pulumi.MapInput
	MetaKeywords    pulumi.MapInput
	MetaTitle       pulumi.MapInput
	Name            pulumi.MapInput
	// An attribute as base for a custom category order in one level, filled with random value when left empty
	OrderHint pulumi.StringPtrInput
	// A category that is the parent of this category in the category tree
	Parent pulumi.StringPtrInput
	// Human readable identifiers, needs to be unique
	Slug    pulumi.MapInput
	Version pulumi.IntPtrInput
}

func (CategoryState) ElementType

func (CategoryState) ElementType() reflect.Type

type Channel

type Channel struct {
	pulumi.CustomResourceState

	Address ChannelAddressPtrOutput `pulumi:"address"`
	Custom  ChannelCustomPtrOutput  `pulumi:"custom"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapOutput            `pulumi:"description"`
	Geolocation ChannelGeolocationPtrOutput `pulumi:"geolocation"`
	// Any arbitrary string key that uniquely identifies this channel within the project
	Key pulumi.StringOutput `pulumi:"key"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapOutput `pulumi:"name"`
	// The [roles](https://docs.commercetools.com/api/projects/channels#channelroleenum) of this channel. Each channel must
	// have at least one role
	Roles   pulumi.StringArrayOutput `pulumi:"roles"`
	Version pulumi.IntOutput         `pulumi:"version"`
}

func GetChannel

func GetChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelState, opts ...pulumi.ResourceOption) (*Channel, error)

GetChannel gets an existing Channel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewChannel

func NewChannel(ctx *pulumi.Context,
	name string, args *ChannelArgs, opts ...pulumi.ResourceOption) (*Channel, error)

NewChannel registers a new resource with the given unique name, arguments, and options.

func (*Channel) ElementType

func (*Channel) ElementType() reflect.Type

func (*Channel) ToChannelOutput

func (i *Channel) ToChannelOutput() ChannelOutput

func (*Channel) ToChannelOutputWithContext

func (i *Channel) ToChannelOutputWithContext(ctx context.Context) ChannelOutput

type ChannelAddress

type ChannelAddress struct {
	AdditionalAddressInfo *string `pulumi:"additionalAddressInfo"`
	AdditionalStreetInfo  *string `pulumi:"additionalStreetInfo"`
	Apartment             *string `pulumi:"apartment"`
	Building              *string `pulumi:"building"`
	City                  *string `pulumi:"city"`
	Company               *string `pulumi:"company"`
	Country               string  `pulumi:"country"`
	Department            *string `pulumi:"department"`
	Email                 *string `pulumi:"email"`
	ExternalId            *string `pulumi:"externalId"`
	Fax                   *string `pulumi:"fax"`
	FirstName             *string `pulumi:"firstName"`
	Id                    *string `pulumi:"id"`
	Key                   *string `pulumi:"key"`
	LastName              *string `pulumi:"lastName"`
	Mobile                *string `pulumi:"mobile"`
	Phone                 *string `pulumi:"phone"`
	PoBox                 *string `pulumi:"poBox"`
	PostalCode            *string `pulumi:"postalCode"`
	Region                *string `pulumi:"region"`
	Salutation            *string `pulumi:"salutation"`
	State                 *string `pulumi:"state"`
	StreetName            *string `pulumi:"streetName"`
	StreetNumber          *string `pulumi:"streetNumber"`
	Title                 *string `pulumi:"title"`
}

type ChannelAddressArgs

type ChannelAddressArgs struct {
	AdditionalAddressInfo pulumi.StringPtrInput `pulumi:"additionalAddressInfo"`
	AdditionalStreetInfo  pulumi.StringPtrInput `pulumi:"additionalStreetInfo"`
	Apartment             pulumi.StringPtrInput `pulumi:"apartment"`
	Building              pulumi.StringPtrInput `pulumi:"building"`
	City                  pulumi.StringPtrInput `pulumi:"city"`
	Company               pulumi.StringPtrInput `pulumi:"company"`
	Country               pulumi.StringInput    `pulumi:"country"`
	Department            pulumi.StringPtrInput `pulumi:"department"`
	Email                 pulumi.StringPtrInput `pulumi:"email"`
	ExternalId            pulumi.StringPtrInput `pulumi:"externalId"`
	Fax                   pulumi.StringPtrInput `pulumi:"fax"`
	FirstName             pulumi.StringPtrInput `pulumi:"firstName"`
	Id                    pulumi.StringPtrInput `pulumi:"id"`
	Key                   pulumi.StringPtrInput `pulumi:"key"`
	LastName              pulumi.StringPtrInput `pulumi:"lastName"`
	Mobile                pulumi.StringPtrInput `pulumi:"mobile"`
	Phone                 pulumi.StringPtrInput `pulumi:"phone"`
	PoBox                 pulumi.StringPtrInput `pulumi:"poBox"`
	PostalCode            pulumi.StringPtrInput `pulumi:"postalCode"`
	Region                pulumi.StringPtrInput `pulumi:"region"`
	Salutation            pulumi.StringPtrInput `pulumi:"salutation"`
	State                 pulumi.StringPtrInput `pulumi:"state"`
	StreetName            pulumi.StringPtrInput `pulumi:"streetName"`
	StreetNumber          pulumi.StringPtrInput `pulumi:"streetNumber"`
	Title                 pulumi.StringPtrInput `pulumi:"title"`
}

func (ChannelAddressArgs) ElementType

func (ChannelAddressArgs) ElementType() reflect.Type

func (ChannelAddressArgs) ToChannelAddressOutput

func (i ChannelAddressArgs) ToChannelAddressOutput() ChannelAddressOutput

func (ChannelAddressArgs) ToChannelAddressOutputWithContext

func (i ChannelAddressArgs) ToChannelAddressOutputWithContext(ctx context.Context) ChannelAddressOutput

func (ChannelAddressArgs) ToChannelAddressPtrOutput

func (i ChannelAddressArgs) ToChannelAddressPtrOutput() ChannelAddressPtrOutput

func (ChannelAddressArgs) ToChannelAddressPtrOutputWithContext

func (i ChannelAddressArgs) ToChannelAddressPtrOutputWithContext(ctx context.Context) ChannelAddressPtrOutput

type ChannelAddressInput

type ChannelAddressInput interface {
	pulumi.Input

	ToChannelAddressOutput() ChannelAddressOutput
	ToChannelAddressOutputWithContext(context.Context) ChannelAddressOutput
}

ChannelAddressInput is an input type that accepts ChannelAddressArgs and ChannelAddressOutput values. You can construct a concrete instance of `ChannelAddressInput` via:

ChannelAddressArgs{...}

type ChannelAddressOutput

type ChannelAddressOutput struct{ *pulumi.OutputState }

func (ChannelAddressOutput) AdditionalAddressInfo

func (o ChannelAddressOutput) AdditionalAddressInfo() pulumi.StringPtrOutput

func (ChannelAddressOutput) AdditionalStreetInfo

func (o ChannelAddressOutput) AdditionalStreetInfo() pulumi.StringPtrOutput

func (ChannelAddressOutput) Apartment

func (ChannelAddressOutput) Building

func (ChannelAddressOutput) City

func (ChannelAddressOutput) Company

func (ChannelAddressOutput) Country

func (ChannelAddressOutput) Department

func (ChannelAddressOutput) ElementType

func (ChannelAddressOutput) ElementType() reflect.Type

func (ChannelAddressOutput) Email

func (ChannelAddressOutput) ExternalId

func (ChannelAddressOutput) Fax

func (ChannelAddressOutput) FirstName

func (ChannelAddressOutput) Id

func (ChannelAddressOutput) Key

func (ChannelAddressOutput) LastName

func (ChannelAddressOutput) Mobile

func (ChannelAddressOutput) Phone

func (ChannelAddressOutput) PoBox

func (ChannelAddressOutput) PostalCode

func (ChannelAddressOutput) Region

func (ChannelAddressOutput) Salutation

func (ChannelAddressOutput) State

func (ChannelAddressOutput) StreetName

func (ChannelAddressOutput) StreetNumber

func (o ChannelAddressOutput) StreetNumber() pulumi.StringPtrOutput

func (ChannelAddressOutput) Title

func (ChannelAddressOutput) ToChannelAddressOutput

func (o ChannelAddressOutput) ToChannelAddressOutput() ChannelAddressOutput

func (ChannelAddressOutput) ToChannelAddressOutputWithContext

func (o ChannelAddressOutput) ToChannelAddressOutputWithContext(ctx context.Context) ChannelAddressOutput

func (ChannelAddressOutput) ToChannelAddressPtrOutput

func (o ChannelAddressOutput) ToChannelAddressPtrOutput() ChannelAddressPtrOutput

func (ChannelAddressOutput) ToChannelAddressPtrOutputWithContext

func (o ChannelAddressOutput) ToChannelAddressPtrOutputWithContext(ctx context.Context) ChannelAddressPtrOutput

type ChannelAddressPtrInput

type ChannelAddressPtrInput interface {
	pulumi.Input

	ToChannelAddressPtrOutput() ChannelAddressPtrOutput
	ToChannelAddressPtrOutputWithContext(context.Context) ChannelAddressPtrOutput
}

ChannelAddressPtrInput is an input type that accepts ChannelAddressArgs, ChannelAddressPtr and ChannelAddressPtrOutput values. You can construct a concrete instance of `ChannelAddressPtrInput` via:

        ChannelAddressArgs{...}

or:

        nil

type ChannelAddressPtrOutput

type ChannelAddressPtrOutput struct{ *pulumi.OutputState }

func (ChannelAddressPtrOutput) AdditionalAddressInfo

func (o ChannelAddressPtrOutput) AdditionalAddressInfo() pulumi.StringPtrOutput

func (ChannelAddressPtrOutput) AdditionalStreetInfo

func (o ChannelAddressPtrOutput) AdditionalStreetInfo() pulumi.StringPtrOutput

func (ChannelAddressPtrOutput) Apartment

func (ChannelAddressPtrOutput) Building

func (ChannelAddressPtrOutput) City

func (ChannelAddressPtrOutput) Company

func (ChannelAddressPtrOutput) Country

func (ChannelAddressPtrOutput) Department

func (ChannelAddressPtrOutput) Elem

func (ChannelAddressPtrOutput) ElementType

func (ChannelAddressPtrOutput) ElementType() reflect.Type

func (ChannelAddressPtrOutput) Email

func (ChannelAddressPtrOutput) ExternalId

func (ChannelAddressPtrOutput) Fax

func (ChannelAddressPtrOutput) FirstName

func (ChannelAddressPtrOutput) Id

func (ChannelAddressPtrOutput) Key

func (ChannelAddressPtrOutput) LastName

func (ChannelAddressPtrOutput) Mobile

func (ChannelAddressPtrOutput) Phone

func (ChannelAddressPtrOutput) PoBox

func (ChannelAddressPtrOutput) PostalCode

func (ChannelAddressPtrOutput) Region

func (ChannelAddressPtrOutput) Salutation

func (ChannelAddressPtrOutput) State

func (ChannelAddressPtrOutput) StreetName

func (ChannelAddressPtrOutput) StreetNumber

func (ChannelAddressPtrOutput) Title

func (ChannelAddressPtrOutput) ToChannelAddressPtrOutput

func (o ChannelAddressPtrOutput) ToChannelAddressPtrOutput() ChannelAddressPtrOutput

func (ChannelAddressPtrOutput) ToChannelAddressPtrOutputWithContext

func (o ChannelAddressPtrOutput) ToChannelAddressPtrOutputWithContext(ctx context.Context) ChannelAddressPtrOutput

type ChannelArgs

type ChannelArgs struct {
	Address ChannelAddressPtrInput
	Custom  ChannelCustomPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	Geolocation ChannelGeolocationPtrInput
	// Any arbitrary string key that uniquely identifies this channel within the project
	Key pulumi.StringInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// The [roles](https://docs.commercetools.com/api/projects/channels#channelroleenum) of this channel. Each channel must
	// have at least one role
	Roles pulumi.StringArrayInput
}

The set of arguments for constructing a Channel resource.

func (ChannelArgs) ElementType

func (ChannelArgs) ElementType() reflect.Type

type ChannelArray

type ChannelArray []ChannelInput

func (ChannelArray) ElementType

func (ChannelArray) ElementType() reflect.Type

func (ChannelArray) ToChannelArrayOutput

func (i ChannelArray) ToChannelArrayOutput() ChannelArrayOutput

func (ChannelArray) ToChannelArrayOutputWithContext

func (i ChannelArray) ToChannelArrayOutputWithContext(ctx context.Context) ChannelArrayOutput

type ChannelArrayInput

type ChannelArrayInput interface {
	pulumi.Input

	ToChannelArrayOutput() ChannelArrayOutput
	ToChannelArrayOutputWithContext(context.Context) ChannelArrayOutput
}

ChannelArrayInput is an input type that accepts ChannelArray and ChannelArrayOutput values. You can construct a concrete instance of `ChannelArrayInput` via:

ChannelArray{ ChannelArgs{...} }

type ChannelArrayOutput

type ChannelArrayOutput struct{ *pulumi.OutputState }

func (ChannelArrayOutput) ElementType

func (ChannelArrayOutput) ElementType() reflect.Type

func (ChannelArrayOutput) Index

func (ChannelArrayOutput) ToChannelArrayOutput

func (o ChannelArrayOutput) ToChannelArrayOutput() ChannelArrayOutput

func (ChannelArrayOutput) ToChannelArrayOutputWithContext

func (o ChannelArrayOutput) ToChannelArrayOutputWithContext(ctx context.Context) ChannelArrayOutput

type ChannelCustom

type ChannelCustom struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields map[string]interface{} `pulumi:"fields"`
	TypeId string                 `pulumi:"typeId"`
}

type ChannelCustomArgs

type ChannelCustomArgs struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields pulumi.MapInput    `pulumi:"fields"`
	TypeId pulumi.StringInput `pulumi:"typeId"`
}

func (ChannelCustomArgs) ElementType

func (ChannelCustomArgs) ElementType() reflect.Type

func (ChannelCustomArgs) ToChannelCustomOutput

func (i ChannelCustomArgs) ToChannelCustomOutput() ChannelCustomOutput

func (ChannelCustomArgs) ToChannelCustomOutputWithContext

func (i ChannelCustomArgs) ToChannelCustomOutputWithContext(ctx context.Context) ChannelCustomOutput

func (ChannelCustomArgs) ToChannelCustomPtrOutput

func (i ChannelCustomArgs) ToChannelCustomPtrOutput() ChannelCustomPtrOutput

func (ChannelCustomArgs) ToChannelCustomPtrOutputWithContext

func (i ChannelCustomArgs) ToChannelCustomPtrOutputWithContext(ctx context.Context) ChannelCustomPtrOutput

type ChannelCustomInput

type ChannelCustomInput interface {
	pulumi.Input

	ToChannelCustomOutput() ChannelCustomOutput
	ToChannelCustomOutputWithContext(context.Context) ChannelCustomOutput
}

ChannelCustomInput is an input type that accepts ChannelCustomArgs and ChannelCustomOutput values. You can construct a concrete instance of `ChannelCustomInput` via:

ChannelCustomArgs{...}

type ChannelCustomOutput

type ChannelCustomOutput struct{ *pulumi.OutputState }

func (ChannelCustomOutput) ElementType

func (ChannelCustomOutput) ElementType() reflect.Type

func (ChannelCustomOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (ChannelCustomOutput) ToChannelCustomOutput

func (o ChannelCustomOutput) ToChannelCustomOutput() ChannelCustomOutput

func (ChannelCustomOutput) ToChannelCustomOutputWithContext

func (o ChannelCustomOutput) ToChannelCustomOutputWithContext(ctx context.Context) ChannelCustomOutput

func (ChannelCustomOutput) ToChannelCustomPtrOutput

func (o ChannelCustomOutput) ToChannelCustomPtrOutput() ChannelCustomPtrOutput

func (ChannelCustomOutput) ToChannelCustomPtrOutputWithContext

func (o ChannelCustomOutput) ToChannelCustomPtrOutputWithContext(ctx context.Context) ChannelCustomPtrOutput

func (ChannelCustomOutput) TypeId

type ChannelCustomPtrInput

type ChannelCustomPtrInput interface {
	pulumi.Input

	ToChannelCustomPtrOutput() ChannelCustomPtrOutput
	ToChannelCustomPtrOutputWithContext(context.Context) ChannelCustomPtrOutput
}

ChannelCustomPtrInput is an input type that accepts ChannelCustomArgs, ChannelCustomPtr and ChannelCustomPtrOutput values. You can construct a concrete instance of `ChannelCustomPtrInput` via:

        ChannelCustomArgs{...}

or:

        nil

type ChannelCustomPtrOutput

type ChannelCustomPtrOutput struct{ *pulumi.OutputState }

func (ChannelCustomPtrOutput) Elem

func (ChannelCustomPtrOutput) ElementType

func (ChannelCustomPtrOutput) ElementType() reflect.Type

func (ChannelCustomPtrOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (ChannelCustomPtrOutput) ToChannelCustomPtrOutput

func (o ChannelCustomPtrOutput) ToChannelCustomPtrOutput() ChannelCustomPtrOutput

func (ChannelCustomPtrOutput) ToChannelCustomPtrOutputWithContext

func (o ChannelCustomPtrOutput) ToChannelCustomPtrOutputWithContext(ctx context.Context) ChannelCustomPtrOutput

func (ChannelCustomPtrOutput) TypeId

type ChannelGeolocation

type ChannelGeolocation struct {
	Coordinates []float64 `pulumi:"coordinates"`
}

type ChannelGeolocationArgs

type ChannelGeolocationArgs struct {
	Coordinates pulumi.Float64ArrayInput `pulumi:"coordinates"`
}

func (ChannelGeolocationArgs) ElementType

func (ChannelGeolocationArgs) ElementType() reflect.Type

func (ChannelGeolocationArgs) ToChannelGeolocationOutput

func (i ChannelGeolocationArgs) ToChannelGeolocationOutput() ChannelGeolocationOutput

func (ChannelGeolocationArgs) ToChannelGeolocationOutputWithContext

func (i ChannelGeolocationArgs) ToChannelGeolocationOutputWithContext(ctx context.Context) ChannelGeolocationOutput

func (ChannelGeolocationArgs) ToChannelGeolocationPtrOutput

func (i ChannelGeolocationArgs) ToChannelGeolocationPtrOutput() ChannelGeolocationPtrOutput

func (ChannelGeolocationArgs) ToChannelGeolocationPtrOutputWithContext

func (i ChannelGeolocationArgs) ToChannelGeolocationPtrOutputWithContext(ctx context.Context) ChannelGeolocationPtrOutput

type ChannelGeolocationInput

type ChannelGeolocationInput interface {
	pulumi.Input

	ToChannelGeolocationOutput() ChannelGeolocationOutput
	ToChannelGeolocationOutputWithContext(context.Context) ChannelGeolocationOutput
}

ChannelGeolocationInput is an input type that accepts ChannelGeolocationArgs and ChannelGeolocationOutput values. You can construct a concrete instance of `ChannelGeolocationInput` via:

ChannelGeolocationArgs{...}

type ChannelGeolocationOutput

type ChannelGeolocationOutput struct{ *pulumi.OutputState }

func (ChannelGeolocationOutput) Coordinates

func (ChannelGeolocationOutput) ElementType

func (ChannelGeolocationOutput) ElementType() reflect.Type

func (ChannelGeolocationOutput) ToChannelGeolocationOutput

func (o ChannelGeolocationOutput) ToChannelGeolocationOutput() ChannelGeolocationOutput

func (ChannelGeolocationOutput) ToChannelGeolocationOutputWithContext

func (o ChannelGeolocationOutput) ToChannelGeolocationOutputWithContext(ctx context.Context) ChannelGeolocationOutput

func (ChannelGeolocationOutput) ToChannelGeolocationPtrOutput

func (o ChannelGeolocationOutput) ToChannelGeolocationPtrOutput() ChannelGeolocationPtrOutput

func (ChannelGeolocationOutput) ToChannelGeolocationPtrOutputWithContext

func (o ChannelGeolocationOutput) ToChannelGeolocationPtrOutputWithContext(ctx context.Context) ChannelGeolocationPtrOutput

type ChannelGeolocationPtrInput

type ChannelGeolocationPtrInput interface {
	pulumi.Input

	ToChannelGeolocationPtrOutput() ChannelGeolocationPtrOutput
	ToChannelGeolocationPtrOutputWithContext(context.Context) ChannelGeolocationPtrOutput
}

ChannelGeolocationPtrInput is an input type that accepts ChannelGeolocationArgs, ChannelGeolocationPtr and ChannelGeolocationPtrOutput values. You can construct a concrete instance of `ChannelGeolocationPtrInput` via:

        ChannelGeolocationArgs{...}

or:

        nil

type ChannelGeolocationPtrOutput

type ChannelGeolocationPtrOutput struct{ *pulumi.OutputState }

func (ChannelGeolocationPtrOutput) Coordinates

func (ChannelGeolocationPtrOutput) Elem

func (ChannelGeolocationPtrOutput) ElementType

func (ChannelGeolocationPtrOutput) ToChannelGeolocationPtrOutput

func (o ChannelGeolocationPtrOutput) ToChannelGeolocationPtrOutput() ChannelGeolocationPtrOutput

func (ChannelGeolocationPtrOutput) ToChannelGeolocationPtrOutputWithContext

func (o ChannelGeolocationPtrOutput) ToChannelGeolocationPtrOutputWithContext(ctx context.Context) ChannelGeolocationPtrOutput

type ChannelInput

type ChannelInput interface {
	pulumi.Input

	ToChannelOutput() ChannelOutput
	ToChannelOutputWithContext(ctx context.Context) ChannelOutput
}

type ChannelMap

type ChannelMap map[string]ChannelInput

func (ChannelMap) ElementType

func (ChannelMap) ElementType() reflect.Type

func (ChannelMap) ToChannelMapOutput

func (i ChannelMap) ToChannelMapOutput() ChannelMapOutput

func (ChannelMap) ToChannelMapOutputWithContext

func (i ChannelMap) ToChannelMapOutputWithContext(ctx context.Context) ChannelMapOutput

type ChannelMapInput

type ChannelMapInput interface {
	pulumi.Input

	ToChannelMapOutput() ChannelMapOutput
	ToChannelMapOutputWithContext(context.Context) ChannelMapOutput
}

ChannelMapInput is an input type that accepts ChannelMap and ChannelMapOutput values. You can construct a concrete instance of `ChannelMapInput` via:

ChannelMap{ "key": ChannelArgs{...} }

type ChannelMapOutput

type ChannelMapOutput struct{ *pulumi.OutputState }

func (ChannelMapOutput) ElementType

func (ChannelMapOutput) ElementType() reflect.Type

func (ChannelMapOutput) MapIndex

func (ChannelMapOutput) ToChannelMapOutput

func (o ChannelMapOutput) ToChannelMapOutput() ChannelMapOutput

func (ChannelMapOutput) ToChannelMapOutputWithContext

func (o ChannelMapOutput) ToChannelMapOutputWithContext(ctx context.Context) ChannelMapOutput

type ChannelOutput

type ChannelOutput struct{ *pulumi.OutputState }

func (ChannelOutput) Address

func (ChannelOutput) Custom

func (ChannelOutput) Description

func (o ChannelOutput) Description() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (ChannelOutput) ElementType

func (ChannelOutput) ElementType() reflect.Type

func (ChannelOutput) Geolocation

func (ChannelOutput) Key

Any arbitrary string key that uniquely identifies this channel within the project

func (ChannelOutput) Name

func (o ChannelOutput) Name() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (ChannelOutput) Roles

The [roles](https://docs.commercetools.com/api/projects/channels#channelroleenum) of this channel. Each channel must have at least one role

func (ChannelOutput) ToChannelOutput

func (o ChannelOutput) ToChannelOutput() ChannelOutput

func (ChannelOutput) ToChannelOutputWithContext

func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOutput

func (ChannelOutput) Version

func (o ChannelOutput) Version() pulumi.IntOutput

type ChannelState

type ChannelState struct {
	Address ChannelAddressPtrInput
	Custom  ChannelCustomPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	Geolocation ChannelGeolocationPtrInput
	// Any arbitrary string key that uniquely identifies this channel within the project
	Key pulumi.StringPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// The [roles](https://docs.commercetools.com/api/projects/channels#channelroleenum) of this channel. Each channel must
	// have at least one role
	Roles   pulumi.StringArrayInput
	Version pulumi.IntPtrInput
}

func (ChannelState) ElementType

func (ChannelState) ElementType() reflect.Type

type CustomObject

type CustomObject struct {
	pulumi.CustomResourceState

	// A namespace to group custom objects matching the pattern '[-_~.a-zA-Z0-9]+'
	Container pulumi.StringOutput `pulumi:"container"`
	// String matching the pattern '[-_~.a-zA-Z0-9]+'
	Key pulumi.StringOutput `pulumi:"key"`
	// JSON types Number, String, Boolean, Array, Object
	Value   pulumi.StringOutput `pulumi:"value"`
	Version pulumi.IntOutput    `pulumi:"version"`
}

func GetCustomObject

func GetCustomObject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomObjectState, opts ...pulumi.ResourceOption) (*CustomObject, error)

GetCustomObject gets an existing CustomObject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomObject

func NewCustomObject(ctx *pulumi.Context,
	name string, args *CustomObjectArgs, opts ...pulumi.ResourceOption) (*CustomObject, error)

NewCustomObject registers a new resource with the given unique name, arguments, and options.

func (*CustomObject) ElementType

func (*CustomObject) ElementType() reflect.Type

func (*CustomObject) ToCustomObjectOutput

func (i *CustomObject) ToCustomObjectOutput() CustomObjectOutput

func (*CustomObject) ToCustomObjectOutputWithContext

func (i *CustomObject) ToCustomObjectOutputWithContext(ctx context.Context) CustomObjectOutput

type CustomObjectArgs

type CustomObjectArgs struct {
	// A namespace to group custom objects matching the pattern '[-_~.a-zA-Z0-9]+'
	Container pulumi.StringInput
	// String matching the pattern '[-_~.a-zA-Z0-9]+'
	Key pulumi.StringInput
	// JSON types Number, String, Boolean, Array, Object
	Value pulumi.StringInput
}

The set of arguments for constructing a CustomObject resource.

func (CustomObjectArgs) ElementType

func (CustomObjectArgs) ElementType() reflect.Type

type CustomObjectArray

type CustomObjectArray []CustomObjectInput

func (CustomObjectArray) ElementType

func (CustomObjectArray) ElementType() reflect.Type

func (CustomObjectArray) ToCustomObjectArrayOutput

func (i CustomObjectArray) ToCustomObjectArrayOutput() CustomObjectArrayOutput

func (CustomObjectArray) ToCustomObjectArrayOutputWithContext

func (i CustomObjectArray) ToCustomObjectArrayOutputWithContext(ctx context.Context) CustomObjectArrayOutput

type CustomObjectArrayInput

type CustomObjectArrayInput interface {
	pulumi.Input

	ToCustomObjectArrayOutput() CustomObjectArrayOutput
	ToCustomObjectArrayOutputWithContext(context.Context) CustomObjectArrayOutput
}

CustomObjectArrayInput is an input type that accepts CustomObjectArray and CustomObjectArrayOutput values. You can construct a concrete instance of `CustomObjectArrayInput` via:

CustomObjectArray{ CustomObjectArgs{...} }

type CustomObjectArrayOutput

type CustomObjectArrayOutput struct{ *pulumi.OutputState }

func (CustomObjectArrayOutput) ElementType

func (CustomObjectArrayOutput) ElementType() reflect.Type

func (CustomObjectArrayOutput) Index

func (CustomObjectArrayOutput) ToCustomObjectArrayOutput

func (o CustomObjectArrayOutput) ToCustomObjectArrayOutput() CustomObjectArrayOutput

func (CustomObjectArrayOutput) ToCustomObjectArrayOutputWithContext

func (o CustomObjectArrayOutput) ToCustomObjectArrayOutputWithContext(ctx context.Context) CustomObjectArrayOutput

type CustomObjectInput

type CustomObjectInput interface {
	pulumi.Input

	ToCustomObjectOutput() CustomObjectOutput
	ToCustomObjectOutputWithContext(ctx context.Context) CustomObjectOutput
}

type CustomObjectMap

type CustomObjectMap map[string]CustomObjectInput

func (CustomObjectMap) ElementType

func (CustomObjectMap) ElementType() reflect.Type

func (CustomObjectMap) ToCustomObjectMapOutput

func (i CustomObjectMap) ToCustomObjectMapOutput() CustomObjectMapOutput

func (CustomObjectMap) ToCustomObjectMapOutputWithContext

func (i CustomObjectMap) ToCustomObjectMapOutputWithContext(ctx context.Context) CustomObjectMapOutput

type CustomObjectMapInput

type CustomObjectMapInput interface {
	pulumi.Input

	ToCustomObjectMapOutput() CustomObjectMapOutput
	ToCustomObjectMapOutputWithContext(context.Context) CustomObjectMapOutput
}

CustomObjectMapInput is an input type that accepts CustomObjectMap and CustomObjectMapOutput values. You can construct a concrete instance of `CustomObjectMapInput` via:

CustomObjectMap{ "key": CustomObjectArgs{...} }

type CustomObjectMapOutput

type CustomObjectMapOutput struct{ *pulumi.OutputState }

func (CustomObjectMapOutput) ElementType

func (CustomObjectMapOutput) ElementType() reflect.Type

func (CustomObjectMapOutput) MapIndex

func (CustomObjectMapOutput) ToCustomObjectMapOutput

func (o CustomObjectMapOutput) ToCustomObjectMapOutput() CustomObjectMapOutput

func (CustomObjectMapOutput) ToCustomObjectMapOutputWithContext

func (o CustomObjectMapOutput) ToCustomObjectMapOutputWithContext(ctx context.Context) CustomObjectMapOutput

type CustomObjectOutput

type CustomObjectOutput struct{ *pulumi.OutputState }

func (CustomObjectOutput) Container

func (o CustomObjectOutput) Container() pulumi.StringOutput

A namespace to group custom objects matching the pattern '[-_~.a-zA-Z0-9]+'

func (CustomObjectOutput) ElementType

func (CustomObjectOutput) ElementType() reflect.Type

func (CustomObjectOutput) Key

String matching the pattern '[-_~.a-zA-Z0-9]+'

func (CustomObjectOutput) ToCustomObjectOutput

func (o CustomObjectOutput) ToCustomObjectOutput() CustomObjectOutput

func (CustomObjectOutput) ToCustomObjectOutputWithContext

func (o CustomObjectOutput) ToCustomObjectOutputWithContext(ctx context.Context) CustomObjectOutput

func (CustomObjectOutput) Value

JSON types Number, String, Boolean, Array, Object

func (CustomObjectOutput) Version

func (o CustomObjectOutput) Version() pulumi.IntOutput

type CustomObjectState

type CustomObjectState struct {
	// A namespace to group custom objects matching the pattern '[-_~.a-zA-Z0-9]+'
	Container pulumi.StringPtrInput
	// String matching the pattern '[-_~.a-zA-Z0-9]+'
	Key pulumi.StringPtrInput
	// JSON types Number, String, Boolean, Array, Object
	Value   pulumi.StringPtrInput
	Version pulumi.IntPtrInput
}

func (CustomObjectState) ElementType

func (CustomObjectState) ElementType() reflect.Type

type CustomerGroup

type CustomerGroup struct {
	pulumi.CustomResourceState

	Custom CustomerGroupCustomPtrOutput `pulumi:"custom"`
	// User-specific unique identifier for the customer group
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// Unique within the project
	Name    pulumi.StringOutput `pulumi:"name"`
	Version pulumi.IntOutput    `pulumi:"version"`
}

func GetCustomerGroup

func GetCustomerGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomerGroupState, opts ...pulumi.ResourceOption) (*CustomerGroup, error)

GetCustomerGroup gets an existing CustomerGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomerGroup

func NewCustomerGroup(ctx *pulumi.Context,
	name string, args *CustomerGroupArgs, opts ...pulumi.ResourceOption) (*CustomerGroup, error)

NewCustomerGroup registers a new resource with the given unique name, arguments, and options.

func (*CustomerGroup) ElementType

func (*CustomerGroup) ElementType() reflect.Type

func (*CustomerGroup) ToCustomerGroupOutput

func (i *CustomerGroup) ToCustomerGroupOutput() CustomerGroupOutput

func (*CustomerGroup) ToCustomerGroupOutputWithContext

func (i *CustomerGroup) ToCustomerGroupOutputWithContext(ctx context.Context) CustomerGroupOutput

type CustomerGroupArgs

type CustomerGroupArgs struct {
	Custom CustomerGroupCustomPtrInput
	// User-specific unique identifier for the customer group
	Key pulumi.StringPtrInput
	// Unique within the project
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a CustomerGroup resource.

func (CustomerGroupArgs) ElementType

func (CustomerGroupArgs) ElementType() reflect.Type

type CustomerGroupArray

type CustomerGroupArray []CustomerGroupInput

func (CustomerGroupArray) ElementType

func (CustomerGroupArray) ElementType() reflect.Type

func (CustomerGroupArray) ToCustomerGroupArrayOutput

func (i CustomerGroupArray) ToCustomerGroupArrayOutput() CustomerGroupArrayOutput

func (CustomerGroupArray) ToCustomerGroupArrayOutputWithContext

func (i CustomerGroupArray) ToCustomerGroupArrayOutputWithContext(ctx context.Context) CustomerGroupArrayOutput

type CustomerGroupArrayInput

type CustomerGroupArrayInput interface {
	pulumi.Input

	ToCustomerGroupArrayOutput() CustomerGroupArrayOutput
	ToCustomerGroupArrayOutputWithContext(context.Context) CustomerGroupArrayOutput
}

CustomerGroupArrayInput is an input type that accepts CustomerGroupArray and CustomerGroupArrayOutput values. You can construct a concrete instance of `CustomerGroupArrayInput` via:

CustomerGroupArray{ CustomerGroupArgs{...} }

type CustomerGroupArrayOutput

type CustomerGroupArrayOutput struct{ *pulumi.OutputState }

func (CustomerGroupArrayOutput) ElementType

func (CustomerGroupArrayOutput) ElementType() reflect.Type

func (CustomerGroupArrayOutput) Index

func (CustomerGroupArrayOutput) ToCustomerGroupArrayOutput

func (o CustomerGroupArrayOutput) ToCustomerGroupArrayOutput() CustomerGroupArrayOutput

func (CustomerGroupArrayOutput) ToCustomerGroupArrayOutputWithContext

func (o CustomerGroupArrayOutput) ToCustomerGroupArrayOutputWithContext(ctx context.Context) CustomerGroupArrayOutput

type CustomerGroupCustom

type CustomerGroupCustom struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields map[string]interface{} `pulumi:"fields"`
	TypeId string                 `pulumi:"typeId"`
}

type CustomerGroupCustomArgs

type CustomerGroupCustomArgs struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields pulumi.MapInput    `pulumi:"fields"`
	TypeId pulumi.StringInput `pulumi:"typeId"`
}

func (CustomerGroupCustomArgs) ElementType

func (CustomerGroupCustomArgs) ElementType() reflect.Type

func (CustomerGroupCustomArgs) ToCustomerGroupCustomOutput

func (i CustomerGroupCustomArgs) ToCustomerGroupCustomOutput() CustomerGroupCustomOutput

func (CustomerGroupCustomArgs) ToCustomerGroupCustomOutputWithContext

func (i CustomerGroupCustomArgs) ToCustomerGroupCustomOutputWithContext(ctx context.Context) CustomerGroupCustomOutput

func (CustomerGroupCustomArgs) ToCustomerGroupCustomPtrOutput

func (i CustomerGroupCustomArgs) ToCustomerGroupCustomPtrOutput() CustomerGroupCustomPtrOutput

func (CustomerGroupCustomArgs) ToCustomerGroupCustomPtrOutputWithContext

func (i CustomerGroupCustomArgs) ToCustomerGroupCustomPtrOutputWithContext(ctx context.Context) CustomerGroupCustomPtrOutput

type CustomerGroupCustomInput

type CustomerGroupCustomInput interface {
	pulumi.Input

	ToCustomerGroupCustomOutput() CustomerGroupCustomOutput
	ToCustomerGroupCustomOutputWithContext(context.Context) CustomerGroupCustomOutput
}

CustomerGroupCustomInput is an input type that accepts CustomerGroupCustomArgs and CustomerGroupCustomOutput values. You can construct a concrete instance of `CustomerGroupCustomInput` via:

CustomerGroupCustomArgs{...}

type CustomerGroupCustomOutput

type CustomerGroupCustomOutput struct{ *pulumi.OutputState }

func (CustomerGroupCustomOutput) ElementType

func (CustomerGroupCustomOutput) ElementType() reflect.Type

func (CustomerGroupCustomOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (CustomerGroupCustomOutput) ToCustomerGroupCustomOutput

func (o CustomerGroupCustomOutput) ToCustomerGroupCustomOutput() CustomerGroupCustomOutput

func (CustomerGroupCustomOutput) ToCustomerGroupCustomOutputWithContext

func (o CustomerGroupCustomOutput) ToCustomerGroupCustomOutputWithContext(ctx context.Context) CustomerGroupCustomOutput

func (CustomerGroupCustomOutput) ToCustomerGroupCustomPtrOutput

func (o CustomerGroupCustomOutput) ToCustomerGroupCustomPtrOutput() CustomerGroupCustomPtrOutput

func (CustomerGroupCustomOutput) ToCustomerGroupCustomPtrOutputWithContext

func (o CustomerGroupCustomOutput) ToCustomerGroupCustomPtrOutputWithContext(ctx context.Context) CustomerGroupCustomPtrOutput

func (CustomerGroupCustomOutput) TypeId

type CustomerGroupCustomPtrInput

type CustomerGroupCustomPtrInput interface {
	pulumi.Input

	ToCustomerGroupCustomPtrOutput() CustomerGroupCustomPtrOutput
	ToCustomerGroupCustomPtrOutputWithContext(context.Context) CustomerGroupCustomPtrOutput
}

CustomerGroupCustomPtrInput is an input type that accepts CustomerGroupCustomArgs, CustomerGroupCustomPtr and CustomerGroupCustomPtrOutput values. You can construct a concrete instance of `CustomerGroupCustomPtrInput` via:

        CustomerGroupCustomArgs{...}

or:

        nil

type CustomerGroupCustomPtrOutput

type CustomerGroupCustomPtrOutput struct{ *pulumi.OutputState }

func (CustomerGroupCustomPtrOutput) Elem

func (CustomerGroupCustomPtrOutput) ElementType

func (CustomerGroupCustomPtrOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (CustomerGroupCustomPtrOutput) ToCustomerGroupCustomPtrOutput

func (o CustomerGroupCustomPtrOutput) ToCustomerGroupCustomPtrOutput() CustomerGroupCustomPtrOutput

func (CustomerGroupCustomPtrOutput) ToCustomerGroupCustomPtrOutputWithContext

func (o CustomerGroupCustomPtrOutput) ToCustomerGroupCustomPtrOutputWithContext(ctx context.Context) CustomerGroupCustomPtrOutput

func (CustomerGroupCustomPtrOutput) TypeId

type CustomerGroupInput

type CustomerGroupInput interface {
	pulumi.Input

	ToCustomerGroupOutput() CustomerGroupOutput
	ToCustomerGroupOutputWithContext(ctx context.Context) CustomerGroupOutput
}

type CustomerGroupMap

type CustomerGroupMap map[string]CustomerGroupInput

func (CustomerGroupMap) ElementType

func (CustomerGroupMap) ElementType() reflect.Type

func (CustomerGroupMap) ToCustomerGroupMapOutput

func (i CustomerGroupMap) ToCustomerGroupMapOutput() CustomerGroupMapOutput

func (CustomerGroupMap) ToCustomerGroupMapOutputWithContext

func (i CustomerGroupMap) ToCustomerGroupMapOutputWithContext(ctx context.Context) CustomerGroupMapOutput

type CustomerGroupMapInput

type CustomerGroupMapInput interface {
	pulumi.Input

	ToCustomerGroupMapOutput() CustomerGroupMapOutput
	ToCustomerGroupMapOutputWithContext(context.Context) CustomerGroupMapOutput
}

CustomerGroupMapInput is an input type that accepts CustomerGroupMap and CustomerGroupMapOutput values. You can construct a concrete instance of `CustomerGroupMapInput` via:

CustomerGroupMap{ "key": CustomerGroupArgs{...} }

type CustomerGroupMapOutput

type CustomerGroupMapOutput struct{ *pulumi.OutputState }

func (CustomerGroupMapOutput) ElementType

func (CustomerGroupMapOutput) ElementType() reflect.Type

func (CustomerGroupMapOutput) MapIndex

func (CustomerGroupMapOutput) ToCustomerGroupMapOutput

func (o CustomerGroupMapOutput) ToCustomerGroupMapOutput() CustomerGroupMapOutput

func (CustomerGroupMapOutput) ToCustomerGroupMapOutputWithContext

func (o CustomerGroupMapOutput) ToCustomerGroupMapOutputWithContext(ctx context.Context) CustomerGroupMapOutput

type CustomerGroupOutput

type CustomerGroupOutput struct{ *pulumi.OutputState }

func (CustomerGroupOutput) Custom

func (CustomerGroupOutput) ElementType

func (CustomerGroupOutput) ElementType() reflect.Type

func (CustomerGroupOutput) Key

User-specific unique identifier for the customer group

func (CustomerGroupOutput) Name

Unique within the project

func (CustomerGroupOutput) ToCustomerGroupOutput

func (o CustomerGroupOutput) ToCustomerGroupOutput() CustomerGroupOutput

func (CustomerGroupOutput) ToCustomerGroupOutputWithContext

func (o CustomerGroupOutput) ToCustomerGroupOutputWithContext(ctx context.Context) CustomerGroupOutput

func (CustomerGroupOutput) Version

func (o CustomerGroupOutput) Version() pulumi.IntOutput

type CustomerGroupState

type CustomerGroupState struct {
	Custom CustomerGroupCustomPtrInput
	// User-specific unique identifier for the customer group
	Key pulumi.StringPtrInput
	// Unique within the project
	Name    pulumi.StringPtrInput
	Version pulumi.IntPtrInput
}

func (CustomerGroupState) ElementType

func (CustomerGroupState) ElementType() reflect.Type

type DiscountCode

type DiscountCode struct {
	pulumi.CustomResourceState

	// The referenced matching cart discounts can be applied to the cart once the DiscountCode is added
	CartDiscounts pulumi.StringArrayOutput `pulumi:"cartDiscounts"`
	// Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the
	// cart
	Code   pulumi.StringOutput         `pulumi:"code"`
	Custom DiscountCodeCustomPtrOutput `pulumi:"custom"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapOutput `pulumi:"description"`
	// The groups to which this discount code belong
	Groups   pulumi.StringArrayOutput `pulumi:"groups"`
	IsActive pulumi.BoolPtrOutput     `pulumi:"isActive"`
	// The discount code can only be applied the specified times overall. Note that due to an engine constraint 0 cannot be set
	// for this field, so possible values are either larger than 0 or not set
	MaxApplications pulumi.IntPtrOutput `pulumi:"maxApplications"`
	// The discount code can only be applied the specified times per customer. Note that due to an engine constraint 0 cannot
	// be set for this field, so possible values are either larger than 0 or not set
	MaxApplicationsPerCustomer pulumi.IntPtrOutput `pulumi:"maxApplicationsPerCustomer"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapOutput `pulumi:"name"`
	// [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)
	Predicate pulumi.StringPtrOutput `pulumi:"predicate"`
	// The time from which the discount can be applied on a cart. Before that time the code is invalid
	ValidFrom pulumi.StringPtrOutput `pulumi:"validFrom"`
	// The time until the discount can be applied on a cart. After that time the code is invalid
	ValidUntil pulumi.StringPtrOutput `pulumi:"validUntil"`
	Version    pulumi.IntOutput       `pulumi:"version"`
}

func GetDiscountCode

func GetDiscountCode(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DiscountCodeState, opts ...pulumi.ResourceOption) (*DiscountCode, error)

GetDiscountCode gets an existing DiscountCode resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDiscountCode

func NewDiscountCode(ctx *pulumi.Context,
	name string, args *DiscountCodeArgs, opts ...pulumi.ResourceOption) (*DiscountCode, error)

NewDiscountCode registers a new resource with the given unique name, arguments, and options.

func (*DiscountCode) ElementType

func (*DiscountCode) ElementType() reflect.Type

func (*DiscountCode) ToDiscountCodeOutput

func (i *DiscountCode) ToDiscountCodeOutput() DiscountCodeOutput

func (*DiscountCode) ToDiscountCodeOutputWithContext

func (i *DiscountCode) ToDiscountCodeOutputWithContext(ctx context.Context) DiscountCodeOutput

type DiscountCodeArgs

type DiscountCodeArgs struct {
	// The referenced matching cart discounts can be applied to the cart once the DiscountCode is added
	CartDiscounts pulumi.StringArrayInput
	// Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the
	// cart
	Code   pulumi.StringInput
	Custom DiscountCodeCustomPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	// The groups to which this discount code belong
	Groups   pulumi.StringArrayInput
	IsActive pulumi.BoolPtrInput
	// The discount code can only be applied the specified times overall. Note that due to an engine constraint 0 cannot be set
	// for this field, so possible values are either larger than 0 or not set
	MaxApplications pulumi.IntPtrInput
	// The discount code can only be applied the specified times per customer. Note that due to an engine constraint 0 cannot
	// be set for this field, so possible values are either larger than 0 or not set
	MaxApplicationsPerCustomer pulumi.IntPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)
	Predicate pulumi.StringPtrInput
	// The time from which the discount can be applied on a cart. Before that time the code is invalid
	ValidFrom pulumi.StringPtrInput
	// The time until the discount can be applied on a cart. After that time the code is invalid
	ValidUntil pulumi.StringPtrInput
}

The set of arguments for constructing a DiscountCode resource.

func (DiscountCodeArgs) ElementType

func (DiscountCodeArgs) ElementType() reflect.Type

type DiscountCodeArray

type DiscountCodeArray []DiscountCodeInput

func (DiscountCodeArray) ElementType

func (DiscountCodeArray) ElementType() reflect.Type

func (DiscountCodeArray) ToDiscountCodeArrayOutput

func (i DiscountCodeArray) ToDiscountCodeArrayOutput() DiscountCodeArrayOutput

func (DiscountCodeArray) ToDiscountCodeArrayOutputWithContext

func (i DiscountCodeArray) ToDiscountCodeArrayOutputWithContext(ctx context.Context) DiscountCodeArrayOutput

type DiscountCodeArrayInput

type DiscountCodeArrayInput interface {
	pulumi.Input

	ToDiscountCodeArrayOutput() DiscountCodeArrayOutput
	ToDiscountCodeArrayOutputWithContext(context.Context) DiscountCodeArrayOutput
}

DiscountCodeArrayInput is an input type that accepts DiscountCodeArray and DiscountCodeArrayOutput values. You can construct a concrete instance of `DiscountCodeArrayInput` via:

DiscountCodeArray{ DiscountCodeArgs{...} }

type DiscountCodeArrayOutput

type DiscountCodeArrayOutput struct{ *pulumi.OutputState }

func (DiscountCodeArrayOutput) ElementType

func (DiscountCodeArrayOutput) ElementType() reflect.Type

func (DiscountCodeArrayOutput) Index

func (DiscountCodeArrayOutput) ToDiscountCodeArrayOutput

func (o DiscountCodeArrayOutput) ToDiscountCodeArrayOutput() DiscountCodeArrayOutput

func (DiscountCodeArrayOutput) ToDiscountCodeArrayOutputWithContext

func (o DiscountCodeArrayOutput) ToDiscountCodeArrayOutputWithContext(ctx context.Context) DiscountCodeArrayOutput

type DiscountCodeCustom

type DiscountCodeCustom struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields map[string]interface{} `pulumi:"fields"`
	TypeId string                 `pulumi:"typeId"`
}

type DiscountCodeCustomArgs

type DiscountCodeCustomArgs struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields pulumi.MapInput    `pulumi:"fields"`
	TypeId pulumi.StringInput `pulumi:"typeId"`
}

func (DiscountCodeCustomArgs) ElementType

func (DiscountCodeCustomArgs) ElementType() reflect.Type

func (DiscountCodeCustomArgs) ToDiscountCodeCustomOutput

func (i DiscountCodeCustomArgs) ToDiscountCodeCustomOutput() DiscountCodeCustomOutput

func (DiscountCodeCustomArgs) ToDiscountCodeCustomOutputWithContext

func (i DiscountCodeCustomArgs) ToDiscountCodeCustomOutputWithContext(ctx context.Context) DiscountCodeCustomOutput

func (DiscountCodeCustomArgs) ToDiscountCodeCustomPtrOutput

func (i DiscountCodeCustomArgs) ToDiscountCodeCustomPtrOutput() DiscountCodeCustomPtrOutput

func (DiscountCodeCustomArgs) ToDiscountCodeCustomPtrOutputWithContext

func (i DiscountCodeCustomArgs) ToDiscountCodeCustomPtrOutputWithContext(ctx context.Context) DiscountCodeCustomPtrOutput

type DiscountCodeCustomInput

type DiscountCodeCustomInput interface {
	pulumi.Input

	ToDiscountCodeCustomOutput() DiscountCodeCustomOutput
	ToDiscountCodeCustomOutputWithContext(context.Context) DiscountCodeCustomOutput
}

DiscountCodeCustomInput is an input type that accepts DiscountCodeCustomArgs and DiscountCodeCustomOutput values. You can construct a concrete instance of `DiscountCodeCustomInput` via:

DiscountCodeCustomArgs{...}

type DiscountCodeCustomOutput

type DiscountCodeCustomOutput struct{ *pulumi.OutputState }

func (DiscountCodeCustomOutput) ElementType

func (DiscountCodeCustomOutput) ElementType() reflect.Type

func (DiscountCodeCustomOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (DiscountCodeCustomOutput) ToDiscountCodeCustomOutput

func (o DiscountCodeCustomOutput) ToDiscountCodeCustomOutput() DiscountCodeCustomOutput

func (DiscountCodeCustomOutput) ToDiscountCodeCustomOutputWithContext

func (o DiscountCodeCustomOutput) ToDiscountCodeCustomOutputWithContext(ctx context.Context) DiscountCodeCustomOutput

func (DiscountCodeCustomOutput) ToDiscountCodeCustomPtrOutput

func (o DiscountCodeCustomOutput) ToDiscountCodeCustomPtrOutput() DiscountCodeCustomPtrOutput

func (DiscountCodeCustomOutput) ToDiscountCodeCustomPtrOutputWithContext

func (o DiscountCodeCustomOutput) ToDiscountCodeCustomPtrOutputWithContext(ctx context.Context) DiscountCodeCustomPtrOutput

func (DiscountCodeCustomOutput) TypeId

type DiscountCodeCustomPtrInput

type DiscountCodeCustomPtrInput interface {
	pulumi.Input

	ToDiscountCodeCustomPtrOutput() DiscountCodeCustomPtrOutput
	ToDiscountCodeCustomPtrOutputWithContext(context.Context) DiscountCodeCustomPtrOutput
}

DiscountCodeCustomPtrInput is an input type that accepts DiscountCodeCustomArgs, DiscountCodeCustomPtr and DiscountCodeCustomPtrOutput values. You can construct a concrete instance of `DiscountCodeCustomPtrInput` via:

        DiscountCodeCustomArgs{...}

or:

        nil

type DiscountCodeCustomPtrOutput

type DiscountCodeCustomPtrOutput struct{ *pulumi.OutputState }

func (DiscountCodeCustomPtrOutput) Elem

func (DiscountCodeCustomPtrOutput) ElementType

func (DiscountCodeCustomPtrOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (DiscountCodeCustomPtrOutput) ToDiscountCodeCustomPtrOutput

func (o DiscountCodeCustomPtrOutput) ToDiscountCodeCustomPtrOutput() DiscountCodeCustomPtrOutput

func (DiscountCodeCustomPtrOutput) ToDiscountCodeCustomPtrOutputWithContext

func (o DiscountCodeCustomPtrOutput) ToDiscountCodeCustomPtrOutputWithContext(ctx context.Context) DiscountCodeCustomPtrOutput

func (DiscountCodeCustomPtrOutput) TypeId

type DiscountCodeInput

type DiscountCodeInput interface {
	pulumi.Input

	ToDiscountCodeOutput() DiscountCodeOutput
	ToDiscountCodeOutputWithContext(ctx context.Context) DiscountCodeOutput
}

type DiscountCodeMap

type DiscountCodeMap map[string]DiscountCodeInput

func (DiscountCodeMap) ElementType

func (DiscountCodeMap) ElementType() reflect.Type

func (DiscountCodeMap) ToDiscountCodeMapOutput

func (i DiscountCodeMap) ToDiscountCodeMapOutput() DiscountCodeMapOutput

func (DiscountCodeMap) ToDiscountCodeMapOutputWithContext

func (i DiscountCodeMap) ToDiscountCodeMapOutputWithContext(ctx context.Context) DiscountCodeMapOutput

type DiscountCodeMapInput

type DiscountCodeMapInput interface {
	pulumi.Input

	ToDiscountCodeMapOutput() DiscountCodeMapOutput
	ToDiscountCodeMapOutputWithContext(context.Context) DiscountCodeMapOutput
}

DiscountCodeMapInput is an input type that accepts DiscountCodeMap and DiscountCodeMapOutput values. You can construct a concrete instance of `DiscountCodeMapInput` via:

DiscountCodeMap{ "key": DiscountCodeArgs{...} }

type DiscountCodeMapOutput

type DiscountCodeMapOutput struct{ *pulumi.OutputState }

func (DiscountCodeMapOutput) ElementType

func (DiscountCodeMapOutput) ElementType() reflect.Type

func (DiscountCodeMapOutput) MapIndex

func (DiscountCodeMapOutput) ToDiscountCodeMapOutput

func (o DiscountCodeMapOutput) ToDiscountCodeMapOutput() DiscountCodeMapOutput

func (DiscountCodeMapOutput) ToDiscountCodeMapOutputWithContext

func (o DiscountCodeMapOutput) ToDiscountCodeMapOutputWithContext(ctx context.Context) DiscountCodeMapOutput

type DiscountCodeOutput

type DiscountCodeOutput struct{ *pulumi.OutputState }

func (DiscountCodeOutput) CartDiscounts

func (o DiscountCodeOutput) CartDiscounts() pulumi.StringArrayOutput

The referenced matching cart discounts can be applied to the cart once the DiscountCode is added

func (DiscountCodeOutput) Code

Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the cart

func (DiscountCodeOutput) Custom

func (DiscountCodeOutput) Description

func (o DiscountCodeOutput) Description() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (DiscountCodeOutput) ElementType

func (DiscountCodeOutput) ElementType() reflect.Type

func (DiscountCodeOutput) Groups

The groups to which this discount code belong

func (DiscountCodeOutput) IsActive

func (DiscountCodeOutput) MaxApplications

func (o DiscountCodeOutput) MaxApplications() pulumi.IntPtrOutput

The discount code can only be applied the specified times overall. Note that due to an engine constraint 0 cannot be set for this field, so possible values are either larger than 0 or not set

func (DiscountCodeOutput) MaxApplicationsPerCustomer

func (o DiscountCodeOutput) MaxApplicationsPerCustomer() pulumi.IntPtrOutput

The discount code can only be applied the specified times per customer. Note that due to an engine constraint 0 cannot be set for this field, so possible values are either larger than 0 or not set

func (DiscountCodeOutput) Name

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (DiscountCodeOutput) ToDiscountCodeOutput

func (o DiscountCodeOutput) ToDiscountCodeOutput() DiscountCodeOutput

func (DiscountCodeOutput) ToDiscountCodeOutputWithContext

func (o DiscountCodeOutput) ToDiscountCodeOutputWithContext(ctx context.Context) DiscountCodeOutput

func (DiscountCodeOutput) ValidFrom

The time from which the discount can be applied on a cart. Before that time the code is invalid

func (DiscountCodeOutput) ValidUntil

func (o DiscountCodeOutput) ValidUntil() pulumi.StringPtrOutput

The time until the discount can be applied on a cart. After that time the code is invalid

func (DiscountCodeOutput) Version

func (o DiscountCodeOutput) Version() pulumi.IntOutput

type DiscountCodeState

type DiscountCodeState struct {
	// The referenced matching cart discounts can be applied to the cart once the DiscountCode is added
	CartDiscounts pulumi.StringArrayInput
	// Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the
	// cart
	Code   pulumi.StringPtrInput
	Custom DiscountCodeCustomPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	// The groups to which this discount code belong
	Groups   pulumi.StringArrayInput
	IsActive pulumi.BoolPtrInput
	// The discount code can only be applied the specified times overall. Note that due to an engine constraint 0 cannot be set
	// for this field, so possible values are either larger than 0 or not set
	MaxApplications pulumi.IntPtrInput
	// The discount code can only be applied the specified times per customer. Note that due to an engine constraint 0 cannot
	// be set for this field, so possible values are either larger than 0 or not set
	MaxApplicationsPerCustomer pulumi.IntPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)
	Predicate pulumi.StringPtrInput
	// The time from which the discount can be applied on a cart. Before that time the code is invalid
	ValidFrom pulumi.StringPtrInput
	// The time until the discount can be applied on a cart. After that time the code is invalid
	ValidUntil pulumi.StringPtrInput
	Version    pulumi.IntPtrInput
}

func (DiscountCodeState) ElementType

func (DiscountCodeState) ElementType() reflect.Type

type LookupStateArgs

type LookupStateArgs struct {
	Key string `pulumi:"key"`
}

A collection of arguments for invoking getState.

type LookupStateOutputArgs

type LookupStateOutputArgs struct {
	Key pulumi.StringInput `pulumi:"key"`
}

A collection of arguments for invoking getState.

func (LookupStateOutputArgs) ElementType

func (LookupStateOutputArgs) ElementType() reflect.Type

type LookupStateResult

type LookupStateResult struct {
	Id  string `pulumi:"id"`
	Key string `pulumi:"key"`
}

A collection of values returned by getState.

func LookupState

func LookupState(ctx *pulumi.Context, args *LookupStateArgs, opts ...pulumi.InvokeOption) (*LookupStateResult, error)

type LookupStateResultOutput

type LookupStateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getState.

func (LookupStateResultOutput) ElementType

func (LookupStateResultOutput) ElementType() reflect.Type

func (LookupStateResultOutput) Id

func (LookupStateResultOutput) Key

func (LookupStateResultOutput) ToLookupStateResultOutput

func (o LookupStateResultOutput) ToLookupStateResultOutput() LookupStateResultOutput

func (LookupStateResultOutput) ToLookupStateResultOutputWithContext

func (o LookupStateResultOutput) ToLookupStateResultOutputWithContext(ctx context.Context) LookupStateResultOutput

type LookupTypeArgs

type LookupTypeArgs struct {
	Key string `pulumi:"key"`
}

A collection of arguments for invoking getType.

type LookupTypeOutputArgs

type LookupTypeOutputArgs struct {
	Key pulumi.StringInput `pulumi:"key"`
}

A collection of arguments for invoking getType.

func (LookupTypeOutputArgs) ElementType

func (LookupTypeOutputArgs) ElementType() reflect.Type

type LookupTypeResult

type LookupTypeResult struct {
	Id  string `pulumi:"id"`
	Key string `pulumi:"key"`
}

A collection of values returned by getType.

func LookupType

func LookupType(ctx *pulumi.Context, args *LookupTypeArgs, opts ...pulumi.InvokeOption) (*LookupTypeResult, error)

type LookupTypeResultOutput

type LookupTypeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getType.

func (LookupTypeResultOutput) ElementType

func (LookupTypeResultOutput) ElementType() reflect.Type

func (LookupTypeResultOutput) Id

func (LookupTypeResultOutput) Key

func (LookupTypeResultOutput) ToLookupTypeResultOutput

func (o LookupTypeResultOutput) ToLookupTypeResultOutput() LookupTypeResultOutput

func (LookupTypeResultOutput) ToLookupTypeResultOutputWithContext

func (o LookupTypeResultOutput) ToLookupTypeResultOutputWithContext(ctx context.Context) LookupTypeResultOutput

type ProductDiscount

type ProductDiscount struct {
	pulumi.CustomResourceState

	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapOutput `pulumi:"description"`
	// When set the product discount is applied to products matching the predicate
	IsActive pulumi.BoolPtrOutput `pulumi:"isActive"`
	// User-defined unique identifier for the ProductDiscount. Must be unique across a project
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapOutput `pulumi:"name"`
	// A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates)
	Predicate pulumi.StringOutput `pulumi:"predicate"`
	// The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order
	// defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order.
	// The sort order is unambiguous among all product discounts
	SortOrder  pulumi.StringOutput    `pulumi:"sortOrder"`
	ValidFrom  pulumi.StringPtrOutput `pulumi:"validFrom"`
	ValidUntil pulumi.StringPtrOutput `pulumi:"validUntil"`
	// Defines the effect the discount will have.
	// [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue)
	Value   ProductDiscountValueOutput `pulumi:"value"`
	Version pulumi.IntOutput           `pulumi:"version"`
}

func GetProductDiscount

func GetProductDiscount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProductDiscountState, opts ...pulumi.ResourceOption) (*ProductDiscount, error)

GetProductDiscount gets an existing ProductDiscount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProductDiscount

func NewProductDiscount(ctx *pulumi.Context,
	name string, args *ProductDiscountArgs, opts ...pulumi.ResourceOption) (*ProductDiscount, error)

NewProductDiscount registers a new resource with the given unique name, arguments, and options.

func (*ProductDiscount) ElementType

func (*ProductDiscount) ElementType() reflect.Type

func (*ProductDiscount) ToProductDiscountOutput

func (i *ProductDiscount) ToProductDiscountOutput() ProductDiscountOutput

func (*ProductDiscount) ToProductDiscountOutputWithContext

func (i *ProductDiscount) ToProductDiscountOutputWithContext(ctx context.Context) ProductDiscountOutput

type ProductDiscountArgs

type ProductDiscountArgs struct {
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	// When set the product discount is applied to products matching the predicate
	IsActive pulumi.BoolPtrInput
	// User-defined unique identifier for the ProductDiscount. Must be unique across a project
	Key pulumi.StringPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates)
	Predicate pulumi.StringInput
	// The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order
	// defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order.
	// The sort order is unambiguous among all product discounts
	SortOrder  pulumi.StringInput
	ValidFrom  pulumi.StringPtrInput
	ValidUntil pulumi.StringPtrInput
	// Defines the effect the discount will have.
	// [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue)
	Value ProductDiscountValueInput
}

The set of arguments for constructing a ProductDiscount resource.

func (ProductDiscountArgs) ElementType

func (ProductDiscountArgs) ElementType() reflect.Type

type ProductDiscountArray

type ProductDiscountArray []ProductDiscountInput

func (ProductDiscountArray) ElementType

func (ProductDiscountArray) ElementType() reflect.Type

func (ProductDiscountArray) ToProductDiscountArrayOutput

func (i ProductDiscountArray) ToProductDiscountArrayOutput() ProductDiscountArrayOutput

func (ProductDiscountArray) ToProductDiscountArrayOutputWithContext

func (i ProductDiscountArray) ToProductDiscountArrayOutputWithContext(ctx context.Context) ProductDiscountArrayOutput

type ProductDiscountArrayInput

type ProductDiscountArrayInput interface {
	pulumi.Input

	ToProductDiscountArrayOutput() ProductDiscountArrayOutput
	ToProductDiscountArrayOutputWithContext(context.Context) ProductDiscountArrayOutput
}

ProductDiscountArrayInput is an input type that accepts ProductDiscountArray and ProductDiscountArrayOutput values. You can construct a concrete instance of `ProductDiscountArrayInput` via:

ProductDiscountArray{ ProductDiscountArgs{...} }

type ProductDiscountArrayOutput

type ProductDiscountArrayOutput struct{ *pulumi.OutputState }

func (ProductDiscountArrayOutput) ElementType

func (ProductDiscountArrayOutput) ElementType() reflect.Type

func (ProductDiscountArrayOutput) Index

func (ProductDiscountArrayOutput) ToProductDiscountArrayOutput

func (o ProductDiscountArrayOutput) ToProductDiscountArrayOutput() ProductDiscountArrayOutput

func (ProductDiscountArrayOutput) ToProductDiscountArrayOutputWithContext

func (o ProductDiscountArrayOutput) ToProductDiscountArrayOutputWithContext(ctx context.Context) ProductDiscountArrayOutput

type ProductDiscountInput

type ProductDiscountInput interface {
	pulumi.Input

	ToProductDiscountOutput() ProductDiscountOutput
	ToProductDiscountOutputWithContext(ctx context.Context) ProductDiscountOutput
}

type ProductDiscountMap

type ProductDiscountMap map[string]ProductDiscountInput

func (ProductDiscountMap) ElementType

func (ProductDiscountMap) ElementType() reflect.Type

func (ProductDiscountMap) ToProductDiscountMapOutput

func (i ProductDiscountMap) ToProductDiscountMapOutput() ProductDiscountMapOutput

func (ProductDiscountMap) ToProductDiscountMapOutputWithContext

func (i ProductDiscountMap) ToProductDiscountMapOutputWithContext(ctx context.Context) ProductDiscountMapOutput

type ProductDiscountMapInput

type ProductDiscountMapInput interface {
	pulumi.Input

	ToProductDiscountMapOutput() ProductDiscountMapOutput
	ToProductDiscountMapOutputWithContext(context.Context) ProductDiscountMapOutput
}

ProductDiscountMapInput is an input type that accepts ProductDiscountMap and ProductDiscountMapOutput values. You can construct a concrete instance of `ProductDiscountMapInput` via:

ProductDiscountMap{ "key": ProductDiscountArgs{...} }

type ProductDiscountMapOutput

type ProductDiscountMapOutput struct{ *pulumi.OutputState }

func (ProductDiscountMapOutput) ElementType

func (ProductDiscountMapOutput) ElementType() reflect.Type

func (ProductDiscountMapOutput) MapIndex

func (ProductDiscountMapOutput) ToProductDiscountMapOutput

func (o ProductDiscountMapOutput) ToProductDiscountMapOutput() ProductDiscountMapOutput

func (ProductDiscountMapOutput) ToProductDiscountMapOutputWithContext

func (o ProductDiscountMapOutput) ToProductDiscountMapOutputWithContext(ctx context.Context) ProductDiscountMapOutput

type ProductDiscountOutput

type ProductDiscountOutput struct{ *pulumi.OutputState }

func (ProductDiscountOutput) Description

func (o ProductDiscountOutput) Description() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (ProductDiscountOutput) ElementType

func (ProductDiscountOutput) ElementType() reflect.Type

func (ProductDiscountOutput) IsActive

When set the product discount is applied to products matching the predicate

func (ProductDiscountOutput) Key

User-defined unique identifier for the ProductDiscount. Must be unique across a project

func (ProductDiscountOutput) Name

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (ProductDiscountOutput) Predicate

A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates)

func (ProductDiscountOutput) SortOrder

The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. The sort order is unambiguous among all product discounts

func (ProductDiscountOutput) ToProductDiscountOutput

func (o ProductDiscountOutput) ToProductDiscountOutput() ProductDiscountOutput

func (ProductDiscountOutput) ToProductDiscountOutputWithContext

func (o ProductDiscountOutput) ToProductDiscountOutputWithContext(ctx context.Context) ProductDiscountOutput

func (ProductDiscountOutput) ValidFrom

func (ProductDiscountOutput) ValidUntil

func (ProductDiscountOutput) Version

type ProductDiscountState

type ProductDiscountState struct {
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	// When set the product discount is applied to products matching the predicate
	IsActive pulumi.BoolPtrInput
	// User-defined unique identifier for the ProductDiscount. Must be unique across a project
	Key pulumi.StringPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates)
	Predicate pulumi.StringPtrInput
	// The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order
	// defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order.
	// The sort order is unambiguous among all product discounts
	SortOrder  pulumi.StringPtrInput
	ValidFrom  pulumi.StringPtrInput
	ValidUntil pulumi.StringPtrInput
	// Defines the effect the discount will have.
	// [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue)
	Value   ProductDiscountValuePtrInput
	Version pulumi.IntPtrInput
}

func (ProductDiscountState) ElementType

func (ProductDiscountState) ElementType() reflect.Type

type ProductDiscountValue

type ProductDiscountValue struct {
	// Absolute discount specific fields
	Monies []ProductDiscountValueMoney `pulumi:"monies"`
	// Relative discount specific fields
	Permyriad *int `pulumi:"permyriad"`
	// Currently supports absolute/relative/external
	Type string `pulumi:"type"`
}

type ProductDiscountValueArgs

type ProductDiscountValueArgs struct {
	// Absolute discount specific fields
	Monies ProductDiscountValueMoneyArrayInput `pulumi:"monies"`
	// Relative discount specific fields
	Permyriad pulumi.IntPtrInput `pulumi:"permyriad"`
	// Currently supports absolute/relative/external
	Type pulumi.StringInput `pulumi:"type"`
}

func (ProductDiscountValueArgs) ElementType

func (ProductDiscountValueArgs) ElementType() reflect.Type

func (ProductDiscountValueArgs) ToProductDiscountValueOutput

func (i ProductDiscountValueArgs) ToProductDiscountValueOutput() ProductDiscountValueOutput

func (ProductDiscountValueArgs) ToProductDiscountValueOutputWithContext

func (i ProductDiscountValueArgs) ToProductDiscountValueOutputWithContext(ctx context.Context) ProductDiscountValueOutput

func (ProductDiscountValueArgs) ToProductDiscountValuePtrOutput

func (i ProductDiscountValueArgs) ToProductDiscountValuePtrOutput() ProductDiscountValuePtrOutput

func (ProductDiscountValueArgs) ToProductDiscountValuePtrOutputWithContext

func (i ProductDiscountValueArgs) ToProductDiscountValuePtrOutputWithContext(ctx context.Context) ProductDiscountValuePtrOutput

type ProductDiscountValueInput

type ProductDiscountValueInput interface {
	pulumi.Input

	ToProductDiscountValueOutput() ProductDiscountValueOutput
	ToProductDiscountValueOutputWithContext(context.Context) ProductDiscountValueOutput
}

ProductDiscountValueInput is an input type that accepts ProductDiscountValueArgs and ProductDiscountValueOutput values. You can construct a concrete instance of `ProductDiscountValueInput` via:

ProductDiscountValueArgs{...}

type ProductDiscountValueMoney

type ProductDiscountValueMoney struct {
	// The amount in cents (the smallest indivisible unit of the currency)
	CentAmount int `pulumi:"centAmount"`
	// The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
	CurrencyCode string `pulumi:"currencyCode"`
	// The number of default fraction digits for the given currency, like 2 for EUR or 0 for JPY
	FractionDigits *int `pulumi:"fractionDigits"`
}

type ProductDiscountValueMoneyArgs

type ProductDiscountValueMoneyArgs struct {
	// The amount in cents (the smallest indivisible unit of the currency)
	CentAmount pulumi.IntInput `pulumi:"centAmount"`
	// The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
	// The number of default fraction digits for the given currency, like 2 for EUR or 0 for JPY
	FractionDigits pulumi.IntPtrInput `pulumi:"fractionDigits"`
}

func (ProductDiscountValueMoneyArgs) ElementType

func (ProductDiscountValueMoneyArgs) ToProductDiscountValueMoneyOutput

func (i ProductDiscountValueMoneyArgs) ToProductDiscountValueMoneyOutput() ProductDiscountValueMoneyOutput

func (ProductDiscountValueMoneyArgs) ToProductDiscountValueMoneyOutputWithContext

func (i ProductDiscountValueMoneyArgs) ToProductDiscountValueMoneyOutputWithContext(ctx context.Context) ProductDiscountValueMoneyOutput

type ProductDiscountValueMoneyArray

type ProductDiscountValueMoneyArray []ProductDiscountValueMoneyInput

func (ProductDiscountValueMoneyArray) ElementType

func (ProductDiscountValueMoneyArray) ToProductDiscountValueMoneyArrayOutput

func (i ProductDiscountValueMoneyArray) ToProductDiscountValueMoneyArrayOutput() ProductDiscountValueMoneyArrayOutput

func (ProductDiscountValueMoneyArray) ToProductDiscountValueMoneyArrayOutputWithContext

func (i ProductDiscountValueMoneyArray) ToProductDiscountValueMoneyArrayOutputWithContext(ctx context.Context) ProductDiscountValueMoneyArrayOutput

type ProductDiscountValueMoneyArrayInput

type ProductDiscountValueMoneyArrayInput interface {
	pulumi.Input

	ToProductDiscountValueMoneyArrayOutput() ProductDiscountValueMoneyArrayOutput
	ToProductDiscountValueMoneyArrayOutputWithContext(context.Context) ProductDiscountValueMoneyArrayOutput
}

ProductDiscountValueMoneyArrayInput is an input type that accepts ProductDiscountValueMoneyArray and ProductDiscountValueMoneyArrayOutput values. You can construct a concrete instance of `ProductDiscountValueMoneyArrayInput` via:

ProductDiscountValueMoneyArray{ ProductDiscountValueMoneyArgs{...} }

type ProductDiscountValueMoneyArrayOutput

type ProductDiscountValueMoneyArrayOutput struct{ *pulumi.OutputState }

func (ProductDiscountValueMoneyArrayOutput) ElementType

func (ProductDiscountValueMoneyArrayOutput) Index

func (ProductDiscountValueMoneyArrayOutput) ToProductDiscountValueMoneyArrayOutput

func (o ProductDiscountValueMoneyArrayOutput) ToProductDiscountValueMoneyArrayOutput() ProductDiscountValueMoneyArrayOutput

func (ProductDiscountValueMoneyArrayOutput) ToProductDiscountValueMoneyArrayOutputWithContext

func (o ProductDiscountValueMoneyArrayOutput) ToProductDiscountValueMoneyArrayOutputWithContext(ctx context.Context) ProductDiscountValueMoneyArrayOutput

type ProductDiscountValueMoneyInput

type ProductDiscountValueMoneyInput interface {
	pulumi.Input

	ToProductDiscountValueMoneyOutput() ProductDiscountValueMoneyOutput
	ToProductDiscountValueMoneyOutputWithContext(context.Context) ProductDiscountValueMoneyOutput
}

ProductDiscountValueMoneyInput is an input type that accepts ProductDiscountValueMoneyArgs and ProductDiscountValueMoneyOutput values. You can construct a concrete instance of `ProductDiscountValueMoneyInput` via:

ProductDiscountValueMoneyArgs{...}

type ProductDiscountValueMoneyOutput

type ProductDiscountValueMoneyOutput struct{ *pulumi.OutputState }

func (ProductDiscountValueMoneyOutput) CentAmount

The amount in cents (the smallest indivisible unit of the currency)

func (ProductDiscountValueMoneyOutput) CurrencyCode

The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)

func (ProductDiscountValueMoneyOutput) ElementType

func (ProductDiscountValueMoneyOutput) FractionDigits

The number of default fraction digits for the given currency, like 2 for EUR or 0 for JPY

func (ProductDiscountValueMoneyOutput) ToProductDiscountValueMoneyOutput

func (o ProductDiscountValueMoneyOutput) ToProductDiscountValueMoneyOutput() ProductDiscountValueMoneyOutput

func (ProductDiscountValueMoneyOutput) ToProductDiscountValueMoneyOutputWithContext

func (o ProductDiscountValueMoneyOutput) ToProductDiscountValueMoneyOutputWithContext(ctx context.Context) ProductDiscountValueMoneyOutput

type ProductDiscountValueOutput

type ProductDiscountValueOutput struct{ *pulumi.OutputState }

func (ProductDiscountValueOutput) ElementType

func (ProductDiscountValueOutput) ElementType() reflect.Type

func (ProductDiscountValueOutput) Monies

Absolute discount specific fields

func (ProductDiscountValueOutput) Permyriad

Relative discount specific fields

func (ProductDiscountValueOutput) ToProductDiscountValueOutput

func (o ProductDiscountValueOutput) ToProductDiscountValueOutput() ProductDiscountValueOutput

func (ProductDiscountValueOutput) ToProductDiscountValueOutputWithContext

func (o ProductDiscountValueOutput) ToProductDiscountValueOutputWithContext(ctx context.Context) ProductDiscountValueOutput

func (ProductDiscountValueOutput) ToProductDiscountValuePtrOutput

func (o ProductDiscountValueOutput) ToProductDiscountValuePtrOutput() ProductDiscountValuePtrOutput

func (ProductDiscountValueOutput) ToProductDiscountValuePtrOutputWithContext

func (o ProductDiscountValueOutput) ToProductDiscountValuePtrOutputWithContext(ctx context.Context) ProductDiscountValuePtrOutput

func (ProductDiscountValueOutput) Type

Currently supports absolute/relative/external

type ProductDiscountValuePtrInput

type ProductDiscountValuePtrInput interface {
	pulumi.Input

	ToProductDiscountValuePtrOutput() ProductDiscountValuePtrOutput
	ToProductDiscountValuePtrOutputWithContext(context.Context) ProductDiscountValuePtrOutput
}

ProductDiscountValuePtrInput is an input type that accepts ProductDiscountValueArgs, ProductDiscountValuePtr and ProductDiscountValuePtrOutput values. You can construct a concrete instance of `ProductDiscountValuePtrInput` via:

        ProductDiscountValueArgs{...}

or:

        nil

type ProductDiscountValuePtrOutput

type ProductDiscountValuePtrOutput struct{ *pulumi.OutputState }

func (ProductDiscountValuePtrOutput) Elem

func (ProductDiscountValuePtrOutput) ElementType

func (ProductDiscountValuePtrOutput) Monies

Absolute discount specific fields

func (ProductDiscountValuePtrOutput) Permyriad

Relative discount specific fields

func (ProductDiscountValuePtrOutput) ToProductDiscountValuePtrOutput

func (o ProductDiscountValuePtrOutput) ToProductDiscountValuePtrOutput() ProductDiscountValuePtrOutput

func (ProductDiscountValuePtrOutput) ToProductDiscountValuePtrOutputWithContext

func (o ProductDiscountValuePtrOutput) ToProductDiscountValuePtrOutputWithContext(ctx context.Context) ProductDiscountValuePtrOutput

func (ProductDiscountValuePtrOutput) Type

Currently supports absolute/relative/external

type ProductSelection

type ProductSelection struct {
	pulumi.CustomResourceState

	// User-defined unique identifier of the ProductSelection.
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// Specifies in which way the Products are assigned to the ProductSelection.Currently, the only way of doing this is to
	// specify each Product individually, either by including or excluding them explicitly.Default: Individual
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Name of the ProductSelection.
	Name pulumi.StringMapOutput `pulumi:"name"`
	// Current version of the ProductSelection.
	Version pulumi.IntOutput `pulumi:"version"`
}

func GetProductSelection

func GetProductSelection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProductSelectionState, opts ...pulumi.ResourceOption) (*ProductSelection, error)

GetProductSelection gets an existing ProductSelection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProductSelection

func NewProductSelection(ctx *pulumi.Context,
	name string, args *ProductSelectionArgs, opts ...pulumi.ResourceOption) (*ProductSelection, error)

NewProductSelection registers a new resource with the given unique name, arguments, and options.

func (*ProductSelection) ElementType

func (*ProductSelection) ElementType() reflect.Type

func (*ProductSelection) ToProductSelectionOutput

func (i *ProductSelection) ToProductSelectionOutput() ProductSelectionOutput

func (*ProductSelection) ToProductSelectionOutputWithContext

func (i *ProductSelection) ToProductSelectionOutputWithContext(ctx context.Context) ProductSelectionOutput

type ProductSelectionArgs

type ProductSelectionArgs struct {
	// User-defined unique identifier of the ProductSelection.
	Key pulumi.StringPtrInput
	// Specifies in which way the Products are assigned to the ProductSelection.Currently, the only way of doing this is to
	// specify each Product individually, either by including or excluding them explicitly.Default: Individual
	Mode pulumi.StringPtrInput
	// Name of the ProductSelection.
	Name pulumi.StringMapInput
}

The set of arguments for constructing a ProductSelection resource.

func (ProductSelectionArgs) ElementType

func (ProductSelectionArgs) ElementType() reflect.Type

type ProductSelectionArray

type ProductSelectionArray []ProductSelectionInput

func (ProductSelectionArray) ElementType

func (ProductSelectionArray) ElementType() reflect.Type

func (ProductSelectionArray) ToProductSelectionArrayOutput

func (i ProductSelectionArray) ToProductSelectionArrayOutput() ProductSelectionArrayOutput

func (ProductSelectionArray) ToProductSelectionArrayOutputWithContext

func (i ProductSelectionArray) ToProductSelectionArrayOutputWithContext(ctx context.Context) ProductSelectionArrayOutput

type ProductSelectionArrayInput

type ProductSelectionArrayInput interface {
	pulumi.Input

	ToProductSelectionArrayOutput() ProductSelectionArrayOutput
	ToProductSelectionArrayOutputWithContext(context.Context) ProductSelectionArrayOutput
}

ProductSelectionArrayInput is an input type that accepts ProductSelectionArray and ProductSelectionArrayOutput values. You can construct a concrete instance of `ProductSelectionArrayInput` via:

ProductSelectionArray{ ProductSelectionArgs{...} }

type ProductSelectionArrayOutput

type ProductSelectionArrayOutput struct{ *pulumi.OutputState }

func (ProductSelectionArrayOutput) ElementType

func (ProductSelectionArrayOutput) Index

func (ProductSelectionArrayOutput) ToProductSelectionArrayOutput

func (o ProductSelectionArrayOutput) ToProductSelectionArrayOutput() ProductSelectionArrayOutput

func (ProductSelectionArrayOutput) ToProductSelectionArrayOutputWithContext

func (o ProductSelectionArrayOutput) ToProductSelectionArrayOutputWithContext(ctx context.Context) ProductSelectionArrayOutput

type ProductSelectionInput

type ProductSelectionInput interface {
	pulumi.Input

	ToProductSelectionOutput() ProductSelectionOutput
	ToProductSelectionOutputWithContext(ctx context.Context) ProductSelectionOutput
}

type ProductSelectionMap

type ProductSelectionMap map[string]ProductSelectionInput

func (ProductSelectionMap) ElementType

func (ProductSelectionMap) ElementType() reflect.Type

func (ProductSelectionMap) ToProductSelectionMapOutput

func (i ProductSelectionMap) ToProductSelectionMapOutput() ProductSelectionMapOutput

func (ProductSelectionMap) ToProductSelectionMapOutputWithContext

func (i ProductSelectionMap) ToProductSelectionMapOutputWithContext(ctx context.Context) ProductSelectionMapOutput

type ProductSelectionMapInput

type ProductSelectionMapInput interface {
	pulumi.Input

	ToProductSelectionMapOutput() ProductSelectionMapOutput
	ToProductSelectionMapOutputWithContext(context.Context) ProductSelectionMapOutput
}

ProductSelectionMapInput is an input type that accepts ProductSelectionMap and ProductSelectionMapOutput values. You can construct a concrete instance of `ProductSelectionMapInput` via:

ProductSelectionMap{ "key": ProductSelectionArgs{...} }

type ProductSelectionMapOutput

type ProductSelectionMapOutput struct{ *pulumi.OutputState }

func (ProductSelectionMapOutput) ElementType

func (ProductSelectionMapOutput) ElementType() reflect.Type

func (ProductSelectionMapOutput) MapIndex

func (ProductSelectionMapOutput) ToProductSelectionMapOutput

func (o ProductSelectionMapOutput) ToProductSelectionMapOutput() ProductSelectionMapOutput

func (ProductSelectionMapOutput) ToProductSelectionMapOutputWithContext

func (o ProductSelectionMapOutput) ToProductSelectionMapOutputWithContext(ctx context.Context) ProductSelectionMapOutput

type ProductSelectionOutput

type ProductSelectionOutput struct{ *pulumi.OutputState }

func (ProductSelectionOutput) ElementType

func (ProductSelectionOutput) ElementType() reflect.Type

func (ProductSelectionOutput) Key

User-defined unique identifier of the ProductSelection.

func (ProductSelectionOutput) Mode

Specifies in which way the Products are assigned to the ProductSelection.Currently, the only way of doing this is to specify each Product individually, either by including or excluding them explicitly.Default: Individual

func (ProductSelectionOutput) Name

Name of the ProductSelection.

func (ProductSelectionOutput) ToProductSelectionOutput

func (o ProductSelectionOutput) ToProductSelectionOutput() ProductSelectionOutput

func (ProductSelectionOutput) ToProductSelectionOutputWithContext

func (o ProductSelectionOutput) ToProductSelectionOutputWithContext(ctx context.Context) ProductSelectionOutput

func (ProductSelectionOutput) Version

Current version of the ProductSelection.

type ProductSelectionState

type ProductSelectionState struct {
	// User-defined unique identifier of the ProductSelection.
	Key pulumi.StringPtrInput
	// Specifies in which way the Products are assigned to the ProductSelection.Currently, the only way of doing this is to
	// specify each Product individually, either by including or excluding them explicitly.Default: Individual
	Mode pulumi.StringPtrInput
	// Name of the ProductSelection.
	Name pulumi.StringMapInput
	// Current version of the ProductSelection.
	Version pulumi.IntPtrInput
}

func (ProductSelectionState) ElementType

func (ProductSelectionState) ElementType() reflect.Type

type ProductType

type ProductType struct {
	pulumi.CustomResourceState

	// [Product attribute definition](https://docs.commercetools.com/api/projects/productTypes#attributedefinition)
	Attributes  ProductTypeAttributeArrayOutput `pulumi:"attributes"`
	Description pulumi.StringPtrOutput          `pulumi:"description"`
	// User-specific unique identifier for the product type (max. 256 characters)
	Key     pulumi.StringPtrOutput `pulumi:"key"`
	Name    pulumi.StringOutput    `pulumi:"name"`
	Version pulumi.IntOutput       `pulumi:"version"`
}

func GetProductType

func GetProductType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProductTypeState, opts ...pulumi.ResourceOption) (*ProductType, error)

GetProductType gets an existing ProductType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProductType

func NewProductType(ctx *pulumi.Context,
	name string, args *ProductTypeArgs, opts ...pulumi.ResourceOption) (*ProductType, error)

NewProductType registers a new resource with the given unique name, arguments, and options.

func (*ProductType) ElementType

func (*ProductType) ElementType() reflect.Type

func (*ProductType) ToProductTypeOutput

func (i *ProductType) ToProductTypeOutput() ProductTypeOutput

func (*ProductType) ToProductTypeOutputWithContext

func (i *ProductType) ToProductTypeOutputWithContext(ctx context.Context) ProductTypeOutput

type ProductTypeArgs

type ProductTypeArgs struct {
	// [Product attribute definition](https://docs.commercetools.com/api/projects/productTypes#attributedefinition)
	Attributes  ProductTypeAttributeArrayInput
	Description pulumi.StringPtrInput
	// User-specific unique identifier for the product type (max. 256 characters)
	Key  pulumi.StringPtrInput
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a ProductType resource.

func (ProductTypeArgs) ElementType

func (ProductTypeArgs) ElementType() reflect.Type

type ProductTypeArray

type ProductTypeArray []ProductTypeInput

func (ProductTypeArray) ElementType

func (ProductTypeArray) ElementType() reflect.Type

func (ProductTypeArray) ToProductTypeArrayOutput

func (i ProductTypeArray) ToProductTypeArrayOutput() ProductTypeArrayOutput

func (ProductTypeArray) ToProductTypeArrayOutputWithContext

func (i ProductTypeArray) ToProductTypeArrayOutputWithContext(ctx context.Context) ProductTypeArrayOutput

type ProductTypeArrayInput

type ProductTypeArrayInput interface {
	pulumi.Input

	ToProductTypeArrayOutput() ProductTypeArrayOutput
	ToProductTypeArrayOutputWithContext(context.Context) ProductTypeArrayOutput
}

ProductTypeArrayInput is an input type that accepts ProductTypeArray and ProductTypeArrayOutput values. You can construct a concrete instance of `ProductTypeArrayInput` via:

ProductTypeArray{ ProductTypeArgs{...} }

type ProductTypeArrayOutput

type ProductTypeArrayOutput struct{ *pulumi.OutputState }

func (ProductTypeArrayOutput) ElementType

func (ProductTypeArrayOutput) ElementType() reflect.Type

func (ProductTypeArrayOutput) Index

func (ProductTypeArrayOutput) ToProductTypeArrayOutput

func (o ProductTypeArrayOutput) ToProductTypeArrayOutput() ProductTypeArrayOutput

func (ProductTypeArrayOutput) ToProductTypeArrayOutputWithContext

func (o ProductTypeArrayOutput) ToProductTypeArrayOutputWithContext(ctx context.Context) ProductTypeArrayOutput

type ProductTypeAttribute

type ProductTypeAttribute struct {
	// Describes how an attribute or a set of attributes should be validated across all variants of a product. See also [Attribute Constraint](https://docs.commercetools.com/api/projects/productTypes#attributeconstraint-enum)
	Constraint *string `pulumi:"constraint"`
	// Provides a visual representation type for this attribute. only relevant for text-based attribute types like TextType and LocalizableTextType
	InputHint *string `pulumi:"inputHint"`
	// Additional information about the attribute that aids content managers when setting product details
	InputTip map[string]interface{} `pulumi:"inputTip"`
	// A human-readable label for the attribute
	Label map[string]interface{} `pulumi:"label"`
	// The unique name of the attribute used in the API. The name must be between two and 256 characters long and can contain the ASCII letters A to Z in lowercase or uppercase, digits, underscores (_) and the hyphen-minus (-).
	// When using the same name for an attribute in two or more product types all fields of the AttributeDefinition of this attribute need to be the same across the product types, otherwise an AttributeDefinitionAlreadyExists error code will be returned. An exception to this are the values of an enum or lenum type and sets thereof
	Name string `pulumi:"name"`
	// Whether the attribute is required to have a value
	Required *bool `pulumi:"required"`
	// Whether the attribute's values should generally be activated in product search
	Searchable *bool `pulumi:"searchable"`
	// [AttributeType](https://docs.commercetools.com/api/projects/productTypes#attributetype)
	Type ProductTypeAttributeType `pulumi:"type"`
}

type ProductTypeAttributeArgs

type ProductTypeAttributeArgs struct {
	// Describes how an attribute or a set of attributes should be validated across all variants of a product. See also [Attribute Constraint](https://docs.commercetools.com/api/projects/productTypes#attributeconstraint-enum)
	Constraint pulumi.StringPtrInput `pulumi:"constraint"`
	// Provides a visual representation type for this attribute. only relevant for text-based attribute types like TextType and LocalizableTextType
	InputHint pulumi.StringPtrInput `pulumi:"inputHint"`
	// Additional information about the attribute that aids content managers when setting product details
	InputTip pulumi.MapInput `pulumi:"inputTip"`
	// A human-readable label for the attribute
	Label pulumi.MapInput `pulumi:"label"`
	// The unique name of the attribute used in the API. The name must be between two and 256 characters long and can contain the ASCII letters A to Z in lowercase or uppercase, digits, underscores (_) and the hyphen-minus (-).
	// When using the same name for an attribute in two or more product types all fields of the AttributeDefinition of this attribute need to be the same across the product types, otherwise an AttributeDefinitionAlreadyExists error code will be returned. An exception to this are the values of an enum or lenum type and sets thereof
	Name pulumi.StringInput `pulumi:"name"`
	// Whether the attribute is required to have a value
	Required pulumi.BoolPtrInput `pulumi:"required"`
	// Whether the attribute's values should generally be activated in product search
	Searchable pulumi.BoolPtrInput `pulumi:"searchable"`
	// [AttributeType](https://docs.commercetools.com/api/projects/productTypes#attributetype)
	Type ProductTypeAttributeTypeInput `pulumi:"type"`
}

func (ProductTypeAttributeArgs) ElementType

func (ProductTypeAttributeArgs) ElementType() reflect.Type

func (ProductTypeAttributeArgs) ToProductTypeAttributeOutput

func (i ProductTypeAttributeArgs) ToProductTypeAttributeOutput() ProductTypeAttributeOutput

func (ProductTypeAttributeArgs) ToProductTypeAttributeOutputWithContext

func (i ProductTypeAttributeArgs) ToProductTypeAttributeOutputWithContext(ctx context.Context) ProductTypeAttributeOutput

type ProductTypeAttributeArray

type ProductTypeAttributeArray []ProductTypeAttributeInput

func (ProductTypeAttributeArray) ElementType

func (ProductTypeAttributeArray) ElementType() reflect.Type

func (ProductTypeAttributeArray) ToProductTypeAttributeArrayOutput

func (i ProductTypeAttributeArray) ToProductTypeAttributeArrayOutput() ProductTypeAttributeArrayOutput

func (ProductTypeAttributeArray) ToProductTypeAttributeArrayOutputWithContext

func (i ProductTypeAttributeArray) ToProductTypeAttributeArrayOutputWithContext(ctx context.Context) ProductTypeAttributeArrayOutput

type ProductTypeAttributeArrayInput

type ProductTypeAttributeArrayInput interface {
	pulumi.Input

	ToProductTypeAttributeArrayOutput() ProductTypeAttributeArrayOutput
	ToProductTypeAttributeArrayOutputWithContext(context.Context) ProductTypeAttributeArrayOutput
}

ProductTypeAttributeArrayInput is an input type that accepts ProductTypeAttributeArray and ProductTypeAttributeArrayOutput values. You can construct a concrete instance of `ProductTypeAttributeArrayInput` via:

ProductTypeAttributeArray{ ProductTypeAttributeArgs{...} }

type ProductTypeAttributeArrayOutput

type ProductTypeAttributeArrayOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeArrayOutput) ElementType

func (ProductTypeAttributeArrayOutput) Index

func (ProductTypeAttributeArrayOutput) ToProductTypeAttributeArrayOutput

func (o ProductTypeAttributeArrayOutput) ToProductTypeAttributeArrayOutput() ProductTypeAttributeArrayOutput

func (ProductTypeAttributeArrayOutput) ToProductTypeAttributeArrayOutputWithContext

func (o ProductTypeAttributeArrayOutput) ToProductTypeAttributeArrayOutputWithContext(ctx context.Context) ProductTypeAttributeArrayOutput

type ProductTypeAttributeInput

type ProductTypeAttributeInput interface {
	pulumi.Input

	ToProductTypeAttributeOutput() ProductTypeAttributeOutput
	ToProductTypeAttributeOutputWithContext(context.Context) ProductTypeAttributeOutput
}

ProductTypeAttributeInput is an input type that accepts ProductTypeAttributeArgs and ProductTypeAttributeOutput values. You can construct a concrete instance of `ProductTypeAttributeInput` via:

ProductTypeAttributeArgs{...}

type ProductTypeAttributeOutput

type ProductTypeAttributeOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeOutput) Constraint

Describes how an attribute or a set of attributes should be validated across all variants of a product. See also [Attribute Constraint](https://docs.commercetools.com/api/projects/productTypes#attributeconstraint-enum)

func (ProductTypeAttributeOutput) ElementType

func (ProductTypeAttributeOutput) ElementType() reflect.Type

func (ProductTypeAttributeOutput) InputHint

Provides a visual representation type for this attribute. only relevant for text-based attribute types like TextType and LocalizableTextType

func (ProductTypeAttributeOutput) InputTip

Additional information about the attribute that aids content managers when setting product details

func (ProductTypeAttributeOutput) Label

A human-readable label for the attribute

func (ProductTypeAttributeOutput) Name

The unique name of the attribute used in the API. The name must be between two and 256 characters long and can contain the ASCII letters A to Z in lowercase or uppercase, digits, underscores (_) and the hyphen-minus (-). When using the same name for an attribute in two or more product types all fields of the AttributeDefinition of this attribute need to be the same across the product types, otherwise an AttributeDefinitionAlreadyExists error code will be returned. An exception to this are the values of an enum or lenum type and sets thereof

func (ProductTypeAttributeOutput) Required

Whether the attribute is required to have a value

func (ProductTypeAttributeOutput) Searchable

Whether the attribute's values should generally be activated in product search

func (ProductTypeAttributeOutput) ToProductTypeAttributeOutput

func (o ProductTypeAttributeOutput) ToProductTypeAttributeOutput() ProductTypeAttributeOutput

func (ProductTypeAttributeOutput) ToProductTypeAttributeOutputWithContext

func (o ProductTypeAttributeOutput) ToProductTypeAttributeOutputWithContext(ctx context.Context) ProductTypeAttributeOutput

type ProductTypeAttributeType

type ProductTypeAttributeType struct {
	ElementType2 *ProductTypeAttributeTypeElementType2 `pulumi:"ElementType2"`
	// Localized values for the `lenum` type.
	LocalizedValues []ProductTypeAttributeTypeLocalizedValue `pulumi:"localizedValues"`
	// Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it
	Name string `pulumi:"name"`
	// Resource type the Custom Field can reference. Required when type is `reference`
	ReferenceTypeId *string `pulumi:"referenceTypeId"`
	// Reference to another product type. Required when type is `nested`.
	TypeReference *string `pulumi:"typeReference"`
	// Values for the `enum` type.
	Values []ProductTypeAttributeTypeValue `pulumi:"values"`
}

type ProductTypeAttributeTypeArgs

type ProductTypeAttributeTypeArgs struct {
	ElementType2 ProductTypeAttributeTypeElementType2PtrInput `pulumi:"ElementType2"`
	// Localized values for the `lenum` type.
	LocalizedValues ProductTypeAttributeTypeLocalizedValueArrayInput `pulumi:"localizedValues"`
	// Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it
	Name pulumi.StringInput `pulumi:"name"`
	// Resource type the Custom Field can reference. Required when type is `reference`
	ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"`
	// Reference to another product type. Required when type is `nested`.
	TypeReference pulumi.StringPtrInput `pulumi:"typeReference"`
	// Values for the `enum` type.
	Values ProductTypeAttributeTypeValueArrayInput `pulumi:"values"`
}

func (ProductTypeAttributeTypeArgs) ElementType

func (ProductTypeAttributeTypeArgs) ToProductTypeAttributeTypeOutput

func (i ProductTypeAttributeTypeArgs) ToProductTypeAttributeTypeOutput() ProductTypeAttributeTypeOutput

func (ProductTypeAttributeTypeArgs) ToProductTypeAttributeTypeOutputWithContext

func (i ProductTypeAttributeTypeArgs) ToProductTypeAttributeTypeOutputWithContext(ctx context.Context) ProductTypeAttributeTypeOutput

type ProductTypeAttributeTypeElementType2

type ProductTypeAttributeTypeElementType2 struct {
	// Localized values for the `lenum` type.
	LocalizedValues []ProductTypeAttributeTypeElementType2LocalizedValue `pulumi:"localizedValues"`
	// Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it
	Name string `pulumi:"name"`
	// Resource type the Custom Field can reference. Required when type is `reference`
	ReferenceTypeId *string `pulumi:"referenceTypeId"`
	// Reference to another product type. Required when type is `nested`.
	TypeReference *string `pulumi:"typeReference"`
	// Values for the `enum` type.
	Values []ProductTypeAttributeTypeElementType2Value `pulumi:"values"`
}

type ProductTypeAttributeTypeElementType2Args

type ProductTypeAttributeTypeElementType2Args struct {
	// Localized values for the `lenum` type.
	LocalizedValues ProductTypeAttributeTypeElementType2LocalizedValueArrayInput `pulumi:"localizedValues"`
	// Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it
	Name pulumi.StringInput `pulumi:"name"`
	// Resource type the Custom Field can reference. Required when type is `reference`
	ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"`
	// Reference to another product type. Required when type is `nested`.
	TypeReference pulumi.StringPtrInput `pulumi:"typeReference"`
	// Values for the `enum` type.
	Values ProductTypeAttributeTypeElementType2ValueArrayInput `pulumi:"values"`
}

func (ProductTypeAttributeTypeElementType2Args) ElementType

func (ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2Output

func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2Output() ProductTypeAttributeTypeElementType2Output

func (ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2OutputWithContext

func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2OutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2Output

func (ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2PtrOutput

func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput

func (ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2PtrOutputWithContext

func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput

type ProductTypeAttributeTypeElementType2Input

type ProductTypeAttributeTypeElementType2Input interface {
	pulumi.Input

	ToProductTypeAttributeTypeElementType2Output() ProductTypeAttributeTypeElementType2Output
	ToProductTypeAttributeTypeElementType2OutputWithContext(context.Context) ProductTypeAttributeTypeElementType2Output
}

ProductTypeAttributeTypeElementType2Input is an input type that accepts ProductTypeAttributeTypeElementType2Args and ProductTypeAttributeTypeElementType2Output values. You can construct a concrete instance of `ProductTypeAttributeTypeElementType2Input` via:

ProductTypeAttributeTypeElementType2Args{...}

type ProductTypeAttributeTypeElementType2LocalizedValue

type ProductTypeAttributeTypeElementType2LocalizedValue struct {
	Key   string                 `pulumi:"key"`
	Label map[string]interface{} `pulumi:"label"`
}

type ProductTypeAttributeTypeElementType2LocalizedValueArgs

type ProductTypeAttributeTypeElementType2LocalizedValueArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Label pulumi.MapInput    `pulumi:"label"`
}

func (ProductTypeAttributeTypeElementType2LocalizedValueArgs) ElementType

func (ProductTypeAttributeTypeElementType2LocalizedValueArgs) ToProductTypeAttributeTypeElementType2LocalizedValueOutput

func (ProductTypeAttributeTypeElementType2LocalizedValueArgs) ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext

func (i ProductTypeAttributeTypeElementType2LocalizedValueArgs) ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueOutput

type ProductTypeAttributeTypeElementType2LocalizedValueArray

type ProductTypeAttributeTypeElementType2LocalizedValueArray []ProductTypeAttributeTypeElementType2LocalizedValueInput

func (ProductTypeAttributeTypeElementType2LocalizedValueArray) ElementType

func (ProductTypeAttributeTypeElementType2LocalizedValueArray) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput

func (i ProductTypeAttributeTypeElementType2LocalizedValueArray) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput

func (ProductTypeAttributeTypeElementType2LocalizedValueArray) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext

func (i ProductTypeAttributeTypeElementType2LocalizedValueArray) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput

type ProductTypeAttributeTypeElementType2LocalizedValueArrayInput

type ProductTypeAttributeTypeElementType2LocalizedValueArrayInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput
	ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput
}

ProductTypeAttributeTypeElementType2LocalizedValueArrayInput is an input type that accepts ProductTypeAttributeTypeElementType2LocalizedValueArray and ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeElementType2LocalizedValueArrayInput` via:

ProductTypeAttributeTypeElementType2LocalizedValueArray{ ProductTypeAttributeTypeElementType2LocalizedValueArgs{...} }

type ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput

type ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ElementType

func (ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) Index

func (ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput

func (ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext

func (o ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput

type ProductTypeAttributeTypeElementType2LocalizedValueInput

type ProductTypeAttributeTypeElementType2LocalizedValueInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeElementType2LocalizedValueOutput() ProductTypeAttributeTypeElementType2LocalizedValueOutput
	ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2LocalizedValueOutput
}

ProductTypeAttributeTypeElementType2LocalizedValueInput is an input type that accepts ProductTypeAttributeTypeElementType2LocalizedValueArgs and ProductTypeAttributeTypeElementType2LocalizedValueOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeElementType2LocalizedValueInput` via:

ProductTypeAttributeTypeElementType2LocalizedValueArgs{...}

type ProductTypeAttributeTypeElementType2LocalizedValueOutput

type ProductTypeAttributeTypeElementType2LocalizedValueOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeElementType2LocalizedValueOutput) ElementType

func (ProductTypeAttributeTypeElementType2LocalizedValueOutput) Key

func (ProductTypeAttributeTypeElementType2LocalizedValueOutput) Label

func (ProductTypeAttributeTypeElementType2LocalizedValueOutput) ToProductTypeAttributeTypeElementType2LocalizedValueOutput

func (ProductTypeAttributeTypeElementType2LocalizedValueOutput) ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext

func (o ProductTypeAttributeTypeElementType2LocalizedValueOutput) ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueOutput

type ProductTypeAttributeTypeElementType2Output

type ProductTypeAttributeTypeElementType2Output struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeElementType2Output) ElementType

func (ProductTypeAttributeTypeElementType2Output) LocalizedValues

Localized values for the `lenum` type.

func (ProductTypeAttributeTypeElementType2Output) Name

Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it

func (ProductTypeAttributeTypeElementType2Output) ReferenceTypeId

Resource type the Custom Field can reference. Required when type is `reference`

func (ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2Output

func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2Output() ProductTypeAttributeTypeElementType2Output

func (ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2OutputWithContext

func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2OutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2Output

func (ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2PtrOutput

func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput

func (ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2PtrOutputWithContext

func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput

func (ProductTypeAttributeTypeElementType2Output) TypeReference

Reference to another product type. Required when type is `nested`.

func (ProductTypeAttributeTypeElementType2Output) Values

Values for the `enum` type.

type ProductTypeAttributeTypeElementType2PtrInput

type ProductTypeAttributeTypeElementType2PtrInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput
	ToProductTypeAttributeTypeElementType2PtrOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2PtrOutput
}

ProductTypeAttributeTypeElementType2PtrInput is an input type that accepts ProductTypeAttributeTypeElementType2Args, ProductTypeAttributeTypeElementType2Ptr and ProductTypeAttributeTypeElementType2PtrOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeElementType2PtrInput` via:

        ProductTypeAttributeTypeElementType2Args{...}

or:

        nil

type ProductTypeAttributeTypeElementType2PtrOutput

type ProductTypeAttributeTypeElementType2PtrOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeElementType2PtrOutput) Elem

func (ProductTypeAttributeTypeElementType2PtrOutput) ElementType

func (ProductTypeAttributeTypeElementType2PtrOutput) LocalizedValues

Localized values for the `lenum` type.

func (ProductTypeAttributeTypeElementType2PtrOutput) Name

Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it

func (ProductTypeAttributeTypeElementType2PtrOutput) ReferenceTypeId

Resource type the Custom Field can reference. Required when type is `reference`

func (ProductTypeAttributeTypeElementType2PtrOutput) ToProductTypeAttributeTypeElementType2PtrOutput

func (o ProductTypeAttributeTypeElementType2PtrOutput) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput

func (ProductTypeAttributeTypeElementType2PtrOutput) ToProductTypeAttributeTypeElementType2PtrOutputWithContext

func (o ProductTypeAttributeTypeElementType2PtrOutput) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput

func (ProductTypeAttributeTypeElementType2PtrOutput) TypeReference

Reference to another product type. Required when type is `nested`.

func (ProductTypeAttributeTypeElementType2PtrOutput) Values

Values for the `enum` type.

type ProductTypeAttributeTypeElementType2Value

type ProductTypeAttributeTypeElementType2Value struct {
	Key   string `pulumi:"key"`
	Label string `pulumi:"label"`
}

type ProductTypeAttributeTypeElementType2ValueArgs

type ProductTypeAttributeTypeElementType2ValueArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Label pulumi.StringInput `pulumi:"label"`
}

func (ProductTypeAttributeTypeElementType2ValueArgs) ElementType

func (ProductTypeAttributeTypeElementType2ValueArgs) ToProductTypeAttributeTypeElementType2ValueOutput

func (i ProductTypeAttributeTypeElementType2ValueArgs) ToProductTypeAttributeTypeElementType2ValueOutput() ProductTypeAttributeTypeElementType2ValueOutput

func (ProductTypeAttributeTypeElementType2ValueArgs) ToProductTypeAttributeTypeElementType2ValueOutputWithContext

func (i ProductTypeAttributeTypeElementType2ValueArgs) ToProductTypeAttributeTypeElementType2ValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2ValueOutput

type ProductTypeAttributeTypeElementType2ValueArray

type ProductTypeAttributeTypeElementType2ValueArray []ProductTypeAttributeTypeElementType2ValueInput

func (ProductTypeAttributeTypeElementType2ValueArray) ElementType

func (ProductTypeAttributeTypeElementType2ValueArray) ToProductTypeAttributeTypeElementType2ValueArrayOutput

func (i ProductTypeAttributeTypeElementType2ValueArray) ToProductTypeAttributeTypeElementType2ValueArrayOutput() ProductTypeAttributeTypeElementType2ValueArrayOutput

func (ProductTypeAttributeTypeElementType2ValueArray) ToProductTypeAttributeTypeElementType2ValueArrayOutputWithContext

func (i ProductTypeAttributeTypeElementType2ValueArray) ToProductTypeAttributeTypeElementType2ValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2ValueArrayOutput

type ProductTypeAttributeTypeElementType2ValueArrayInput

type ProductTypeAttributeTypeElementType2ValueArrayInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeElementType2ValueArrayOutput() ProductTypeAttributeTypeElementType2ValueArrayOutput
	ToProductTypeAttributeTypeElementType2ValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2ValueArrayOutput
}

ProductTypeAttributeTypeElementType2ValueArrayInput is an input type that accepts ProductTypeAttributeTypeElementType2ValueArray and ProductTypeAttributeTypeElementType2ValueArrayOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeElementType2ValueArrayInput` via:

ProductTypeAttributeTypeElementType2ValueArray{ ProductTypeAttributeTypeElementType2ValueArgs{...} }

type ProductTypeAttributeTypeElementType2ValueArrayOutput

type ProductTypeAttributeTypeElementType2ValueArrayOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeElementType2ValueArrayOutput) ElementType

func (ProductTypeAttributeTypeElementType2ValueArrayOutput) Index

func (ProductTypeAttributeTypeElementType2ValueArrayOutput) ToProductTypeAttributeTypeElementType2ValueArrayOutput

func (ProductTypeAttributeTypeElementType2ValueArrayOutput) ToProductTypeAttributeTypeElementType2ValueArrayOutputWithContext

func (o ProductTypeAttributeTypeElementType2ValueArrayOutput) ToProductTypeAttributeTypeElementType2ValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2ValueArrayOutput

type ProductTypeAttributeTypeElementType2ValueInput

type ProductTypeAttributeTypeElementType2ValueInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeElementType2ValueOutput() ProductTypeAttributeTypeElementType2ValueOutput
	ToProductTypeAttributeTypeElementType2ValueOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2ValueOutput
}

ProductTypeAttributeTypeElementType2ValueInput is an input type that accepts ProductTypeAttributeTypeElementType2ValueArgs and ProductTypeAttributeTypeElementType2ValueOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeElementType2ValueInput` via:

ProductTypeAttributeTypeElementType2ValueArgs{...}

type ProductTypeAttributeTypeElementType2ValueOutput

type ProductTypeAttributeTypeElementType2ValueOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeElementType2ValueOutput) ElementType

func (ProductTypeAttributeTypeElementType2ValueOutput) Key

func (ProductTypeAttributeTypeElementType2ValueOutput) Label

func (ProductTypeAttributeTypeElementType2ValueOutput) ToProductTypeAttributeTypeElementType2ValueOutput

func (o ProductTypeAttributeTypeElementType2ValueOutput) ToProductTypeAttributeTypeElementType2ValueOutput() ProductTypeAttributeTypeElementType2ValueOutput

func (ProductTypeAttributeTypeElementType2ValueOutput) ToProductTypeAttributeTypeElementType2ValueOutputWithContext

func (o ProductTypeAttributeTypeElementType2ValueOutput) ToProductTypeAttributeTypeElementType2ValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2ValueOutput

type ProductTypeAttributeTypeInput

type ProductTypeAttributeTypeInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeOutput() ProductTypeAttributeTypeOutput
	ToProductTypeAttributeTypeOutputWithContext(context.Context) ProductTypeAttributeTypeOutput
}

ProductTypeAttributeTypeInput is an input type that accepts ProductTypeAttributeTypeArgs and ProductTypeAttributeTypeOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeInput` via:

ProductTypeAttributeTypeArgs{...}

type ProductTypeAttributeTypeLocalizedValue

type ProductTypeAttributeTypeLocalizedValue struct {
	Key   string                 `pulumi:"key"`
	Label map[string]interface{} `pulumi:"label"`
}

type ProductTypeAttributeTypeLocalizedValueArgs

type ProductTypeAttributeTypeLocalizedValueArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Label pulumi.MapInput    `pulumi:"label"`
}

func (ProductTypeAttributeTypeLocalizedValueArgs) ElementType

func (ProductTypeAttributeTypeLocalizedValueArgs) ToProductTypeAttributeTypeLocalizedValueOutput

func (i ProductTypeAttributeTypeLocalizedValueArgs) ToProductTypeAttributeTypeLocalizedValueOutput() ProductTypeAttributeTypeLocalizedValueOutput

func (ProductTypeAttributeTypeLocalizedValueArgs) ToProductTypeAttributeTypeLocalizedValueOutputWithContext

func (i ProductTypeAttributeTypeLocalizedValueArgs) ToProductTypeAttributeTypeLocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueOutput

type ProductTypeAttributeTypeLocalizedValueArray

type ProductTypeAttributeTypeLocalizedValueArray []ProductTypeAttributeTypeLocalizedValueInput

func (ProductTypeAttributeTypeLocalizedValueArray) ElementType

func (ProductTypeAttributeTypeLocalizedValueArray) ToProductTypeAttributeTypeLocalizedValueArrayOutput

func (i ProductTypeAttributeTypeLocalizedValueArray) ToProductTypeAttributeTypeLocalizedValueArrayOutput() ProductTypeAttributeTypeLocalizedValueArrayOutput

func (ProductTypeAttributeTypeLocalizedValueArray) ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext

func (i ProductTypeAttributeTypeLocalizedValueArray) ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueArrayOutput

type ProductTypeAttributeTypeLocalizedValueArrayInput

type ProductTypeAttributeTypeLocalizedValueArrayInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeLocalizedValueArrayOutput() ProductTypeAttributeTypeLocalizedValueArrayOutput
	ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeLocalizedValueArrayOutput
}

ProductTypeAttributeTypeLocalizedValueArrayInput is an input type that accepts ProductTypeAttributeTypeLocalizedValueArray and ProductTypeAttributeTypeLocalizedValueArrayOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeLocalizedValueArrayInput` via:

ProductTypeAttributeTypeLocalizedValueArray{ ProductTypeAttributeTypeLocalizedValueArgs{...} }

type ProductTypeAttributeTypeLocalizedValueArrayOutput

type ProductTypeAttributeTypeLocalizedValueArrayOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeLocalizedValueArrayOutput) ElementType

func (ProductTypeAttributeTypeLocalizedValueArrayOutput) Index

func (ProductTypeAttributeTypeLocalizedValueArrayOutput) ToProductTypeAttributeTypeLocalizedValueArrayOutput

func (o ProductTypeAttributeTypeLocalizedValueArrayOutput) ToProductTypeAttributeTypeLocalizedValueArrayOutput() ProductTypeAttributeTypeLocalizedValueArrayOutput

func (ProductTypeAttributeTypeLocalizedValueArrayOutput) ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext

func (o ProductTypeAttributeTypeLocalizedValueArrayOutput) ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueArrayOutput

type ProductTypeAttributeTypeLocalizedValueInput

type ProductTypeAttributeTypeLocalizedValueInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeLocalizedValueOutput() ProductTypeAttributeTypeLocalizedValueOutput
	ToProductTypeAttributeTypeLocalizedValueOutputWithContext(context.Context) ProductTypeAttributeTypeLocalizedValueOutput
}

ProductTypeAttributeTypeLocalizedValueInput is an input type that accepts ProductTypeAttributeTypeLocalizedValueArgs and ProductTypeAttributeTypeLocalizedValueOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeLocalizedValueInput` via:

ProductTypeAttributeTypeLocalizedValueArgs{...}

type ProductTypeAttributeTypeLocalizedValueOutput

type ProductTypeAttributeTypeLocalizedValueOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeLocalizedValueOutput) ElementType

func (ProductTypeAttributeTypeLocalizedValueOutput) Key

func (ProductTypeAttributeTypeLocalizedValueOutput) Label

func (ProductTypeAttributeTypeLocalizedValueOutput) ToProductTypeAttributeTypeLocalizedValueOutput

func (o ProductTypeAttributeTypeLocalizedValueOutput) ToProductTypeAttributeTypeLocalizedValueOutput() ProductTypeAttributeTypeLocalizedValueOutput

func (ProductTypeAttributeTypeLocalizedValueOutput) ToProductTypeAttributeTypeLocalizedValueOutputWithContext

func (o ProductTypeAttributeTypeLocalizedValueOutput) ToProductTypeAttributeTypeLocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueOutput

type ProductTypeAttributeTypeOutput

type ProductTypeAttributeTypeOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeOutput) ElementType

func (ProductTypeAttributeTypeOutput) ElementType2

func (ProductTypeAttributeTypeOutput) LocalizedValues

Localized values for the `lenum` type.

func (ProductTypeAttributeTypeOutput) Name

Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it

func (ProductTypeAttributeTypeOutput) ReferenceTypeId

Resource type the Custom Field can reference. Required when type is `reference`

func (ProductTypeAttributeTypeOutput) ToProductTypeAttributeTypeOutput

func (o ProductTypeAttributeTypeOutput) ToProductTypeAttributeTypeOutput() ProductTypeAttributeTypeOutput

func (ProductTypeAttributeTypeOutput) ToProductTypeAttributeTypeOutputWithContext

func (o ProductTypeAttributeTypeOutput) ToProductTypeAttributeTypeOutputWithContext(ctx context.Context) ProductTypeAttributeTypeOutput

func (ProductTypeAttributeTypeOutput) TypeReference

Reference to another product type. Required when type is `nested`.

func (ProductTypeAttributeTypeOutput) Values

Values for the `enum` type.

type ProductTypeAttributeTypeValue

type ProductTypeAttributeTypeValue struct {
	Key   string `pulumi:"key"`
	Label string `pulumi:"label"`
}

type ProductTypeAttributeTypeValueArgs

type ProductTypeAttributeTypeValueArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Label pulumi.StringInput `pulumi:"label"`
}

func (ProductTypeAttributeTypeValueArgs) ElementType

func (ProductTypeAttributeTypeValueArgs) ToProductTypeAttributeTypeValueOutput

func (i ProductTypeAttributeTypeValueArgs) ToProductTypeAttributeTypeValueOutput() ProductTypeAttributeTypeValueOutput

func (ProductTypeAttributeTypeValueArgs) ToProductTypeAttributeTypeValueOutputWithContext

func (i ProductTypeAttributeTypeValueArgs) ToProductTypeAttributeTypeValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeValueOutput

type ProductTypeAttributeTypeValueArray

type ProductTypeAttributeTypeValueArray []ProductTypeAttributeTypeValueInput

func (ProductTypeAttributeTypeValueArray) ElementType

func (ProductTypeAttributeTypeValueArray) ToProductTypeAttributeTypeValueArrayOutput

func (i ProductTypeAttributeTypeValueArray) ToProductTypeAttributeTypeValueArrayOutput() ProductTypeAttributeTypeValueArrayOutput

func (ProductTypeAttributeTypeValueArray) ToProductTypeAttributeTypeValueArrayOutputWithContext

func (i ProductTypeAttributeTypeValueArray) ToProductTypeAttributeTypeValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeValueArrayOutput

type ProductTypeAttributeTypeValueArrayInput

type ProductTypeAttributeTypeValueArrayInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeValueArrayOutput() ProductTypeAttributeTypeValueArrayOutput
	ToProductTypeAttributeTypeValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeValueArrayOutput
}

ProductTypeAttributeTypeValueArrayInput is an input type that accepts ProductTypeAttributeTypeValueArray and ProductTypeAttributeTypeValueArrayOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeValueArrayInput` via:

ProductTypeAttributeTypeValueArray{ ProductTypeAttributeTypeValueArgs{...} }

type ProductTypeAttributeTypeValueArrayOutput

type ProductTypeAttributeTypeValueArrayOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeValueArrayOutput) ElementType

func (ProductTypeAttributeTypeValueArrayOutput) Index

func (ProductTypeAttributeTypeValueArrayOutput) ToProductTypeAttributeTypeValueArrayOutput

func (o ProductTypeAttributeTypeValueArrayOutput) ToProductTypeAttributeTypeValueArrayOutput() ProductTypeAttributeTypeValueArrayOutput

func (ProductTypeAttributeTypeValueArrayOutput) ToProductTypeAttributeTypeValueArrayOutputWithContext

func (o ProductTypeAttributeTypeValueArrayOutput) ToProductTypeAttributeTypeValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeValueArrayOutput

type ProductTypeAttributeTypeValueInput

type ProductTypeAttributeTypeValueInput interface {
	pulumi.Input

	ToProductTypeAttributeTypeValueOutput() ProductTypeAttributeTypeValueOutput
	ToProductTypeAttributeTypeValueOutputWithContext(context.Context) ProductTypeAttributeTypeValueOutput
}

ProductTypeAttributeTypeValueInput is an input type that accepts ProductTypeAttributeTypeValueArgs and ProductTypeAttributeTypeValueOutput values. You can construct a concrete instance of `ProductTypeAttributeTypeValueInput` via:

ProductTypeAttributeTypeValueArgs{...}

type ProductTypeAttributeTypeValueOutput

type ProductTypeAttributeTypeValueOutput struct{ *pulumi.OutputState }

func (ProductTypeAttributeTypeValueOutput) ElementType

func (ProductTypeAttributeTypeValueOutput) Key

func (ProductTypeAttributeTypeValueOutput) Label

func (ProductTypeAttributeTypeValueOutput) ToProductTypeAttributeTypeValueOutput

func (o ProductTypeAttributeTypeValueOutput) ToProductTypeAttributeTypeValueOutput() ProductTypeAttributeTypeValueOutput

func (ProductTypeAttributeTypeValueOutput) ToProductTypeAttributeTypeValueOutputWithContext

func (o ProductTypeAttributeTypeValueOutput) ToProductTypeAttributeTypeValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeValueOutput

type ProductTypeInput

type ProductTypeInput interface {
	pulumi.Input

	ToProductTypeOutput() ProductTypeOutput
	ToProductTypeOutputWithContext(ctx context.Context) ProductTypeOutput
}

type ProductTypeMap

type ProductTypeMap map[string]ProductTypeInput

func (ProductTypeMap) ElementType

func (ProductTypeMap) ElementType() reflect.Type

func (ProductTypeMap) ToProductTypeMapOutput

func (i ProductTypeMap) ToProductTypeMapOutput() ProductTypeMapOutput

func (ProductTypeMap) ToProductTypeMapOutputWithContext

func (i ProductTypeMap) ToProductTypeMapOutputWithContext(ctx context.Context) ProductTypeMapOutput

type ProductTypeMapInput

type ProductTypeMapInput interface {
	pulumi.Input

	ToProductTypeMapOutput() ProductTypeMapOutput
	ToProductTypeMapOutputWithContext(context.Context) ProductTypeMapOutput
}

ProductTypeMapInput is an input type that accepts ProductTypeMap and ProductTypeMapOutput values. You can construct a concrete instance of `ProductTypeMapInput` via:

ProductTypeMap{ "key": ProductTypeArgs{...} }

type ProductTypeMapOutput

type ProductTypeMapOutput struct{ *pulumi.OutputState }

func (ProductTypeMapOutput) ElementType

func (ProductTypeMapOutput) ElementType() reflect.Type

func (ProductTypeMapOutput) MapIndex

func (ProductTypeMapOutput) ToProductTypeMapOutput

func (o ProductTypeMapOutput) ToProductTypeMapOutput() ProductTypeMapOutput

func (ProductTypeMapOutput) ToProductTypeMapOutputWithContext

func (o ProductTypeMapOutput) ToProductTypeMapOutputWithContext(ctx context.Context) ProductTypeMapOutput

type ProductTypeOutput

type ProductTypeOutput struct{ *pulumi.OutputState }

func (ProductTypeOutput) Description

func (o ProductTypeOutput) Description() pulumi.StringPtrOutput

func (ProductTypeOutput) ElementType

func (ProductTypeOutput) ElementType() reflect.Type

func (ProductTypeOutput) Key

User-specific unique identifier for the product type (max. 256 characters)

func (ProductTypeOutput) Name

func (ProductTypeOutput) ToProductTypeOutput

func (o ProductTypeOutput) ToProductTypeOutput() ProductTypeOutput

func (ProductTypeOutput) ToProductTypeOutputWithContext

func (o ProductTypeOutput) ToProductTypeOutputWithContext(ctx context.Context) ProductTypeOutput

func (ProductTypeOutput) Version

func (o ProductTypeOutput) Version() pulumi.IntOutput

type ProductTypeState

type ProductTypeState struct {
	// [Product attribute definition](https://docs.commercetools.com/api/projects/productTypes#attributedefinition)
	Attributes  ProductTypeAttributeArrayInput
	Description pulumi.StringPtrInput
	// User-specific unique identifier for the product type (max. 256 characters)
	Key     pulumi.StringPtrInput
	Name    pulumi.StringPtrInput
	Version pulumi.IntPtrInput
}

func (ProductTypeState) ElementType

func (ProductTypeState) ElementType() reflect.Type

type ProjectSettings

type ProjectSettings struct {
	pulumi.CustomResourceState

	// [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration)
	Carts ProjectSettingsCartsPtrOutput `pulumi:"carts"`
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Countries pulumi.StringArrayOutput `pulumi:"countries"`
	// A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
	Currencies pulumi.StringArrayOutput `pulumi:"currencies"`
	// Enable the Search Indexing of orders
	EnableSearchIndexOrders pulumi.BoolOutput `pulumi:"enableSearchIndexOrders"`
	// Enable the Search Indexing of products
	EnableSearchIndexProducts pulumi.BoolOutput `pulumi:"enableSearchIndexProducts"`
	// [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth)
	ExternalOauth ProjectSettingsExternalOauthPtrOutput `pulumi:"externalOauth"`
	// The unique key of the project
	Key pulumi.StringOutput `pulumi:"key"`
	// [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag)
	Languages pulumi.StringArrayOutput `pulumi:"languages"`
	// The change notifications subscribed to
	Messages ProjectSettingsMessagesPtrOutput `pulumi:"messages"`
	// The name of the project
	Name pulumi.StringOutput `pulumi:"name"`
	// If shipping_rate_input_type is set to CartClassification these values are used to create tiers . Only a key defined
	// inside the values array can be used to create a tier, or to set a value for the shippingRateInput on the cart. The keys
	// are checked for uniqueness and the request is rejected if keys are not unique
	ShippingRateCartClassificationValues ProjectSettingsShippingRateCartClassificationValueArrayOutput `pulumi:"shippingRateCartClassificationValues"`
	// Three ways to dynamically select a ShippingRatePriceTier exist. The CartValue type uses the sum of all line item prices,
	// whereas CartClassification and CartScore use the shippingRateInput field on the cart to select a tier
	ShippingRateInputType pulumi.StringPtrOutput `pulumi:"shippingRateInputType"`
	Version               pulumi.IntOutput       `pulumi:"version"`
}

func GetProjectSettings

func GetProjectSettings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectSettingsState, opts ...pulumi.ResourceOption) (*ProjectSettings, error)

GetProjectSettings gets an existing ProjectSettings resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectSettings

func NewProjectSettings(ctx *pulumi.Context,
	name string, args *ProjectSettingsArgs, opts ...pulumi.ResourceOption) (*ProjectSettings, error)

NewProjectSettings registers a new resource with the given unique name, arguments, and options.

func (*ProjectSettings) ElementType

func (*ProjectSettings) ElementType() reflect.Type

func (*ProjectSettings) ToProjectSettingsOutput

func (i *ProjectSettings) ToProjectSettingsOutput() ProjectSettingsOutput

func (*ProjectSettings) ToProjectSettingsOutputWithContext

func (i *ProjectSettings) ToProjectSettingsOutputWithContext(ctx context.Context) ProjectSettingsOutput

type ProjectSettingsArgs

type ProjectSettingsArgs struct {
	// [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration)
	Carts ProjectSettingsCartsPtrInput
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Countries pulumi.StringArrayInput
	// A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
	Currencies pulumi.StringArrayInput
	// Enable the Search Indexing of orders
	EnableSearchIndexOrders pulumi.BoolPtrInput
	// Enable the Search Indexing of products
	EnableSearchIndexProducts pulumi.BoolPtrInput
	// [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth)
	ExternalOauth ProjectSettingsExternalOauthPtrInput
	// [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag)
	Languages pulumi.StringArrayInput
	// The change notifications subscribed to
	Messages ProjectSettingsMessagesPtrInput
	// The name of the project
	Name pulumi.StringPtrInput
	// If shipping_rate_input_type is set to CartClassification these values are used to create tiers . Only a key defined
	// inside the values array can be used to create a tier, or to set a value for the shippingRateInput on the cart. The keys
	// are checked for uniqueness and the request is rejected if keys are not unique
	ShippingRateCartClassificationValues ProjectSettingsShippingRateCartClassificationValueArrayInput
	// Three ways to dynamically select a ShippingRatePriceTier exist. The CartValue type uses the sum of all line item prices,
	// whereas CartClassification and CartScore use the shippingRateInput field on the cart to select a tier
	ShippingRateInputType pulumi.StringPtrInput
}

The set of arguments for constructing a ProjectSettings resource.

func (ProjectSettingsArgs) ElementType

func (ProjectSettingsArgs) ElementType() reflect.Type

type ProjectSettingsArray

type ProjectSettingsArray []ProjectSettingsInput

func (ProjectSettingsArray) ElementType

func (ProjectSettingsArray) ElementType() reflect.Type

func (ProjectSettingsArray) ToProjectSettingsArrayOutput

func (i ProjectSettingsArray) ToProjectSettingsArrayOutput() ProjectSettingsArrayOutput

func (ProjectSettingsArray) ToProjectSettingsArrayOutputWithContext

func (i ProjectSettingsArray) ToProjectSettingsArrayOutputWithContext(ctx context.Context) ProjectSettingsArrayOutput

type ProjectSettingsArrayInput

type ProjectSettingsArrayInput interface {
	pulumi.Input

	ToProjectSettingsArrayOutput() ProjectSettingsArrayOutput
	ToProjectSettingsArrayOutputWithContext(context.Context) ProjectSettingsArrayOutput
}

ProjectSettingsArrayInput is an input type that accepts ProjectSettingsArray and ProjectSettingsArrayOutput values. You can construct a concrete instance of `ProjectSettingsArrayInput` via:

ProjectSettingsArray{ ProjectSettingsArgs{...} }

type ProjectSettingsArrayOutput

type ProjectSettingsArrayOutput struct{ *pulumi.OutputState }

func (ProjectSettingsArrayOutput) ElementType

func (ProjectSettingsArrayOutput) ElementType() reflect.Type

func (ProjectSettingsArrayOutput) Index

func (ProjectSettingsArrayOutput) ToProjectSettingsArrayOutput

func (o ProjectSettingsArrayOutput) ToProjectSettingsArrayOutput() ProjectSettingsArrayOutput

func (ProjectSettingsArrayOutput) ToProjectSettingsArrayOutputWithContext

func (o ProjectSettingsArrayOutput) ToProjectSettingsArrayOutputWithContext(ctx context.Context) ProjectSettingsArrayOutput

type ProjectSettingsCarts

type ProjectSettingsCarts struct {
	// Indicates if country - no state tax rate fallback should be used when a shipping address state is not explicitly covered in the rates lists of all tax categories of a cart line items
	CountryTaxRateFallbackEnabled *bool `pulumi:"countryTaxRateFallbackEnabled"`
	// Number - Optional The default value for the deleteDaysAfterLastModification parameter of the CartDraft. Initially set to 90 for projects created after December 2019.
	DeleteDaysAfterLastModification *int `pulumi:"deleteDaysAfterLastModification"`
}

type ProjectSettingsCartsArgs

type ProjectSettingsCartsArgs struct {
	// Indicates if country - no state tax rate fallback should be used when a shipping address state is not explicitly covered in the rates lists of all tax categories of a cart line items
	CountryTaxRateFallbackEnabled pulumi.BoolPtrInput `pulumi:"countryTaxRateFallbackEnabled"`
	// Number - Optional The default value for the deleteDaysAfterLastModification parameter of the CartDraft. Initially set to 90 for projects created after December 2019.
	DeleteDaysAfterLastModification pulumi.IntPtrInput `pulumi:"deleteDaysAfterLastModification"`
}

func (ProjectSettingsCartsArgs) ElementType

func (ProjectSettingsCartsArgs) ElementType() reflect.Type

func (ProjectSettingsCartsArgs) ToProjectSettingsCartsOutput

func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsOutput() ProjectSettingsCartsOutput

func (ProjectSettingsCartsArgs) ToProjectSettingsCartsOutputWithContext

func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsOutputWithContext(ctx context.Context) ProjectSettingsCartsOutput

func (ProjectSettingsCartsArgs) ToProjectSettingsCartsPtrOutput

func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput

func (ProjectSettingsCartsArgs) ToProjectSettingsCartsPtrOutputWithContext

func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput

type ProjectSettingsCartsInput

type ProjectSettingsCartsInput interface {
	pulumi.Input

	ToProjectSettingsCartsOutput() ProjectSettingsCartsOutput
	ToProjectSettingsCartsOutputWithContext(context.Context) ProjectSettingsCartsOutput
}

ProjectSettingsCartsInput is an input type that accepts ProjectSettingsCartsArgs and ProjectSettingsCartsOutput values. You can construct a concrete instance of `ProjectSettingsCartsInput` via:

ProjectSettingsCartsArgs{...}

type ProjectSettingsCartsOutput

type ProjectSettingsCartsOutput struct{ *pulumi.OutputState }

func (ProjectSettingsCartsOutput) CountryTaxRateFallbackEnabled

func (o ProjectSettingsCartsOutput) CountryTaxRateFallbackEnabled() pulumi.BoolPtrOutput

Indicates if country - no state tax rate fallback should be used when a shipping address state is not explicitly covered in the rates lists of all tax categories of a cart line items

func (ProjectSettingsCartsOutput) DeleteDaysAfterLastModification

func (o ProjectSettingsCartsOutput) DeleteDaysAfterLastModification() pulumi.IntPtrOutput

Number - Optional The default value for the deleteDaysAfterLastModification parameter of the CartDraft. Initially set to 90 for projects created after December 2019.

func (ProjectSettingsCartsOutput) ElementType

func (ProjectSettingsCartsOutput) ElementType() reflect.Type

func (ProjectSettingsCartsOutput) ToProjectSettingsCartsOutput

func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsOutput() ProjectSettingsCartsOutput

func (ProjectSettingsCartsOutput) ToProjectSettingsCartsOutputWithContext

func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsOutputWithContext(ctx context.Context) ProjectSettingsCartsOutput

func (ProjectSettingsCartsOutput) ToProjectSettingsCartsPtrOutput

func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput

func (ProjectSettingsCartsOutput) ToProjectSettingsCartsPtrOutputWithContext

func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput

type ProjectSettingsCartsPtrInput

type ProjectSettingsCartsPtrInput interface {
	pulumi.Input

	ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput
	ToProjectSettingsCartsPtrOutputWithContext(context.Context) ProjectSettingsCartsPtrOutput
}

ProjectSettingsCartsPtrInput is an input type that accepts ProjectSettingsCartsArgs, ProjectSettingsCartsPtr and ProjectSettingsCartsPtrOutput values. You can construct a concrete instance of `ProjectSettingsCartsPtrInput` via:

        ProjectSettingsCartsArgs{...}

or:

        nil

type ProjectSettingsCartsPtrOutput

type ProjectSettingsCartsPtrOutput struct{ *pulumi.OutputState }

func (ProjectSettingsCartsPtrOutput) CountryTaxRateFallbackEnabled

func (o ProjectSettingsCartsPtrOutput) CountryTaxRateFallbackEnabled() pulumi.BoolPtrOutput

Indicates if country - no state tax rate fallback should be used when a shipping address state is not explicitly covered in the rates lists of all tax categories of a cart line items

func (ProjectSettingsCartsPtrOutput) DeleteDaysAfterLastModification

func (o ProjectSettingsCartsPtrOutput) DeleteDaysAfterLastModification() pulumi.IntPtrOutput

Number - Optional The default value for the deleteDaysAfterLastModification parameter of the CartDraft. Initially set to 90 for projects created after December 2019.

func (ProjectSettingsCartsPtrOutput) Elem

func (ProjectSettingsCartsPtrOutput) ElementType

func (ProjectSettingsCartsPtrOutput) ToProjectSettingsCartsPtrOutput

func (o ProjectSettingsCartsPtrOutput) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput

func (ProjectSettingsCartsPtrOutput) ToProjectSettingsCartsPtrOutputWithContext

func (o ProjectSettingsCartsPtrOutput) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput

type ProjectSettingsExternalOauth

type ProjectSettingsExternalOauth struct {
	// Partially hidden on retrieval
	AuthorizationHeader *string `pulumi:"authorizationHeader"`
	Url                 *string `pulumi:"url"`
}

type ProjectSettingsExternalOauthArgs

type ProjectSettingsExternalOauthArgs struct {
	// Partially hidden on retrieval
	AuthorizationHeader pulumi.StringPtrInput `pulumi:"authorizationHeader"`
	Url                 pulumi.StringPtrInput `pulumi:"url"`
}

func (ProjectSettingsExternalOauthArgs) ElementType

func (ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthOutput

func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthOutput() ProjectSettingsExternalOauthOutput

func (ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthOutputWithContext

func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthOutput

func (ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthPtrOutput

func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput

func (ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthPtrOutputWithContext

func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput

type ProjectSettingsExternalOauthInput

type ProjectSettingsExternalOauthInput interface {
	pulumi.Input

	ToProjectSettingsExternalOauthOutput() ProjectSettingsExternalOauthOutput
	ToProjectSettingsExternalOauthOutputWithContext(context.Context) ProjectSettingsExternalOauthOutput
}

ProjectSettingsExternalOauthInput is an input type that accepts ProjectSettingsExternalOauthArgs and ProjectSettingsExternalOauthOutput values. You can construct a concrete instance of `ProjectSettingsExternalOauthInput` via:

ProjectSettingsExternalOauthArgs{...}

type ProjectSettingsExternalOauthOutput

type ProjectSettingsExternalOauthOutput struct{ *pulumi.OutputState }

func (ProjectSettingsExternalOauthOutput) AuthorizationHeader

Partially hidden on retrieval

func (ProjectSettingsExternalOauthOutput) ElementType

func (ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthOutput

func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthOutput() ProjectSettingsExternalOauthOutput

func (ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthOutputWithContext

func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthOutput

func (ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthPtrOutput

func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput

func (ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthPtrOutputWithContext

func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput

func (ProjectSettingsExternalOauthOutput) Url

type ProjectSettingsExternalOauthPtrInput

type ProjectSettingsExternalOauthPtrInput interface {
	pulumi.Input

	ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput
	ToProjectSettingsExternalOauthPtrOutputWithContext(context.Context) ProjectSettingsExternalOauthPtrOutput
}

ProjectSettingsExternalOauthPtrInput is an input type that accepts ProjectSettingsExternalOauthArgs, ProjectSettingsExternalOauthPtr and ProjectSettingsExternalOauthPtrOutput values. You can construct a concrete instance of `ProjectSettingsExternalOauthPtrInput` via:

        ProjectSettingsExternalOauthArgs{...}

or:

        nil

type ProjectSettingsExternalOauthPtrOutput

type ProjectSettingsExternalOauthPtrOutput struct{ *pulumi.OutputState }

func (ProjectSettingsExternalOauthPtrOutput) AuthorizationHeader

Partially hidden on retrieval

func (ProjectSettingsExternalOauthPtrOutput) Elem

func (ProjectSettingsExternalOauthPtrOutput) ElementType

func (ProjectSettingsExternalOauthPtrOutput) ToProjectSettingsExternalOauthPtrOutput

func (o ProjectSettingsExternalOauthPtrOutput) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput

func (ProjectSettingsExternalOauthPtrOutput) ToProjectSettingsExternalOauthPtrOutputWithContext

func (o ProjectSettingsExternalOauthPtrOutput) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput

func (ProjectSettingsExternalOauthPtrOutput) Url

type ProjectSettingsInput

type ProjectSettingsInput interface {
	pulumi.Input

	ToProjectSettingsOutput() ProjectSettingsOutput
	ToProjectSettingsOutputWithContext(ctx context.Context) ProjectSettingsOutput
}

type ProjectSettingsMap

type ProjectSettingsMap map[string]ProjectSettingsInput

func (ProjectSettingsMap) ElementType

func (ProjectSettingsMap) ElementType() reflect.Type

func (ProjectSettingsMap) ToProjectSettingsMapOutput

func (i ProjectSettingsMap) ToProjectSettingsMapOutput() ProjectSettingsMapOutput

func (ProjectSettingsMap) ToProjectSettingsMapOutputWithContext

func (i ProjectSettingsMap) ToProjectSettingsMapOutputWithContext(ctx context.Context) ProjectSettingsMapOutput

type ProjectSettingsMapInput

type ProjectSettingsMapInput interface {
	pulumi.Input

	ToProjectSettingsMapOutput() ProjectSettingsMapOutput
	ToProjectSettingsMapOutputWithContext(context.Context) ProjectSettingsMapOutput
}

ProjectSettingsMapInput is an input type that accepts ProjectSettingsMap and ProjectSettingsMapOutput values. You can construct a concrete instance of `ProjectSettingsMapInput` via:

ProjectSettingsMap{ "key": ProjectSettingsArgs{...} }

type ProjectSettingsMapOutput

type ProjectSettingsMapOutput struct{ *pulumi.OutputState }

func (ProjectSettingsMapOutput) ElementType

func (ProjectSettingsMapOutput) ElementType() reflect.Type

func (ProjectSettingsMapOutput) MapIndex

func (ProjectSettingsMapOutput) ToProjectSettingsMapOutput

func (o ProjectSettingsMapOutput) ToProjectSettingsMapOutput() ProjectSettingsMapOutput

func (ProjectSettingsMapOutput) ToProjectSettingsMapOutputWithContext

func (o ProjectSettingsMapOutput) ToProjectSettingsMapOutputWithContext(ctx context.Context) ProjectSettingsMapOutput

type ProjectSettingsMessages

type ProjectSettingsMessages struct {
	// Specifies the number of days each Message should be available via the Messages Query API
	DeleteDaysAfterCreation *int `pulumi:"deleteDaysAfterCreation"`
	// When true the creation of messages on the Messages Query HTTP API is enabled
	Enabled *bool `pulumi:"enabled"`
}

type ProjectSettingsMessagesArgs

type ProjectSettingsMessagesArgs struct {
	// Specifies the number of days each Message should be available via the Messages Query API
	DeleteDaysAfterCreation pulumi.IntPtrInput `pulumi:"deleteDaysAfterCreation"`
	// When true the creation of messages on the Messages Query HTTP API is enabled
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (ProjectSettingsMessagesArgs) ElementType

func (ProjectSettingsMessagesArgs) ToProjectSettingsMessagesOutput

func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesOutput() ProjectSettingsMessagesOutput

func (ProjectSettingsMessagesArgs) ToProjectSettingsMessagesOutputWithContext

func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesOutputWithContext(ctx context.Context) ProjectSettingsMessagesOutput

func (ProjectSettingsMessagesArgs) ToProjectSettingsMessagesPtrOutput

func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput

func (ProjectSettingsMessagesArgs) ToProjectSettingsMessagesPtrOutputWithContext

func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput

type ProjectSettingsMessagesInput

type ProjectSettingsMessagesInput interface {
	pulumi.Input

	ToProjectSettingsMessagesOutput() ProjectSettingsMessagesOutput
	ToProjectSettingsMessagesOutputWithContext(context.Context) ProjectSettingsMessagesOutput
}

ProjectSettingsMessagesInput is an input type that accepts ProjectSettingsMessagesArgs and ProjectSettingsMessagesOutput values. You can construct a concrete instance of `ProjectSettingsMessagesInput` via:

ProjectSettingsMessagesArgs{...}

type ProjectSettingsMessagesOutput

type ProjectSettingsMessagesOutput struct{ *pulumi.OutputState }

func (ProjectSettingsMessagesOutput) DeleteDaysAfterCreation

func (o ProjectSettingsMessagesOutput) DeleteDaysAfterCreation() pulumi.IntPtrOutput

Specifies the number of days each Message should be available via the Messages Query API

func (ProjectSettingsMessagesOutput) ElementType

func (ProjectSettingsMessagesOutput) Enabled

When true the creation of messages on the Messages Query HTTP API is enabled

func (ProjectSettingsMessagesOutput) ToProjectSettingsMessagesOutput

func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesOutput() ProjectSettingsMessagesOutput

func (ProjectSettingsMessagesOutput) ToProjectSettingsMessagesOutputWithContext

func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesOutputWithContext(ctx context.Context) ProjectSettingsMessagesOutput

func (ProjectSettingsMessagesOutput) ToProjectSettingsMessagesPtrOutput

func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput

func (ProjectSettingsMessagesOutput) ToProjectSettingsMessagesPtrOutputWithContext

func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput

type ProjectSettingsMessagesPtrInput

type ProjectSettingsMessagesPtrInput interface {
	pulumi.Input

	ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput
	ToProjectSettingsMessagesPtrOutputWithContext(context.Context) ProjectSettingsMessagesPtrOutput
}

ProjectSettingsMessagesPtrInput is an input type that accepts ProjectSettingsMessagesArgs, ProjectSettingsMessagesPtr and ProjectSettingsMessagesPtrOutput values. You can construct a concrete instance of `ProjectSettingsMessagesPtrInput` via:

        ProjectSettingsMessagesArgs{...}

or:

        nil

type ProjectSettingsMessagesPtrOutput

type ProjectSettingsMessagesPtrOutput struct{ *pulumi.OutputState }

func (ProjectSettingsMessagesPtrOutput) DeleteDaysAfterCreation

func (o ProjectSettingsMessagesPtrOutput) DeleteDaysAfterCreation() pulumi.IntPtrOutput

Specifies the number of days each Message should be available via the Messages Query API

func (ProjectSettingsMessagesPtrOutput) Elem

func (ProjectSettingsMessagesPtrOutput) ElementType

func (ProjectSettingsMessagesPtrOutput) Enabled

When true the creation of messages on the Messages Query HTTP API is enabled

func (ProjectSettingsMessagesPtrOutput) ToProjectSettingsMessagesPtrOutput

func (o ProjectSettingsMessagesPtrOutput) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput

func (ProjectSettingsMessagesPtrOutput) ToProjectSettingsMessagesPtrOutputWithContext

func (o ProjectSettingsMessagesPtrOutput) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput

type ProjectSettingsOutput

type ProjectSettingsOutput struct{ *pulumi.OutputState }

func (ProjectSettingsOutput) Countries

A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)

func (ProjectSettingsOutput) Currencies

A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)

func (ProjectSettingsOutput) ElementType

func (ProjectSettingsOutput) ElementType() reflect.Type

func (ProjectSettingsOutput) EnableSearchIndexOrders

func (o ProjectSettingsOutput) EnableSearchIndexOrders() pulumi.BoolOutput

Enable the Search Indexing of orders

func (ProjectSettingsOutput) EnableSearchIndexProducts

func (o ProjectSettingsOutput) EnableSearchIndexProducts() pulumi.BoolOutput

Enable the Search Indexing of products

func (ProjectSettingsOutput) Key

The unique key of the project

func (ProjectSettingsOutput) Languages

[IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag)

func (ProjectSettingsOutput) Messages

The change notifications subscribed to

func (ProjectSettingsOutput) Name

The name of the project

func (ProjectSettingsOutput) ShippingRateCartClassificationValues

If shipping_rate_input_type is set to CartClassification these values are used to create tiers . Only a key defined inside the values array can be used to create a tier, or to set a value for the shippingRateInput on the cart. The keys are checked for uniqueness and the request is rejected if keys are not unique

func (ProjectSettingsOutput) ShippingRateInputType

func (o ProjectSettingsOutput) ShippingRateInputType() pulumi.StringPtrOutput

Three ways to dynamically select a ShippingRatePriceTier exist. The CartValue type uses the sum of all line item prices, whereas CartClassification and CartScore use the shippingRateInput field on the cart to select a tier

func (ProjectSettingsOutput) ToProjectSettingsOutput

func (o ProjectSettingsOutput) ToProjectSettingsOutput() ProjectSettingsOutput

func (ProjectSettingsOutput) ToProjectSettingsOutputWithContext

func (o ProjectSettingsOutput) ToProjectSettingsOutputWithContext(ctx context.Context) ProjectSettingsOutput

func (ProjectSettingsOutput) Version

type ProjectSettingsShippingRateCartClassificationValue

type ProjectSettingsShippingRateCartClassificationValue struct {
	// [Resource Type ID](https://docs.commercetools.com/api/projects/Projects#changeProject)
	Key   string            `pulumi:"key"`
	Label map[string]string `pulumi:"label"`
}

type ProjectSettingsShippingRateCartClassificationValueArgs

type ProjectSettingsShippingRateCartClassificationValueArgs struct {
	// [Resource Type ID](https://docs.commercetools.com/api/projects/Projects#changeProject)
	Key   pulumi.StringInput    `pulumi:"key"`
	Label pulumi.StringMapInput `pulumi:"label"`
}

func (ProjectSettingsShippingRateCartClassificationValueArgs) ElementType

func (ProjectSettingsShippingRateCartClassificationValueArgs) ToProjectSettingsShippingRateCartClassificationValueOutput

func (ProjectSettingsShippingRateCartClassificationValueArgs) ToProjectSettingsShippingRateCartClassificationValueOutputWithContext

func (i ProjectSettingsShippingRateCartClassificationValueArgs) ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueOutput

type ProjectSettingsShippingRateCartClassificationValueArray

type ProjectSettingsShippingRateCartClassificationValueArray []ProjectSettingsShippingRateCartClassificationValueInput

func (ProjectSettingsShippingRateCartClassificationValueArray) ElementType

func (ProjectSettingsShippingRateCartClassificationValueArray) ToProjectSettingsShippingRateCartClassificationValueArrayOutput

func (i ProjectSettingsShippingRateCartClassificationValueArray) ToProjectSettingsShippingRateCartClassificationValueArrayOutput() ProjectSettingsShippingRateCartClassificationValueArrayOutput

func (ProjectSettingsShippingRateCartClassificationValueArray) ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext

func (i ProjectSettingsShippingRateCartClassificationValueArray) ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueArrayOutput

type ProjectSettingsShippingRateCartClassificationValueArrayInput

type ProjectSettingsShippingRateCartClassificationValueArrayInput interface {
	pulumi.Input

	ToProjectSettingsShippingRateCartClassificationValueArrayOutput() ProjectSettingsShippingRateCartClassificationValueArrayOutput
	ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(context.Context) ProjectSettingsShippingRateCartClassificationValueArrayOutput
}

ProjectSettingsShippingRateCartClassificationValueArrayInput is an input type that accepts ProjectSettingsShippingRateCartClassificationValueArray and ProjectSettingsShippingRateCartClassificationValueArrayOutput values. You can construct a concrete instance of `ProjectSettingsShippingRateCartClassificationValueArrayInput` via:

ProjectSettingsShippingRateCartClassificationValueArray{ ProjectSettingsShippingRateCartClassificationValueArgs{...} }

type ProjectSettingsShippingRateCartClassificationValueArrayOutput

type ProjectSettingsShippingRateCartClassificationValueArrayOutput struct{ *pulumi.OutputState }

func (ProjectSettingsShippingRateCartClassificationValueArrayOutput) ElementType

func (ProjectSettingsShippingRateCartClassificationValueArrayOutput) Index

func (ProjectSettingsShippingRateCartClassificationValueArrayOutput) ToProjectSettingsShippingRateCartClassificationValueArrayOutput

func (ProjectSettingsShippingRateCartClassificationValueArrayOutput) ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext

func (o ProjectSettingsShippingRateCartClassificationValueArrayOutput) ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueArrayOutput

type ProjectSettingsShippingRateCartClassificationValueInput

type ProjectSettingsShippingRateCartClassificationValueInput interface {
	pulumi.Input

	ToProjectSettingsShippingRateCartClassificationValueOutput() ProjectSettingsShippingRateCartClassificationValueOutput
	ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(context.Context) ProjectSettingsShippingRateCartClassificationValueOutput
}

ProjectSettingsShippingRateCartClassificationValueInput is an input type that accepts ProjectSettingsShippingRateCartClassificationValueArgs and ProjectSettingsShippingRateCartClassificationValueOutput values. You can construct a concrete instance of `ProjectSettingsShippingRateCartClassificationValueInput` via:

ProjectSettingsShippingRateCartClassificationValueArgs{...}

type ProjectSettingsShippingRateCartClassificationValueOutput

type ProjectSettingsShippingRateCartClassificationValueOutput struct{ *pulumi.OutputState }

func (ProjectSettingsShippingRateCartClassificationValueOutput) ElementType

func (ProjectSettingsShippingRateCartClassificationValueOutput) Key

[Resource Type ID](https://docs.commercetools.com/api/projects/Projects#changeProject)

func (ProjectSettingsShippingRateCartClassificationValueOutput) Label

func (ProjectSettingsShippingRateCartClassificationValueOutput) ToProjectSettingsShippingRateCartClassificationValueOutput

func (ProjectSettingsShippingRateCartClassificationValueOutput) ToProjectSettingsShippingRateCartClassificationValueOutputWithContext

func (o ProjectSettingsShippingRateCartClassificationValueOutput) ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueOutput

type ProjectSettingsState

type ProjectSettingsState struct {
	// [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration)
	Carts ProjectSettingsCartsPtrInput
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Countries pulumi.StringArrayInput
	// A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
	Currencies pulumi.StringArrayInput
	// Enable the Search Indexing of orders
	EnableSearchIndexOrders pulumi.BoolPtrInput
	// Enable the Search Indexing of products
	EnableSearchIndexProducts pulumi.BoolPtrInput
	// [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth)
	ExternalOauth ProjectSettingsExternalOauthPtrInput
	// The unique key of the project
	Key pulumi.StringPtrInput
	// [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag)
	Languages pulumi.StringArrayInput
	// The change notifications subscribed to
	Messages ProjectSettingsMessagesPtrInput
	// The name of the project
	Name pulumi.StringPtrInput
	// If shipping_rate_input_type is set to CartClassification these values are used to create tiers . Only a key defined
	// inside the values array can be used to create a tier, or to set a value for the shippingRateInput on the cart. The keys
	// are checked for uniqueness and the request is rejected if keys are not unique
	ShippingRateCartClassificationValues ProjectSettingsShippingRateCartClassificationValueArrayInput
	// Three ways to dynamically select a ShippingRatePriceTier exist. The CartValue type uses the sum of all line item prices,
	// whereas CartClassification and CartScore use the shippingRateInput field on the cart to select a tier
	ShippingRateInputType pulumi.StringPtrInput
	Version               pulumi.IntPtrInput
}

func (ProjectSettingsState) ElementType

func (ProjectSettingsState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The API URL of the commercetools platform. https://docs.commercetools.com/http-api
	ApiUrl pulumi.StringPtrOutput `pulumi:"apiUrl"`
	// The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization
	ClientId pulumi.StringPtrOutput `pulumi:"clientId"`
	// The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization
	ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"`
	// The project key of commercetools platform project. https://docs.commercetools.com/getting-started
	ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"`
	// A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project.
	// https://docs.commercetools.com/http-api-authorization
	Scopes pulumi.StringPtrOutput `pulumi:"scopes"`
	// The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization
	TokenUrl pulumi.StringPtrOutput `pulumi:"tokenUrl"`
}

The provider type for the commercetools package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The API URL of the commercetools platform. https://docs.commercetools.com/http-api
	ApiUrl pulumi.StringPtrInput
	// The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization
	ClientId pulumi.StringPtrInput
	// The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization
	ClientSecret pulumi.StringPtrInput
	// The project key of commercetools platform project. https://docs.commercetools.com/getting-started
	ProjectKey pulumi.StringPtrInput
	// A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project.
	// https://docs.commercetools.com/http-api-authorization
	Scopes pulumi.StringPtrInput
	// The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization
	TokenUrl pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ApiUrl

The API URL of the commercetools platform. https://docs.commercetools.com/http-api

func (ProviderOutput) ClientId

func (o ProviderOutput) ClientId() pulumi.StringPtrOutput

The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization

func (ProviderOutput) ClientSecret

func (o ProviderOutput) ClientSecret() pulumi.StringPtrOutput

The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ProjectKey

func (o ProviderOutput) ProjectKey() pulumi.StringPtrOutput

The project key of commercetools platform project. https://docs.commercetools.com/getting-started

func (ProviderOutput) Scopes

A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. https://docs.commercetools.com/http-api-authorization

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) TokenUrl

func (o ProviderOutput) TokenUrl() pulumi.StringPtrOutput

The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization

type ShippingMethod

type ShippingMethod struct {
	pulumi.CustomResourceState

	Custom      ShippingMethodCustomPtrOutput `pulumi:"custom"`
	Description pulumi.StringPtrOutput        `pulumi:"description"`
	// One shipping method in a project can be default
	IsDefault pulumi.BoolPtrOutput `pulumi:"isDefault"`
	// User-specific unique identifier for the shipping method
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	LocalizedDescription pulumi.MapOutput `pulumi:"localizedDescription"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	LocalizedName pulumi.MapOutput    `pulumi:"localizedName"`
	Name          pulumi.StringOutput `pulumi:"name"`
	// A Cart predicate which can be used to more precisely select a shipping method for a cart
	Predicate pulumi.StringPtrOutput `pulumi:"predicate"`
	// ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory)
	TaxCategoryId pulumi.StringOutput `pulumi:"taxCategoryId"`
	Version       pulumi.IntOutput    `pulumi:"version"`
}

func GetShippingMethod

func GetShippingMethod(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShippingMethodState, opts ...pulumi.ResourceOption) (*ShippingMethod, error)

GetShippingMethod gets an existing ShippingMethod resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewShippingMethod

func NewShippingMethod(ctx *pulumi.Context,
	name string, args *ShippingMethodArgs, opts ...pulumi.ResourceOption) (*ShippingMethod, error)

NewShippingMethod registers a new resource with the given unique name, arguments, and options.

func (*ShippingMethod) ElementType

func (*ShippingMethod) ElementType() reflect.Type

func (*ShippingMethod) ToShippingMethodOutput

func (i *ShippingMethod) ToShippingMethodOutput() ShippingMethodOutput

func (*ShippingMethod) ToShippingMethodOutputWithContext

func (i *ShippingMethod) ToShippingMethodOutputWithContext(ctx context.Context) ShippingMethodOutput

type ShippingMethodArgs

type ShippingMethodArgs struct {
	Custom      ShippingMethodCustomPtrInput
	Description pulumi.StringPtrInput
	// One shipping method in a project can be default
	IsDefault pulumi.BoolPtrInput
	// User-specific unique identifier for the shipping method
	Key pulumi.StringPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	LocalizedDescription pulumi.MapInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	LocalizedName pulumi.MapInput
	Name          pulumi.StringPtrInput
	// A Cart predicate which can be used to more precisely select a shipping method for a cart
	Predicate pulumi.StringPtrInput
	// ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory)
	TaxCategoryId pulumi.StringInput
}

The set of arguments for constructing a ShippingMethod resource.

func (ShippingMethodArgs) ElementType

func (ShippingMethodArgs) ElementType() reflect.Type

type ShippingMethodArray

type ShippingMethodArray []ShippingMethodInput

func (ShippingMethodArray) ElementType

func (ShippingMethodArray) ElementType() reflect.Type

func (ShippingMethodArray) ToShippingMethodArrayOutput

func (i ShippingMethodArray) ToShippingMethodArrayOutput() ShippingMethodArrayOutput

func (ShippingMethodArray) ToShippingMethodArrayOutputWithContext

func (i ShippingMethodArray) ToShippingMethodArrayOutputWithContext(ctx context.Context) ShippingMethodArrayOutput

type ShippingMethodArrayInput

type ShippingMethodArrayInput interface {
	pulumi.Input

	ToShippingMethodArrayOutput() ShippingMethodArrayOutput
	ToShippingMethodArrayOutputWithContext(context.Context) ShippingMethodArrayOutput
}

ShippingMethodArrayInput is an input type that accepts ShippingMethodArray and ShippingMethodArrayOutput values. You can construct a concrete instance of `ShippingMethodArrayInput` via:

ShippingMethodArray{ ShippingMethodArgs{...} }

type ShippingMethodArrayOutput

type ShippingMethodArrayOutput struct{ *pulumi.OutputState }

func (ShippingMethodArrayOutput) ElementType

func (ShippingMethodArrayOutput) ElementType() reflect.Type

func (ShippingMethodArrayOutput) Index

func (ShippingMethodArrayOutput) ToShippingMethodArrayOutput

func (o ShippingMethodArrayOutput) ToShippingMethodArrayOutput() ShippingMethodArrayOutput

func (ShippingMethodArrayOutput) ToShippingMethodArrayOutputWithContext

func (o ShippingMethodArrayOutput) ToShippingMethodArrayOutputWithContext(ctx context.Context) ShippingMethodArrayOutput

type ShippingMethodCustom

type ShippingMethodCustom struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields map[string]interface{} `pulumi:"fields"`
	TypeId string                 `pulumi:"typeId"`
}

type ShippingMethodCustomArgs

type ShippingMethodCustomArgs struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields pulumi.MapInput    `pulumi:"fields"`
	TypeId pulumi.StringInput `pulumi:"typeId"`
}

func (ShippingMethodCustomArgs) ElementType

func (ShippingMethodCustomArgs) ElementType() reflect.Type

func (ShippingMethodCustomArgs) ToShippingMethodCustomOutput

func (i ShippingMethodCustomArgs) ToShippingMethodCustomOutput() ShippingMethodCustomOutput

func (ShippingMethodCustomArgs) ToShippingMethodCustomOutputWithContext

func (i ShippingMethodCustomArgs) ToShippingMethodCustomOutputWithContext(ctx context.Context) ShippingMethodCustomOutput

func (ShippingMethodCustomArgs) ToShippingMethodCustomPtrOutput

func (i ShippingMethodCustomArgs) ToShippingMethodCustomPtrOutput() ShippingMethodCustomPtrOutput

func (ShippingMethodCustomArgs) ToShippingMethodCustomPtrOutputWithContext

func (i ShippingMethodCustomArgs) ToShippingMethodCustomPtrOutputWithContext(ctx context.Context) ShippingMethodCustomPtrOutput

type ShippingMethodCustomInput

type ShippingMethodCustomInput interface {
	pulumi.Input

	ToShippingMethodCustomOutput() ShippingMethodCustomOutput
	ToShippingMethodCustomOutputWithContext(context.Context) ShippingMethodCustomOutput
}

ShippingMethodCustomInput is an input type that accepts ShippingMethodCustomArgs and ShippingMethodCustomOutput values. You can construct a concrete instance of `ShippingMethodCustomInput` via:

ShippingMethodCustomArgs{...}

type ShippingMethodCustomOutput

type ShippingMethodCustomOutput struct{ *pulumi.OutputState }

func (ShippingMethodCustomOutput) ElementType

func (ShippingMethodCustomOutput) ElementType() reflect.Type

func (ShippingMethodCustomOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (ShippingMethodCustomOutput) ToShippingMethodCustomOutput

func (o ShippingMethodCustomOutput) ToShippingMethodCustomOutput() ShippingMethodCustomOutput

func (ShippingMethodCustomOutput) ToShippingMethodCustomOutputWithContext

func (o ShippingMethodCustomOutput) ToShippingMethodCustomOutputWithContext(ctx context.Context) ShippingMethodCustomOutput

func (ShippingMethodCustomOutput) ToShippingMethodCustomPtrOutput

func (o ShippingMethodCustomOutput) ToShippingMethodCustomPtrOutput() ShippingMethodCustomPtrOutput

func (ShippingMethodCustomOutput) ToShippingMethodCustomPtrOutputWithContext

func (o ShippingMethodCustomOutput) ToShippingMethodCustomPtrOutputWithContext(ctx context.Context) ShippingMethodCustomPtrOutput

func (ShippingMethodCustomOutput) TypeId

type ShippingMethodCustomPtrInput

type ShippingMethodCustomPtrInput interface {
	pulumi.Input

	ToShippingMethodCustomPtrOutput() ShippingMethodCustomPtrOutput
	ToShippingMethodCustomPtrOutputWithContext(context.Context) ShippingMethodCustomPtrOutput
}

ShippingMethodCustomPtrInput is an input type that accepts ShippingMethodCustomArgs, ShippingMethodCustomPtr and ShippingMethodCustomPtrOutput values. You can construct a concrete instance of `ShippingMethodCustomPtrInput` via:

        ShippingMethodCustomArgs{...}

or:

        nil

type ShippingMethodCustomPtrOutput

type ShippingMethodCustomPtrOutput struct{ *pulumi.OutputState }

func (ShippingMethodCustomPtrOutput) Elem

func (ShippingMethodCustomPtrOutput) ElementType

func (ShippingMethodCustomPtrOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (ShippingMethodCustomPtrOutput) ToShippingMethodCustomPtrOutput

func (o ShippingMethodCustomPtrOutput) ToShippingMethodCustomPtrOutput() ShippingMethodCustomPtrOutput

func (ShippingMethodCustomPtrOutput) ToShippingMethodCustomPtrOutputWithContext

func (o ShippingMethodCustomPtrOutput) ToShippingMethodCustomPtrOutputWithContext(ctx context.Context) ShippingMethodCustomPtrOutput

func (ShippingMethodCustomPtrOutput) TypeId

type ShippingMethodInput

type ShippingMethodInput interface {
	pulumi.Input

	ToShippingMethodOutput() ShippingMethodOutput
	ToShippingMethodOutputWithContext(ctx context.Context) ShippingMethodOutput
}

type ShippingMethodMap

type ShippingMethodMap map[string]ShippingMethodInput

func (ShippingMethodMap) ElementType

func (ShippingMethodMap) ElementType() reflect.Type

func (ShippingMethodMap) ToShippingMethodMapOutput

func (i ShippingMethodMap) ToShippingMethodMapOutput() ShippingMethodMapOutput

func (ShippingMethodMap) ToShippingMethodMapOutputWithContext

func (i ShippingMethodMap) ToShippingMethodMapOutputWithContext(ctx context.Context) ShippingMethodMapOutput

type ShippingMethodMapInput

type ShippingMethodMapInput interface {
	pulumi.Input

	ToShippingMethodMapOutput() ShippingMethodMapOutput
	ToShippingMethodMapOutputWithContext(context.Context) ShippingMethodMapOutput
}

ShippingMethodMapInput is an input type that accepts ShippingMethodMap and ShippingMethodMapOutput values. You can construct a concrete instance of `ShippingMethodMapInput` via:

ShippingMethodMap{ "key": ShippingMethodArgs{...} }

type ShippingMethodMapOutput

type ShippingMethodMapOutput struct{ *pulumi.OutputState }

func (ShippingMethodMapOutput) ElementType

func (ShippingMethodMapOutput) ElementType() reflect.Type

func (ShippingMethodMapOutput) MapIndex

func (ShippingMethodMapOutput) ToShippingMethodMapOutput

func (o ShippingMethodMapOutput) ToShippingMethodMapOutput() ShippingMethodMapOutput

func (ShippingMethodMapOutput) ToShippingMethodMapOutputWithContext

func (o ShippingMethodMapOutput) ToShippingMethodMapOutputWithContext(ctx context.Context) ShippingMethodMapOutput

type ShippingMethodOutput

type ShippingMethodOutput struct{ *pulumi.OutputState }

func (ShippingMethodOutput) Custom

func (ShippingMethodOutput) Description

func (ShippingMethodOutput) ElementType

func (ShippingMethodOutput) ElementType() reflect.Type

func (ShippingMethodOutput) IsDefault

One shipping method in a project can be default

func (ShippingMethodOutput) Key

User-specific unique identifier for the shipping method

func (ShippingMethodOutput) LocalizedDescription

func (o ShippingMethodOutput) LocalizedDescription() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (ShippingMethodOutput) LocalizedName

func (o ShippingMethodOutput) LocalizedName() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (ShippingMethodOutput) Name

func (ShippingMethodOutput) Predicate

A Cart predicate which can be used to more precisely select a shipping method for a cart

func (ShippingMethodOutput) TaxCategoryId

func (o ShippingMethodOutput) TaxCategoryId() pulumi.StringOutput

ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory)

func (ShippingMethodOutput) ToShippingMethodOutput

func (o ShippingMethodOutput) ToShippingMethodOutput() ShippingMethodOutput

func (ShippingMethodOutput) ToShippingMethodOutputWithContext

func (o ShippingMethodOutput) ToShippingMethodOutputWithContext(ctx context.Context) ShippingMethodOutput

func (ShippingMethodOutput) Version

type ShippingMethodState

type ShippingMethodState struct {
	Custom      ShippingMethodCustomPtrInput
	Description pulumi.StringPtrInput
	// One shipping method in a project can be default
	IsDefault pulumi.BoolPtrInput
	// User-specific unique identifier for the shipping method
	Key pulumi.StringPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	LocalizedDescription pulumi.MapInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	LocalizedName pulumi.MapInput
	Name          pulumi.StringPtrInput
	// A Cart predicate which can be used to more precisely select a shipping method for a cart
	Predicate pulumi.StringPtrInput
	// ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory)
	TaxCategoryId pulumi.StringPtrInput
	Version       pulumi.IntPtrInput
}

func (ShippingMethodState) ElementType

func (ShippingMethodState) ElementType() reflect.Type

type ShippingZone

type ShippingZone struct {
	pulumi.CustomResourceState

	Description pulumi.StringPtrOutput `pulumi:"description"`
	// User-specific unique identifier for a zone. Must be unique across a project
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// [Location](https://docs.commercetoolstools.pi/projects/zones#location)
	Locations ShippingZoneLocationArrayOutput `pulumi:"locations"`
	Name      pulumi.StringOutput             `pulumi:"name"`
	Version   pulumi.IntOutput                `pulumi:"version"`
}

func GetShippingZone

func GetShippingZone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShippingZoneState, opts ...pulumi.ResourceOption) (*ShippingZone, error)

GetShippingZone gets an existing ShippingZone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewShippingZone

func NewShippingZone(ctx *pulumi.Context,
	name string, args *ShippingZoneArgs, opts ...pulumi.ResourceOption) (*ShippingZone, error)

NewShippingZone registers a new resource with the given unique name, arguments, and options.

func (*ShippingZone) ElementType

func (*ShippingZone) ElementType() reflect.Type

func (*ShippingZone) ToShippingZoneOutput

func (i *ShippingZone) ToShippingZoneOutput() ShippingZoneOutput

func (*ShippingZone) ToShippingZoneOutputWithContext

func (i *ShippingZone) ToShippingZoneOutputWithContext(ctx context.Context) ShippingZoneOutput

type ShippingZoneArgs

type ShippingZoneArgs struct {
	Description pulumi.StringPtrInput
	// User-specific unique identifier for a zone. Must be unique across a project
	Key pulumi.StringPtrInput
	// [Location](https://docs.commercetoolstools.pi/projects/zones#location)
	Locations ShippingZoneLocationArrayInput
	Name      pulumi.StringPtrInput
}

The set of arguments for constructing a ShippingZone resource.

func (ShippingZoneArgs) ElementType

func (ShippingZoneArgs) ElementType() reflect.Type

type ShippingZoneArray

type ShippingZoneArray []ShippingZoneInput

func (ShippingZoneArray) ElementType

func (ShippingZoneArray) ElementType() reflect.Type

func (ShippingZoneArray) ToShippingZoneArrayOutput

func (i ShippingZoneArray) ToShippingZoneArrayOutput() ShippingZoneArrayOutput

func (ShippingZoneArray) ToShippingZoneArrayOutputWithContext

func (i ShippingZoneArray) ToShippingZoneArrayOutputWithContext(ctx context.Context) ShippingZoneArrayOutput

type ShippingZoneArrayInput

type ShippingZoneArrayInput interface {
	pulumi.Input

	ToShippingZoneArrayOutput() ShippingZoneArrayOutput
	ToShippingZoneArrayOutputWithContext(context.Context) ShippingZoneArrayOutput
}

ShippingZoneArrayInput is an input type that accepts ShippingZoneArray and ShippingZoneArrayOutput values. You can construct a concrete instance of `ShippingZoneArrayInput` via:

ShippingZoneArray{ ShippingZoneArgs{...} }

type ShippingZoneArrayOutput

type ShippingZoneArrayOutput struct{ *pulumi.OutputState }

func (ShippingZoneArrayOutput) ElementType

func (ShippingZoneArrayOutput) ElementType() reflect.Type

func (ShippingZoneArrayOutput) Index

func (ShippingZoneArrayOutput) ToShippingZoneArrayOutput

func (o ShippingZoneArrayOutput) ToShippingZoneArrayOutput() ShippingZoneArrayOutput

func (ShippingZoneArrayOutput) ToShippingZoneArrayOutputWithContext

func (o ShippingZoneArrayOutput) ToShippingZoneArrayOutputWithContext(ctx context.Context) ShippingZoneArrayOutput

type ShippingZoneInput

type ShippingZoneInput interface {
	pulumi.Input

	ToShippingZoneOutput() ShippingZoneOutput
	ToShippingZoneOutputWithContext(ctx context.Context) ShippingZoneOutput
}

type ShippingZoneLocation

type ShippingZoneLocation struct {
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Country string  `pulumi:"country"`
	State   *string `pulumi:"state"`
}

type ShippingZoneLocationArgs

type ShippingZoneLocationArgs struct {
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Country pulumi.StringInput    `pulumi:"country"`
	State   pulumi.StringPtrInput `pulumi:"state"`
}

func (ShippingZoneLocationArgs) ElementType

func (ShippingZoneLocationArgs) ElementType() reflect.Type

func (ShippingZoneLocationArgs) ToShippingZoneLocationOutput

func (i ShippingZoneLocationArgs) ToShippingZoneLocationOutput() ShippingZoneLocationOutput

func (ShippingZoneLocationArgs) ToShippingZoneLocationOutputWithContext

func (i ShippingZoneLocationArgs) ToShippingZoneLocationOutputWithContext(ctx context.Context) ShippingZoneLocationOutput

type ShippingZoneLocationArray

type ShippingZoneLocationArray []ShippingZoneLocationInput

func (ShippingZoneLocationArray) ElementType

func (ShippingZoneLocationArray) ElementType() reflect.Type

func (ShippingZoneLocationArray) ToShippingZoneLocationArrayOutput

func (i ShippingZoneLocationArray) ToShippingZoneLocationArrayOutput() ShippingZoneLocationArrayOutput

func (ShippingZoneLocationArray) ToShippingZoneLocationArrayOutputWithContext

func (i ShippingZoneLocationArray) ToShippingZoneLocationArrayOutputWithContext(ctx context.Context) ShippingZoneLocationArrayOutput

type ShippingZoneLocationArrayInput

type ShippingZoneLocationArrayInput interface {
	pulumi.Input

	ToShippingZoneLocationArrayOutput() ShippingZoneLocationArrayOutput
	ToShippingZoneLocationArrayOutputWithContext(context.Context) ShippingZoneLocationArrayOutput
}

ShippingZoneLocationArrayInput is an input type that accepts ShippingZoneLocationArray and ShippingZoneLocationArrayOutput values. You can construct a concrete instance of `ShippingZoneLocationArrayInput` via:

ShippingZoneLocationArray{ ShippingZoneLocationArgs{...} }

type ShippingZoneLocationArrayOutput

type ShippingZoneLocationArrayOutput struct{ *pulumi.OutputState }

func (ShippingZoneLocationArrayOutput) ElementType

func (ShippingZoneLocationArrayOutput) Index

func (ShippingZoneLocationArrayOutput) ToShippingZoneLocationArrayOutput

func (o ShippingZoneLocationArrayOutput) ToShippingZoneLocationArrayOutput() ShippingZoneLocationArrayOutput

func (ShippingZoneLocationArrayOutput) ToShippingZoneLocationArrayOutputWithContext

func (o ShippingZoneLocationArrayOutput) ToShippingZoneLocationArrayOutputWithContext(ctx context.Context) ShippingZoneLocationArrayOutput

type ShippingZoneLocationInput

type ShippingZoneLocationInput interface {
	pulumi.Input

	ToShippingZoneLocationOutput() ShippingZoneLocationOutput
	ToShippingZoneLocationOutputWithContext(context.Context) ShippingZoneLocationOutput
}

ShippingZoneLocationInput is an input type that accepts ShippingZoneLocationArgs and ShippingZoneLocationOutput values. You can construct a concrete instance of `ShippingZoneLocationInput` via:

ShippingZoneLocationArgs{...}

type ShippingZoneLocationOutput

type ShippingZoneLocationOutput struct{ *pulumi.OutputState }

func (ShippingZoneLocationOutput) Country

A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)

func (ShippingZoneLocationOutput) ElementType

func (ShippingZoneLocationOutput) ElementType() reflect.Type

func (ShippingZoneLocationOutput) State

func (ShippingZoneLocationOutput) ToShippingZoneLocationOutput

func (o ShippingZoneLocationOutput) ToShippingZoneLocationOutput() ShippingZoneLocationOutput

func (ShippingZoneLocationOutput) ToShippingZoneLocationOutputWithContext

func (o ShippingZoneLocationOutput) ToShippingZoneLocationOutputWithContext(ctx context.Context) ShippingZoneLocationOutput

type ShippingZoneMap

type ShippingZoneMap map[string]ShippingZoneInput

func (ShippingZoneMap) ElementType

func (ShippingZoneMap) ElementType() reflect.Type

func (ShippingZoneMap) ToShippingZoneMapOutput

func (i ShippingZoneMap) ToShippingZoneMapOutput() ShippingZoneMapOutput

func (ShippingZoneMap) ToShippingZoneMapOutputWithContext

func (i ShippingZoneMap) ToShippingZoneMapOutputWithContext(ctx context.Context) ShippingZoneMapOutput

type ShippingZoneMapInput

type ShippingZoneMapInput interface {
	pulumi.Input

	ToShippingZoneMapOutput() ShippingZoneMapOutput
	ToShippingZoneMapOutputWithContext(context.Context) ShippingZoneMapOutput
}

ShippingZoneMapInput is an input type that accepts ShippingZoneMap and ShippingZoneMapOutput values. You can construct a concrete instance of `ShippingZoneMapInput` via:

ShippingZoneMap{ "key": ShippingZoneArgs{...} }

type ShippingZoneMapOutput

type ShippingZoneMapOutput struct{ *pulumi.OutputState }

func (ShippingZoneMapOutput) ElementType

func (ShippingZoneMapOutput) ElementType() reflect.Type

func (ShippingZoneMapOutput) MapIndex

func (ShippingZoneMapOutput) ToShippingZoneMapOutput

func (o ShippingZoneMapOutput) ToShippingZoneMapOutput() ShippingZoneMapOutput

func (ShippingZoneMapOutput) ToShippingZoneMapOutputWithContext

func (o ShippingZoneMapOutput) ToShippingZoneMapOutputWithContext(ctx context.Context) ShippingZoneMapOutput

type ShippingZoneOutput

type ShippingZoneOutput struct{ *pulumi.OutputState }

func (ShippingZoneOutput) Description

func (o ShippingZoneOutput) Description() pulumi.StringPtrOutput

func (ShippingZoneOutput) ElementType

func (ShippingZoneOutput) ElementType() reflect.Type

func (ShippingZoneOutput) Key

User-specific unique identifier for a zone. Must be unique across a project

func (ShippingZoneOutput) Name

func (ShippingZoneOutput) ToShippingZoneOutput

func (o ShippingZoneOutput) ToShippingZoneOutput() ShippingZoneOutput

func (ShippingZoneOutput) ToShippingZoneOutputWithContext

func (o ShippingZoneOutput) ToShippingZoneOutputWithContext(ctx context.Context) ShippingZoneOutput

func (ShippingZoneOutput) Version

func (o ShippingZoneOutput) Version() pulumi.IntOutput

type ShippingZoneRate

type ShippingZoneRate struct {
	pulumi.CustomResourceState

	// The shipping is free if the sum of the (custom) line item prices reaches the freeAbove value
	FreeAbove        ShippingZoneRateFreeAbovePtrOutput `pulumi:"freeAbove"`
	Price            ShippingZoneRatePriceOutput        `pulumi:"price"`
	ShippingMethodId pulumi.StringOutput                `pulumi:"shippingMethodId"`
	// A price tier is selected instead of the default price when a certain threshold or specific cart value is reached. If no
	// tiered price is suitable for the cart, the base price of the shipping rate is used . See also [Shipping Rate Price Tier
	// API Docs](https://docs.commercetools.com/api/projects/shippingMethods#shippingratepricetier)
	ShippingRatePriceTiers ShippingZoneRateShippingRatePriceTierArrayOutput `pulumi:"shippingRatePriceTiers"`
	ShippingZoneId         pulumi.StringOutput                              `pulumi:"shippingZoneId"`
}

func GetShippingZoneRate

func GetShippingZoneRate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShippingZoneRateState, opts ...pulumi.ResourceOption) (*ShippingZoneRate, error)

GetShippingZoneRate gets an existing ShippingZoneRate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewShippingZoneRate

func NewShippingZoneRate(ctx *pulumi.Context,
	name string, args *ShippingZoneRateArgs, opts ...pulumi.ResourceOption) (*ShippingZoneRate, error)

NewShippingZoneRate registers a new resource with the given unique name, arguments, and options.

func (*ShippingZoneRate) ElementType

func (*ShippingZoneRate) ElementType() reflect.Type

func (*ShippingZoneRate) ToShippingZoneRateOutput

func (i *ShippingZoneRate) ToShippingZoneRateOutput() ShippingZoneRateOutput

func (*ShippingZoneRate) ToShippingZoneRateOutputWithContext

func (i *ShippingZoneRate) ToShippingZoneRateOutputWithContext(ctx context.Context) ShippingZoneRateOutput

type ShippingZoneRateArgs

type ShippingZoneRateArgs struct {
	// The shipping is free if the sum of the (custom) line item prices reaches the freeAbove value
	FreeAbove        ShippingZoneRateFreeAbovePtrInput
	Price            ShippingZoneRatePriceInput
	ShippingMethodId pulumi.StringInput
	// A price tier is selected instead of the default price when a certain threshold or specific cart value is reached. If no
	// tiered price is suitable for the cart, the base price of the shipping rate is used . See also [Shipping Rate Price Tier
	// API Docs](https://docs.commercetools.com/api/projects/shippingMethods#shippingratepricetier)
	ShippingRatePriceTiers ShippingZoneRateShippingRatePriceTierArrayInput
	ShippingZoneId         pulumi.StringInput
}

The set of arguments for constructing a ShippingZoneRate resource.

func (ShippingZoneRateArgs) ElementType

func (ShippingZoneRateArgs) ElementType() reflect.Type

type ShippingZoneRateArray

type ShippingZoneRateArray []ShippingZoneRateInput

func (ShippingZoneRateArray) ElementType

func (ShippingZoneRateArray) ElementType() reflect.Type

func (ShippingZoneRateArray) ToShippingZoneRateArrayOutput

func (i ShippingZoneRateArray) ToShippingZoneRateArrayOutput() ShippingZoneRateArrayOutput

func (ShippingZoneRateArray) ToShippingZoneRateArrayOutputWithContext

func (i ShippingZoneRateArray) ToShippingZoneRateArrayOutputWithContext(ctx context.Context) ShippingZoneRateArrayOutput

type ShippingZoneRateArrayInput

type ShippingZoneRateArrayInput interface {
	pulumi.Input

	ToShippingZoneRateArrayOutput() ShippingZoneRateArrayOutput
	ToShippingZoneRateArrayOutputWithContext(context.Context) ShippingZoneRateArrayOutput
}

ShippingZoneRateArrayInput is an input type that accepts ShippingZoneRateArray and ShippingZoneRateArrayOutput values. You can construct a concrete instance of `ShippingZoneRateArrayInput` via:

ShippingZoneRateArray{ ShippingZoneRateArgs{...} }

type ShippingZoneRateArrayOutput

type ShippingZoneRateArrayOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateArrayOutput) ElementType

func (ShippingZoneRateArrayOutput) Index

func (ShippingZoneRateArrayOutput) ToShippingZoneRateArrayOutput

func (o ShippingZoneRateArrayOutput) ToShippingZoneRateArrayOutput() ShippingZoneRateArrayOutput

func (ShippingZoneRateArrayOutput) ToShippingZoneRateArrayOutputWithContext

func (o ShippingZoneRateArrayOutput) ToShippingZoneRateArrayOutputWithContext(ctx context.Context) ShippingZoneRateArrayOutput

type ShippingZoneRateFreeAbove

type ShippingZoneRateFreeAbove struct {
	// The amount in cents (the smallest indivisible unit of the currency)
	CentAmount int `pulumi:"centAmount"`
	// The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
	CurrencyCode string `pulumi:"currencyCode"`
}

type ShippingZoneRateFreeAboveArgs

type ShippingZoneRateFreeAboveArgs struct {
	// The amount in cents (the smallest indivisible unit of the currency)
	CentAmount pulumi.IntInput `pulumi:"centAmount"`
	// The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
}

func (ShippingZoneRateFreeAboveArgs) ElementType

func (ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAboveOutput

func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAboveOutput() ShippingZoneRateFreeAboveOutput

func (ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAboveOutputWithContext

func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAboveOutputWithContext(ctx context.Context) ShippingZoneRateFreeAboveOutput

func (ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAbovePtrOutput

func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput

func (ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAbovePtrOutputWithContext

func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput

type ShippingZoneRateFreeAboveInput

type ShippingZoneRateFreeAboveInput interface {
	pulumi.Input

	ToShippingZoneRateFreeAboveOutput() ShippingZoneRateFreeAboveOutput
	ToShippingZoneRateFreeAboveOutputWithContext(context.Context) ShippingZoneRateFreeAboveOutput
}

ShippingZoneRateFreeAboveInput is an input type that accepts ShippingZoneRateFreeAboveArgs and ShippingZoneRateFreeAboveOutput values. You can construct a concrete instance of `ShippingZoneRateFreeAboveInput` via:

ShippingZoneRateFreeAboveArgs{...}

type ShippingZoneRateFreeAboveOutput

type ShippingZoneRateFreeAboveOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateFreeAboveOutput) CentAmount

The amount in cents (the smallest indivisible unit of the currency)

func (ShippingZoneRateFreeAboveOutput) CurrencyCode

The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)

func (ShippingZoneRateFreeAboveOutput) ElementType

func (ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAboveOutput

func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAboveOutput() ShippingZoneRateFreeAboveOutput

func (ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAboveOutputWithContext

func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAboveOutputWithContext(ctx context.Context) ShippingZoneRateFreeAboveOutput

func (ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAbovePtrOutput

func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput

func (ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAbovePtrOutputWithContext

func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput

type ShippingZoneRateFreeAbovePtrInput

type ShippingZoneRateFreeAbovePtrInput interface {
	pulumi.Input

	ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput
	ToShippingZoneRateFreeAbovePtrOutputWithContext(context.Context) ShippingZoneRateFreeAbovePtrOutput
}

ShippingZoneRateFreeAbovePtrInput is an input type that accepts ShippingZoneRateFreeAboveArgs, ShippingZoneRateFreeAbovePtr and ShippingZoneRateFreeAbovePtrOutput values. You can construct a concrete instance of `ShippingZoneRateFreeAbovePtrInput` via:

        ShippingZoneRateFreeAboveArgs{...}

or:

        nil

type ShippingZoneRateFreeAbovePtrOutput

type ShippingZoneRateFreeAbovePtrOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateFreeAbovePtrOutput) CentAmount

The amount in cents (the smallest indivisible unit of the currency)

func (ShippingZoneRateFreeAbovePtrOutput) CurrencyCode

The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)

func (ShippingZoneRateFreeAbovePtrOutput) Elem

func (ShippingZoneRateFreeAbovePtrOutput) ElementType

func (ShippingZoneRateFreeAbovePtrOutput) ToShippingZoneRateFreeAbovePtrOutput

func (o ShippingZoneRateFreeAbovePtrOutput) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput

func (ShippingZoneRateFreeAbovePtrOutput) ToShippingZoneRateFreeAbovePtrOutputWithContext

func (o ShippingZoneRateFreeAbovePtrOutput) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput

type ShippingZoneRateInput

type ShippingZoneRateInput interface {
	pulumi.Input

	ToShippingZoneRateOutput() ShippingZoneRateOutput
	ToShippingZoneRateOutputWithContext(ctx context.Context) ShippingZoneRateOutput
}

type ShippingZoneRateMap

type ShippingZoneRateMap map[string]ShippingZoneRateInput

func (ShippingZoneRateMap) ElementType

func (ShippingZoneRateMap) ElementType() reflect.Type

func (ShippingZoneRateMap) ToShippingZoneRateMapOutput

func (i ShippingZoneRateMap) ToShippingZoneRateMapOutput() ShippingZoneRateMapOutput

func (ShippingZoneRateMap) ToShippingZoneRateMapOutputWithContext

func (i ShippingZoneRateMap) ToShippingZoneRateMapOutputWithContext(ctx context.Context) ShippingZoneRateMapOutput

type ShippingZoneRateMapInput

type ShippingZoneRateMapInput interface {
	pulumi.Input

	ToShippingZoneRateMapOutput() ShippingZoneRateMapOutput
	ToShippingZoneRateMapOutputWithContext(context.Context) ShippingZoneRateMapOutput
}

ShippingZoneRateMapInput is an input type that accepts ShippingZoneRateMap and ShippingZoneRateMapOutput values. You can construct a concrete instance of `ShippingZoneRateMapInput` via:

ShippingZoneRateMap{ "key": ShippingZoneRateArgs{...} }

type ShippingZoneRateMapOutput

type ShippingZoneRateMapOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateMapOutput) ElementType

func (ShippingZoneRateMapOutput) ElementType() reflect.Type

func (ShippingZoneRateMapOutput) MapIndex

func (ShippingZoneRateMapOutput) ToShippingZoneRateMapOutput

func (o ShippingZoneRateMapOutput) ToShippingZoneRateMapOutput() ShippingZoneRateMapOutput

func (ShippingZoneRateMapOutput) ToShippingZoneRateMapOutputWithContext

func (o ShippingZoneRateMapOutput) ToShippingZoneRateMapOutputWithContext(ctx context.Context) ShippingZoneRateMapOutput

type ShippingZoneRateOutput

type ShippingZoneRateOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateOutput) ElementType

func (ShippingZoneRateOutput) ElementType() reflect.Type

func (ShippingZoneRateOutput) FreeAbove

The shipping is free if the sum of the (custom) line item prices reaches the freeAbove value

func (ShippingZoneRateOutput) Price

func (ShippingZoneRateOutput) ShippingMethodId

func (o ShippingZoneRateOutput) ShippingMethodId() pulumi.StringOutput

func (ShippingZoneRateOutput) ShippingRatePriceTiers

A price tier is selected instead of the default price when a certain threshold or specific cart value is reached. If no tiered price is suitable for the cart, the base price of the shipping rate is used . See also [Shipping Rate Price Tier API Docs](https://docs.commercetools.com/api/projects/shippingMethods#shippingratepricetier)

func (ShippingZoneRateOutput) ShippingZoneId

func (o ShippingZoneRateOutput) ShippingZoneId() pulumi.StringOutput

func (ShippingZoneRateOutput) ToShippingZoneRateOutput

func (o ShippingZoneRateOutput) ToShippingZoneRateOutput() ShippingZoneRateOutput

func (ShippingZoneRateOutput) ToShippingZoneRateOutputWithContext

func (o ShippingZoneRateOutput) ToShippingZoneRateOutputWithContext(ctx context.Context) ShippingZoneRateOutput

type ShippingZoneRatePrice

type ShippingZoneRatePrice struct {
	CentAmount   int    `pulumi:"centAmount"`
	CurrencyCode string `pulumi:"currencyCode"`
}

type ShippingZoneRatePriceArgs

type ShippingZoneRatePriceArgs struct {
	CentAmount   pulumi.IntInput    `pulumi:"centAmount"`
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
}

func (ShippingZoneRatePriceArgs) ElementType

func (ShippingZoneRatePriceArgs) ElementType() reflect.Type

func (ShippingZoneRatePriceArgs) ToShippingZoneRatePriceOutput

func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePriceOutput() ShippingZoneRatePriceOutput

func (ShippingZoneRatePriceArgs) ToShippingZoneRatePriceOutputWithContext

func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePriceOutputWithContext(ctx context.Context) ShippingZoneRatePriceOutput

func (ShippingZoneRatePriceArgs) ToShippingZoneRatePricePtrOutput

func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput

func (ShippingZoneRatePriceArgs) ToShippingZoneRatePricePtrOutputWithContext

func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput

type ShippingZoneRatePriceInput

type ShippingZoneRatePriceInput interface {
	pulumi.Input

	ToShippingZoneRatePriceOutput() ShippingZoneRatePriceOutput
	ToShippingZoneRatePriceOutputWithContext(context.Context) ShippingZoneRatePriceOutput
}

ShippingZoneRatePriceInput is an input type that accepts ShippingZoneRatePriceArgs and ShippingZoneRatePriceOutput values. You can construct a concrete instance of `ShippingZoneRatePriceInput` via:

ShippingZoneRatePriceArgs{...}

type ShippingZoneRatePriceOutput

type ShippingZoneRatePriceOutput struct{ *pulumi.OutputState }

func (ShippingZoneRatePriceOutput) CentAmount

func (ShippingZoneRatePriceOutput) CurrencyCode

func (ShippingZoneRatePriceOutput) ElementType

func (ShippingZoneRatePriceOutput) ToShippingZoneRatePriceOutput

func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePriceOutput() ShippingZoneRatePriceOutput

func (ShippingZoneRatePriceOutput) ToShippingZoneRatePriceOutputWithContext

func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePriceOutputWithContext(ctx context.Context) ShippingZoneRatePriceOutput

func (ShippingZoneRatePriceOutput) ToShippingZoneRatePricePtrOutput

func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput

func (ShippingZoneRatePriceOutput) ToShippingZoneRatePricePtrOutputWithContext

func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput

type ShippingZoneRatePricePtrInput

type ShippingZoneRatePricePtrInput interface {
	pulumi.Input

	ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput
	ToShippingZoneRatePricePtrOutputWithContext(context.Context) ShippingZoneRatePricePtrOutput
}

ShippingZoneRatePricePtrInput is an input type that accepts ShippingZoneRatePriceArgs, ShippingZoneRatePricePtr and ShippingZoneRatePricePtrOutput values. You can construct a concrete instance of `ShippingZoneRatePricePtrInput` via:

        ShippingZoneRatePriceArgs{...}

or:

        nil

type ShippingZoneRatePricePtrOutput

type ShippingZoneRatePricePtrOutput struct{ *pulumi.OutputState }

func (ShippingZoneRatePricePtrOutput) CentAmount

func (ShippingZoneRatePricePtrOutput) CurrencyCode

func (ShippingZoneRatePricePtrOutput) Elem

func (ShippingZoneRatePricePtrOutput) ElementType

func (ShippingZoneRatePricePtrOutput) ToShippingZoneRatePricePtrOutput

func (o ShippingZoneRatePricePtrOutput) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput

func (ShippingZoneRatePricePtrOutput) ToShippingZoneRatePricePtrOutputWithContext

func (o ShippingZoneRatePricePtrOutput) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput

type ShippingZoneRateShippingRatePriceTier

type ShippingZoneRateShippingRatePriceTier struct {
	// If type is CartValue this represents the cent amount of the tier
	MinimumCentAmount *int `pulumi:"minimumCentAmount"`
	// The price of the score, value or minimumCentAmount tier
	Price *ShippingZoneRateShippingRatePriceTierPrice `pulumi:"price"`
	// If type is CartScore. Allows to calculate a price dynamically for the score.
	PriceFunction *ShippingZoneRateShippingRatePriceTierPriceFunction `pulumi:"priceFunction"`
	// If type is CartScore. Sets a fixed price for this score value
	Score *int `pulumi:"score"`
	// CartValue, CartScore or CartClassification
	Type string `pulumi:"type"`
	// If type is CartClassification, must be a valid key of the CartClassification
	Value *string `pulumi:"value"`
}

type ShippingZoneRateShippingRatePriceTierArgs

type ShippingZoneRateShippingRatePriceTierArgs struct {
	// If type is CartValue this represents the cent amount of the tier
	MinimumCentAmount pulumi.IntPtrInput `pulumi:"minimumCentAmount"`
	// The price of the score, value or minimumCentAmount tier
	Price ShippingZoneRateShippingRatePriceTierPricePtrInput `pulumi:"price"`
	// If type is CartScore. Allows to calculate a price dynamically for the score.
	PriceFunction ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput `pulumi:"priceFunction"`
	// If type is CartScore. Sets a fixed price for this score value
	Score pulumi.IntPtrInput `pulumi:"score"`
	// CartValue, CartScore or CartClassification
	Type pulumi.StringInput `pulumi:"type"`
	// If type is CartClassification, must be a valid key of the CartClassification
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ShippingZoneRateShippingRatePriceTierArgs) ElementType

func (ShippingZoneRateShippingRatePriceTierArgs) ToShippingZoneRateShippingRatePriceTierOutput

func (i ShippingZoneRateShippingRatePriceTierArgs) ToShippingZoneRateShippingRatePriceTierOutput() ShippingZoneRateShippingRatePriceTierOutput

func (ShippingZoneRateShippingRatePriceTierArgs) ToShippingZoneRateShippingRatePriceTierOutputWithContext

func (i ShippingZoneRateShippingRatePriceTierArgs) ToShippingZoneRateShippingRatePriceTierOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierOutput

type ShippingZoneRateShippingRatePriceTierArray

type ShippingZoneRateShippingRatePriceTierArray []ShippingZoneRateShippingRatePriceTierInput

func (ShippingZoneRateShippingRatePriceTierArray) ElementType

func (ShippingZoneRateShippingRatePriceTierArray) ToShippingZoneRateShippingRatePriceTierArrayOutput

func (i ShippingZoneRateShippingRatePriceTierArray) ToShippingZoneRateShippingRatePriceTierArrayOutput() ShippingZoneRateShippingRatePriceTierArrayOutput

func (ShippingZoneRateShippingRatePriceTierArray) ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext

func (i ShippingZoneRateShippingRatePriceTierArray) ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierArrayOutput

type ShippingZoneRateShippingRatePriceTierArrayInput

type ShippingZoneRateShippingRatePriceTierArrayInput interface {
	pulumi.Input

	ToShippingZoneRateShippingRatePriceTierArrayOutput() ShippingZoneRateShippingRatePriceTierArrayOutput
	ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierArrayOutput
}

ShippingZoneRateShippingRatePriceTierArrayInput is an input type that accepts ShippingZoneRateShippingRatePriceTierArray and ShippingZoneRateShippingRatePriceTierArrayOutput values. You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierArrayInput` via:

ShippingZoneRateShippingRatePriceTierArray{ ShippingZoneRateShippingRatePriceTierArgs{...} }

type ShippingZoneRateShippingRatePriceTierArrayOutput

type ShippingZoneRateShippingRatePriceTierArrayOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateShippingRatePriceTierArrayOutput) ElementType

func (ShippingZoneRateShippingRatePriceTierArrayOutput) Index

func (ShippingZoneRateShippingRatePriceTierArrayOutput) ToShippingZoneRateShippingRatePriceTierArrayOutput

func (o ShippingZoneRateShippingRatePriceTierArrayOutput) ToShippingZoneRateShippingRatePriceTierArrayOutput() ShippingZoneRateShippingRatePriceTierArrayOutput

func (ShippingZoneRateShippingRatePriceTierArrayOutput) ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext

func (o ShippingZoneRateShippingRatePriceTierArrayOutput) ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierArrayOutput

type ShippingZoneRateShippingRatePriceTierInput

type ShippingZoneRateShippingRatePriceTierInput interface {
	pulumi.Input

	ToShippingZoneRateShippingRatePriceTierOutput() ShippingZoneRateShippingRatePriceTierOutput
	ToShippingZoneRateShippingRatePriceTierOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierOutput
}

ShippingZoneRateShippingRatePriceTierInput is an input type that accepts ShippingZoneRateShippingRatePriceTierArgs and ShippingZoneRateShippingRatePriceTierOutput values. You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierInput` via:

ShippingZoneRateShippingRatePriceTierArgs{...}

type ShippingZoneRateShippingRatePriceTierOutput

type ShippingZoneRateShippingRatePriceTierOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateShippingRatePriceTierOutput) ElementType

func (ShippingZoneRateShippingRatePriceTierOutput) MinimumCentAmount

If type is CartValue this represents the cent amount of the tier

func (ShippingZoneRateShippingRatePriceTierOutput) Price

The price of the score, value or minimumCentAmount tier

func (ShippingZoneRateShippingRatePriceTierOutput) PriceFunction

If type is CartScore. Allows to calculate a price dynamically for the score.

func (ShippingZoneRateShippingRatePriceTierOutput) Score

If type is CartScore. Sets a fixed price for this score value

func (ShippingZoneRateShippingRatePriceTierOutput) ToShippingZoneRateShippingRatePriceTierOutput

func (o ShippingZoneRateShippingRatePriceTierOutput) ToShippingZoneRateShippingRatePriceTierOutput() ShippingZoneRateShippingRatePriceTierOutput

func (ShippingZoneRateShippingRatePriceTierOutput) ToShippingZoneRateShippingRatePriceTierOutputWithContext

func (o ShippingZoneRateShippingRatePriceTierOutput) ToShippingZoneRateShippingRatePriceTierOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierOutput

func (ShippingZoneRateShippingRatePriceTierOutput) Type

CartValue, CartScore or CartClassification

func (ShippingZoneRateShippingRatePriceTierOutput) Value

If type is CartClassification, must be a valid key of the CartClassification

type ShippingZoneRateShippingRatePriceTierPrice

type ShippingZoneRateShippingRatePriceTierPrice struct {
	CentAmount   int    `pulumi:"centAmount"`
	CurrencyCode string `pulumi:"currencyCode"`
}

type ShippingZoneRateShippingRatePriceTierPriceArgs

type ShippingZoneRateShippingRatePriceTierPriceArgs struct {
	CentAmount   pulumi.IntInput    `pulumi:"centAmount"`
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
}

func (ShippingZoneRateShippingRatePriceTierPriceArgs) ElementType

func (ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPriceOutput

func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPriceOutput() ShippingZoneRateShippingRatePriceTierPriceOutput

func (ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext

func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceOutput

func (ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPricePtrOutput

func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPricePtrOutput() ShippingZoneRateShippingRatePriceTierPricePtrOutput

func (ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext

func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPricePtrOutput

type ShippingZoneRateShippingRatePriceTierPriceFunction

type ShippingZoneRateShippingRatePriceTierPriceFunction struct {
	CurrencyCode string `pulumi:"currencyCode"`
	Function     string `pulumi:"function"`
}

type ShippingZoneRateShippingRatePriceTierPriceFunctionArgs

type ShippingZoneRateShippingRatePriceTierPriceFunctionArgs struct {
	CurrencyCode pulumi.StringInput `pulumi:"currencyCode"`
	Function     pulumi.StringInput `pulumi:"function"`
}

func (ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ElementType

func (ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutput

func (ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutputWithContext

func (i ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionOutput

func (ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput

func (i ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput

func (ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext

func (i ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput

type ShippingZoneRateShippingRatePriceTierPriceFunctionInput

type ShippingZoneRateShippingRatePriceTierPriceFunctionInput interface {
	pulumi.Input

	ToShippingZoneRateShippingRatePriceTierPriceFunctionOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionOutput
	ToShippingZoneRateShippingRatePriceTierPriceFunctionOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionOutput
}

ShippingZoneRateShippingRatePriceTierPriceFunctionInput is an input type that accepts ShippingZoneRateShippingRatePriceTierPriceFunctionArgs and ShippingZoneRateShippingRatePriceTierPriceFunctionOutput values. You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierPriceFunctionInput` via:

ShippingZoneRateShippingRatePriceTierPriceFunctionArgs{...}

type ShippingZoneRateShippingRatePriceTierPriceFunctionOutput

type ShippingZoneRateShippingRatePriceTierPriceFunctionOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) CurrencyCode

func (ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ElementType

func (ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) Function

func (ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutput

func (ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutputWithContext

func (o ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionOutput

func (ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput

func (ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext

func (o ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput

type ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput

type ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput interface {
	pulumi.Input

	ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput
	ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput
}

ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput is an input type that accepts ShippingZoneRateShippingRatePriceTierPriceFunctionArgs, ShippingZoneRateShippingRatePriceTierPriceFunctionPtr and ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput values. You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput` via:

        ShippingZoneRateShippingRatePriceTierPriceFunctionArgs{...}

or:

        nil

type ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput

type ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) CurrencyCode

func (ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) Elem

func (ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) ElementType

func (ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) Function

func (ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput

func (ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext

func (o ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput

type ShippingZoneRateShippingRatePriceTierPriceInput

type ShippingZoneRateShippingRatePriceTierPriceInput interface {
	pulumi.Input

	ToShippingZoneRateShippingRatePriceTierPriceOutput() ShippingZoneRateShippingRatePriceTierPriceOutput
	ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierPriceOutput
}

ShippingZoneRateShippingRatePriceTierPriceInput is an input type that accepts ShippingZoneRateShippingRatePriceTierPriceArgs and ShippingZoneRateShippingRatePriceTierPriceOutput values. You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierPriceInput` via:

ShippingZoneRateShippingRatePriceTierPriceArgs{...}

type ShippingZoneRateShippingRatePriceTierPriceOutput

type ShippingZoneRateShippingRatePriceTierPriceOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateShippingRatePriceTierPriceOutput) CentAmount

func (ShippingZoneRateShippingRatePriceTierPriceOutput) CurrencyCode

func (ShippingZoneRateShippingRatePriceTierPriceOutput) ElementType

func (ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPriceOutput

func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPriceOutput() ShippingZoneRateShippingRatePriceTierPriceOutput

func (ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext

func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceOutput

func (ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutput

func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutput() ShippingZoneRateShippingRatePriceTierPricePtrOutput

func (ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext

func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPricePtrOutput

type ShippingZoneRateShippingRatePriceTierPricePtrInput

type ShippingZoneRateShippingRatePriceTierPricePtrInput interface {
	pulumi.Input

	ToShippingZoneRateShippingRatePriceTierPricePtrOutput() ShippingZoneRateShippingRatePriceTierPricePtrOutput
	ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierPricePtrOutput
}

ShippingZoneRateShippingRatePriceTierPricePtrInput is an input type that accepts ShippingZoneRateShippingRatePriceTierPriceArgs, ShippingZoneRateShippingRatePriceTierPricePtr and ShippingZoneRateShippingRatePriceTierPricePtrOutput values. You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierPricePtrInput` via:

        ShippingZoneRateShippingRatePriceTierPriceArgs{...}

or:

        nil

type ShippingZoneRateShippingRatePriceTierPricePtrOutput

type ShippingZoneRateShippingRatePriceTierPricePtrOutput struct{ *pulumi.OutputState }

func (ShippingZoneRateShippingRatePriceTierPricePtrOutput) CentAmount

func (ShippingZoneRateShippingRatePriceTierPricePtrOutput) CurrencyCode

func (ShippingZoneRateShippingRatePriceTierPricePtrOutput) Elem

func (ShippingZoneRateShippingRatePriceTierPricePtrOutput) ElementType

func (ShippingZoneRateShippingRatePriceTierPricePtrOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutput

func (o ShippingZoneRateShippingRatePriceTierPricePtrOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutput() ShippingZoneRateShippingRatePriceTierPricePtrOutput

func (ShippingZoneRateShippingRatePriceTierPricePtrOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext

func (o ShippingZoneRateShippingRatePriceTierPricePtrOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPricePtrOutput

type ShippingZoneRateState

type ShippingZoneRateState struct {
	// The shipping is free if the sum of the (custom) line item prices reaches the freeAbove value
	FreeAbove        ShippingZoneRateFreeAbovePtrInput
	Price            ShippingZoneRatePricePtrInput
	ShippingMethodId pulumi.StringPtrInput
	// A price tier is selected instead of the default price when a certain threshold or specific cart value is reached. If no
	// tiered price is suitable for the cart, the base price of the shipping rate is used . See also [Shipping Rate Price Tier
	// API Docs](https://docs.commercetools.com/api/projects/shippingMethods#shippingratepricetier)
	ShippingRatePriceTiers ShippingZoneRateShippingRatePriceTierArrayInput
	ShippingZoneId         pulumi.StringPtrInput
}

func (ShippingZoneRateState) ElementType

func (ShippingZoneRateState) ElementType() reflect.Type

type ShippingZoneState

type ShippingZoneState struct {
	Description pulumi.StringPtrInput
	// User-specific unique identifier for a zone. Must be unique across a project
	Key pulumi.StringPtrInput
	// [Location](https://docs.commercetoolstools.pi/projects/zones#location)
	Locations ShippingZoneLocationArrayInput
	Name      pulumi.StringPtrInput
	Version   pulumi.IntPtrInput
}

func (ShippingZoneState) ElementType

func (ShippingZoneState) ElementType() reflect.Type

type State

type State struct {
	pulumi.CustomResourceState

	// Description of the State as localized string.
	Description pulumi.StringMapOutput `pulumi:"description"`
	// A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an
	// initial state
	Initial pulumi.BoolOutput `pulumi:"initial"`
	// Timestamp of the last Terraform update of the order.
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// Name of the State as localized string.
	Name pulumi.StringMapOutput `pulumi:"name"`
	// [State Role](https://docs.commercetools.com/api/projects/states#staterole)
	Roles pulumi.StringArrayOutput `pulumi:"roles"`
	// [StateType](https://docs.commercetools.com/api/projects/states#statetype)
	Type    pulumi.StringOutput `pulumi:"type"`
	Version pulumi.IntOutput    `pulumi:"version"`
}

func GetState

func GetState(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StateState, opts ...pulumi.ResourceOption) (*State, error)

GetState gets an existing State resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewState

func NewState(ctx *pulumi.Context,
	name string, args *StateArgs, opts ...pulumi.ResourceOption) (*State, error)

NewState registers a new resource with the given unique name, arguments, and options.

func (*State) ElementType

func (*State) ElementType() reflect.Type

func (*State) ToStateOutput

func (i *State) ToStateOutput() StateOutput

func (*State) ToStateOutputWithContext

func (i *State) ToStateOutputWithContext(ctx context.Context) StateOutput

type StateArgs

type StateArgs struct {
	// Description of the State as localized string.
	Description pulumi.StringMapInput
	// A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an
	// initial state
	Initial pulumi.BoolPtrInput
	// Timestamp of the last Terraform update of the order.
	Key pulumi.StringPtrInput
	// Name of the State as localized string.
	Name pulumi.StringMapInput
	// [State Role](https://docs.commercetools.com/api/projects/states#staterole)
	Roles pulumi.StringArrayInput
	// [StateType](https://docs.commercetools.com/api/projects/states#statetype)
	Type pulumi.StringInput
}

The set of arguments for constructing a State resource.

func (StateArgs) ElementType

func (StateArgs) ElementType() reflect.Type

type StateArray

type StateArray []StateInput

func (StateArray) ElementType

func (StateArray) ElementType() reflect.Type

func (StateArray) ToStateArrayOutput

func (i StateArray) ToStateArrayOutput() StateArrayOutput

func (StateArray) ToStateArrayOutputWithContext

func (i StateArray) ToStateArrayOutputWithContext(ctx context.Context) StateArrayOutput

type StateArrayInput

type StateArrayInput interface {
	pulumi.Input

	ToStateArrayOutput() StateArrayOutput
	ToStateArrayOutputWithContext(context.Context) StateArrayOutput
}

StateArrayInput is an input type that accepts StateArray and StateArrayOutput values. You can construct a concrete instance of `StateArrayInput` via:

StateArray{ StateArgs{...} }

type StateArrayOutput

type StateArrayOutput struct{ *pulumi.OutputState }

func (StateArrayOutput) ElementType

func (StateArrayOutput) ElementType() reflect.Type

func (StateArrayOutput) Index

func (StateArrayOutput) ToStateArrayOutput

func (o StateArrayOutput) ToStateArrayOutput() StateArrayOutput

func (StateArrayOutput) ToStateArrayOutputWithContext

func (o StateArrayOutput) ToStateArrayOutputWithContext(ctx context.Context) StateArrayOutput

type StateInput

type StateInput interface {
	pulumi.Input

	ToStateOutput() StateOutput
	ToStateOutputWithContext(ctx context.Context) StateOutput
}

type StateMap

type StateMap map[string]StateInput

func (StateMap) ElementType

func (StateMap) ElementType() reflect.Type

func (StateMap) ToStateMapOutput

func (i StateMap) ToStateMapOutput() StateMapOutput

func (StateMap) ToStateMapOutputWithContext

func (i StateMap) ToStateMapOutputWithContext(ctx context.Context) StateMapOutput

type StateMapInput

type StateMapInput interface {
	pulumi.Input

	ToStateMapOutput() StateMapOutput
	ToStateMapOutputWithContext(context.Context) StateMapOutput
}

StateMapInput is an input type that accepts StateMap and StateMapOutput values. You can construct a concrete instance of `StateMapInput` via:

StateMap{ "key": StateArgs{...} }

type StateMapOutput

type StateMapOutput struct{ *pulumi.OutputState }

func (StateMapOutput) ElementType

func (StateMapOutput) ElementType() reflect.Type

func (StateMapOutput) MapIndex

func (StateMapOutput) ToStateMapOutput

func (o StateMapOutput) ToStateMapOutput() StateMapOutput

func (StateMapOutput) ToStateMapOutputWithContext

func (o StateMapOutput) ToStateMapOutputWithContext(ctx context.Context) StateMapOutput

type StateOutput

type StateOutput struct{ *pulumi.OutputState }

func (StateOutput) Description

func (o StateOutput) Description() pulumi.StringMapOutput

Description of the State as localized string.

func (StateOutput) ElementType

func (StateOutput) ElementType() reflect.Type

func (StateOutput) Initial

func (o StateOutput) Initial() pulumi.BoolOutput

A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an initial state

func (StateOutput) Key

Timestamp of the last Terraform update of the order.

func (StateOutput) Name

Name of the State as localized string.

func (StateOutput) ToStateOutput

func (o StateOutput) ToStateOutput() StateOutput

func (StateOutput) ToStateOutputWithContext

func (o StateOutput) ToStateOutputWithContext(ctx context.Context) StateOutput

func (StateOutput) Version

func (o StateOutput) Version() pulumi.IntOutput

type StateState

type StateState struct {
	// Description of the State as localized string.
	Description pulumi.StringMapInput
	// A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an
	// initial state
	Initial pulumi.BoolPtrInput
	// Timestamp of the last Terraform update of the order.
	Key pulumi.StringPtrInput
	// Name of the State as localized string.
	Name pulumi.StringMapInput
	// [State Role](https://docs.commercetools.com/api/projects/states#staterole)
	Roles pulumi.StringArrayInput
	// [StateType](https://docs.commercetools.com/api/projects/states#statetype)
	Type    pulumi.StringPtrInput
	Version pulumi.IntPtrInput
}

func (StateState) ElementType

func (StateState) ElementType() reflect.Type

type StateTransitions

type StateTransitions struct {
	pulumi.CustomResourceState

	// ID of the state to transition from
	From pulumi.StringOutput `pulumi:"from"`
	// Transitions are a way to describe possible transformations of the current state to other states of the same type (for
	// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently
	// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is
	// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When
	// performing a transitionState update action, any other state of the same type can be transitioned to
	Tos pulumi.StringArrayOutput `pulumi:"tos"`
}

func GetStateTransitions

func GetStateTransitions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StateTransitionsState, opts ...pulumi.ResourceOption) (*StateTransitions, error)

GetStateTransitions gets an existing StateTransitions resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStateTransitions

func NewStateTransitions(ctx *pulumi.Context,
	name string, args *StateTransitionsArgs, opts ...pulumi.ResourceOption) (*StateTransitions, error)

NewStateTransitions registers a new resource with the given unique name, arguments, and options.

func (*StateTransitions) ElementType

func (*StateTransitions) ElementType() reflect.Type

func (*StateTransitions) ToStateTransitionsOutput

func (i *StateTransitions) ToStateTransitionsOutput() StateTransitionsOutput

func (*StateTransitions) ToStateTransitionsOutputWithContext

func (i *StateTransitions) ToStateTransitionsOutputWithContext(ctx context.Context) StateTransitionsOutput

type StateTransitionsArgs

type StateTransitionsArgs struct {
	// ID of the state to transition from
	From pulumi.StringInput
	// Transitions are a way to describe possible transformations of the current state to other states of the same type (for
	// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently
	// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is
	// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When
	// performing a transitionState update action, any other state of the same type can be transitioned to
	Tos pulumi.StringArrayInput
}

The set of arguments for constructing a StateTransitions resource.

func (StateTransitionsArgs) ElementType

func (StateTransitionsArgs) ElementType() reflect.Type

type StateTransitionsArray

type StateTransitionsArray []StateTransitionsInput

func (StateTransitionsArray) ElementType

func (StateTransitionsArray) ElementType() reflect.Type

func (StateTransitionsArray) ToStateTransitionsArrayOutput

func (i StateTransitionsArray) ToStateTransitionsArrayOutput() StateTransitionsArrayOutput

func (StateTransitionsArray) ToStateTransitionsArrayOutputWithContext

func (i StateTransitionsArray) ToStateTransitionsArrayOutputWithContext(ctx context.Context) StateTransitionsArrayOutput

type StateTransitionsArrayInput

type StateTransitionsArrayInput interface {
	pulumi.Input

	ToStateTransitionsArrayOutput() StateTransitionsArrayOutput
	ToStateTransitionsArrayOutputWithContext(context.Context) StateTransitionsArrayOutput
}

StateTransitionsArrayInput is an input type that accepts StateTransitionsArray and StateTransitionsArrayOutput values. You can construct a concrete instance of `StateTransitionsArrayInput` via:

StateTransitionsArray{ StateTransitionsArgs{...} }

type StateTransitionsArrayOutput

type StateTransitionsArrayOutput struct{ *pulumi.OutputState }

func (StateTransitionsArrayOutput) ElementType

func (StateTransitionsArrayOutput) Index

func (StateTransitionsArrayOutput) ToStateTransitionsArrayOutput

func (o StateTransitionsArrayOutput) ToStateTransitionsArrayOutput() StateTransitionsArrayOutput

func (StateTransitionsArrayOutput) ToStateTransitionsArrayOutputWithContext

func (o StateTransitionsArrayOutput) ToStateTransitionsArrayOutputWithContext(ctx context.Context) StateTransitionsArrayOutput

type StateTransitionsInput

type StateTransitionsInput interface {
	pulumi.Input

	ToStateTransitionsOutput() StateTransitionsOutput
	ToStateTransitionsOutputWithContext(ctx context.Context) StateTransitionsOutput
}

type StateTransitionsMap

type StateTransitionsMap map[string]StateTransitionsInput

func (StateTransitionsMap) ElementType

func (StateTransitionsMap) ElementType() reflect.Type

func (StateTransitionsMap) ToStateTransitionsMapOutput

func (i StateTransitionsMap) ToStateTransitionsMapOutput() StateTransitionsMapOutput

func (StateTransitionsMap) ToStateTransitionsMapOutputWithContext

func (i StateTransitionsMap) ToStateTransitionsMapOutputWithContext(ctx context.Context) StateTransitionsMapOutput

type StateTransitionsMapInput

type StateTransitionsMapInput interface {
	pulumi.Input

	ToStateTransitionsMapOutput() StateTransitionsMapOutput
	ToStateTransitionsMapOutputWithContext(context.Context) StateTransitionsMapOutput
}

StateTransitionsMapInput is an input type that accepts StateTransitionsMap and StateTransitionsMapOutput values. You can construct a concrete instance of `StateTransitionsMapInput` via:

StateTransitionsMap{ "key": StateTransitionsArgs{...} }

type StateTransitionsMapOutput

type StateTransitionsMapOutput struct{ *pulumi.OutputState }

func (StateTransitionsMapOutput) ElementType

func (StateTransitionsMapOutput) ElementType() reflect.Type

func (StateTransitionsMapOutput) MapIndex

func (StateTransitionsMapOutput) ToStateTransitionsMapOutput

func (o StateTransitionsMapOutput) ToStateTransitionsMapOutput() StateTransitionsMapOutput

func (StateTransitionsMapOutput) ToStateTransitionsMapOutputWithContext

func (o StateTransitionsMapOutput) ToStateTransitionsMapOutputWithContext(ctx context.Context) StateTransitionsMapOutput

type StateTransitionsOutput

type StateTransitionsOutput struct{ *pulumi.OutputState }

func (StateTransitionsOutput) ElementType

func (StateTransitionsOutput) ElementType() reflect.Type

func (StateTransitionsOutput) From

ID of the state to transition from

func (StateTransitionsOutput) ToStateTransitionsOutput

func (o StateTransitionsOutput) ToStateTransitionsOutput() StateTransitionsOutput

func (StateTransitionsOutput) ToStateTransitionsOutputWithContext

func (o StateTransitionsOutput) ToStateTransitionsOutputWithContext(ctx context.Context) StateTransitionsOutput

func (StateTransitionsOutput) Tos

Transitions are a way to describe possible transformations of the current state to other states of the same type (for example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When performing a transitionState update action, any other state of the same type can be transitioned to

type StateTransitionsState

type StateTransitionsState struct {
	// ID of the state to transition from
	From pulumi.StringPtrInput
	// Transitions are a way to describe possible transformations of the current state to other states of the same type (for
	// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently
	// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is
	// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When
	// performing a transitionState update action, any other state of the same type can be transitioned to
	Tos pulumi.StringArrayInput
}

func (StateTransitionsState) ElementType

func (StateTransitionsState) ElementType() reflect.Type

type Store

type Store struct {
	pulumi.CustomResourceState

	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Countries pulumi.StringArrayOutput `pulumi:"countries"`
	Custom    StoreCustomPtrOutput     `pulumi:"custom"`
	// Set of ResourceIdentifier to a Channel with ProductDistribution
	DistributionChannels pulumi.StringArrayOutput `pulumi:"distributionChannels"`
	// User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store
	Key pulumi.StringOutput `pulumi:"key"`
	// [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag)
	Languages pulumi.StringArrayOutput `pulumi:"languages"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapOutput `pulumi:"name"`
	// Controls availability of Products for this Store via Product Selections
	ProductSelections StoreProductSelectionArrayOutput `pulumi:"productSelections"`
	// Set of ResourceIdentifier of Channels with InventorySupply
	SupplyChannels pulumi.StringArrayOutput `pulumi:"supplyChannels"`
	Version        pulumi.IntOutput         `pulumi:"version"`
}

func GetStore

func GetStore(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StoreState, opts ...pulumi.ResourceOption) (*Store, error)

GetStore gets an existing Store resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStore

func NewStore(ctx *pulumi.Context,
	name string, args *StoreArgs, opts ...pulumi.ResourceOption) (*Store, error)

NewStore registers a new resource with the given unique name, arguments, and options.

func (*Store) ElementType

func (*Store) ElementType() reflect.Type

func (*Store) ToStoreOutput

func (i *Store) ToStoreOutput() StoreOutput

func (*Store) ToStoreOutputWithContext

func (i *Store) ToStoreOutputWithContext(ctx context.Context) StoreOutput

type StoreArgs

type StoreArgs struct {
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Countries pulumi.StringArrayInput
	Custom    StoreCustomPtrInput
	// Set of ResourceIdentifier to a Channel with ProductDistribution
	DistributionChannels pulumi.StringArrayInput
	// User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store
	Key pulumi.StringInput
	// [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag)
	Languages pulumi.StringArrayInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// Controls availability of Products for this Store via Product Selections
	ProductSelections StoreProductSelectionArrayInput
	// Set of ResourceIdentifier of Channels with InventorySupply
	SupplyChannels pulumi.StringArrayInput
}

The set of arguments for constructing a Store resource.

func (StoreArgs) ElementType

func (StoreArgs) ElementType() reflect.Type

type StoreArray

type StoreArray []StoreInput

func (StoreArray) ElementType

func (StoreArray) ElementType() reflect.Type

func (StoreArray) ToStoreArrayOutput

func (i StoreArray) ToStoreArrayOutput() StoreArrayOutput

func (StoreArray) ToStoreArrayOutputWithContext

func (i StoreArray) ToStoreArrayOutputWithContext(ctx context.Context) StoreArrayOutput

type StoreArrayInput

type StoreArrayInput interface {
	pulumi.Input

	ToStoreArrayOutput() StoreArrayOutput
	ToStoreArrayOutputWithContext(context.Context) StoreArrayOutput
}

StoreArrayInput is an input type that accepts StoreArray and StoreArrayOutput values. You can construct a concrete instance of `StoreArrayInput` via:

StoreArray{ StoreArgs{...} }

type StoreArrayOutput

type StoreArrayOutput struct{ *pulumi.OutputState }

func (StoreArrayOutput) ElementType

func (StoreArrayOutput) ElementType() reflect.Type

func (StoreArrayOutput) Index

func (StoreArrayOutput) ToStoreArrayOutput

func (o StoreArrayOutput) ToStoreArrayOutput() StoreArrayOutput

func (StoreArrayOutput) ToStoreArrayOutputWithContext

func (o StoreArrayOutput) ToStoreArrayOutputWithContext(ctx context.Context) StoreArrayOutput

type StoreCustom

type StoreCustom struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields map[string]interface{} `pulumi:"fields"`
	TypeId string                 `pulumi:"typeId"`
}

type StoreCustomArgs

type StoreCustomArgs struct {
	// Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
	Fields pulumi.MapInput    `pulumi:"fields"`
	TypeId pulumi.StringInput `pulumi:"typeId"`
}

func (StoreCustomArgs) ElementType

func (StoreCustomArgs) ElementType() reflect.Type

func (StoreCustomArgs) ToStoreCustomOutput

func (i StoreCustomArgs) ToStoreCustomOutput() StoreCustomOutput

func (StoreCustomArgs) ToStoreCustomOutputWithContext

func (i StoreCustomArgs) ToStoreCustomOutputWithContext(ctx context.Context) StoreCustomOutput

func (StoreCustomArgs) ToStoreCustomPtrOutput

func (i StoreCustomArgs) ToStoreCustomPtrOutput() StoreCustomPtrOutput

func (StoreCustomArgs) ToStoreCustomPtrOutputWithContext

func (i StoreCustomArgs) ToStoreCustomPtrOutputWithContext(ctx context.Context) StoreCustomPtrOutput

type StoreCustomInput

type StoreCustomInput interface {
	pulumi.Input

	ToStoreCustomOutput() StoreCustomOutput
	ToStoreCustomOutputWithContext(context.Context) StoreCustomOutput
}

StoreCustomInput is an input type that accepts StoreCustomArgs and StoreCustomOutput values. You can construct a concrete instance of `StoreCustomInput` via:

StoreCustomArgs{...}

type StoreCustomOutput

type StoreCustomOutput struct{ *pulumi.OutputState }

func (StoreCustomOutput) ElementType

func (StoreCustomOutput) ElementType() reflect.Type

func (StoreCustomOutput) Fields

func (o StoreCustomOutput) Fields() pulumi.MapOutput

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (StoreCustomOutput) ToStoreCustomOutput

func (o StoreCustomOutput) ToStoreCustomOutput() StoreCustomOutput

func (StoreCustomOutput) ToStoreCustomOutputWithContext

func (o StoreCustomOutput) ToStoreCustomOutputWithContext(ctx context.Context) StoreCustomOutput

func (StoreCustomOutput) ToStoreCustomPtrOutput

func (o StoreCustomOutput) ToStoreCustomPtrOutput() StoreCustomPtrOutput

func (StoreCustomOutput) ToStoreCustomPtrOutputWithContext

func (o StoreCustomOutput) ToStoreCustomPtrOutputWithContext(ctx context.Context) StoreCustomPtrOutput

func (StoreCustomOutput) TypeId

type StoreCustomPtrInput

type StoreCustomPtrInput interface {
	pulumi.Input

	ToStoreCustomPtrOutput() StoreCustomPtrOutput
	ToStoreCustomPtrOutputWithContext(context.Context) StoreCustomPtrOutput
}

StoreCustomPtrInput is an input type that accepts StoreCustomArgs, StoreCustomPtr and StoreCustomPtrOutput values. You can construct a concrete instance of `StoreCustomPtrInput` via:

        StoreCustomArgs{...}

or:

        nil

func StoreCustomPtr

func StoreCustomPtr(v *StoreCustomArgs) StoreCustomPtrInput

type StoreCustomPtrOutput

type StoreCustomPtrOutput struct{ *pulumi.OutputState }

func (StoreCustomPtrOutput) Elem

func (StoreCustomPtrOutput) ElementType

func (StoreCustomPtrOutput) ElementType() reflect.Type

func (StoreCustomPtrOutput) Fields

Custom fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`

func (StoreCustomPtrOutput) ToStoreCustomPtrOutput

func (o StoreCustomPtrOutput) ToStoreCustomPtrOutput() StoreCustomPtrOutput

func (StoreCustomPtrOutput) ToStoreCustomPtrOutputWithContext

func (o StoreCustomPtrOutput) ToStoreCustomPtrOutputWithContext(ctx context.Context) StoreCustomPtrOutput

func (StoreCustomPtrOutput) TypeId

type StoreInput

type StoreInput interface {
	pulumi.Input

	ToStoreOutput() StoreOutput
	ToStoreOutputWithContext(ctx context.Context) StoreOutput
}

type StoreMap

type StoreMap map[string]StoreInput

func (StoreMap) ElementType

func (StoreMap) ElementType() reflect.Type

func (StoreMap) ToStoreMapOutput

func (i StoreMap) ToStoreMapOutput() StoreMapOutput

func (StoreMap) ToStoreMapOutputWithContext

func (i StoreMap) ToStoreMapOutputWithContext(ctx context.Context) StoreMapOutput

type StoreMapInput

type StoreMapInput interface {
	pulumi.Input

	ToStoreMapOutput() StoreMapOutput
	ToStoreMapOutputWithContext(context.Context) StoreMapOutput
}

StoreMapInput is an input type that accepts StoreMap and StoreMapOutput values. You can construct a concrete instance of `StoreMapInput` via:

StoreMap{ "key": StoreArgs{...} }

type StoreMapOutput

type StoreMapOutput struct{ *pulumi.OutputState }

func (StoreMapOutput) ElementType

func (StoreMapOutput) ElementType() reflect.Type

func (StoreMapOutput) MapIndex

func (StoreMapOutput) ToStoreMapOutput

func (o StoreMapOutput) ToStoreMapOutput() StoreMapOutput

func (StoreMapOutput) ToStoreMapOutputWithContext

func (o StoreMapOutput) ToStoreMapOutputWithContext(ctx context.Context) StoreMapOutput

type StoreOutput

type StoreOutput struct{ *pulumi.OutputState }

func (StoreOutput) Countries

func (o StoreOutput) Countries() pulumi.StringArrayOutput

A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)

func (StoreOutput) Custom

func (o StoreOutput) Custom() StoreCustomPtrOutput

func (StoreOutput) DistributionChannels

func (o StoreOutput) DistributionChannels() pulumi.StringArrayOutput

Set of ResourceIdentifier to a Channel with ProductDistribution

func (StoreOutput) ElementType

func (StoreOutput) ElementType() reflect.Type

func (StoreOutput) Key

User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store

func (StoreOutput) Languages

func (o StoreOutput) Languages() pulumi.StringArrayOutput

[IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag)

func (StoreOutput) Name

func (o StoreOutput) Name() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (StoreOutput) ProductSelections

func (o StoreOutput) ProductSelections() StoreProductSelectionArrayOutput

Controls availability of Products for this Store via Product Selections

func (StoreOutput) SupplyChannels

func (o StoreOutput) SupplyChannels() pulumi.StringArrayOutput

Set of ResourceIdentifier of Channels with InventorySupply

func (StoreOutput) ToStoreOutput

func (o StoreOutput) ToStoreOutput() StoreOutput

func (StoreOutput) ToStoreOutputWithContext

func (o StoreOutput) ToStoreOutputWithContext(ctx context.Context) StoreOutput

func (StoreOutput) Version

func (o StoreOutput) Version() pulumi.IntOutput

type StoreProductSelection

type StoreProductSelection struct {
	// If true, all Products assigned to this Product Selection are part of the Store's assortment
	Active bool `pulumi:"active"`
	// Resource Identifier of a ProductSelection
	ProductSelectionId string `pulumi:"productSelectionId"`
}

type StoreProductSelectionArgs

type StoreProductSelectionArgs struct {
	// If true, all Products assigned to this Product Selection are part of the Store's assortment
	Active pulumi.BoolInput `pulumi:"active"`
	// Resource Identifier of a ProductSelection
	ProductSelectionId pulumi.StringInput `pulumi:"productSelectionId"`
}

func (StoreProductSelectionArgs) ElementType

func (StoreProductSelectionArgs) ElementType() reflect.Type

func (StoreProductSelectionArgs) ToStoreProductSelectionOutput

func (i StoreProductSelectionArgs) ToStoreProductSelectionOutput() StoreProductSelectionOutput

func (StoreProductSelectionArgs) ToStoreProductSelectionOutputWithContext

func (i StoreProductSelectionArgs) ToStoreProductSelectionOutputWithContext(ctx context.Context) StoreProductSelectionOutput

type StoreProductSelectionArray

type StoreProductSelectionArray []StoreProductSelectionInput

func (StoreProductSelectionArray) ElementType

func (StoreProductSelectionArray) ElementType() reflect.Type

func (StoreProductSelectionArray) ToStoreProductSelectionArrayOutput

func (i StoreProductSelectionArray) ToStoreProductSelectionArrayOutput() StoreProductSelectionArrayOutput

func (StoreProductSelectionArray) ToStoreProductSelectionArrayOutputWithContext

func (i StoreProductSelectionArray) ToStoreProductSelectionArrayOutputWithContext(ctx context.Context) StoreProductSelectionArrayOutput

type StoreProductSelectionArrayInput

type StoreProductSelectionArrayInput interface {
	pulumi.Input

	ToStoreProductSelectionArrayOutput() StoreProductSelectionArrayOutput
	ToStoreProductSelectionArrayOutputWithContext(context.Context) StoreProductSelectionArrayOutput
}

StoreProductSelectionArrayInput is an input type that accepts StoreProductSelectionArray and StoreProductSelectionArrayOutput values. You can construct a concrete instance of `StoreProductSelectionArrayInput` via:

StoreProductSelectionArray{ StoreProductSelectionArgs{...} }

type StoreProductSelectionArrayOutput

type StoreProductSelectionArrayOutput struct{ *pulumi.OutputState }

func (StoreProductSelectionArrayOutput) ElementType

func (StoreProductSelectionArrayOutput) Index

func (StoreProductSelectionArrayOutput) ToStoreProductSelectionArrayOutput

func (o StoreProductSelectionArrayOutput) ToStoreProductSelectionArrayOutput() StoreProductSelectionArrayOutput

func (StoreProductSelectionArrayOutput) ToStoreProductSelectionArrayOutputWithContext

func (o StoreProductSelectionArrayOutput) ToStoreProductSelectionArrayOutputWithContext(ctx context.Context) StoreProductSelectionArrayOutput

type StoreProductSelectionInput

type StoreProductSelectionInput interface {
	pulumi.Input

	ToStoreProductSelectionOutput() StoreProductSelectionOutput
	ToStoreProductSelectionOutputWithContext(context.Context) StoreProductSelectionOutput
}

StoreProductSelectionInput is an input type that accepts StoreProductSelectionArgs and StoreProductSelectionOutput values. You can construct a concrete instance of `StoreProductSelectionInput` via:

StoreProductSelectionArgs{...}

type StoreProductSelectionOutput

type StoreProductSelectionOutput struct{ *pulumi.OutputState }

func (StoreProductSelectionOutput) Active

If true, all Products assigned to this Product Selection are part of the Store's assortment

func (StoreProductSelectionOutput) ElementType

func (StoreProductSelectionOutput) ProductSelectionId

func (o StoreProductSelectionOutput) ProductSelectionId() pulumi.StringOutput

Resource Identifier of a ProductSelection

func (StoreProductSelectionOutput) ToStoreProductSelectionOutput

func (o StoreProductSelectionOutput) ToStoreProductSelectionOutput() StoreProductSelectionOutput

func (StoreProductSelectionOutput) ToStoreProductSelectionOutputWithContext

func (o StoreProductSelectionOutput) ToStoreProductSelectionOutputWithContext(ctx context.Context) StoreProductSelectionOutput

type StoreState

type StoreState struct {
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Countries pulumi.StringArrayInput
	Custom    StoreCustomPtrInput
	// Set of ResourceIdentifier to a Channel with ProductDistribution
	DistributionChannels pulumi.StringArrayInput
	// User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store
	Key pulumi.StringPtrInput
	// [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag)
	Languages pulumi.StringArrayInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// Controls availability of Products for this Store via Product Selections
	ProductSelections StoreProductSelectionArrayInput
	// Set of ResourceIdentifier of Channels with InventorySupply
	SupplyChannels pulumi.StringArrayInput
	Version        pulumi.IntPtrInput
}

func (StoreState) ElementType

func (StoreState) ElementType() reflect.Type

type Subscription

type Subscription struct {
	pulumi.CustomResourceState

	// The change notifications subscribed to
	Changes     SubscriptionChangeArrayOutput    `pulumi:"changes"`
	Destination SubscriptionDestinationPtrOutput `pulumi:"destination"`
	// The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered
	Format SubscriptionFormatPtrOutput `pulumi:"format"`
	// Timestamp of the last Terraform update of the order.
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// The messages subscribed to
	Messages SubscriptionMessageArrayOutput `pulumi:"messages"`
	Version  pulumi.IntOutput               `pulumi:"version"`
}

func GetSubscription

func GetSubscription(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubscriptionState, opts ...pulumi.ResourceOption) (*Subscription, error)

GetSubscription gets an existing Subscription resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSubscription

func NewSubscription(ctx *pulumi.Context,
	name string, args *SubscriptionArgs, opts ...pulumi.ResourceOption) (*Subscription, error)

NewSubscription registers a new resource with the given unique name, arguments, and options.

func (*Subscription) ElementType

func (*Subscription) ElementType() reflect.Type

func (*Subscription) ToSubscriptionOutput

func (i *Subscription) ToSubscriptionOutput() SubscriptionOutput

func (*Subscription) ToSubscriptionOutputWithContext

func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput

type SubscriptionArgs

type SubscriptionArgs struct {
	// The change notifications subscribed to
	Changes     SubscriptionChangeArrayInput
	Destination SubscriptionDestinationPtrInput
	// The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered
	Format SubscriptionFormatPtrInput
	// Timestamp of the last Terraform update of the order.
	Key pulumi.StringPtrInput
	// The messages subscribed to
	Messages SubscriptionMessageArrayInput
}

The set of arguments for constructing a Subscription resource.

func (SubscriptionArgs) ElementType

func (SubscriptionArgs) ElementType() reflect.Type

type SubscriptionArray

type SubscriptionArray []SubscriptionInput

func (SubscriptionArray) ElementType

func (SubscriptionArray) ElementType() reflect.Type

func (SubscriptionArray) ToSubscriptionArrayOutput

func (i SubscriptionArray) ToSubscriptionArrayOutput() SubscriptionArrayOutput

func (SubscriptionArray) ToSubscriptionArrayOutputWithContext

func (i SubscriptionArray) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput

type SubscriptionArrayInput

type SubscriptionArrayInput interface {
	pulumi.Input

	ToSubscriptionArrayOutput() SubscriptionArrayOutput
	ToSubscriptionArrayOutputWithContext(context.Context) SubscriptionArrayOutput
}

SubscriptionArrayInput is an input type that accepts SubscriptionArray and SubscriptionArrayOutput values. You can construct a concrete instance of `SubscriptionArrayInput` via:

SubscriptionArray{ SubscriptionArgs{...} }

type SubscriptionArrayOutput

type SubscriptionArrayOutput struct{ *pulumi.OutputState }

func (SubscriptionArrayOutput) ElementType

func (SubscriptionArrayOutput) ElementType() reflect.Type

func (SubscriptionArrayOutput) Index

func (SubscriptionArrayOutput) ToSubscriptionArrayOutput

func (o SubscriptionArrayOutput) ToSubscriptionArrayOutput() SubscriptionArrayOutput

func (SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext

func (o SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput

type SubscriptionChange

type SubscriptionChange struct {
	// [Resource Type ID](https://docs.commercetools.com/api/projects/subscriptions#changesubscription)
	ResourceTypeIds []string `pulumi:"resourceTypeIds"`
}

type SubscriptionChangeArgs

type SubscriptionChangeArgs struct {
	// [Resource Type ID](https://docs.commercetools.com/api/projects/subscriptions#changesubscription)
	ResourceTypeIds pulumi.StringArrayInput `pulumi:"resourceTypeIds"`
}

func (SubscriptionChangeArgs) ElementType

func (SubscriptionChangeArgs) ElementType() reflect.Type

func (SubscriptionChangeArgs) ToSubscriptionChangeOutput

func (i SubscriptionChangeArgs) ToSubscriptionChangeOutput() SubscriptionChangeOutput

func (SubscriptionChangeArgs) ToSubscriptionChangeOutputWithContext

func (i SubscriptionChangeArgs) ToSubscriptionChangeOutputWithContext(ctx context.Context) SubscriptionChangeOutput

type SubscriptionChangeArray

type SubscriptionChangeArray []SubscriptionChangeInput

func (SubscriptionChangeArray) ElementType

func (SubscriptionChangeArray) ElementType() reflect.Type

func (SubscriptionChangeArray) ToSubscriptionChangeArrayOutput

func (i SubscriptionChangeArray) ToSubscriptionChangeArrayOutput() SubscriptionChangeArrayOutput

func (SubscriptionChangeArray) ToSubscriptionChangeArrayOutputWithContext

func (i SubscriptionChangeArray) ToSubscriptionChangeArrayOutputWithContext(ctx context.Context) SubscriptionChangeArrayOutput

type SubscriptionChangeArrayInput

type SubscriptionChangeArrayInput interface {
	pulumi.Input

	ToSubscriptionChangeArrayOutput() SubscriptionChangeArrayOutput
	ToSubscriptionChangeArrayOutputWithContext(context.Context) SubscriptionChangeArrayOutput
}

SubscriptionChangeArrayInput is an input type that accepts SubscriptionChangeArray and SubscriptionChangeArrayOutput values. You can construct a concrete instance of `SubscriptionChangeArrayInput` via:

SubscriptionChangeArray{ SubscriptionChangeArgs{...} }

type SubscriptionChangeArrayOutput

type SubscriptionChangeArrayOutput struct{ *pulumi.OutputState }

func (SubscriptionChangeArrayOutput) ElementType

func (SubscriptionChangeArrayOutput) Index

func (SubscriptionChangeArrayOutput) ToSubscriptionChangeArrayOutput

func (o SubscriptionChangeArrayOutput) ToSubscriptionChangeArrayOutput() SubscriptionChangeArrayOutput

func (SubscriptionChangeArrayOutput) ToSubscriptionChangeArrayOutputWithContext

func (o SubscriptionChangeArrayOutput) ToSubscriptionChangeArrayOutputWithContext(ctx context.Context) SubscriptionChangeArrayOutput

type SubscriptionChangeInput

type SubscriptionChangeInput interface {
	pulumi.Input

	ToSubscriptionChangeOutput() SubscriptionChangeOutput
	ToSubscriptionChangeOutputWithContext(context.Context) SubscriptionChangeOutput
}

SubscriptionChangeInput is an input type that accepts SubscriptionChangeArgs and SubscriptionChangeOutput values. You can construct a concrete instance of `SubscriptionChangeInput` via:

SubscriptionChangeArgs{...}

type SubscriptionChangeOutput

type SubscriptionChangeOutput struct{ *pulumi.OutputState }

func (SubscriptionChangeOutput) ElementType

func (SubscriptionChangeOutput) ElementType() reflect.Type

func (SubscriptionChangeOutput) ToSubscriptionChangeOutput

func (o SubscriptionChangeOutput) ToSubscriptionChangeOutput() SubscriptionChangeOutput

func (SubscriptionChangeOutput) ToSubscriptionChangeOutputWithContext

func (o SubscriptionChangeOutput) ToSubscriptionChangeOutputWithContext(ctx context.Context) SubscriptionChangeOutput

type SubscriptionDestination

type SubscriptionDestination struct {
	// The access key of the SQS queue, SNS topic or EventBridge topic
	AccessKey *string `pulumi:"accessKey"`
	// The access secret of the SQS queue, SNS topic or EventBridge topic
	AccessSecret *string `pulumi:"accessSecret"`
	// The AWS account ID of the SNS topic or EventBridge topic
	AccountId *string `pulumi:"accountId"`
	// The acks value of the Confluent Cloud topic
	Acks *string `pulumi:"acks"`
	// The API key of the Confluent Cloud topic
	ApiKey *string `pulumi:"apiKey"`
	// The API secret of the Confluent Cloud topic
	ApiSecret *string `pulumi:"apiSecret"`
	// The bootstrap server of the Confluent Cloud topic
	BootstrapServer *string `pulumi:"bootstrapServer"`
	// The connection string of the Azure Service Bus
	ConnectionString *string `pulumi:"connectionString"`
	// The key of the Confluent Cloud topic
	Key *string `pulumi:"key"`
	// The project ID of the Google Cloud Pub/Sub
	ProjectId *string `pulumi:"projectId"`
	// The URL of the SQS queue
	QueueUrl *string `pulumi:"queueUrl"`
	// The region of the SQS queue, SNS topic or EventBridge topic
	Region *string `pulumi:"region"`
	// The topic of the Google Cloud Pub/Sub or Confluent Cloud topic
	Topic *string `pulumi:"topic"`
	// The ARN of the SNS topic
	TopicArn *string `pulumi:"topicArn"`
	// The type of the destination. See [Destination](https://docs.commercetools.com/api/projects/subscriptions#destination) for more information
	Type string `pulumi:"type"`
	// The URI of the EventGrid topic
	Uri *string `pulumi:"uri"`
}

type SubscriptionDestinationArgs

type SubscriptionDestinationArgs struct {
	// The access key of the SQS queue, SNS topic or EventBridge topic
	AccessKey pulumi.StringPtrInput `pulumi:"accessKey"`
	// The access secret of the SQS queue, SNS topic or EventBridge topic
	AccessSecret pulumi.StringPtrInput `pulumi:"accessSecret"`
	// The AWS account ID of the SNS topic or EventBridge topic
	AccountId pulumi.StringPtrInput `pulumi:"accountId"`
	// The acks value of the Confluent Cloud topic
	Acks pulumi.StringPtrInput `pulumi:"acks"`
	// The API key of the Confluent Cloud topic
	ApiKey pulumi.StringPtrInput `pulumi:"apiKey"`
	// The API secret of the Confluent Cloud topic
	ApiSecret pulumi.StringPtrInput `pulumi:"apiSecret"`
	// The bootstrap server of the Confluent Cloud topic
	BootstrapServer pulumi.StringPtrInput `pulumi:"bootstrapServer"`
	// The connection string of the Azure Service Bus
	ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"`
	// The key of the Confluent Cloud topic
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The project ID of the Google Cloud Pub/Sub
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The URL of the SQS queue
	QueueUrl pulumi.StringPtrInput `pulumi:"queueUrl"`
	// The region of the SQS queue, SNS topic or EventBridge topic
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The topic of the Google Cloud Pub/Sub or Confluent Cloud topic
	Topic pulumi.StringPtrInput `pulumi:"topic"`
	// The ARN of the SNS topic
	TopicArn pulumi.StringPtrInput `pulumi:"topicArn"`
	// The type of the destination. See [Destination](https://docs.commercetools.com/api/projects/subscriptions#destination) for more information
	Type pulumi.StringInput `pulumi:"type"`
	// The URI of the EventGrid topic
	Uri pulumi.StringPtrInput `pulumi:"uri"`
}

func (SubscriptionDestinationArgs) ElementType

func (SubscriptionDestinationArgs) ToSubscriptionDestinationOutput

func (i SubscriptionDestinationArgs) ToSubscriptionDestinationOutput() SubscriptionDestinationOutput

func (SubscriptionDestinationArgs) ToSubscriptionDestinationOutputWithContext

func (i SubscriptionDestinationArgs) ToSubscriptionDestinationOutputWithContext(ctx context.Context) SubscriptionDestinationOutput

func (SubscriptionDestinationArgs) ToSubscriptionDestinationPtrOutput

func (i SubscriptionDestinationArgs) ToSubscriptionDestinationPtrOutput() SubscriptionDestinationPtrOutput

func (SubscriptionDestinationArgs) ToSubscriptionDestinationPtrOutputWithContext

func (i SubscriptionDestinationArgs) ToSubscriptionDestinationPtrOutputWithContext(ctx context.Context) SubscriptionDestinationPtrOutput

type SubscriptionDestinationInput

type SubscriptionDestinationInput interface {
	pulumi.Input

	ToSubscriptionDestinationOutput() SubscriptionDestinationOutput
	ToSubscriptionDestinationOutputWithContext(context.Context) SubscriptionDestinationOutput
}

SubscriptionDestinationInput is an input type that accepts SubscriptionDestinationArgs and SubscriptionDestinationOutput values. You can construct a concrete instance of `SubscriptionDestinationInput` via:

SubscriptionDestinationArgs{...}

type SubscriptionDestinationOutput

type SubscriptionDestinationOutput struct{ *pulumi.OutputState }

func (SubscriptionDestinationOutput) AccessKey

The access key of the SQS queue, SNS topic or EventBridge topic

func (SubscriptionDestinationOutput) AccessSecret

The access secret of the SQS queue, SNS topic or EventBridge topic

func (SubscriptionDestinationOutput) AccountId

The AWS account ID of the SNS topic or EventBridge topic

func (SubscriptionDestinationOutput) Acks

The acks value of the Confluent Cloud topic

func (SubscriptionDestinationOutput) ApiKey

The API key of the Confluent Cloud topic

func (SubscriptionDestinationOutput) ApiSecret

The API secret of the Confluent Cloud topic

func (SubscriptionDestinationOutput) BootstrapServer

The bootstrap server of the Confluent Cloud topic

func (SubscriptionDestinationOutput) ConnectionString

The connection string of the Azure Service Bus

func (SubscriptionDestinationOutput) ElementType

func (SubscriptionDestinationOutput) Key

The key of the Confluent Cloud topic

func (SubscriptionDestinationOutput) ProjectId

The project ID of the Google Cloud Pub/Sub

func (SubscriptionDestinationOutput) QueueUrl

The URL of the SQS queue

func (SubscriptionDestinationOutput) Region

The region of the SQS queue, SNS topic or EventBridge topic

func (SubscriptionDestinationOutput) ToSubscriptionDestinationOutput

func (o SubscriptionDestinationOutput) ToSubscriptionDestinationOutput() SubscriptionDestinationOutput

func (SubscriptionDestinationOutput) ToSubscriptionDestinationOutputWithContext

func (o SubscriptionDestinationOutput) ToSubscriptionDestinationOutputWithContext(ctx context.Context) SubscriptionDestinationOutput

func (SubscriptionDestinationOutput) ToSubscriptionDestinationPtrOutput

func (o SubscriptionDestinationOutput) ToSubscriptionDestinationPtrOutput() SubscriptionDestinationPtrOutput

func (SubscriptionDestinationOutput) ToSubscriptionDestinationPtrOutputWithContext

func (o SubscriptionDestinationOutput) ToSubscriptionDestinationPtrOutputWithContext(ctx context.Context) SubscriptionDestinationPtrOutput

func (SubscriptionDestinationOutput) Topic

The topic of the Google Cloud Pub/Sub or Confluent Cloud topic

func (SubscriptionDestinationOutput) TopicArn

The ARN of the SNS topic

func (SubscriptionDestinationOutput) Type

The type of the destination. See [Destination](https://docs.commercetools.com/api/projects/subscriptions#destination) for more information

func (SubscriptionDestinationOutput) Uri

The URI of the EventGrid topic

type SubscriptionDestinationPtrInput

type SubscriptionDestinationPtrInput interface {
	pulumi.Input

	ToSubscriptionDestinationPtrOutput() SubscriptionDestinationPtrOutput
	ToSubscriptionDestinationPtrOutputWithContext(context.Context) SubscriptionDestinationPtrOutput
}

SubscriptionDestinationPtrInput is an input type that accepts SubscriptionDestinationArgs, SubscriptionDestinationPtr and SubscriptionDestinationPtrOutput values. You can construct a concrete instance of `SubscriptionDestinationPtrInput` via:

        SubscriptionDestinationArgs{...}

or:

        nil

type SubscriptionDestinationPtrOutput

type SubscriptionDestinationPtrOutput struct{ *pulumi.OutputState }

func (SubscriptionDestinationPtrOutput) AccessKey

The access key of the SQS queue, SNS topic or EventBridge topic

func (SubscriptionDestinationPtrOutput) AccessSecret

The access secret of the SQS queue, SNS topic or EventBridge topic

func (SubscriptionDestinationPtrOutput) AccountId

The AWS account ID of the SNS topic or EventBridge topic

func (SubscriptionDestinationPtrOutput) Acks

The acks value of the Confluent Cloud topic

func (SubscriptionDestinationPtrOutput) ApiKey

The API key of the Confluent Cloud topic

func (SubscriptionDestinationPtrOutput) ApiSecret

The API secret of the Confluent Cloud topic

func (SubscriptionDestinationPtrOutput) BootstrapServer

The bootstrap server of the Confluent Cloud topic

func (SubscriptionDestinationPtrOutput) ConnectionString

The connection string of the Azure Service Bus

func (SubscriptionDestinationPtrOutput) Elem

func (SubscriptionDestinationPtrOutput) ElementType

func (SubscriptionDestinationPtrOutput) Key

The key of the Confluent Cloud topic

func (SubscriptionDestinationPtrOutput) ProjectId

The project ID of the Google Cloud Pub/Sub

func (SubscriptionDestinationPtrOutput) QueueUrl

The URL of the SQS queue

func (SubscriptionDestinationPtrOutput) Region

The region of the SQS queue, SNS topic or EventBridge topic

func (SubscriptionDestinationPtrOutput) ToSubscriptionDestinationPtrOutput

func (o SubscriptionDestinationPtrOutput) ToSubscriptionDestinationPtrOutput() SubscriptionDestinationPtrOutput

func (SubscriptionDestinationPtrOutput) ToSubscriptionDestinationPtrOutputWithContext

func (o SubscriptionDestinationPtrOutput) ToSubscriptionDestinationPtrOutputWithContext(ctx context.Context) SubscriptionDestinationPtrOutput

func (SubscriptionDestinationPtrOutput) Topic

The topic of the Google Cloud Pub/Sub or Confluent Cloud topic

func (SubscriptionDestinationPtrOutput) TopicArn

The ARN of the SNS topic

func (SubscriptionDestinationPtrOutput) Type

The type of the destination. See [Destination](https://docs.commercetools.com/api/projects/subscriptions#destination) for more information

func (SubscriptionDestinationPtrOutput) Uri

The URI of the EventGrid topic

type SubscriptionFormat

type SubscriptionFormat struct {
	// For CloudEvents
	CloudEventsVersion *string `pulumi:"cloudEventsVersion"`
	Type               *string `pulumi:"type"`
}

type SubscriptionFormatArgs

type SubscriptionFormatArgs struct {
	// For CloudEvents
	CloudEventsVersion pulumi.StringPtrInput `pulumi:"cloudEventsVersion"`
	Type               pulumi.StringPtrInput `pulumi:"type"`
}

func (SubscriptionFormatArgs) ElementType

func (SubscriptionFormatArgs) ElementType() reflect.Type

func (SubscriptionFormatArgs) ToSubscriptionFormatOutput

func (i SubscriptionFormatArgs) ToSubscriptionFormatOutput() SubscriptionFormatOutput

func (SubscriptionFormatArgs) ToSubscriptionFormatOutputWithContext

func (i SubscriptionFormatArgs) ToSubscriptionFormatOutputWithContext(ctx context.Context) SubscriptionFormatOutput

func (SubscriptionFormatArgs) ToSubscriptionFormatPtrOutput

func (i SubscriptionFormatArgs) ToSubscriptionFormatPtrOutput() SubscriptionFormatPtrOutput

func (SubscriptionFormatArgs) ToSubscriptionFormatPtrOutputWithContext

func (i SubscriptionFormatArgs) ToSubscriptionFormatPtrOutputWithContext(ctx context.Context) SubscriptionFormatPtrOutput

type SubscriptionFormatInput

type SubscriptionFormatInput interface {
	pulumi.Input

	ToSubscriptionFormatOutput() SubscriptionFormatOutput
	ToSubscriptionFormatOutputWithContext(context.Context) SubscriptionFormatOutput
}

SubscriptionFormatInput is an input type that accepts SubscriptionFormatArgs and SubscriptionFormatOutput values. You can construct a concrete instance of `SubscriptionFormatInput` via:

SubscriptionFormatArgs{...}

type SubscriptionFormatOutput

type SubscriptionFormatOutput struct{ *pulumi.OutputState }

func (SubscriptionFormatOutput) CloudEventsVersion

func (o SubscriptionFormatOutput) CloudEventsVersion() pulumi.StringPtrOutput

For CloudEvents

func (SubscriptionFormatOutput) ElementType

func (SubscriptionFormatOutput) ElementType() reflect.Type

func (SubscriptionFormatOutput) ToSubscriptionFormatOutput

func (o SubscriptionFormatOutput) ToSubscriptionFormatOutput() SubscriptionFormatOutput

func (SubscriptionFormatOutput) ToSubscriptionFormatOutputWithContext

func (o SubscriptionFormatOutput) ToSubscriptionFormatOutputWithContext(ctx context.Context) SubscriptionFormatOutput

func (SubscriptionFormatOutput) ToSubscriptionFormatPtrOutput

func (o SubscriptionFormatOutput) ToSubscriptionFormatPtrOutput() SubscriptionFormatPtrOutput

func (SubscriptionFormatOutput) ToSubscriptionFormatPtrOutputWithContext

func (o SubscriptionFormatOutput) ToSubscriptionFormatPtrOutputWithContext(ctx context.Context) SubscriptionFormatPtrOutput

func (SubscriptionFormatOutput) Type

type SubscriptionFormatPtrInput

type SubscriptionFormatPtrInput interface {
	pulumi.Input

	ToSubscriptionFormatPtrOutput() SubscriptionFormatPtrOutput
	ToSubscriptionFormatPtrOutputWithContext(context.Context) SubscriptionFormatPtrOutput
}

SubscriptionFormatPtrInput is an input type that accepts SubscriptionFormatArgs, SubscriptionFormatPtr and SubscriptionFormatPtrOutput values. You can construct a concrete instance of `SubscriptionFormatPtrInput` via:

        SubscriptionFormatArgs{...}

or:

        nil

type SubscriptionFormatPtrOutput

type SubscriptionFormatPtrOutput struct{ *pulumi.OutputState }

func (SubscriptionFormatPtrOutput) CloudEventsVersion

func (o SubscriptionFormatPtrOutput) CloudEventsVersion() pulumi.StringPtrOutput

For CloudEvents

func (SubscriptionFormatPtrOutput) Elem

func (SubscriptionFormatPtrOutput) ElementType

func (SubscriptionFormatPtrOutput) ToSubscriptionFormatPtrOutput

func (o SubscriptionFormatPtrOutput) ToSubscriptionFormatPtrOutput() SubscriptionFormatPtrOutput

func (SubscriptionFormatPtrOutput) ToSubscriptionFormatPtrOutputWithContext

func (o SubscriptionFormatPtrOutput) ToSubscriptionFormatPtrOutputWithContext(ctx context.Context) SubscriptionFormatPtrOutput

func (SubscriptionFormatPtrOutput) Type

type SubscriptionInput

type SubscriptionInput interface {
	pulumi.Input

	ToSubscriptionOutput() SubscriptionOutput
	ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
}

type SubscriptionMap

type SubscriptionMap map[string]SubscriptionInput

func (SubscriptionMap) ElementType

func (SubscriptionMap) ElementType() reflect.Type

func (SubscriptionMap) ToSubscriptionMapOutput

func (i SubscriptionMap) ToSubscriptionMapOutput() SubscriptionMapOutput

func (SubscriptionMap) ToSubscriptionMapOutputWithContext

func (i SubscriptionMap) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput

type SubscriptionMapInput

type SubscriptionMapInput interface {
	pulumi.Input

	ToSubscriptionMapOutput() SubscriptionMapOutput
	ToSubscriptionMapOutputWithContext(context.Context) SubscriptionMapOutput
}

SubscriptionMapInput is an input type that accepts SubscriptionMap and SubscriptionMapOutput values. You can construct a concrete instance of `SubscriptionMapInput` via:

SubscriptionMap{ "key": SubscriptionArgs{...} }

type SubscriptionMapOutput

type SubscriptionMapOutput struct{ *pulumi.OutputState }

func (SubscriptionMapOutput) ElementType

func (SubscriptionMapOutput) ElementType() reflect.Type

func (SubscriptionMapOutput) MapIndex

func (SubscriptionMapOutput) ToSubscriptionMapOutput

func (o SubscriptionMapOutput) ToSubscriptionMapOutput() SubscriptionMapOutput

func (SubscriptionMapOutput) ToSubscriptionMapOutputWithContext

func (o SubscriptionMapOutput) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput

type SubscriptionMessage

type SubscriptionMessage struct {
	// [Resource Type ID](https://docs.commercetools.com/api/projects/subscriptions#changesubscription)
	ResourceTypeId string `pulumi:"resourceTypeId"`
	// types must contain valid message types for this resource, for example for resource type product the message type ProductPublished is valid. If no types of messages are given, the subscription is valid for all messages of this resource
	Types []string `pulumi:"types"`
}

type SubscriptionMessageArgs

type SubscriptionMessageArgs struct {
	// [Resource Type ID](https://docs.commercetools.com/api/projects/subscriptions#changesubscription)
	ResourceTypeId pulumi.StringInput `pulumi:"resourceTypeId"`
	// types must contain valid message types for this resource, for example for resource type product the message type ProductPublished is valid. If no types of messages are given, the subscription is valid for all messages of this resource
	Types pulumi.StringArrayInput `pulumi:"types"`
}

func (SubscriptionMessageArgs) ElementType

func (SubscriptionMessageArgs) ElementType() reflect.Type

func (SubscriptionMessageArgs) ToSubscriptionMessageOutput

func (i SubscriptionMessageArgs) ToSubscriptionMessageOutput() SubscriptionMessageOutput

func (SubscriptionMessageArgs) ToSubscriptionMessageOutputWithContext

func (i SubscriptionMessageArgs) ToSubscriptionMessageOutputWithContext(ctx context.Context) SubscriptionMessageOutput

type SubscriptionMessageArray

type SubscriptionMessageArray []SubscriptionMessageInput

func (SubscriptionMessageArray) ElementType

func (SubscriptionMessageArray) ElementType() reflect.Type

func (SubscriptionMessageArray) ToSubscriptionMessageArrayOutput

func (i SubscriptionMessageArray) ToSubscriptionMessageArrayOutput() SubscriptionMessageArrayOutput

func (SubscriptionMessageArray) ToSubscriptionMessageArrayOutputWithContext

func (i SubscriptionMessageArray) ToSubscriptionMessageArrayOutputWithContext(ctx context.Context) SubscriptionMessageArrayOutput

type SubscriptionMessageArrayInput

type SubscriptionMessageArrayInput interface {
	pulumi.Input

	ToSubscriptionMessageArrayOutput() SubscriptionMessageArrayOutput
	ToSubscriptionMessageArrayOutputWithContext(context.Context) SubscriptionMessageArrayOutput
}

SubscriptionMessageArrayInput is an input type that accepts SubscriptionMessageArray and SubscriptionMessageArrayOutput values. You can construct a concrete instance of `SubscriptionMessageArrayInput` via:

SubscriptionMessageArray{ SubscriptionMessageArgs{...} }

type SubscriptionMessageArrayOutput

type SubscriptionMessageArrayOutput struct{ *pulumi.OutputState }

func (SubscriptionMessageArrayOutput) ElementType

func (SubscriptionMessageArrayOutput) Index

func (SubscriptionMessageArrayOutput) ToSubscriptionMessageArrayOutput

func (o SubscriptionMessageArrayOutput) ToSubscriptionMessageArrayOutput() SubscriptionMessageArrayOutput

func (SubscriptionMessageArrayOutput) ToSubscriptionMessageArrayOutputWithContext

func (o SubscriptionMessageArrayOutput) ToSubscriptionMessageArrayOutputWithContext(ctx context.Context) SubscriptionMessageArrayOutput

type SubscriptionMessageInput

type SubscriptionMessageInput interface {
	pulumi.Input

	ToSubscriptionMessageOutput() SubscriptionMessageOutput
	ToSubscriptionMessageOutputWithContext(context.Context) SubscriptionMessageOutput
}

SubscriptionMessageInput is an input type that accepts SubscriptionMessageArgs and SubscriptionMessageOutput values. You can construct a concrete instance of `SubscriptionMessageInput` via:

SubscriptionMessageArgs{...}

type SubscriptionMessageOutput

type SubscriptionMessageOutput struct{ *pulumi.OutputState }

func (SubscriptionMessageOutput) ElementType

func (SubscriptionMessageOutput) ElementType() reflect.Type

func (SubscriptionMessageOutput) ToSubscriptionMessageOutput

func (o SubscriptionMessageOutput) ToSubscriptionMessageOutput() SubscriptionMessageOutput

func (SubscriptionMessageOutput) ToSubscriptionMessageOutputWithContext

func (o SubscriptionMessageOutput) ToSubscriptionMessageOutputWithContext(ctx context.Context) SubscriptionMessageOutput

func (SubscriptionMessageOutput) Types

types must contain valid message types for this resource, for example for resource type product the message type ProductPublished is valid. If no types of messages are given, the subscription is valid for all messages of this resource

type SubscriptionOutput

type SubscriptionOutput struct{ *pulumi.OutputState }

func (SubscriptionOutput) Changes

The change notifications subscribed to

func (SubscriptionOutput) Destination

func (SubscriptionOutput) ElementType

func (SubscriptionOutput) ElementType() reflect.Type

func (SubscriptionOutput) Format

The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered

func (SubscriptionOutput) Key

Timestamp of the last Terraform update of the order.

func (SubscriptionOutput) Messages

The messages subscribed to

func (SubscriptionOutput) ToSubscriptionOutput

func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput

func (SubscriptionOutput) ToSubscriptionOutputWithContext

func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput

func (SubscriptionOutput) Version

func (o SubscriptionOutput) Version() pulumi.IntOutput

type SubscriptionState

type SubscriptionState struct {
	// The change notifications subscribed to
	Changes     SubscriptionChangeArrayInput
	Destination SubscriptionDestinationPtrInput
	// The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered
	Format SubscriptionFormatPtrInput
	// Timestamp of the last Terraform update of the order.
	Key pulumi.StringPtrInput
	// The messages subscribed to
	Messages SubscriptionMessageArrayInput
	Version  pulumi.IntPtrInput
}

func (SubscriptionState) ElementType

func (SubscriptionState) ElementType() reflect.Type

type TaxCategory

type TaxCategory struct {
	pulumi.CustomResourceState

	Description pulumi.StringPtrOutput `pulumi:"description"`
	// User-specific unique identifier for the category
	Key     pulumi.StringPtrOutput `pulumi:"key"`
	Name    pulumi.StringOutput    `pulumi:"name"`
	Version pulumi.IntOutput       `pulumi:"version"`
}

func GetTaxCategory

func GetTaxCategory(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TaxCategoryState, opts ...pulumi.ResourceOption) (*TaxCategory, error)

GetTaxCategory gets an existing TaxCategory resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTaxCategory

func NewTaxCategory(ctx *pulumi.Context,
	name string, args *TaxCategoryArgs, opts ...pulumi.ResourceOption) (*TaxCategory, error)

NewTaxCategory registers a new resource with the given unique name, arguments, and options.

func (*TaxCategory) ElementType

func (*TaxCategory) ElementType() reflect.Type

func (*TaxCategory) ToTaxCategoryOutput

func (i *TaxCategory) ToTaxCategoryOutput() TaxCategoryOutput

func (*TaxCategory) ToTaxCategoryOutputWithContext

func (i *TaxCategory) ToTaxCategoryOutputWithContext(ctx context.Context) TaxCategoryOutput

type TaxCategoryArgs

type TaxCategoryArgs struct {
	Description pulumi.StringPtrInput
	// User-specific unique identifier for the category
	Key  pulumi.StringPtrInput
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a TaxCategory resource.

func (TaxCategoryArgs) ElementType

func (TaxCategoryArgs) ElementType() reflect.Type

type TaxCategoryArray

type TaxCategoryArray []TaxCategoryInput

func (TaxCategoryArray) ElementType

func (TaxCategoryArray) ElementType() reflect.Type

func (TaxCategoryArray) ToTaxCategoryArrayOutput

func (i TaxCategoryArray) ToTaxCategoryArrayOutput() TaxCategoryArrayOutput

func (TaxCategoryArray) ToTaxCategoryArrayOutputWithContext

func (i TaxCategoryArray) ToTaxCategoryArrayOutputWithContext(ctx context.Context) TaxCategoryArrayOutput

type TaxCategoryArrayInput

type TaxCategoryArrayInput interface {
	pulumi.Input

	ToTaxCategoryArrayOutput() TaxCategoryArrayOutput
	ToTaxCategoryArrayOutputWithContext(context.Context) TaxCategoryArrayOutput
}

TaxCategoryArrayInput is an input type that accepts TaxCategoryArray and TaxCategoryArrayOutput values. You can construct a concrete instance of `TaxCategoryArrayInput` via:

TaxCategoryArray{ TaxCategoryArgs{...} }

type TaxCategoryArrayOutput

type TaxCategoryArrayOutput struct{ *pulumi.OutputState }

func (TaxCategoryArrayOutput) ElementType

func (TaxCategoryArrayOutput) ElementType() reflect.Type

func (TaxCategoryArrayOutput) Index

func (TaxCategoryArrayOutput) ToTaxCategoryArrayOutput

func (o TaxCategoryArrayOutput) ToTaxCategoryArrayOutput() TaxCategoryArrayOutput

func (TaxCategoryArrayOutput) ToTaxCategoryArrayOutputWithContext

func (o TaxCategoryArrayOutput) ToTaxCategoryArrayOutputWithContext(ctx context.Context) TaxCategoryArrayOutput

type TaxCategoryInput

type TaxCategoryInput interface {
	pulumi.Input

	ToTaxCategoryOutput() TaxCategoryOutput
	ToTaxCategoryOutputWithContext(ctx context.Context) TaxCategoryOutput
}

type TaxCategoryMap

type TaxCategoryMap map[string]TaxCategoryInput

func (TaxCategoryMap) ElementType

func (TaxCategoryMap) ElementType() reflect.Type

func (TaxCategoryMap) ToTaxCategoryMapOutput

func (i TaxCategoryMap) ToTaxCategoryMapOutput() TaxCategoryMapOutput

func (TaxCategoryMap) ToTaxCategoryMapOutputWithContext

func (i TaxCategoryMap) ToTaxCategoryMapOutputWithContext(ctx context.Context) TaxCategoryMapOutput

type TaxCategoryMapInput

type TaxCategoryMapInput interface {
	pulumi.Input

	ToTaxCategoryMapOutput() TaxCategoryMapOutput
	ToTaxCategoryMapOutputWithContext(context.Context) TaxCategoryMapOutput
}

TaxCategoryMapInput is an input type that accepts TaxCategoryMap and TaxCategoryMapOutput values. You can construct a concrete instance of `TaxCategoryMapInput` via:

TaxCategoryMap{ "key": TaxCategoryArgs{...} }

type TaxCategoryMapOutput

type TaxCategoryMapOutput struct{ *pulumi.OutputState }

func (TaxCategoryMapOutput) ElementType

func (TaxCategoryMapOutput) ElementType() reflect.Type

func (TaxCategoryMapOutput) MapIndex

func (TaxCategoryMapOutput) ToTaxCategoryMapOutput

func (o TaxCategoryMapOutput) ToTaxCategoryMapOutput() TaxCategoryMapOutput

func (TaxCategoryMapOutput) ToTaxCategoryMapOutputWithContext

func (o TaxCategoryMapOutput) ToTaxCategoryMapOutputWithContext(ctx context.Context) TaxCategoryMapOutput

type TaxCategoryOutput

type TaxCategoryOutput struct{ *pulumi.OutputState }

func (TaxCategoryOutput) Description

func (o TaxCategoryOutput) Description() pulumi.StringPtrOutput

func (TaxCategoryOutput) ElementType

func (TaxCategoryOutput) ElementType() reflect.Type

func (TaxCategoryOutput) Key

User-specific unique identifier for the category

func (TaxCategoryOutput) Name

func (TaxCategoryOutput) ToTaxCategoryOutput

func (o TaxCategoryOutput) ToTaxCategoryOutput() TaxCategoryOutput

func (TaxCategoryOutput) ToTaxCategoryOutputWithContext

func (o TaxCategoryOutput) ToTaxCategoryOutputWithContext(ctx context.Context) TaxCategoryOutput

func (TaxCategoryOutput) Version

func (o TaxCategoryOutput) Version() pulumi.IntOutput

type TaxCategoryRate

type TaxCategoryRate struct {
	pulumi.CustomResourceState

	// Number Percentage in the range of [0..1]. The sum of the amounts of all subRates, if there are any
	Amount pulumi.Float64PtrOutput `pulumi:"amount"`
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Country         pulumi.StringOutput `pulumi:"country"`
	IncludedInPrice pulumi.BoolOutput   `pulumi:"includedInPrice"`
	Name            pulumi.StringOutput `pulumi:"name"`
	// The state in the country
	State pulumi.StringPtrOutput `pulumi:"state"`
	// For countries (for example the US) where the total tax is a combination of multiple taxes (for example state and local
	// taxes)
	SubRates      TaxCategoryRateSubRateArrayOutput `pulumi:"subRates"`
	TaxCategoryId pulumi.StringOutput               `pulumi:"taxCategoryId"`
}

func GetTaxCategoryRate

func GetTaxCategoryRate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TaxCategoryRateState, opts ...pulumi.ResourceOption) (*TaxCategoryRate, error)

GetTaxCategoryRate gets an existing TaxCategoryRate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTaxCategoryRate

func NewTaxCategoryRate(ctx *pulumi.Context,
	name string, args *TaxCategoryRateArgs, opts ...pulumi.ResourceOption) (*TaxCategoryRate, error)

NewTaxCategoryRate registers a new resource with the given unique name, arguments, and options.

func (*TaxCategoryRate) ElementType

func (*TaxCategoryRate) ElementType() reflect.Type

func (*TaxCategoryRate) ToTaxCategoryRateOutput

func (i *TaxCategoryRate) ToTaxCategoryRateOutput() TaxCategoryRateOutput

func (*TaxCategoryRate) ToTaxCategoryRateOutputWithContext

func (i *TaxCategoryRate) ToTaxCategoryRateOutputWithContext(ctx context.Context) TaxCategoryRateOutput

type TaxCategoryRateArgs

type TaxCategoryRateArgs struct {
	// Number Percentage in the range of [0..1]. The sum of the amounts of all subRates, if there are any
	Amount pulumi.Float64PtrInput
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Country         pulumi.StringInput
	IncludedInPrice pulumi.BoolInput
	Name            pulumi.StringPtrInput
	// The state in the country
	State pulumi.StringPtrInput
	// For countries (for example the US) where the total tax is a combination of multiple taxes (for example state and local
	// taxes)
	SubRates      TaxCategoryRateSubRateArrayInput
	TaxCategoryId pulumi.StringInput
}

The set of arguments for constructing a TaxCategoryRate resource.

func (TaxCategoryRateArgs) ElementType

func (TaxCategoryRateArgs) ElementType() reflect.Type

type TaxCategoryRateArray

type TaxCategoryRateArray []TaxCategoryRateInput

func (TaxCategoryRateArray) ElementType

func (TaxCategoryRateArray) ElementType() reflect.Type

func (TaxCategoryRateArray) ToTaxCategoryRateArrayOutput

func (i TaxCategoryRateArray) ToTaxCategoryRateArrayOutput() TaxCategoryRateArrayOutput

func (TaxCategoryRateArray) ToTaxCategoryRateArrayOutputWithContext

func (i TaxCategoryRateArray) ToTaxCategoryRateArrayOutputWithContext(ctx context.Context) TaxCategoryRateArrayOutput

type TaxCategoryRateArrayInput

type TaxCategoryRateArrayInput interface {
	pulumi.Input

	ToTaxCategoryRateArrayOutput() TaxCategoryRateArrayOutput
	ToTaxCategoryRateArrayOutputWithContext(context.Context) TaxCategoryRateArrayOutput
}

TaxCategoryRateArrayInput is an input type that accepts TaxCategoryRateArray and TaxCategoryRateArrayOutput values. You can construct a concrete instance of `TaxCategoryRateArrayInput` via:

TaxCategoryRateArray{ TaxCategoryRateArgs{...} }

type TaxCategoryRateArrayOutput

type TaxCategoryRateArrayOutput struct{ *pulumi.OutputState }

func (TaxCategoryRateArrayOutput) ElementType

func (TaxCategoryRateArrayOutput) ElementType() reflect.Type

func (TaxCategoryRateArrayOutput) Index

func (TaxCategoryRateArrayOutput) ToTaxCategoryRateArrayOutput

func (o TaxCategoryRateArrayOutput) ToTaxCategoryRateArrayOutput() TaxCategoryRateArrayOutput

func (TaxCategoryRateArrayOutput) ToTaxCategoryRateArrayOutputWithContext

func (o TaxCategoryRateArrayOutput) ToTaxCategoryRateArrayOutputWithContext(ctx context.Context) TaxCategoryRateArrayOutput

type TaxCategoryRateInput

type TaxCategoryRateInput interface {
	pulumi.Input

	ToTaxCategoryRateOutput() TaxCategoryRateOutput
	ToTaxCategoryRateOutputWithContext(ctx context.Context) TaxCategoryRateOutput
}

type TaxCategoryRateMap

type TaxCategoryRateMap map[string]TaxCategoryRateInput

func (TaxCategoryRateMap) ElementType

func (TaxCategoryRateMap) ElementType() reflect.Type

func (TaxCategoryRateMap) ToTaxCategoryRateMapOutput

func (i TaxCategoryRateMap) ToTaxCategoryRateMapOutput() TaxCategoryRateMapOutput

func (TaxCategoryRateMap) ToTaxCategoryRateMapOutputWithContext

func (i TaxCategoryRateMap) ToTaxCategoryRateMapOutputWithContext(ctx context.Context) TaxCategoryRateMapOutput

type TaxCategoryRateMapInput

type TaxCategoryRateMapInput interface {
	pulumi.Input

	ToTaxCategoryRateMapOutput() TaxCategoryRateMapOutput
	ToTaxCategoryRateMapOutputWithContext(context.Context) TaxCategoryRateMapOutput
}

TaxCategoryRateMapInput is an input type that accepts TaxCategoryRateMap and TaxCategoryRateMapOutput values. You can construct a concrete instance of `TaxCategoryRateMapInput` via:

TaxCategoryRateMap{ "key": TaxCategoryRateArgs{...} }

type TaxCategoryRateMapOutput

type TaxCategoryRateMapOutput struct{ *pulumi.OutputState }

func (TaxCategoryRateMapOutput) ElementType

func (TaxCategoryRateMapOutput) ElementType() reflect.Type

func (TaxCategoryRateMapOutput) MapIndex

func (TaxCategoryRateMapOutput) ToTaxCategoryRateMapOutput

func (o TaxCategoryRateMapOutput) ToTaxCategoryRateMapOutput() TaxCategoryRateMapOutput

func (TaxCategoryRateMapOutput) ToTaxCategoryRateMapOutputWithContext

func (o TaxCategoryRateMapOutput) ToTaxCategoryRateMapOutputWithContext(ctx context.Context) TaxCategoryRateMapOutput

type TaxCategoryRateOutput

type TaxCategoryRateOutput struct{ *pulumi.OutputState }

func (TaxCategoryRateOutput) Amount

Number Percentage in the range of [0..1]. The sum of the amounts of all subRates, if there are any

func (TaxCategoryRateOutput) Country

A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)

func (TaxCategoryRateOutput) ElementType

func (TaxCategoryRateOutput) ElementType() reflect.Type

func (TaxCategoryRateOutput) IncludedInPrice

func (o TaxCategoryRateOutput) IncludedInPrice() pulumi.BoolOutput

func (TaxCategoryRateOutput) Name

func (TaxCategoryRateOutput) State

The state in the country

func (TaxCategoryRateOutput) SubRates

For countries (for example the US) where the total tax is a combination of multiple taxes (for example state and local taxes)

func (TaxCategoryRateOutput) TaxCategoryId

func (o TaxCategoryRateOutput) TaxCategoryId() pulumi.StringOutput

func (TaxCategoryRateOutput) ToTaxCategoryRateOutput

func (o TaxCategoryRateOutput) ToTaxCategoryRateOutput() TaxCategoryRateOutput

func (TaxCategoryRateOutput) ToTaxCategoryRateOutputWithContext

func (o TaxCategoryRateOutput) ToTaxCategoryRateOutputWithContext(ctx context.Context) TaxCategoryRateOutput

type TaxCategoryRateState

type TaxCategoryRateState struct {
	// Number Percentage in the range of [0..1]. The sum of the amounts of all subRates, if there are any
	Amount pulumi.Float64PtrInput
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
	Country         pulumi.StringPtrInput
	IncludedInPrice pulumi.BoolPtrInput
	Name            pulumi.StringPtrInput
	// The state in the country
	State pulumi.StringPtrInput
	// For countries (for example the US) where the total tax is a combination of multiple taxes (for example state and local
	// taxes)
	SubRates      TaxCategoryRateSubRateArrayInput
	TaxCategoryId pulumi.StringPtrInput
}

func (TaxCategoryRateState) ElementType

func (TaxCategoryRateState) ElementType() reflect.Type

type TaxCategoryRateSubRate

type TaxCategoryRateSubRate struct {
	// Number Percentage in the range of [0..1]
	Amount float64 `pulumi:"amount"`
	Name   string  `pulumi:"name"`
}

type TaxCategoryRateSubRateArgs

type TaxCategoryRateSubRateArgs struct {
	// Number Percentage in the range of [0..1]
	Amount pulumi.Float64Input `pulumi:"amount"`
	Name   pulumi.StringInput  `pulumi:"name"`
}

func (TaxCategoryRateSubRateArgs) ElementType

func (TaxCategoryRateSubRateArgs) ElementType() reflect.Type

func (TaxCategoryRateSubRateArgs) ToTaxCategoryRateSubRateOutput

func (i TaxCategoryRateSubRateArgs) ToTaxCategoryRateSubRateOutput() TaxCategoryRateSubRateOutput

func (TaxCategoryRateSubRateArgs) ToTaxCategoryRateSubRateOutputWithContext

func (i TaxCategoryRateSubRateArgs) ToTaxCategoryRateSubRateOutputWithContext(ctx context.Context) TaxCategoryRateSubRateOutput

type TaxCategoryRateSubRateArray

type TaxCategoryRateSubRateArray []TaxCategoryRateSubRateInput

func (TaxCategoryRateSubRateArray) ElementType

func (TaxCategoryRateSubRateArray) ToTaxCategoryRateSubRateArrayOutput

func (i TaxCategoryRateSubRateArray) ToTaxCategoryRateSubRateArrayOutput() TaxCategoryRateSubRateArrayOutput

func (TaxCategoryRateSubRateArray) ToTaxCategoryRateSubRateArrayOutputWithContext

func (i TaxCategoryRateSubRateArray) ToTaxCategoryRateSubRateArrayOutputWithContext(ctx context.Context) TaxCategoryRateSubRateArrayOutput

type TaxCategoryRateSubRateArrayInput

type TaxCategoryRateSubRateArrayInput interface {
	pulumi.Input

	ToTaxCategoryRateSubRateArrayOutput() TaxCategoryRateSubRateArrayOutput
	ToTaxCategoryRateSubRateArrayOutputWithContext(context.Context) TaxCategoryRateSubRateArrayOutput
}

TaxCategoryRateSubRateArrayInput is an input type that accepts TaxCategoryRateSubRateArray and TaxCategoryRateSubRateArrayOutput values. You can construct a concrete instance of `TaxCategoryRateSubRateArrayInput` via:

TaxCategoryRateSubRateArray{ TaxCategoryRateSubRateArgs{...} }

type TaxCategoryRateSubRateArrayOutput

type TaxCategoryRateSubRateArrayOutput struct{ *pulumi.OutputState }

func (TaxCategoryRateSubRateArrayOutput) ElementType

func (TaxCategoryRateSubRateArrayOutput) Index

func (TaxCategoryRateSubRateArrayOutput) ToTaxCategoryRateSubRateArrayOutput

func (o TaxCategoryRateSubRateArrayOutput) ToTaxCategoryRateSubRateArrayOutput() TaxCategoryRateSubRateArrayOutput

func (TaxCategoryRateSubRateArrayOutput) ToTaxCategoryRateSubRateArrayOutputWithContext

func (o TaxCategoryRateSubRateArrayOutput) ToTaxCategoryRateSubRateArrayOutputWithContext(ctx context.Context) TaxCategoryRateSubRateArrayOutput

type TaxCategoryRateSubRateInput

type TaxCategoryRateSubRateInput interface {
	pulumi.Input

	ToTaxCategoryRateSubRateOutput() TaxCategoryRateSubRateOutput
	ToTaxCategoryRateSubRateOutputWithContext(context.Context) TaxCategoryRateSubRateOutput
}

TaxCategoryRateSubRateInput is an input type that accepts TaxCategoryRateSubRateArgs and TaxCategoryRateSubRateOutput values. You can construct a concrete instance of `TaxCategoryRateSubRateInput` via:

TaxCategoryRateSubRateArgs{...}

type TaxCategoryRateSubRateOutput

type TaxCategoryRateSubRateOutput struct{ *pulumi.OutputState }

func (TaxCategoryRateSubRateOutput) Amount

Number Percentage in the range of [0..1]

func (TaxCategoryRateSubRateOutput) ElementType

func (TaxCategoryRateSubRateOutput) Name

func (TaxCategoryRateSubRateOutput) ToTaxCategoryRateSubRateOutput

func (o TaxCategoryRateSubRateOutput) ToTaxCategoryRateSubRateOutput() TaxCategoryRateSubRateOutput

func (TaxCategoryRateSubRateOutput) ToTaxCategoryRateSubRateOutputWithContext

func (o TaxCategoryRateSubRateOutput) ToTaxCategoryRateSubRateOutputWithContext(ctx context.Context) TaxCategoryRateSubRateOutput

type TaxCategoryState

type TaxCategoryState struct {
	Description pulumi.StringPtrInput
	// User-specific unique identifier for the category
	Key     pulumi.StringPtrInput
	Name    pulumi.StringPtrInput
	Version pulumi.IntPtrInput
}

func (TaxCategoryState) ElementType

func (TaxCategoryState) ElementType() reflect.Type

type Type

type Type struct {
	pulumi.CustomResourceState

	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapOutput `pulumi:"description"`
	// [Field definition](https://docs.commercetools.com/api/projects/types#fielddefinition)
	Fields TypeFieldArrayOutput `pulumi:"fields"`
	// Identifier for the type (max. 256 characters)
	Key pulumi.StringOutput `pulumi:"key"`
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapOutput `pulumi:"name"`
	// Defines for which [resources](https://docs.commercetools.com/api/projects/custom-fields#customizable-resources) the type
	// is valid
	ResourceTypeIds pulumi.StringArrayOutput `pulumi:"resourceTypeIds"`
	Version         pulumi.IntOutput         `pulumi:"version"`
}

func GetType

func GetType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TypeState, opts ...pulumi.ResourceOption) (*Type, error)

GetType gets an existing Type resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewType

func NewType(ctx *pulumi.Context,
	name string, args *TypeArgs, opts ...pulumi.ResourceOption) (*Type, error)

NewType registers a new resource with the given unique name, arguments, and options.

func (*Type) ElementType

func (*Type) ElementType() reflect.Type

func (*Type) ToTypeOutput

func (i *Type) ToTypeOutput() TypeOutput

func (*Type) ToTypeOutputWithContext

func (i *Type) ToTypeOutputWithContext(ctx context.Context) TypeOutput

type TypeArgs

type TypeArgs struct {
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	// [Field definition](https://docs.commercetools.com/api/projects/types#fielddefinition)
	Fields TypeFieldArrayInput
	// Identifier for the type (max. 256 characters)
	Key pulumi.StringInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// Defines for which [resources](https://docs.commercetools.com/api/projects/custom-fields#customizable-resources) the type
	// is valid
	ResourceTypeIds pulumi.StringArrayInput
}

The set of arguments for constructing a Type resource.

func (TypeArgs) ElementType

func (TypeArgs) ElementType() reflect.Type

type TypeArray

type TypeArray []TypeInput

func (TypeArray) ElementType

func (TypeArray) ElementType() reflect.Type

func (TypeArray) ToTypeArrayOutput

func (i TypeArray) ToTypeArrayOutput() TypeArrayOutput

func (TypeArray) ToTypeArrayOutputWithContext

func (i TypeArray) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOutput

type TypeArrayInput

type TypeArrayInput interface {
	pulumi.Input

	ToTypeArrayOutput() TypeArrayOutput
	ToTypeArrayOutputWithContext(context.Context) TypeArrayOutput
}

TypeArrayInput is an input type that accepts TypeArray and TypeArrayOutput values. You can construct a concrete instance of `TypeArrayInput` via:

TypeArray{ TypeArgs{...} }

type TypeArrayOutput

type TypeArrayOutput struct{ *pulumi.OutputState }

func (TypeArrayOutput) ElementType

func (TypeArrayOutput) ElementType() reflect.Type

func (TypeArrayOutput) Index

func (TypeArrayOutput) ToTypeArrayOutput

func (o TypeArrayOutput) ToTypeArrayOutput() TypeArrayOutput

func (TypeArrayOutput) ToTypeArrayOutputWithContext

func (o TypeArrayOutput) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOutput

type TypeField

type TypeField struct {
	// [TextInputHint](https://docs.commercetools.com/api/projects/types#textinputhint) Provides a visual representation type for this field. It is only relevant for string-based field types like StringType and LocalizedStringType
	InputHint *string `pulumi:"inputHint"`
	// A human-readable label for the field
	Label map[string]interface{} `pulumi:"label"`
	// The name of the field.
	// The name must be between two and 36 characters long and can contain the ASCII letters A to Z in lowercase or uppercase, digits, underscores (_) and the hyphen-minus (-).
	// The name must be unique for a given resource type ID. In case there is a field with the same name in another type it has to have the same FieldType also
	Name string `pulumi:"name"`
	// Whether the field is required to have a value
	Required *bool `pulumi:"required"`
	// Describes the [type](https://docs.commercetools.com/api/projects/types#fieldtype) of the field
	Type TypeFieldType `pulumi:"type"`
}

type TypeFieldArgs

type TypeFieldArgs struct {
	// [TextInputHint](https://docs.commercetools.com/api/projects/types#textinputhint) Provides a visual representation type for this field. It is only relevant for string-based field types like StringType and LocalizedStringType
	InputHint pulumi.StringPtrInput `pulumi:"inputHint"`
	// A human-readable label for the field
	Label pulumi.MapInput `pulumi:"label"`
	// The name of the field.
	// The name must be between two and 36 characters long and can contain the ASCII letters A to Z in lowercase or uppercase, digits, underscores (_) and the hyphen-minus (-).
	// The name must be unique for a given resource type ID. In case there is a field with the same name in another type it has to have the same FieldType also
	Name pulumi.StringInput `pulumi:"name"`
	// Whether the field is required to have a value
	Required pulumi.BoolPtrInput `pulumi:"required"`
	// Describes the [type](https://docs.commercetools.com/api/projects/types#fieldtype) of the field
	Type TypeFieldTypeInput `pulumi:"type"`
}

func (TypeFieldArgs) ElementType

func (TypeFieldArgs) ElementType() reflect.Type

func (TypeFieldArgs) ToTypeFieldOutput

func (i TypeFieldArgs) ToTypeFieldOutput() TypeFieldOutput

func (TypeFieldArgs) ToTypeFieldOutputWithContext

func (i TypeFieldArgs) ToTypeFieldOutputWithContext(ctx context.Context) TypeFieldOutput

type TypeFieldArray

type TypeFieldArray []TypeFieldInput

func (TypeFieldArray) ElementType

func (TypeFieldArray) ElementType() reflect.Type

func (TypeFieldArray) ToTypeFieldArrayOutput

func (i TypeFieldArray) ToTypeFieldArrayOutput() TypeFieldArrayOutput

func (TypeFieldArray) ToTypeFieldArrayOutputWithContext

func (i TypeFieldArray) ToTypeFieldArrayOutputWithContext(ctx context.Context) TypeFieldArrayOutput

type TypeFieldArrayInput

type TypeFieldArrayInput interface {
	pulumi.Input

	ToTypeFieldArrayOutput() TypeFieldArrayOutput
	ToTypeFieldArrayOutputWithContext(context.Context) TypeFieldArrayOutput
}

TypeFieldArrayInput is an input type that accepts TypeFieldArray and TypeFieldArrayOutput values. You can construct a concrete instance of `TypeFieldArrayInput` via:

TypeFieldArray{ TypeFieldArgs{...} }

type TypeFieldArrayOutput

type TypeFieldArrayOutput struct{ *pulumi.OutputState }

func (TypeFieldArrayOutput) ElementType

func (TypeFieldArrayOutput) ElementType() reflect.Type

func (TypeFieldArrayOutput) Index

func (TypeFieldArrayOutput) ToTypeFieldArrayOutput

func (o TypeFieldArrayOutput) ToTypeFieldArrayOutput() TypeFieldArrayOutput

func (TypeFieldArrayOutput) ToTypeFieldArrayOutputWithContext

func (o TypeFieldArrayOutput) ToTypeFieldArrayOutputWithContext(ctx context.Context) TypeFieldArrayOutput

type TypeFieldInput

type TypeFieldInput interface {
	pulumi.Input

	ToTypeFieldOutput() TypeFieldOutput
	ToTypeFieldOutputWithContext(context.Context) TypeFieldOutput
}

TypeFieldInput is an input type that accepts TypeFieldArgs and TypeFieldOutput values. You can construct a concrete instance of `TypeFieldInput` via:

TypeFieldArgs{...}

type TypeFieldOutput

type TypeFieldOutput struct{ *pulumi.OutputState }

func (TypeFieldOutput) ElementType

func (TypeFieldOutput) ElementType() reflect.Type

func (TypeFieldOutput) InputHint

func (o TypeFieldOutput) InputHint() pulumi.StringPtrOutput

[TextInputHint](https://docs.commercetools.com/api/projects/types#textinputhint) Provides a visual representation type for this field. It is only relevant for string-based field types like StringType and LocalizedStringType

func (TypeFieldOutput) Label

func (o TypeFieldOutput) Label() pulumi.MapOutput

A human-readable label for the field

func (TypeFieldOutput) Name

The name of the field. The name must be between two and 36 characters long and can contain the ASCII letters A to Z in lowercase or uppercase, digits, underscores (_) and the hyphen-minus (-). The name must be unique for a given resource type ID. In case there is a field with the same name in another type it has to have the same FieldType also

func (TypeFieldOutput) Required

func (o TypeFieldOutput) Required() pulumi.BoolPtrOutput

Whether the field is required to have a value

func (TypeFieldOutput) ToTypeFieldOutput

func (o TypeFieldOutput) ToTypeFieldOutput() TypeFieldOutput

func (TypeFieldOutput) ToTypeFieldOutputWithContext

func (o TypeFieldOutput) ToTypeFieldOutputWithContext(ctx context.Context) TypeFieldOutput

func (TypeFieldOutput) Type

Describes the [type](https://docs.commercetools.com/api/projects/types#fieldtype) of the field

type TypeFieldType

type TypeFieldType struct {
	ElementType2 *TypeFieldTypeElementType2 `pulumi:"ElementType2"`
	// Localized values for the `lenum` type.
	LocalizedValues []TypeFieldTypeLocalizedValue `pulumi:"localizedValues"`
	// Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it.
	Name string `pulumi:"name"`
	// Resource type the Custom Field can reference. Required when type is `Reference`
	ReferenceTypeId *string `pulumi:"referenceTypeId"`
	// Values for the `enum` type.
	Values []TypeFieldTypeValue `pulumi:"values"`
}

type TypeFieldTypeArgs

type TypeFieldTypeArgs struct {
	ElementType2 TypeFieldTypeElementType2PtrInput `pulumi:"ElementType2"`
	// Localized values for the `lenum` type.
	LocalizedValues TypeFieldTypeLocalizedValueArrayInput `pulumi:"localizedValues"`
	// Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it.
	Name pulumi.StringInput `pulumi:"name"`
	// Resource type the Custom Field can reference. Required when type is `Reference`
	ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"`
	// Values for the `enum` type.
	Values TypeFieldTypeValueArrayInput `pulumi:"values"`
}

func (TypeFieldTypeArgs) ElementType

func (TypeFieldTypeArgs) ElementType() reflect.Type

func (TypeFieldTypeArgs) ToTypeFieldTypeOutput

func (i TypeFieldTypeArgs) ToTypeFieldTypeOutput() TypeFieldTypeOutput

func (TypeFieldTypeArgs) ToTypeFieldTypeOutputWithContext

func (i TypeFieldTypeArgs) ToTypeFieldTypeOutputWithContext(ctx context.Context) TypeFieldTypeOutput

type TypeFieldTypeElementType2

type TypeFieldTypeElementType2 struct {
	// Localized values for the `lenum` type.
	LocalizedValues []TypeFieldTypeElementType2LocalizedValue `pulumi:"localizedValues"`
	// Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it.
	Name string `pulumi:"name"`
	// Resource type the Custom Field can reference. Required when type is `Reference`
	ReferenceTypeId *string `pulumi:"referenceTypeId"`
	// Values for the `enum` type.
	Values []TypeFieldTypeElementType2Value `pulumi:"values"`
}

type TypeFieldTypeElementType2Args

type TypeFieldTypeElementType2Args struct {
	// Localized values for the `lenum` type.
	LocalizedValues TypeFieldTypeElementType2LocalizedValueArrayInput `pulumi:"localizedValues"`
	// Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it.
	Name pulumi.StringInput `pulumi:"name"`
	// Resource type the Custom Field can reference. Required when type is `Reference`
	ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"`
	// Values for the `enum` type.
	Values TypeFieldTypeElementType2ValueArrayInput `pulumi:"values"`
}

func (TypeFieldTypeElementType2Args) ElementType

func (TypeFieldTypeElementType2Args) ToTypeFieldTypeElementType2Output

func (i TypeFieldTypeElementType2Args) ToTypeFieldTypeElementType2Output() TypeFieldTypeElementType2Output

func (TypeFieldTypeElementType2Args) ToTypeFieldTypeElementType2OutputWithContext

func (i TypeFieldTypeElementType2Args) ToTypeFieldTypeElementType2OutputWithContext(ctx context.Context) TypeFieldTypeElementType2Output

func (TypeFieldTypeElementType2Args) ToTypeFieldTypeElementType2PtrOutput

func (i TypeFieldTypeElementType2Args) ToTypeFieldTypeElementType2PtrOutput() TypeFieldTypeElementType2PtrOutput

func (TypeFieldTypeElementType2Args) ToTypeFieldTypeElementType2PtrOutputWithContext

func (i TypeFieldTypeElementType2Args) ToTypeFieldTypeElementType2PtrOutputWithContext(ctx context.Context) TypeFieldTypeElementType2PtrOutput

type TypeFieldTypeElementType2Input

type TypeFieldTypeElementType2Input interface {
	pulumi.Input

	ToTypeFieldTypeElementType2Output() TypeFieldTypeElementType2Output
	ToTypeFieldTypeElementType2OutputWithContext(context.Context) TypeFieldTypeElementType2Output
}

TypeFieldTypeElementType2Input is an input type that accepts TypeFieldTypeElementType2Args and TypeFieldTypeElementType2Output values. You can construct a concrete instance of `TypeFieldTypeElementType2Input` via:

TypeFieldTypeElementType2Args{...}

type TypeFieldTypeElementType2LocalizedValue

type TypeFieldTypeElementType2LocalizedValue struct {
	Key   string                 `pulumi:"key"`
	Label map[string]interface{} `pulumi:"label"`
}

type TypeFieldTypeElementType2LocalizedValueArgs

type TypeFieldTypeElementType2LocalizedValueArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Label pulumi.MapInput    `pulumi:"label"`
}

func (TypeFieldTypeElementType2LocalizedValueArgs) ElementType

func (TypeFieldTypeElementType2LocalizedValueArgs) ToTypeFieldTypeElementType2LocalizedValueOutput

func (i TypeFieldTypeElementType2LocalizedValueArgs) ToTypeFieldTypeElementType2LocalizedValueOutput() TypeFieldTypeElementType2LocalizedValueOutput

func (TypeFieldTypeElementType2LocalizedValueArgs) ToTypeFieldTypeElementType2LocalizedValueOutputWithContext

func (i TypeFieldTypeElementType2LocalizedValueArgs) ToTypeFieldTypeElementType2LocalizedValueOutputWithContext(ctx context.Context) TypeFieldTypeElementType2LocalizedValueOutput

type TypeFieldTypeElementType2LocalizedValueArray

type TypeFieldTypeElementType2LocalizedValueArray []TypeFieldTypeElementType2LocalizedValueInput

func (TypeFieldTypeElementType2LocalizedValueArray) ElementType

func (TypeFieldTypeElementType2LocalizedValueArray) ToTypeFieldTypeElementType2LocalizedValueArrayOutput

func (i TypeFieldTypeElementType2LocalizedValueArray) ToTypeFieldTypeElementType2LocalizedValueArrayOutput() TypeFieldTypeElementType2LocalizedValueArrayOutput

func (TypeFieldTypeElementType2LocalizedValueArray) ToTypeFieldTypeElementType2LocalizedValueArrayOutputWithContext

func (i TypeFieldTypeElementType2LocalizedValueArray) ToTypeFieldTypeElementType2LocalizedValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeElementType2LocalizedValueArrayOutput

type TypeFieldTypeElementType2LocalizedValueArrayInput

type TypeFieldTypeElementType2LocalizedValueArrayInput interface {
	pulumi.Input

	ToTypeFieldTypeElementType2LocalizedValueArrayOutput() TypeFieldTypeElementType2LocalizedValueArrayOutput
	ToTypeFieldTypeElementType2LocalizedValueArrayOutputWithContext(context.Context) TypeFieldTypeElementType2LocalizedValueArrayOutput
}

TypeFieldTypeElementType2LocalizedValueArrayInput is an input type that accepts TypeFieldTypeElementType2LocalizedValueArray and TypeFieldTypeElementType2LocalizedValueArrayOutput values. You can construct a concrete instance of `TypeFieldTypeElementType2LocalizedValueArrayInput` via:

TypeFieldTypeElementType2LocalizedValueArray{ TypeFieldTypeElementType2LocalizedValueArgs{...} }

type TypeFieldTypeElementType2LocalizedValueArrayOutput

type TypeFieldTypeElementType2LocalizedValueArrayOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeElementType2LocalizedValueArrayOutput) ElementType

func (TypeFieldTypeElementType2LocalizedValueArrayOutput) Index

func (TypeFieldTypeElementType2LocalizedValueArrayOutput) ToTypeFieldTypeElementType2LocalizedValueArrayOutput

func (o TypeFieldTypeElementType2LocalizedValueArrayOutput) ToTypeFieldTypeElementType2LocalizedValueArrayOutput() TypeFieldTypeElementType2LocalizedValueArrayOutput

func (TypeFieldTypeElementType2LocalizedValueArrayOutput) ToTypeFieldTypeElementType2LocalizedValueArrayOutputWithContext

func (o TypeFieldTypeElementType2LocalizedValueArrayOutput) ToTypeFieldTypeElementType2LocalizedValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeElementType2LocalizedValueArrayOutput

type TypeFieldTypeElementType2LocalizedValueInput

type TypeFieldTypeElementType2LocalizedValueInput interface {
	pulumi.Input

	ToTypeFieldTypeElementType2LocalizedValueOutput() TypeFieldTypeElementType2LocalizedValueOutput
	ToTypeFieldTypeElementType2LocalizedValueOutputWithContext(context.Context) TypeFieldTypeElementType2LocalizedValueOutput
}

TypeFieldTypeElementType2LocalizedValueInput is an input type that accepts TypeFieldTypeElementType2LocalizedValueArgs and TypeFieldTypeElementType2LocalizedValueOutput values. You can construct a concrete instance of `TypeFieldTypeElementType2LocalizedValueInput` via:

TypeFieldTypeElementType2LocalizedValueArgs{...}

type TypeFieldTypeElementType2LocalizedValueOutput

type TypeFieldTypeElementType2LocalizedValueOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeElementType2LocalizedValueOutput) ElementType

func (TypeFieldTypeElementType2LocalizedValueOutput) Key

func (TypeFieldTypeElementType2LocalizedValueOutput) Label

func (TypeFieldTypeElementType2LocalizedValueOutput) ToTypeFieldTypeElementType2LocalizedValueOutput

func (o TypeFieldTypeElementType2LocalizedValueOutput) ToTypeFieldTypeElementType2LocalizedValueOutput() TypeFieldTypeElementType2LocalizedValueOutput

func (TypeFieldTypeElementType2LocalizedValueOutput) ToTypeFieldTypeElementType2LocalizedValueOutputWithContext

func (o TypeFieldTypeElementType2LocalizedValueOutput) ToTypeFieldTypeElementType2LocalizedValueOutputWithContext(ctx context.Context) TypeFieldTypeElementType2LocalizedValueOutput

type TypeFieldTypeElementType2Output

type TypeFieldTypeElementType2Output struct{ *pulumi.OutputState }

func (TypeFieldTypeElementType2Output) ElementType

func (TypeFieldTypeElementType2Output) LocalizedValues

Localized values for the `lenum` type.

func (TypeFieldTypeElementType2Output) Name

Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it.

func (TypeFieldTypeElementType2Output) ReferenceTypeId

Resource type the Custom Field can reference. Required when type is `Reference`

func (TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2Output

func (o TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2Output() TypeFieldTypeElementType2Output

func (TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2OutputWithContext

func (o TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2OutputWithContext(ctx context.Context) TypeFieldTypeElementType2Output

func (TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2PtrOutput

func (o TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2PtrOutput() TypeFieldTypeElementType2PtrOutput

func (TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2PtrOutputWithContext

func (o TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2PtrOutputWithContext(ctx context.Context) TypeFieldTypeElementType2PtrOutput

func (TypeFieldTypeElementType2Output) Values

Values for the `enum` type.

type TypeFieldTypeElementType2PtrInput

type TypeFieldTypeElementType2PtrInput interface {
	pulumi.Input

	ToTypeFieldTypeElementType2PtrOutput() TypeFieldTypeElementType2PtrOutput
	ToTypeFieldTypeElementType2PtrOutputWithContext(context.Context) TypeFieldTypeElementType2PtrOutput
}

TypeFieldTypeElementType2PtrInput is an input type that accepts TypeFieldTypeElementType2Args, TypeFieldTypeElementType2Ptr and TypeFieldTypeElementType2PtrOutput values. You can construct a concrete instance of `TypeFieldTypeElementType2PtrInput` via:

        TypeFieldTypeElementType2Args{...}

or:

        nil

type TypeFieldTypeElementType2PtrOutput

type TypeFieldTypeElementType2PtrOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeElementType2PtrOutput) Elem

func (TypeFieldTypeElementType2PtrOutput) ElementType

func (TypeFieldTypeElementType2PtrOutput) LocalizedValues

Localized values for the `lenum` type.

func (TypeFieldTypeElementType2PtrOutput) Name

Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it.

func (TypeFieldTypeElementType2PtrOutput) ReferenceTypeId

Resource type the Custom Field can reference. Required when type is `Reference`

func (TypeFieldTypeElementType2PtrOutput) ToTypeFieldTypeElementType2PtrOutput

func (o TypeFieldTypeElementType2PtrOutput) ToTypeFieldTypeElementType2PtrOutput() TypeFieldTypeElementType2PtrOutput

func (TypeFieldTypeElementType2PtrOutput) ToTypeFieldTypeElementType2PtrOutputWithContext

func (o TypeFieldTypeElementType2PtrOutput) ToTypeFieldTypeElementType2PtrOutputWithContext(ctx context.Context) TypeFieldTypeElementType2PtrOutput

func (TypeFieldTypeElementType2PtrOutput) Values

Values for the `enum` type.

type TypeFieldTypeElementType2Value

type TypeFieldTypeElementType2Value struct {
	Key   string `pulumi:"key"`
	Label string `pulumi:"label"`
}

type TypeFieldTypeElementType2ValueArgs

type TypeFieldTypeElementType2ValueArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Label pulumi.StringInput `pulumi:"label"`
}

func (TypeFieldTypeElementType2ValueArgs) ElementType

func (TypeFieldTypeElementType2ValueArgs) ToTypeFieldTypeElementType2ValueOutput

func (i TypeFieldTypeElementType2ValueArgs) ToTypeFieldTypeElementType2ValueOutput() TypeFieldTypeElementType2ValueOutput

func (TypeFieldTypeElementType2ValueArgs) ToTypeFieldTypeElementType2ValueOutputWithContext

func (i TypeFieldTypeElementType2ValueArgs) ToTypeFieldTypeElementType2ValueOutputWithContext(ctx context.Context) TypeFieldTypeElementType2ValueOutput

type TypeFieldTypeElementType2ValueArray

type TypeFieldTypeElementType2ValueArray []TypeFieldTypeElementType2ValueInput

func (TypeFieldTypeElementType2ValueArray) ElementType

func (TypeFieldTypeElementType2ValueArray) ToTypeFieldTypeElementType2ValueArrayOutput

func (i TypeFieldTypeElementType2ValueArray) ToTypeFieldTypeElementType2ValueArrayOutput() TypeFieldTypeElementType2ValueArrayOutput

func (TypeFieldTypeElementType2ValueArray) ToTypeFieldTypeElementType2ValueArrayOutputWithContext

func (i TypeFieldTypeElementType2ValueArray) ToTypeFieldTypeElementType2ValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeElementType2ValueArrayOutput

type TypeFieldTypeElementType2ValueArrayInput

type TypeFieldTypeElementType2ValueArrayInput interface {
	pulumi.Input

	ToTypeFieldTypeElementType2ValueArrayOutput() TypeFieldTypeElementType2ValueArrayOutput
	ToTypeFieldTypeElementType2ValueArrayOutputWithContext(context.Context) TypeFieldTypeElementType2ValueArrayOutput
}

TypeFieldTypeElementType2ValueArrayInput is an input type that accepts TypeFieldTypeElementType2ValueArray and TypeFieldTypeElementType2ValueArrayOutput values. You can construct a concrete instance of `TypeFieldTypeElementType2ValueArrayInput` via:

TypeFieldTypeElementType2ValueArray{ TypeFieldTypeElementType2ValueArgs{...} }

type TypeFieldTypeElementType2ValueArrayOutput

type TypeFieldTypeElementType2ValueArrayOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeElementType2ValueArrayOutput) ElementType

func (TypeFieldTypeElementType2ValueArrayOutput) Index

func (TypeFieldTypeElementType2ValueArrayOutput) ToTypeFieldTypeElementType2ValueArrayOutput

func (o TypeFieldTypeElementType2ValueArrayOutput) ToTypeFieldTypeElementType2ValueArrayOutput() TypeFieldTypeElementType2ValueArrayOutput

func (TypeFieldTypeElementType2ValueArrayOutput) ToTypeFieldTypeElementType2ValueArrayOutputWithContext

func (o TypeFieldTypeElementType2ValueArrayOutput) ToTypeFieldTypeElementType2ValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeElementType2ValueArrayOutput

type TypeFieldTypeElementType2ValueInput

type TypeFieldTypeElementType2ValueInput interface {
	pulumi.Input

	ToTypeFieldTypeElementType2ValueOutput() TypeFieldTypeElementType2ValueOutput
	ToTypeFieldTypeElementType2ValueOutputWithContext(context.Context) TypeFieldTypeElementType2ValueOutput
}

TypeFieldTypeElementType2ValueInput is an input type that accepts TypeFieldTypeElementType2ValueArgs and TypeFieldTypeElementType2ValueOutput values. You can construct a concrete instance of `TypeFieldTypeElementType2ValueInput` via:

TypeFieldTypeElementType2ValueArgs{...}

type TypeFieldTypeElementType2ValueOutput

type TypeFieldTypeElementType2ValueOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeElementType2ValueOutput) ElementType

func (TypeFieldTypeElementType2ValueOutput) Key

func (TypeFieldTypeElementType2ValueOutput) Label

func (TypeFieldTypeElementType2ValueOutput) ToTypeFieldTypeElementType2ValueOutput

func (o TypeFieldTypeElementType2ValueOutput) ToTypeFieldTypeElementType2ValueOutput() TypeFieldTypeElementType2ValueOutput

func (TypeFieldTypeElementType2ValueOutput) ToTypeFieldTypeElementType2ValueOutputWithContext

func (o TypeFieldTypeElementType2ValueOutput) ToTypeFieldTypeElementType2ValueOutputWithContext(ctx context.Context) TypeFieldTypeElementType2ValueOutput

type TypeFieldTypeInput

type TypeFieldTypeInput interface {
	pulumi.Input

	ToTypeFieldTypeOutput() TypeFieldTypeOutput
	ToTypeFieldTypeOutputWithContext(context.Context) TypeFieldTypeOutput
}

TypeFieldTypeInput is an input type that accepts TypeFieldTypeArgs and TypeFieldTypeOutput values. You can construct a concrete instance of `TypeFieldTypeInput` via:

TypeFieldTypeArgs{...}

type TypeFieldTypeLocalizedValue

type TypeFieldTypeLocalizedValue struct {
	Key   string                 `pulumi:"key"`
	Label map[string]interface{} `pulumi:"label"`
}

type TypeFieldTypeLocalizedValueArgs

type TypeFieldTypeLocalizedValueArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Label pulumi.MapInput    `pulumi:"label"`
}

func (TypeFieldTypeLocalizedValueArgs) ElementType

func (TypeFieldTypeLocalizedValueArgs) ToTypeFieldTypeLocalizedValueOutput

func (i TypeFieldTypeLocalizedValueArgs) ToTypeFieldTypeLocalizedValueOutput() TypeFieldTypeLocalizedValueOutput

func (TypeFieldTypeLocalizedValueArgs) ToTypeFieldTypeLocalizedValueOutputWithContext

func (i TypeFieldTypeLocalizedValueArgs) ToTypeFieldTypeLocalizedValueOutputWithContext(ctx context.Context) TypeFieldTypeLocalizedValueOutput

type TypeFieldTypeLocalizedValueArray

type TypeFieldTypeLocalizedValueArray []TypeFieldTypeLocalizedValueInput

func (TypeFieldTypeLocalizedValueArray) ElementType

func (TypeFieldTypeLocalizedValueArray) ToTypeFieldTypeLocalizedValueArrayOutput

func (i TypeFieldTypeLocalizedValueArray) ToTypeFieldTypeLocalizedValueArrayOutput() TypeFieldTypeLocalizedValueArrayOutput

func (TypeFieldTypeLocalizedValueArray) ToTypeFieldTypeLocalizedValueArrayOutputWithContext

func (i TypeFieldTypeLocalizedValueArray) ToTypeFieldTypeLocalizedValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeLocalizedValueArrayOutput

type TypeFieldTypeLocalizedValueArrayInput

type TypeFieldTypeLocalizedValueArrayInput interface {
	pulumi.Input

	ToTypeFieldTypeLocalizedValueArrayOutput() TypeFieldTypeLocalizedValueArrayOutput
	ToTypeFieldTypeLocalizedValueArrayOutputWithContext(context.Context) TypeFieldTypeLocalizedValueArrayOutput
}

TypeFieldTypeLocalizedValueArrayInput is an input type that accepts TypeFieldTypeLocalizedValueArray and TypeFieldTypeLocalizedValueArrayOutput values. You can construct a concrete instance of `TypeFieldTypeLocalizedValueArrayInput` via:

TypeFieldTypeLocalizedValueArray{ TypeFieldTypeLocalizedValueArgs{...} }

type TypeFieldTypeLocalizedValueArrayOutput

type TypeFieldTypeLocalizedValueArrayOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeLocalizedValueArrayOutput) ElementType

func (TypeFieldTypeLocalizedValueArrayOutput) Index

func (TypeFieldTypeLocalizedValueArrayOutput) ToTypeFieldTypeLocalizedValueArrayOutput

func (o TypeFieldTypeLocalizedValueArrayOutput) ToTypeFieldTypeLocalizedValueArrayOutput() TypeFieldTypeLocalizedValueArrayOutput

func (TypeFieldTypeLocalizedValueArrayOutput) ToTypeFieldTypeLocalizedValueArrayOutputWithContext

func (o TypeFieldTypeLocalizedValueArrayOutput) ToTypeFieldTypeLocalizedValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeLocalizedValueArrayOutput

type TypeFieldTypeLocalizedValueInput

type TypeFieldTypeLocalizedValueInput interface {
	pulumi.Input

	ToTypeFieldTypeLocalizedValueOutput() TypeFieldTypeLocalizedValueOutput
	ToTypeFieldTypeLocalizedValueOutputWithContext(context.Context) TypeFieldTypeLocalizedValueOutput
}

TypeFieldTypeLocalizedValueInput is an input type that accepts TypeFieldTypeLocalizedValueArgs and TypeFieldTypeLocalizedValueOutput values. You can construct a concrete instance of `TypeFieldTypeLocalizedValueInput` via:

TypeFieldTypeLocalizedValueArgs{...}

type TypeFieldTypeLocalizedValueOutput

type TypeFieldTypeLocalizedValueOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeLocalizedValueOutput) ElementType

func (TypeFieldTypeLocalizedValueOutput) Key

func (TypeFieldTypeLocalizedValueOutput) Label

func (TypeFieldTypeLocalizedValueOutput) ToTypeFieldTypeLocalizedValueOutput

func (o TypeFieldTypeLocalizedValueOutput) ToTypeFieldTypeLocalizedValueOutput() TypeFieldTypeLocalizedValueOutput

func (TypeFieldTypeLocalizedValueOutput) ToTypeFieldTypeLocalizedValueOutputWithContext

func (o TypeFieldTypeLocalizedValueOutput) ToTypeFieldTypeLocalizedValueOutputWithContext(ctx context.Context) TypeFieldTypeLocalizedValueOutput

type TypeFieldTypeOutput

type TypeFieldTypeOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeOutput) ElementType

func (TypeFieldTypeOutput) ElementType() reflect.Type

func (TypeFieldTypeOutput) ElementType2

func (TypeFieldTypeOutput) LocalizedValues

Localized values for the `lenum` type.

func (TypeFieldTypeOutput) Name

Name of the field type. Some types require extra fields to be set. Note that changing the type after creating is not supported. You need to delete the attribute and re-add it.

func (TypeFieldTypeOutput) ReferenceTypeId

func (o TypeFieldTypeOutput) ReferenceTypeId() pulumi.StringPtrOutput

Resource type the Custom Field can reference. Required when type is `Reference`

func (TypeFieldTypeOutput) ToTypeFieldTypeOutput

func (o TypeFieldTypeOutput) ToTypeFieldTypeOutput() TypeFieldTypeOutput

func (TypeFieldTypeOutput) ToTypeFieldTypeOutputWithContext

func (o TypeFieldTypeOutput) ToTypeFieldTypeOutputWithContext(ctx context.Context) TypeFieldTypeOutput

func (TypeFieldTypeOutput) Values

Values for the `enum` type.

type TypeFieldTypeValue

type TypeFieldTypeValue struct {
	Key   string `pulumi:"key"`
	Label string `pulumi:"label"`
}

type TypeFieldTypeValueArgs

type TypeFieldTypeValueArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Label pulumi.StringInput `pulumi:"label"`
}

func (TypeFieldTypeValueArgs) ElementType

func (TypeFieldTypeValueArgs) ElementType() reflect.Type

func (TypeFieldTypeValueArgs) ToTypeFieldTypeValueOutput

func (i TypeFieldTypeValueArgs) ToTypeFieldTypeValueOutput() TypeFieldTypeValueOutput

func (TypeFieldTypeValueArgs) ToTypeFieldTypeValueOutputWithContext

func (i TypeFieldTypeValueArgs) ToTypeFieldTypeValueOutputWithContext(ctx context.Context) TypeFieldTypeValueOutput

type TypeFieldTypeValueArray

type TypeFieldTypeValueArray []TypeFieldTypeValueInput

func (TypeFieldTypeValueArray) ElementType

func (TypeFieldTypeValueArray) ElementType() reflect.Type

func (TypeFieldTypeValueArray) ToTypeFieldTypeValueArrayOutput

func (i TypeFieldTypeValueArray) ToTypeFieldTypeValueArrayOutput() TypeFieldTypeValueArrayOutput

func (TypeFieldTypeValueArray) ToTypeFieldTypeValueArrayOutputWithContext

func (i TypeFieldTypeValueArray) ToTypeFieldTypeValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeValueArrayOutput

type TypeFieldTypeValueArrayInput

type TypeFieldTypeValueArrayInput interface {
	pulumi.Input

	ToTypeFieldTypeValueArrayOutput() TypeFieldTypeValueArrayOutput
	ToTypeFieldTypeValueArrayOutputWithContext(context.Context) TypeFieldTypeValueArrayOutput
}

TypeFieldTypeValueArrayInput is an input type that accepts TypeFieldTypeValueArray and TypeFieldTypeValueArrayOutput values. You can construct a concrete instance of `TypeFieldTypeValueArrayInput` via:

TypeFieldTypeValueArray{ TypeFieldTypeValueArgs{...} }

type TypeFieldTypeValueArrayOutput

type TypeFieldTypeValueArrayOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeValueArrayOutput) ElementType

func (TypeFieldTypeValueArrayOutput) Index

func (TypeFieldTypeValueArrayOutput) ToTypeFieldTypeValueArrayOutput

func (o TypeFieldTypeValueArrayOutput) ToTypeFieldTypeValueArrayOutput() TypeFieldTypeValueArrayOutput

func (TypeFieldTypeValueArrayOutput) ToTypeFieldTypeValueArrayOutputWithContext

func (o TypeFieldTypeValueArrayOutput) ToTypeFieldTypeValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeValueArrayOutput

type TypeFieldTypeValueInput

type TypeFieldTypeValueInput interface {
	pulumi.Input

	ToTypeFieldTypeValueOutput() TypeFieldTypeValueOutput
	ToTypeFieldTypeValueOutputWithContext(context.Context) TypeFieldTypeValueOutput
}

TypeFieldTypeValueInput is an input type that accepts TypeFieldTypeValueArgs and TypeFieldTypeValueOutput values. You can construct a concrete instance of `TypeFieldTypeValueInput` via:

TypeFieldTypeValueArgs{...}

type TypeFieldTypeValueOutput

type TypeFieldTypeValueOutput struct{ *pulumi.OutputState }

func (TypeFieldTypeValueOutput) ElementType

func (TypeFieldTypeValueOutput) ElementType() reflect.Type

func (TypeFieldTypeValueOutput) Key

func (TypeFieldTypeValueOutput) Label

func (TypeFieldTypeValueOutput) ToTypeFieldTypeValueOutput

func (o TypeFieldTypeValueOutput) ToTypeFieldTypeValueOutput() TypeFieldTypeValueOutput

func (TypeFieldTypeValueOutput) ToTypeFieldTypeValueOutputWithContext

func (o TypeFieldTypeValueOutput) ToTypeFieldTypeValueOutputWithContext(ctx context.Context) TypeFieldTypeValueOutput

type TypeInput

type TypeInput interface {
	pulumi.Input

	ToTypeOutput() TypeOutput
	ToTypeOutputWithContext(ctx context.Context) TypeOutput
}

type TypeMap

type TypeMap map[string]TypeInput

func (TypeMap) ElementType

func (TypeMap) ElementType() reflect.Type

func (TypeMap) ToTypeMapOutput

func (i TypeMap) ToTypeMapOutput() TypeMapOutput

func (TypeMap) ToTypeMapOutputWithContext

func (i TypeMap) ToTypeMapOutputWithContext(ctx context.Context) TypeMapOutput

type TypeMapInput

type TypeMapInput interface {
	pulumi.Input

	ToTypeMapOutput() TypeMapOutput
	ToTypeMapOutputWithContext(context.Context) TypeMapOutput
}

TypeMapInput is an input type that accepts TypeMap and TypeMapOutput values. You can construct a concrete instance of `TypeMapInput` via:

TypeMap{ "key": TypeArgs{...} }

type TypeMapOutput

type TypeMapOutput struct{ *pulumi.OutputState }

func (TypeMapOutput) ElementType

func (TypeMapOutput) ElementType() reflect.Type

func (TypeMapOutput) MapIndex

func (TypeMapOutput) ToTypeMapOutput

func (o TypeMapOutput) ToTypeMapOutput() TypeMapOutput

func (TypeMapOutput) ToTypeMapOutputWithContext

func (o TypeMapOutput) ToTypeMapOutputWithContext(ctx context.Context) TypeMapOutput

type TypeOutput

type TypeOutput struct{ *pulumi.OutputState }

func (TypeOutput) Description

func (o TypeOutput) Description() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (TypeOutput) ElementType

func (TypeOutput) ElementType() reflect.Type

func (TypeOutput) Key

func (o TypeOutput) Key() pulumi.StringOutput

Identifier for the type (max. 256 characters)

func (TypeOutput) Name

func (o TypeOutput) Name() pulumi.MapOutput

[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)

func (TypeOutput) ResourceTypeIds

func (o TypeOutput) ResourceTypeIds() pulumi.StringArrayOutput

Defines for which [resources](https://docs.commercetools.com/api/projects/custom-fields#customizable-resources) the type is valid

func (TypeOutput) ToTypeOutput

func (o TypeOutput) ToTypeOutput() TypeOutput

func (TypeOutput) ToTypeOutputWithContext

func (o TypeOutput) ToTypeOutputWithContext(ctx context.Context) TypeOutput

func (TypeOutput) Version

func (o TypeOutput) Version() pulumi.IntOutput

type TypeState

type TypeState struct {
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Description pulumi.MapInput
	// [Field definition](https://docs.commercetools.com/api/projects/types#fielddefinition)
	Fields TypeFieldArrayInput
	// Identifier for the type (max. 256 characters)
	Key pulumi.StringPtrInput
	// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring)
	Name pulumi.MapInput
	// Defines for which [resources](https://docs.commercetools.com/api/projects/custom-fields#customizable-resources) the type
	// is valid
	ResourceTypeIds pulumi.StringArrayInput
	Version         pulumi.IntPtrInput
}

func (TypeState) ElementType

func (TypeState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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