Skip to content

InstanceV2Props

Properties for defining a InstanceV2.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-flink-instancev2

Initializer

import ros_cdk_flink
ros_cdk_flink.InstanceV2Props(
  charge_type: typing.Union[str, IResolvable],
  instance_name: typing.Union[str, IResolvable],
  storage: typing.Union[IResolvable, StorageProperty],
  vpc_id: typing.Union[str, IResolvable],
  v_switch_ids: typing.Union[typing.List[typing.Any], IResolvable],
  architecture_type: typing.Union[str, IResolvable] = None,
  auto_renew: typing.Union[bool, IResolvable] = None,
  duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  ha_resource_spec: typing.Union[IResolvable, HaResourceSpecProperty] = None,
  ha_v_switch_ids: typing.Union[typing.List[typing.Any], IResolvable] = None,
  monitor_type: typing.Union[str, IResolvable] = None,
  pricing_cycle: typing.Union[str, IResolvable] = None,
  promotion_code: typing.Union[str, IResolvable] = None,
  resource_spec: typing.Union[IResolvable, ResourceSpecProperty] = None,
  use_promotion_code: typing.Union[bool, IResolvable] = None
)

Properties

Name Type Description
charge_type typing.Union[str, ros_cdk_core.IResolvable] Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go.
instance_name typing.Union[str, ros_cdk_core.IResolvable] Property instanceName: The name of the workspace.
storage typing.Union[ros_cdk_core.IResolvable, StorageProperty] Property storage: The storage parameters.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: VPC ID.
v_switch_ids typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] Property vSwitchIds: Virtual switch ID.
architecture_type typing.Union[str, ros_cdk_core.IResolvable] Property architectureType: The architecture type, the value of the value is as follows: X86, ARM.
auto_renew typing.Union[bool, ros_cdk_core.IResolvable] Property autoRenew: Specifies whether to enable auto-renewal.
duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property duration: Number of order cycle.
ha_resource_spec typing.Union[ros_cdk_core.IResolvable, HaResourceSpecProperty] Property haResourceSpec: HA resource specifications.
ha_v_switch_ids typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] Property haVSwitchIds: HA VSwitch IDs.
monitor_type typing.Union[str, ros_cdk_core.IResolvable] Property monitorType: The monitor type, the value of the value is as follows: TAIHAO, ARMS.
pricing_cycle typing.Union[str, ros_cdk_core.IResolvable] Property pricingCycle: The ordering cycle only supports ordering in the year and month.
promotion_code typing.Union[str, ros_cdk_core.IResolvable] Property promotionCode: Promo Code.
resource_spec typing.Union[ros_cdk_core.IResolvable, ResourceSpecProperty] Property resourceSpec: Resource specifications.
use_promotion_code typing.Union[bool, ros_cdk_core.IResolvable] Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use.

charge_typeRequired

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

Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go.

PRE: subscription.


instance_nameRequired

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

Property instanceName: The name of the workspace.

The name must start with a lowercase letter, can contain lowercase letters, digits, and hyphens (-), and cannot end with a hyphen.


storageRequired

storage: typing.Union[IResolvable, StorageProperty]

Property storage: The storage parameters.


vpc_idRequired

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

Property vpcId: VPC ID.


v_switch_idsRequired

v_switch_ids: typing.Union[typing.List[typing.Any], IResolvable]
  • Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]

Property vSwitchIds: Virtual switch ID.


architecture_typeOptional

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

Property architectureType: The architecture type, the value of the value is as follows: X86, ARM.


auto_renewOptional

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

Property autoRenew: Specifies whether to enable auto-renewal.

Valid values:

  • true: Auto-renewal is enabled.
  • false: Auto-renewal is disabled. This is the default value.

This parameter does not take effect for pay-as-you-go instances.


durationOptional

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

Property duration: Number of order cycle.

When ChargeType is configured as PRE, the duration parameter must be filled. If PricingCycle is Month, the valid range is 1, 2, 3, 6, 7, 8, 9, 12, 24, 36 If PricingCycle is year, the valid range is 1 to 3


ha_resource_specOptional

ha_resource_spec: typing.Union[IResolvable, HaResourceSpecProperty]

Property haResourceSpec: HA resource specifications.

When ChargeType is configured as PRE, the resource specification parameters must be filled.


ha_v_switch_idsOptional

ha_v_switch_ids: typing.Union[typing.List[typing.Any], IResolvable]
  • Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]

Property haVSwitchIds: HA VSwitch IDs.


monitor_typeOptional

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

Property monitorType: The monitor type, the value of the value is as follows: TAIHAO, ARMS.


pricing_cycleOptional

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

Property pricingCycle: The ordering cycle only supports ordering in the year and month.


promotion_codeOptional

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

Property promotionCode: Promo Code.


resource_specOptional

resource_spec: typing.Union[IResolvable, ResourceSpecProperty]

Property resourceSpec: Resource specifications.

When ChargeType is configured as PRE, the resource specification parameters must be filled.


use_promotion_codeOptional

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

Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use.