Skip to content

LoadBalancerAttachmentProps

Properties for defining a LoadBalancerAttachment.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkess"
&alicloudroscdkess.LoadBalancerAttachmentProps {
    ScalingGroupId: interface{},
    ForceAttach: interface{},
    LoadBalancerConfigs: interface{},
    LoadBalancers: interface{},
}

Properties

Name Type Description
ScalingGroupId interface{} Property scalingGroupId: The ID of the scaling group.
ForceAttach interface{} Property forceAttach: Specifies whether to add all instances in the current scaling group to the backend server groups of the attached CLB instance.
LoadBalancerConfigs interface{} Property loadBalancerConfigs: Load balancer configuration list.
LoadBalancers interface{} Property loadBalancers: The ID of CLB instance N that you want to attach to the scaling group.

ScalingGroupIdRequired

ScalingGroupId interface{}
  • Type: interface{}

Property scalingGroupId: The ID of the scaling group.


ForceAttachOptional

ForceAttach interface{}
  • Type: interface{}

Property forceAttach: Specifies whether to add all instances in the current scaling group to the backend server groups of the attached CLB instance.

Valid values: true false Default value: false.


LoadBalancerConfigsOptional

LoadBalancerConfigs interface{}
  • Type: interface{}

Property loadBalancerConfigs: Load balancer configuration list.


LoadBalancersOptional

LoadBalancers interface{}
  • Type: interface{}

Property loadBalancers: The ID of CLB instance N that you want to attach to the scaling group.

Valid values of N: 1 to 5.