loadbalancerIds

@JvmName(name = "cojteckbxotvaexx")
suspend fun loadbalancerIds(value: Output<List<String>>)
@JvmName(name = "kvwgdspxqpmdxguk")
suspend fun loadbalancerIds(value: List<String>?)

Parameters

value

If a Server Load Balancer instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server Load Balancer instance.

  • The Server Load Balancer instance must be enabled.

  • At least one listener must be configured for each Server Load Balancer and it HealthCheck must be on. Otherwise, creation will fail (it may be useful to add a depends_on argument targeting your alicloud.slb.Listener in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).

  • The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.

  • The default weight of an ECS instance attached to the Server Load Balancer instance is 50.


@JvmName(name = "saiakxvxbusworwa")
suspend fun loadbalancerIds(vararg values: Output<String>)


@JvmName(name = "fydkrfepronyqrrd")
suspend fun loadbalancerIds(values: List<Output<String>>)
@JvmName(name = "kjjkhecdlevvdyhu")
suspend fun loadbalancerIds(vararg values: String)

Parameters

values

If a Server Load Balancer instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server Load Balancer instance.

  • The Server Load Balancer instance must be enabled.

  • At least one listener must be configured for each Server Load Balancer and it HealthCheck must be on. Otherwise, creation will fail (it may be useful to add a depends_on argument targeting your alicloud.slb.Listener in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).

  • The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.

  • The default weight of an ECS instance attached to the Server Load Balancer instance is 50.