Skip to content

QuotaProps

Properties for defining a Quota.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-maxcompute-quota

Initializer

import ros_cdk_maxcompute
ros_cdk_maxcompute.QuotaProps(
  pay_type: typing.Union[str, IResolvable],
  auto_pay: typing.Union[bool, IResolvable] = None,
  auto_renew: typing.Union[bool, IResolvable] = None,
  cu: typing.Union[typing.Union[int, float], IResolvable] = None,
  period: typing.Union[typing.Union[int, float], IResolvable] = None,
  period_unit: typing.Union[str, IResolvable] = None,
  quota_nickname: typing.Union[str, IResolvable] = None,
  specification: typing.Union[str, IResolvable] = None,
  tunnel: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
pay_type typing.Union[str, ros_cdk_core.IResolvable] Property payType: The billing method of the odps quota instance.
auto_pay typing.Union[bool, ros_cdk_core.IResolvable] Property autoPay: Whether to auto pay the bill.
auto_renew typing.Union[bool, ros_cdk_core.IResolvable] Property autoRenew: Whether to auto renew the prepay instance.
cu typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property cu: The compute unit of the odps quota instance.
period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property period: The subscription period of the odps quotaIf PeriodUnit is month, the valid range is 1-9 If periodUnit is year, the valid range is 1, 2, 3, 4, 5.
period_unit typing.Union[str, ros_cdk_core.IResolvable] Property periodUnit: The unit of the subscription duration.
quota_nickname typing.Union[str, ros_cdk_core.IResolvable] Property quotaNickname: The nickname of the odps quota instance.
specification typing.Union[str, ros_cdk_core.IResolvable] Property specification: The specification of the odps quota instance.
tunnel typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property tunnel: The tunnel unit of the odps quota instance.

pay_typeRequired

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

Property payType: The billing method of the odps quota instance.

Valid values: PayAsYouGo: pay-as-you-go Subscription: subscription


auto_payOptional

auto_pay: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoPay: Whether to auto pay the bill.


auto_renewOptional

auto_renew: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoRenew: Whether to auto renew the prepay instance.


cuOptional

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

Property cu: The compute unit of the odps quota instance.

When the specification is the StandardCompute, this parameter is required.


periodOptional

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

Property period: The subscription period of the odps quotaIf PeriodUnit is month, the valid range is 1-9 If periodUnit is year, the valid range is 1, 2, 3, 4, 5.


period_unitOptional

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

Property periodUnit: The unit of the subscription duration.

Valid values: Month Year Default value: Month.


quota_nicknameOptional

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

Property quotaNickname: The nickname of the odps quota instance.


specificationOptional

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

Property specification: The specification of the odps quota instance.


tunnelOptional

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

Property tunnel: The tunnel unit of the odps quota instance.

When the specification is the Tunnel, this parameter is required