Skip to content

VServerGroupAttachmentProps

Properties for defining a VServerGroupAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-vservergroupattachment

Initializer

import com.aliyun.ros.cdk.ess.VServerGroupAttachmentProps;
VServerGroupAttachmentProps.builder()
    .scalingGroupId(java.lang.String)
    .scalingGroupId(IResolvable)
    .vServerGroups(IResolvable)
    .vServerGroups(java.util.List<IResolvable)
    .vServerGroups(VServerGroupsProperty>)
//  .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.
vServerGroups com.aliyun.ros.cdk.core.IResolvable OR java.util.ListVServerGroupsProperty> Property vServerGroups: A list of vserver groups attached on scaling group.
forceAttach java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property forceAttach: If instances of scaling group are attached\/removed from slb backend server when attach\/detach vserver group from scaling group.

scalingGroupIdRequired

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

Property scalingGroupId: The ID of the scaling group.


vServerGroupsRequired

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

Property vServerGroups: A list of vserver groups attached on scaling group.


forceAttachOptional

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

Property forceAttach: If instances of scaling group are attached\/removed from slb backend server when attach\/detach vserver group from scaling group.

Valid values: true false Default value: false.