Skip to content

BasicAcceleratorProps

Properties for defining a BasicAccelerator.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-basicaccelerator

Initializer

import ros_cdk_ga
ros_cdk_ga.BasicAcceleratorProps(
  auto_pay: typing.Union[bool, IResolvable] = None,
  auto_renew: typing.Union[bool, IResolvable] = None,
  auto_renew_duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  auto_use_coupon: typing.Union[str, IResolvable] = None,
  bandwidth_billing_type: typing.Union[str, IResolvable] = None,
  charge_type: typing.Union[str, IResolvable] = None,
  duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  pricing_cycle: typing.Union[str, IResolvable] = None,
  promotion_option_no: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
auto_pay typing.Union[bool, ros_cdk_core.IResolvable] Property autoPay: Specifies whether to enable automatic payment.
auto_renew typing.Union[bool, ros_cdk_core.IResolvable] Property autoRenew: Specifies whether to enable auto-renewal for the basic GA instance.
auto_renew_duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property autoRenewDuration: The auto-renewal duration.
auto_use_coupon typing.Union[str, ros_cdk_core.IResolvable] Property autoUseCoupon: Specifies whether to automatically apply coupons to your bills.
bandwidth_billing_type typing.Union[str, ros_cdk_core.IResolvable] Property bandwidthBillingType: The bandwidth billing method.
charge_type typing.Union[str, ros_cdk_core.IResolvable] Property chargeType: The billing method.
duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property duration: The subscription duration of the GA instance.
pricing_cycle typing.Union[str, ros_cdk_core.IResolvable] Property pricingCycle: The billing cycle.
promotion_option_no typing.Union[str, ros_cdk_core.IResolvable] Property promotionOptionNo: The code of the coupon.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group to which the basic GA instance belongs.
tags typing.List[TagsProperty] Property tags: The tags of the basic GA instance.

auto_payOptional

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

Property autoPay: Specifies whether to enable automatic payment.

Valid values: false: disables automatic payment. If you select this option, you must go to the Order Center to complete the payment after an order is generated. This is the default value. true: enables automatic payment. Payments are automatically completed.


auto_renewOptional

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

Property autoRenew: Specifies whether to enable auto-renewal for the basic GA instance.

Valid values: true: enables auto-renewal for the basic GA instance. false: disables auto-renewal for the basic GA instance. This is the default value.


auto_renew_durationOptional

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

Property autoRenewDuration: The auto-renewal duration.

Unit: months.Valid values: 1 to 12. Default value: 1.


auto_use_couponOptional

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

Property autoUseCoupon: Specifies whether to automatically apply coupons to your bills.

Valid values: true: automatically applies coupons to your bills. false: does not automatically apply coupons to your bills. This is the default value.


bandwidth_billing_typeOptional

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

Property bandwidthBillingType: The bandwidth billing method.

Valid values: BandwidthPackage: billed based on bandwidth plans. CDT: billed based on data transfer. The bills are managed by using Cloud Data Transfer (CDT). CDT95: billed based on the 95th percentile bandwidth. The bills are managed by using Cloud Data Transfer (CDT). This bandwidth billing method is not available by default. Contact your Alibaba Cloud account manager for more information.


charge_typeOptional

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

Property chargeType: The billing method.

Valid values: PREPAY (default)POSTPAY


durationOptional

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

Property duration: The subscription duration of the GA instance.

If you set PricingCycle to Month, the valid values for Duration are 1 to 9. If you set PricingCycle to Year, the valid values for Duration are 1 to 3.


pricing_cycleOptional

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

Property pricingCycle: The billing cycle.

Valid values: Month Year


promotion_option_noOptional

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

Property promotionOptionNo: The code of the coupon.


resource_group_idOptional

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

Property resourceGroupId: The ID of the resource group to which the basic GA instance belongs.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: The tags of the basic GA instance.