ScalingGroupVServerGroupsArgs

data class ScalingGroupVServerGroupsArgs(val force: Output<Boolean>? = null, val scalingGroupId: Output<String>? = null, val vserverGroups: Output<List<ScalingGroupVServerGroupsVserverGroupArgs>>? = null) : ConvertibleToJava<ScalingGroupVServerGroupsArgs>

Attaches/Detaches vserver groups to a specified scaling group.

NOTE: The load balancer of which vserver groups belongs to must be in active status. NOTE: If scaling group's network type is VPC, the vserver groups must be in the same VPC. NOTE: A scaling group can have at most 5 vserver groups attached by default. NOTE: Vserver groups and the default group of loadbalancer share the same backend server quota. NOTE: When attach vserver groups to scaling group, existing ECS instances will be added to vserver groups; Instead, ECS instances will be removed from vserver group when detach. NOTE: Detach action will be executed before attach action. NOTE: Vserver group is defined uniquely by loadbalancer_id, vserver_group_id, port. NOTE: Modifing weight attribute means detach vserver group first and then, attach with new weight parameter. NOTE: Available since v1.53.0.

Import

ESS vserver groups can be imported using the id, e.g.

$ pulumi import alicloud:ess/scalingGroupVServerGroups:ScalingGroupVServerGroups example abc123456

Constructors

Link copied to clipboard
constructor(force: Output<Boolean>? = null, scalingGroupId: Output<String>? = null, vserverGroups: Output<List<ScalingGroupVServerGroupsVserverGroupArgs>>? = null)

Properties

Link copied to clipboard
val force: Output<Boolean>? = null

If instances of scaling group are attached/removed from slb backend server when attach/detach vserver group from scaling group. Default to true.

Link copied to clipboard
val scalingGroupId: Output<String>? = null

ID of the scaling group.

Link copied to clipboard

A list of vserver groups attached on scaling group. See vserver_groups below.

Functions

Link copied to clipboard
open override fun toJava(): ScalingGroupVServerGroupsArgs