ServerGroupServerAttachment

class ServerGroupServerAttachment : KotlinCustomResource

NOTE: Available in v1.163.0+. For information about server group server attachment and how to use it, see Configure a server group server attachment. NOTE: Applying this resource may conflict with applying alicloud.slb.Listener, and the alicloud.slb.Listener block should use depends_on = [alicloud_slb_server_group_server_attachment.xxx] to avoid it.

Import

Load balancer backend server group server attachment can be imported using the id, e.g.

$ pulumi import alicloud:slb/serverGroupServerAttachment:ServerGroupServerAttachment example <server_group_id>:<server_id>:<port>

Properties

Link copied to clipboard
val description: Output<String>

The description of the backend server.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val port: Output<Int>

The port that is used by the backend server. Valid values: 1 to 65535.

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

The ID of the server group.

Link copied to clipboard
val serverId: Output<String>

The ID of the backend server. You can specify the ID of an Elastic Compute Service (ECS) instance or an elastic network interface (ENI).

Link copied to clipboard
val type: Output<String>

The type of backend server. Valid values: ecs, eni.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val weight: Output<Int>

The weight of the backend server. Valid values: 0 to 100. Default value: 100. If the value is set to 0, no requests are forwarded to the backend server.