Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

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

Properties

Name Type Description
bucket string | @alicloud/ros-cdk-core.IResolvable Property bucket: OSS bucket name.
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 instance.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: VPC ID.
vSwitchIds any[] | @alicloud/ros-cdk-core.IResolvable Property vSwitchIds: Virtual switch ID.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: The available area ID of the instance.
autoRenew boolean | @alicloud/ros-cdk-core.IResolvable Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal.
duration number | @alicloud/ros-cdk-core.IResolvable Property duration: Number of order cycle.
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.

bucketRequired

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

Property bucket: OSS bucket name.


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 instance.


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.


zoneIdRequired

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

Property zoneId: The available area ID of the instance.


autoRenewOptional

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

Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal.

false: Manual renewal.


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


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.