ServerGroupServerArgs

data class ServerGroupServerArgs(val description: Output<String>? = null, val port: Output<Int>? = null, val remoteIpEnabled: Output<Boolean>? = null, val serverId: Output<String>, val serverIp: Output<String>? = null, val serverType: Output<String>, val status: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<ServerGroupServerArgs>

Constructors

Link copied to clipboard
fun ServerGroupServerArgs(description: Output<String>? = null, port: Output<Int>? = null, remoteIpEnabled: Output<Boolean>? = null, serverId: Output<String>, serverIp: Output<String>? = null, serverType: Output<String>, status: Output<String>? = null, weight: Output<Int>? = null)

Functions

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

Properties

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

The description of the server.

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

The port that is used by the server. Valid values: 1 to 65535. Note: This parameter is required if the server_type parameter is set to Ecs, Eni, Eci, or Ip. You do not need to configure this parameter if you set server_type to Fc.

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

Specifies whether to enable the remote IP address feature. You can specify up to 40 servers in each call. Note: If server_type is set to Ip, this parameter is available.

Link copied to clipboard
val serverId: Output<String>

The ID of the backend server.

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

The IP address of an Elastic Compute Service (ECS) instance, an elastic network interface (ENI), or an elastic container instance. Note: If server_group_type is set to Fc, you do not need to configure parameters, otherwise this attribute is required. If server_group_type is set to Ip, the value of this property is the same as the server_id value.

Link copied to clipboard
val serverType: Output<String>

The type of the server. The type of the server. Valid values:

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

The status of the backend server. Valid values:

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

The weight of the server. Valid values: 0 to 100. Default value: 100. If the value is set to 0, no requests are forwarded to the server. Note: You do not need to set this parameter if you set server_type to Fc.