Skip to content

InstanceV2Props

Properties for defining a InstanceV2.

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

Initializer

import { InstanceV2Props } from '@alicloud/ros-cdk-flink'
const instanceV2Props: InstanceV2Props = { ... }

Properties

Name Type Description
chargeType string | @alicloud/ros-cdk-core.IResolvable Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go.
instanceName string | @alicloud/ros-cdk-core.IResolvable Property instanceName: The name of the workspace.
storage @alicloud/ros-cdk-core.IResolvable | StorageProperty Property storage: The storage parameters.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: VPC ID.
vSwitchIds any[] | @alicloud/ros-cdk-core.IResolvable Property vSwitchIds: Virtual switch ID.
architectureType string | @alicloud/ros-cdk-core.IResolvable Property architectureType: The architecture type, the value of the value is as follows: X86, ARM.
autoRenew boolean | @alicloud/ros-cdk-core.IResolvable Property autoRenew: Specifies whether to enable auto-renewal.
duration number | @alicloud/ros-cdk-core.IResolvable Property duration: Number of order cycle.
haResourceSpec @alicloud/ros-cdk-core.IResolvable | HaResourceSpecProperty Property haResourceSpec: HA resource specifications.
haVSwitchIds any[] | @alicloud/ros-cdk-core.IResolvable Property haVSwitchIds: HA VSwitch IDs.
monitorType string | @alicloud/ros-cdk-core.IResolvable Property monitorType: The monitor type, the value of the value is as follows: TAIHAO, ARMS.
pricingCycle string | @alicloud/ros-cdk-core.IResolvable Property pricingCycle: The ordering cycle only supports ordering in the year and month.
promotionCode string | @alicloud/ros-cdk-core.IResolvable Property promotionCode: Promo Code.
resourceSpec @alicloud/ros-cdk-core.IResolvable | ResourceSpecProperty Property resourceSpec: Resource specifications.
usePromotionCode boolean | @alicloud/ros-cdk-core.IResolvable Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use.

chargeTypeRequired

public readonly chargeType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

PRE: subscription.


instanceNameRequired

public readonly instanceName: string | IResolvable;
  • Type: string | @alicloud/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

public readonly storage: IResolvable | StorageProperty;

Property storage: The storage parameters.


vpcIdRequired

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vpcId: VPC ID.


vSwitchIdsRequired

public readonly vSwitchIds: any[] | IResolvable;
  • Type: any[] | @alicloud/ros-cdk-core.IResolvable

Property vSwitchIds: Virtual switch ID.


architectureTypeOptional

public readonly architectureType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


autoRenewOptional

public readonly autoRenew: boolean | IResolvable;
  • Type: boolean | @alicloud/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

public readonly duration: number | IResolvable;
  • Type: number | @alicloud/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


haResourceSpecOptional

public readonly haResourceSpec: IResolvable | HaResourceSpecProperty;

Property haResourceSpec: HA resource specifications.

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


haVSwitchIdsOptional

public readonly haVSwitchIds: any[] | IResolvable;
  • Type: any[] | @alicloud/ros-cdk-core.IResolvable

Property haVSwitchIds: HA VSwitch IDs.


monitorTypeOptional

public readonly monitorType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


pricingCycleOptional

public readonly pricingCycle: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


promotionCodeOptional

public readonly promotionCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property promotionCode: Promo Code.


resourceSpecOptional

public readonly resourceSpec: IResolvable | ResourceSpecProperty;

Property resourceSpec: Resource specifications.

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


usePromotionCodeOptional

public readonly usePromotionCode: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

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