Skip to content

InstanceV2Props

Properties for defining a InstanceV2.

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

Initializer

import com.aliyun.ros.cdk.flink.InstanceV2Props;
InstanceV2Props.builder()
    .chargeType(java.lang.String)
    .chargeType(IResolvable)
    .instanceName(java.lang.String)
    .instanceName(IResolvable)
    .storage(IResolvable)
    .storage(StorageProperty)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .vSwitchIds(java.util.List<java.lang.Object>)
    .vSwitchIds(IResolvable)
//  .architectureType(java.lang.String)
//  .architectureType(IResolvable)
//  .autoRenew(java.lang.Boolean)
//  .autoRenew(IResolvable)
//  .duration(java.lang.Number)
//  .duration(IResolvable)
//  .haResourceSpec(IResolvable)
//  .haResourceSpec(HaResourceSpecProperty)
//  .haVSwitchIds(java.util.List<java.lang.Object>)
//  .haVSwitchIds(IResolvable)
//  .monitorType(java.lang.String)
//  .monitorType(IResolvable)
//  .pricingCycle(java.lang.String)
//  .pricingCycle(IResolvable)
//  .promotionCode(java.lang.String)
//  .promotionCode(IResolvable)
//  .resourceSpec(IResolvable)
//  .resourceSpec(ResourceSpecProperty)
//  .usePromotionCode(java.lang.Boolean)
//  .usePromotionCode(IResolvable)
    .build();

Properties

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

chargeTypeRequired

public java.lang.Object getChargeType();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getInstanceName();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getStorage();

Property storage: The storage parameters.


vpcIdRequired

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: VPC ID.


vSwitchIdsRequired

public java.lang.Object getVSwitchIds();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchIds: Virtual switch ID.


architectureTypeOptional

public java.lang.Object getArchitectureType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


autoRenewOptional

public java.lang.Object getAutoRenew();
  • Type: java.lang.Boolean OR com.aliyun.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 java.lang.Object getDuration();
  • Type: java.lang.Number OR com.aliyun.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 java.lang.Object getHaResourceSpec();

Property haResourceSpec: HA resource specifications.

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


haVSwitchIdsOptional

public java.lang.Object getHaVSwitchIds();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property haVSwitchIds: HA VSwitch IDs.


monitorTypeOptional

public java.lang.Object getMonitorType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


pricingCycleOptional

public java.lang.Object getPricingCycle();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


promotionCodeOptional

public java.lang.Object getPromotionCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property promotionCode: Promo Code.


resourceSpecOptional

public java.lang.Object getResourceSpec();

Property resourceSpec: Resource specifications.

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


usePromotionCodeOptional

public java.lang.Object getUsePromotionCode();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

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