loadBalancerWeights

@JvmName(name = "tejbfliwijanmcox")
suspend fun loadBalancerWeights(value: Output<List<Int>>)
@JvmName(name = "dtyoqgjkhyrccflo")
suspend fun loadBalancerWeights(value: List<Int>?)

Parameters

value

The weight of ECS instance N or elastic container instance N as a backend server of the associated Server Load Balancer (SLB) instance. Valid values of N: 1 to 20. Valid values of this parameter: 1 to 100.

NOTE: "AutoCreated" ECS instance will be deleted after it is removed from scaling group, but "Attached" will be not. NOTE: Restrictions on attaching ECS instances:

  • The attached ECS instances and the scaling group must have the same region and network type(Classic or VPC).

  • The attached ECS instances and the instance with active scaling configurations must have the same instance type.

  • The attached ECS instances must in the running state.

  • The attached ECS instances has not been attached to other scaling groups.

  • The attached ECS instances supports Subscription and Pay-As-You-Go payment methods.


@JvmName(name = "fdwrdfmapypnjrdp")
suspend fun loadBalancerWeights(vararg values: Output<Int>)


@JvmName(name = "forqlsiscywvgirt")
suspend fun loadBalancerWeights(values: List<Output<Int>>)
@JvmName(name = "monmmkqsqvhwdpgw")
suspend fun loadBalancerWeights(vararg values: Int)

Parameters

values

The weight of ECS instance N or elastic container instance N as a backend server of the associated Server Load Balancer (SLB) instance. Valid values of N: 1 to 20. Valid values of this parameter: 1 to 100.

NOTE: "AutoCreated" ECS instance will be deleted after it is removed from scaling group, but "Attached" will be not. NOTE: Restrictions on attaching ECS instances:

  • The attached ECS instances and the scaling group must have the same region and network type(Classic or VPC).

  • The attached ECS instances and the instance with active scaling configurations must have the same instance type.

  • The attached ECS instances must in the running state.

  • The attached ECS instances has not been attached to other scaling groups.

  • The attached ECS instances supports Subscription and Pay-As-You-Go payment methods.