Skip to content

OrderProps

Properties for defining a Order.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-marketplace-order

Initializer

import ros_cdk_marketplace
ros_cdk_marketplace.OrderProps(
  product_code: typing.Union[str, IResolvable],
  sku_code: typing.Union[str, IResolvable],
  charge_type: typing.Union[str, IResolvable] = None,
  duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  preference: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  pricing_cycle: typing.Union[str, IResolvable] = None,
  quantity: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
product_code typing.Union[str, ros_cdk_core.IResolvable] Property productCode: Product code for the resource.
sku_code typing.Union[str, ros_cdk_core.IResolvable] Property skuCode: Sku code for the resource.
charge_type typing.Union[str, ros_cdk_core.IResolvable] Property chargeType: The resource charge type.
duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property duration: Duration of the resource.
preference typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property preference: Customized parameters.
pricing_cycle typing.Union[str, ros_cdk_core.IResolvable] Property pricingCycle: Price cycle of the resource.
quantity typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property quantity: Resource number.

product_codeRequired

product_code: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property productCode: Product code for the resource.


sku_codeRequired

sku_code: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property skuCode: Sku code for the resource.


charge_typeOptional

charge_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property chargeType: The resource charge type.

Default value is Prepaid


durationOptional

duration: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property duration: Duration of the resource.

If ChargeType is specified as Postpaid, this value will be ignore.


preferenceOptional

preference: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property preference: Customized parameters.


pricing_cycleOptional

pricing_cycle: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property pricingCycle: Price cycle of the resource.

This property has no default value. If ChargeType is specified as Postpaid, this value will be ignore.


quantityOptional

quantity: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property quantity: Resource number.

Default value is 1