|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The parameters for updating a session. |
||
| sessionTTLInSeconds |
integer |
The session time-to-live. |
21600 |
| sessionIdleTimeoutInSeconds |
integer |
The session idle timeout. |
1800 |
| disableSessionIdReuse |
boolean |
Specifies whether to disable session ID reuse. Default value: false. A value of false indicates that after a session ID expires, you can continue to send requests with the same session ID, and the system treats it as a new session and binds it to a new instance. A value of true indicates that the session ID cannot be reused after the session expires. |
false |
| nasConfig | NASConfig |
The NAS mount point configuration for the session. |
|
| ossMountConfig | OSSMountConfig |
The OSS mount point configuration for the session. |
|
| polarFsConfig | PolarFsConfig |
The PolarFS mount point configuration for the session. |
|
| juiceFsConfig | JuiceFsConfig |
The JuiceFS mount configuration. |
|
| enableAutoPause |
boolean |
||
| enableAutoResume |
boolean |
||
| allowInternetAccess |
boolean |
||
| network | UpdateSessionNetworkConfig | ||
| autoPauseFileSystemOnly |
boolean |
Specifies whether to save only the file system during auto-pause. |
|
| pausedExpirationSeconds |
integer |
The deep sleep retention period in seconds. The minimum value is 600, and the maximum value is determined by the plan configuration. If this parameter is not specified, the original value is retained. The update takes effect upon the next successful pause. This parameter cannot be modified when the session is in the Paused state. |
86400 |
| snapshotExpirationSeconds |
integer |
The retention period for subsequently created user snapshots in seconds. The minimum value is 600, and the maximum value is determined by the plan configuration. If this parameter is not specified, the original value is retained. This update only affects snapshots created after the update, and the expiration time of existing snapshots remains unchanged. |
86400 |
UpdateSessionInput
Updated at:
Is this page helpful?