ServerGroupStickySessionConfig

data class ServerGroupStickySessionConfig(val cookie: String? = null, val cookieTimeout: Int? = null, val stickySessionEnabled: Boolean? = null, val stickySessionType: String? = null)

Constructors

Link copied to clipboard
constructor(cookie: String? = null, cookieTimeout: Int? = null, stickySessionEnabled: Boolean? = null, stickySessionType: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cookie: String? = null

The cookie to be configured on the server. NOTE: This parameter takes effect when the sticky_session_enabled parameter is set to true and the sticky_session_type parameter is set to Server.

Link copied to clipboard
val cookieTimeout: Int? = null

The timeout period of a cookie. Unit: seconds. Default value: 1000. Valid values: 1 to 86400. NOTE: This parameter takes effect when the sticky_session_enabled parameter is set to true and the sticky_session_type parameter is set to Insert.

Link copied to clipboard

Specifies whether to enable session persistence. Default value: false. Valid values: true, false. NOTE: This parameter takes effect when the server_group_type parameter is set to Instance or Ip.

Link copied to clipboard

The method that is used to handle a cookie. Valid values: Server, Insert.