ServerGroupServerAttachmentArgs

data class ServerGroupServerAttachmentArgs(val description: Output<String>? = null, val port: Output<Int>? = null, val serverGroupId: Output<String>? = null, val serverId: Output<String>? = null, val type: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<ServerGroupServerAttachmentArgs>

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&#46;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>

Constructors

Link copied to clipboard
fun ServerGroupServerAttachmentArgs(description: Output<String>? = null, port: Output<Int>? = null, serverGroupId: Output<String>? = null, serverId: Output<String>? = null, type: Output<String>? = null, weight: Output<Int>? = null)

Functions

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

Properties

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

The description of the backend server.

Link copied to clipboard
val port: Output<Int>? = null

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

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

The ID of the server group.

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

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>? = null

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

Link copied to clipboard
val weight: Output<Int>? = null

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.