|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The parameters for creating a session. |
||
| allowInternetAccess |
boolean |
||
| autoPauseFileSystemOnly |
boolean |
The auto-pause file system only configuration. |
|
| 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 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 it expires. |
false |
| enableAutoPause |
boolean |
||
| enableAutoResume |
boolean |
||
| juiceFsConfig | JuiceFsConfig |
The JuiceFS mount configuration. |
|
| nasConfig | NASConfig |
The NAS configuration. After this configuration is applied, the instance associated with the session can access the specified NAS resources. |
|
| network | CreateSessionNetworkConfig | ||
| ossMountConfig | OSSMountConfig |
The OSS configuration. After this configuration is applied, the instance associated with the session can access the specified OSS resources. |
|
| polarFsConfig | PolarFsConfig |
The PolarFS configuration. After this configuration is applied, the instance associated with the session can access the specified PolarFS resources. |
|
| sessionId |
string |
The custom session ID. If you do not configure this parameter, the session ID is generated by the server. If you configure this parameter, the specified value is used as the session ID. This parameter applies only to the HEADER_FIELD affinity mode. Format requirements: The length is limited to 0 to 64 characters. The first character must be a letter, digit, or underscore (a-zA-Z0-9_). Subsequent characters can be letters, digits, underscores, or hyphens (a-zA-Z0-9_-). |
custom-test-session-id |
| sessionIdleTimeoutInSeconds |
integer |
The session idle timeout. |
1800 |
| sessionTTLInSeconds |
integer |
The session time-to-live (TTL). |
21600 |
| snapshotId |
string |