Skip to content

MyBaseProps

Properties for defining a MyBase.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cddc-mybase

Initializer

import com.aliyun.ros.cdk.cddc.MyBaseProps;
MyBaseProps.builder()
    .ecsClassList(IResolvable)
    .ecsClassList(java.util.List<java.util.Map<java.lang.String, java.lang.Object>>)
    .engine(java.lang.String)
    .engine(IResolvable)
    .payType(java.lang.String)
    .payType(IResolvable)
    .period(java.lang.Number)
    .period(IResolvable)
    .securityGroupId(java.lang.String)
    .securityGroupId(IResolvable)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
    .zoneId(java.lang.String)
    .zoneId(IResolvable)
//  .autoRenew(java.lang.Boolean)
//  .autoRenew(IResolvable)
//  .dedicatedHostGroupDescription(java.lang.String)
//  .dedicatedHostGroupDescription(IResolvable)
//  .dedicatedHostGroupId(java.lang.String)
//  .dedicatedHostGroupId(IResolvable)
//  .ecsDeploymentSetId(java.lang.String)
//  .ecsDeploymentSetId(IResolvable)
//  .ecsHostName(java.lang.String)
//  .ecsHostName(IResolvable)
//  .ecsInstanceName(java.lang.String)
//  .ecsInstanceName(IResolvable)
//  .ecsUniqueSuffix(java.lang.Boolean)
//  .ecsUniqueSuffix(IResolvable)
//  .imageId(java.lang.String)
//  .imageId(IResolvable)
//  .internetChargeType(java.lang.String)
//  .internetChargeType(IResolvable)
//  .internetMaxBandwidthOut(java.lang.Number)
//  .internetMaxBandwidthOut(IResolvable)
//  .keyPairName(java.lang.String)
//  .keyPairName(IResolvable)
//  .osPassword(java.lang.String)
//  .osPassword(IResolvable)
//  .passwordInherit(java.lang.Boolean)
//  .passwordInherit(IResolvable)
//  .periodType(java.lang.String)
//  .periodType(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .userData(java.lang.String)
//  .userData(IResolvable)
//  .userDataInBase64(java.lang.Boolean)
//  .userDataInBase64(IResolvable)
    .build();

Properties

Name Type Description
ecsClassList com.aliyun.ros.cdk.core.IResolvable OR java.util.List> Property ecsClassList: ECS Class List.
engine java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property engine: Database type.
payType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property payType: Payment type, currently only supports PrePaid.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property period: The period of the subscription in months.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupId: The ID of the security group.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the VPC.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: Virtual switch ID.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: Availability Zone ID.
autoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoRenew: Whether to enable auto renew.
dedicatedHostGroupDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dedicatedHostGroupDescription: The name of the dedicated cluster.
dedicatedHostGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dedicatedHostGroupId: The ID of the dedicated cluster.
ecsDeploymentSetId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ecsDeploymentSetId: The ID of the deployment set.
ecsHostName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ecsHostName: The host name of the ECS instance.
ecsInstanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ecsInstanceName: The name of the ECS instance.
ecsUniqueSuffix java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property ecsUniqueSuffix: The unique suffix of the ECS instance.
imageId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property imageId: The image ID.
internetChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property internetChargeType: Network billing type.
internetMaxBandwidthOut java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property internetMaxBandwidthOut: Set internet output bandwidth of instance.
keyPairName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property keyPairName: The name of the key pair.
osPassword java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property osPassword: Password of created ecs instance.
passwordInherit java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property passwordInherit: Whether to inherit the password from the parent cluster.
periodType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property periodType: Prepaid type, currently only supports Monthly (monthly subscription).
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group id.
userData java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userData: User-defined script data, the original data is up to 16KB.
userDataInBase64 java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property userDataInBase64: The user data of the ECS instance.

ecsClassListRequired

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

Property ecsClassList: ECS Class List.


engineRequired

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

Property engine: Database type.


payTypeRequired

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

Property payType: Payment type, currently only supports PrePaid.


periodRequired

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

Property period: The period of the subscription in months.


securityGroupIdRequired

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

Property securityGroupId: The ID of the security group.


vpcIdRequired

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

Property vpcId: The ID of the VPC.


vSwitchIdRequired

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

Property vSwitchId: Virtual switch ID.


zoneIdRequired

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

Property zoneId: Availability Zone ID.


autoRenewOptional

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

Property autoRenew: Whether to enable auto renew.


dedicatedHostGroupDescriptionOptional

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

Property dedicatedHostGroupDescription: The name of the dedicated cluster.


dedicatedHostGroupIdOptional

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

Property dedicatedHostGroupId: The ID of the dedicated cluster.


ecsDeploymentSetIdOptional

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

Property ecsDeploymentSetId: The ID of the deployment set.


ecsHostNameOptional

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

Property ecsHostName: The host name of the ECS instance.


ecsInstanceNameOptional

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

Property ecsInstanceName: The name of the ECS instance.


ecsUniqueSuffixOptional

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

Property ecsUniqueSuffix: The unique suffix of the ECS instance.


imageIdOptional

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

Property imageId: The image ID.


internetChargeTypeOptional

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

Property internetChargeType: Network billing type.

Value range: PayByBandwidth: billed based on fixed bandwidth. PayByTraffic: Pay by traffic usage.


internetMaxBandwidthOutOptional

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

Property internetMaxBandwidthOut: Set internet output bandwidth of instance.

Unit is Mbps(Mega bit per second). Range is [0,200]. Default is 1. While the property is not 0, public ip will be assigned for instance.


keyPairNameOptional

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

Property keyPairName: The name of the key pair.


osPasswordOptional

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

Property osPassword: Password of created ecs instance.

Must contain at least 3 types of special character, lower character, upper character, number.


passwordInheritOptional

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

Property passwordInherit: Whether to inherit the password from the parent cluster.


periodTypeOptional

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

Property periodType: Prepaid type, currently only supports Monthly (monthly subscription).


resourceGroupIdOptional

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

Property resourceGroupId: Resource group id.


userDataOptional

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

Property userData: User-defined script data, the original data is up to 16KB.


userDataInBase64Optional

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

Property userDataInBase64: The user data of the ECS instance.