Skip to content

BackendServerAttachmentProps

Properties for defining a BackendServerAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-slb-backendserverattachment

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb"
&alicloudroscdkslb.BackendServerAttachmentProps {
    LoadBalancerId: interface{},
    BackendServerList: interface{},
    BackendServers: interface{},
    BackendServerWeightList: interface{},
}

Properties

Name Type Description
LoadBalancerId interface{} Property loadBalancerId: The id of load balancer.
BackendServerList interface{} Property backendServerList: The comma delimited instance id list.If the property "BackendServers" is setting, this property will be ignored.
BackendServers interface{} Property backendServers: The list of ECS instance, which will attached to load balancer.
BackendServerWeightList interface{} Property backendServerWeightList: The comma delimited weight list.

LoadBalancerIdRequired

LoadBalancerId interface{}
  • Type: interface{}

Property loadBalancerId: The id of load balancer.


BackendServerListOptional

BackendServerList interface{}
  • Type: interface{}

Property backendServerList: The comma delimited instance id list.If the property "BackendServers" is setting, this property will be ignored.


BackendServersOptional

BackendServers interface{}
  • Type: interface{}

Property backendServers: The list of ECS instance, which will attached to load balancer.


BackendServerWeightListOptional

BackendServerWeightList interface{}
  • Type: interface{}

Property backendServerWeightList: The comma delimited weight list.

If no value specified will use 100. If the length is small than "BackendServerList", it will copy the last one to fill the array.If the property "BackendServers" is setting, this property will be ignored.