ScalingGroupEnableProps
Properties for defining a ScalingGroupEnable.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-scalinggroupenable
Initializer
import com.aliyun.ros.cdk.ess.ScalingGroupEnableProps;
ScalingGroupEnableProps.builder()
.scalingGroupId(java.lang.String)
.scalingGroupId(IResolvable)
// .attachOptions(IResolvable)
// .attachOptions(AttachOptionsProperty)
// .detachOptions(IResolvable)
// .detachOptions(DetachOptionsProperty)
// .instanceIds(IResolvable)
// .instanceIds(java.util.List<java.lang.String)
// .instanceIds(IResolvable>)
// .removeInstanceIds(IResolvable)
// .removeInstanceIds(java.util.List<java.lang.String)
// .removeInstanceIds(IResolvable>)
// .scalingConfigurationId(java.lang.String)
// .scalingConfigurationId(IResolvable)
// .scalingRuleAris(IResolvable)
// .scalingRuleAris(java.util.List<java.lang.String)
// .scalingRuleAris(IResolvable>)
// .scalingRuleArisExecuteVersion(java.lang.Number)
// .scalingRuleArisExecuteVersion(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
scalingGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property scalingGroupId: The id of operated scaling group. |
attachOptions |
com.aliyun.ros.cdk.core.IResolvable OR AttachOptionsProperty |
Property attachOptions: Options for attaching instances. |
detachOptions |
com.aliyun.ros.cdk.core.IResolvable OR DetachOptionsProperty |
Property detachOptions: Options for detaching instances. |
instanceIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property instanceIds: The id list of ECS instance which will be attached. |
removeInstanceIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property removeInstanceIds: The id list of ECS instance which will be removed. |
scalingConfigurationId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property scalingConfigurationId: The id of scaling configuration which will be activate. |
scalingRuleAris |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property scalingRuleAris: A list of scaling rule aris which will be executed. |
scalingRuleArisExecuteVersion |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property scalingRuleArisExecuteVersion: The change of the property leads to the execution of all the scaling rule aris in ScalingRuleAris. |
scalingGroupIdRequired
public java.lang.Object getScalingGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scalingGroupId: The id of operated scaling group.
attachOptionsOptional
public java.lang.Object getAttachOptions();
- Type: com.aliyun.ros.cdk.core.IResolvable OR AttachOptionsProperty
Property attachOptions: Options for attaching instances.
detachOptionsOptional
public java.lang.Object getDetachOptions();
- Type: com.aliyun.ros.cdk.core.IResolvable OR DetachOptionsProperty
Property detachOptions: Options for detaching instances.
instanceIdsOptional
public java.lang.Object getInstanceIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property instanceIds: The id list of ECS instance which will be attached.
Max support 1000 instances.
removeInstanceIdsOptional
public java.lang.Object getRemoveInstanceIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property removeInstanceIds: The id list of ECS instance which will be removed.
Max support 1000 instances.
scalingConfigurationIdOptional
public java.lang.Object getScalingConfigurationId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scalingConfigurationId: The id of scaling configuration which will be activate.
scalingRuleArisOptional
public java.lang.Object getScalingRuleAris();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property scalingRuleAris: A list of scaling rule aris which will be executed.
Max support 10 scaling rule aris. When creating the resource, all the scaling rule aris in the list will be executed. When updating the resource, none of scaling rule aris in the list will be executed, unless ScalingRuleArisExecuteVersion is changed.
scalingRuleArisExecuteVersionOptional
public java.lang.Object getScalingRuleArisExecuteVersion();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property scalingRuleArisExecuteVersion: The change of the property leads to the execution of all the scaling rule aris in ScalingRuleAris.