CreateSessionInput

Updated at:

Parameter

Type

Description

Example

object

The parameters for creating a session.

sessionTTLInSeconds

integer

The session lifetime in seconds.

21600

sessionIdleTimeoutInSeconds

integer

The session idle timeout in seconds.

1800

nasConfig NASConfig

Allows instances in the session to access specified NAS resources.

sessionId

string

A customizable session ID. If you do not specify a value, the server generates one. This parameter applies only to the HEADER_FIELD affinity mode. The value must be 0 to 64 characters long. The first character must be a character in a-zA-Z0-9_. Subsequent characters can be any character in a-zA-Z0-9_-.

custom-test-session-id

disableSessionIdReuse

boolean

A value of false (the default) allows an expired session ID to be reused for a new session, which the system then binds to a new instance. If set to true, an expired session ID cannot be reused.

false

ossMountConfig OSSMountConfig

Allows instances in the session to access specified OSS resources.

polarFsConfig PolarFsConfig

Allows instances in the session to access specified PolarFS resources.

juiceFsConfig JuiceFsConfig