BackendServerArgs

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+

Import

Load balancer backend server can be imported using the load balancer id.

$ pulumi import alicloud:slb/backendServer:BackendServer example <load_balancer_id>

Constructors

Link copied to clipboard
constructor(backendServers: Output<List<BackendServerBackendServerArgs>>? = null, deleteProtectionValidation: Output<Boolean>? = null, loadBalancerId: Output<String>? = null)

Properties

Link copied to clipboard

A list of instances to added backend server in the SLB. It contains three sub-fields as Block server follows.

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

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

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

ID of the load balancer.

Functions

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