InstanceGroupProps
Properties for defining a InstanceGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudphone-instancegroup
Initializer
import com.aliyun.ros.cdk.cloudphone.InstanceGroupProps;
InstanceGroupProps.builder()
.imageId(java.lang.String)
.imageId(IResolvable)
.instanceType(java.lang.String)
.instanceType(IResolvable)
.securityGroupId(java.lang.String)
.securityGroupId(IResolvable)
.vSwitchId(java.lang.String)
.vSwitchId(IResolvable)
// .amount(java.lang.Number)
// .amount(IResolvable)
// .autoPay(java.lang.Boolean)
// .autoPay(IResolvable)
// .autoRenew(java.lang.Boolean)
// .autoRenew(IResolvable)
// .chargeType(java.lang.String)
// .chargeType(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .eipBandwidth(java.lang.Number)
// .eipBandwidth(IResolvable)
// .instanceName(java.lang.String)
// .instanceName(IResolvable)
// .keyPairName(java.lang.String)
// .keyPairName(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .periodUnit(java.lang.String)
// .periodUnit(IResolvable)
// .resolution(java.lang.String)
// .resolution(IResolvable)
// .tag(IResolvable)
// .tag(java.util.List<IResolvable)
// .tag(RosTag>)
// .vncPassword(java.lang.String)
// .vncPassword(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
imageId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property imageId: The image id. |
instanceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceType: instance type. |
securityGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property securityGroupId: Security group to create ecs instance. |
vSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vSwitchId: vswitch id. |
amount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property amount: Specifies the number of ECS instances to create.Value range: 1~100 Default:1. |
autoPay |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoPay: Whether to pay automatically, the default is true. |
autoRenew |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoRenew: Whether renew the fee automatically. |
chargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property chargeType: Instance internet access charge type. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Description of instance. |
eipBandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property eipBandwidth: EIP bandwidth value, the value range is 1-200. |
instanceName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceName: "Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, "_" or ".", "-". |
keyPairName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property keyPairName: Cloud phone instance key pair name. |
period |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property period: Prepaid time period. |
periodUnit |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property periodUnit: Unit of prepaid time period, it could be Month\/Year. |
resolution |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resolution: You can use the DescribeInstanceTypes interface to query the list of resolutions supported by the current specification and select an appropriate resolution. |
tag |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property tag: Tags to attach to instance. |
vncPassword |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vncPassword: Cloud phone VNC password. |
imageId
Required
public java.lang.Object getImageId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property imageId: The image id.
instanceType
Required
public java.lang.Object getInstanceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceType: instance type.
securityGroupId
Required
public java.lang.Object getSecurityGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property securityGroupId: Security group to create ecs instance.
For classic instance need the security group not belong to VPC, for VPC instance, please make sure the security group belong to specified VPC.
vSwitchId
Required
public java.lang.Object getVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchId: vswitch id.
amount
Optional
public java.lang.Object getAmount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property amount: Specifies the number of ECS instances to create.Value range: 1~100 Default:1.
autoPay
Optional
public java.lang.Object getAutoPay();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoPay: Whether to pay automatically, the default is true.
autoRenew
Optional
public java.lang.Object getAutoRenew();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoRenew: Whether renew the fee automatically.
When the parameter InstanceChargeType is PrePaid, it will take effect. Range of value:True: automatic renewal. False: no automatic renewal. Default value is False.
chargeType
Optional
public java.lang.Object getChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property chargeType: Instance internet access charge type.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Description of instance.
The length is 2~256 English or Chinese characters and cannot start with http:// and https://.
eipBandwidth
Optional
public java.lang.Object getEipBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property eipBandwidth: EIP bandwidth value, the value range is 1-200.
Setting this parameter will automatically create an EIP instance corresponding to the bandwidth and bind the EIP instance to the cloud phone instance. When the instance is released, this EIP instance will be released and recycled together.
instanceName
Optional
public java.lang.Object getInstanceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceName: "Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, "_" or ".", "-".
keyPairName
Optional
public java.lang.Object getKeyPairName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property keyPairName: Cloud phone instance key pair name.
The cloud phone key can be imported through the ImportKeyPair interface.
period
Optional
public java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property period: Prepaid time period.
While PeriodUnit is month, it could be 1, 2, 3, 6. While PeriodUnit is year, it could be from 1 to 5Default value is 1.
periodUnit
Optional
public java.lang.Object getPeriodUnit();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property periodUnit: Unit of prepaid time period, it could be Month\/Year.
Default value is Month.
resolution
Optional
public java.lang.Object getResolution();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resolution: You can use the DescribeInstanceTypes interface to query the list of resolutions supported by the current specification and select an appropriate resolution.
tag
Optional
public java.lang.Object getTag();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property tag: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
vncPassword
Optional
public java.lang.Object getVncPassword();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vncPassword: Cloud phone VNC password.
The password must be six characters long, and must contain only uppercase, lowercase English letters and Arabic numerals.