Skip to content

VCUInstanceProps

Properties for defining a VCUInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ots-vcuinstance

Initializer

import com.aliyun.ros.cdk.ots.VCUInstanceProps;
VCUInstanceProps.builder()
    .clusterType(java.lang.String)
    .clusterType(IResolvable)
    .periodInMonth(java.lang.Number)
    .periodInMonth(IResolvable)
    .vcu(java.lang.Number)
    .vcu(IResolvable)
//  .aliasName(java.lang.String)
//  .aliasName(IResolvable)
//  .autoRenewPeriodInMonth(java.lang.Number)
//  .autoRenewPeriodInMonth(IResolvable)
//  .enableAutoRenew(java.lang.Boolean)
//  .enableAutoRenew(IResolvable)
//  .enableElasticVcu(java.lang.Boolean)
//  .enableElasticVcu(IResolvable)
//  .instanceDescription(java.lang.String)
//  .instanceDescription(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
clusterType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type.
periodInMonth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property periodInMonth: Purchase duration.
vcu java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property vcu: Number of VCU units.
aliasName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property aliasName: Instance alias name.
autoRenewPeriodInMonth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property autoRenewPeriodInMonth: Automatic renewal cycle.
enableAutoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property enableAutoRenew: Whether to enable automatic renewal.
enableElasticVcu java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property enableElasticVcu: Whether to enable instance elasticity.
instanceDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceDescription: Instance description.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource Group ID.
tags java.util.List<TagsProperty> Property tags: The list of instance tags in the form of key\/value pairs.

clusterTypeRequired

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

Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type.


periodInMonthRequired

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

Property periodInMonth: Purchase duration.

Unit: month. Value range: 1~24.


vcuRequired

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

Property vcu: Number of VCU units.

Value range: 0~2000.


aliasNameOptional

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

Property aliasName: Instance alias name.


autoRenewPeriodInMonthOptional

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

Property autoRenewPeriodInMonth: Automatic renewal cycle.

When automatic renewal is enabled, it is required. Value range: 1~24.


enableAutoRenewOptional

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

Property enableAutoRenew: Whether to enable automatic renewal.


enableElasticVcuOptional

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

Property enableElasticVcu: Whether to enable instance elasticity.

If elasticity is enabled, the peak VCU usage of the instance can exceed the purchased VCU amount, but there will be additional charges.


instanceDescriptionOptional

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

Property instanceDescription: Instance description.


resourceGroupIdOptional

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

Property resourceGroupId: Resource Group ID.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: The list of instance tags in the form of key\/value pairs.

You can define a maximum of 20 tags for instance.