|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The parameters for creating a session. |
||
| sessionTTLInSeconds |
integer |
The session lifetime. |
21600 |
| sessionIdleTimeoutInSeconds |
integer |
The session idle timeout. |
1800 |
| nasConfig | NASConfig |
The NAS configuration. After this parameter is configured, instances associated with the session can access the specified NAS resources. |
|
| sessionId |
string |
The custom session ID. If not configured, the server generates one. If configured, this value is used as the session ID. This parameter is applicable only to the HEADER_FIELD affinity mode. Format: The length is limited to [0,64]. The first character must be from a-zA-Z0-9_. Subsequent characters can be from a-zA-Z0-9_-. |
custom-test-session-id |
| disableSessionIdReuse |
boolean |
Specifies whether to disable session ID reuse. Default value: False, which indicates that after a session expires, you can use the same SessionID to initiate requests. The system treats this as a new session and binds it to a new instance. If set to True, the SessionID cannot be reused after the session expires. |
false |
| ossMountConfig | OSSMountConfig |
The OSS configuration. After this parameter is configured, instances associated with the session can access the specified OSS resources. |
|
| polarFsConfig | PolarFsConfig |
The PolarFs configuration. After this parameter is configured, instances associated with the session can access the specified PolarFs resources. |
|
| juiceFsConfig | JuiceFsConfig |
The JuiceFs mount configuration. |
|
| enableAutoPause |
boolean |
||
| enableAutoResume |
boolean |
||
| allowInternetAccess |
boolean |
||
| network | CreateSessionNetworkConfig | ||
| snapshotId |
string |