ServerGroupAttachmentProps
Properties for defining a ServerGroupAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-servergroupattachment
Initializer
import com.aliyun.ros.cdk.ess.ServerGroupAttachmentProps;
ServerGroupAttachmentProps.builder()
.scalingGroupId(java.lang.String)
.scalingGroupId(IResolvable)
.serverGroups(IResolvable)
.serverGroups(java.util.List<IResolvable)
.serverGroups(ServerGroupsProperty>)
// .forceAttach(java.lang.Boolean)
// .forceAttach(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
scalingGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property scalingGroupId: The ID of the scaling group. |
serverGroups |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property serverGroups: A collection of information about server groups. |
forceAttach |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property forceAttach: Specifies whether to add the Elastic Compute Service (ECS) instances in the scaling group to the backend server group of the newly attached SLB instance. |
scalingGroupId
Required
public java.lang.Object getScalingGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scalingGroupId: The ID of the scaling group.
serverGroups
Required
public java.lang.Object getServerGroups();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ServerGroupsProperty>
Property serverGroups: A collection of information about server groups.
forceAttach
Optional
public java.lang.Object getForceAttach();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property forceAttach: Specifies whether to add the Elastic Compute Service (ECS) instances in the scaling group to the backend server group of the newly attached SLB instance.
Valid values: true false Default value: false.