BackendServer

class BackendServer : KotlinCustomResource

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 value ecs, eni, eci. Default to ecs. NOTE: From 1.170.0+, The eci is valid.

  • server_ip - (Optional, Computed, Available in 1.93.0+) ServerIp of the backend server. This parameter can be specified when the type is eni. ecs type currently does not support adding server_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>

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

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 id: Output<String>
Link copied to clipboard
val loadBalancerId: Output<String>

ID of the load balancer.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>