Backend Server Args
data class BackendServerArgs(val backendServers: Output<List<BackendServerBackendServerArgs>>? = null, val deleteProtectionValidation: Output<Boolean>? = null, val loadBalancerId: Output<String>? = null) : ConvertibleToJava<BackendServerArgs>
Add a group of backend servers (ECS or ENI instance) to the Server Load Balancer or remove them from it.
NOTE: Available in 1.53.0+
Block servers
The servers mapping supports the following:
server_id
- (Required) A list backend server ID (ECS instance ID).weight
- (Optional) Weight of the backend server. Valid value range: 0-100.type
- (Optional) Type of the backend server. Valid valueecs
,eni
,eci
. Default toecs
. NOTE: From 1.170.0+, Theeci
is valid.server_ip
- (Optional, Computed, Available in 1.93.0+) ServerIp of the backend server. This parameter can be specified when the type iseni
.ecs
type currently does not support addingserver_ip
parameter.
Import
Load balancer backend server can be imported using the load balancer id.
$ pulumi import alicloud:slb/backendServer:BackendServer example <load_balancer_id>
Content copied to clipboard
Constructors
Link copied to clipboard
fun BackendServerArgs(backendServers: Output<List<BackendServerBackendServerArgs>>? = null, deleteProtectionValidation: Output<Boolean>? = null, loadBalancerId: Output<String>? = null)