LoadBalancerAttachmentProps
Properties for defining a LoadBalancerAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-loadbalancerattachment
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ess;
new LoadBalancerAttachmentProps {
object ScalingGroupId,
object ForceAttach = null,
object LoadBalancerConfigs = null,
object LoadBalancers = null
};
Properties
Name | Type | Description |
---|---|---|
ScalingGroupId |
object |
Property scalingGroupId: The ID of the scaling group. |
ForceAttach |
object |
Property forceAttach: Specifies whether to add all instances in the current scaling group to the backend server groups of the attached CLB instance. |
LoadBalancerConfigs |
object |
Property loadBalancerConfigs: Load balancer configuration list. |
LoadBalancers |
object |
Property loadBalancers: The ID of CLB instance N that you want to attach to the scaling group. |
ScalingGroupId
Required
public object ScalingGroupId { get; set; }
- Type: object
Property scalingGroupId: The ID of the scaling group.
ForceAttach
Optional
public object ForceAttach { get; set; }
- Type: object
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.
LoadBalancerConfigs
Optional
public object LoadBalancerConfigs { get; set; }
- Type: object
Property loadBalancerConfigs: Load balancer configuration list.
LoadBalancers
Optional
public object LoadBalancers { get; set; }
- Type: object
Property loadBalancers: The ID of CLB instance N that you want to attach to the scaling group.
Valid values of N: 1 to 5.