All Products
Search
Document Center

Function Compute:Session

Last Updated:Oct 28, 2026

Parameter

Type

Description

Example

object

The session information.

allowInternetAccess

boolean

autoPauseFileSystemOnly

boolean

The auto-pause file system only configuration.

containerId

string

The instance ID of the function associated with the session.

c-68999e02-16a1955c-d2a03d1ccs

createdTime

string

The creation time of the session.

2025-04-01T08:15:27Z

disableSessionIdReuse

boolean

The default value is False, which 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 bound to a new instance. When set to True, the session ID cannot be reused after the session expires.

false

enableAutoPause

boolean

enableAutoResume

boolean

functionName

string

The name of the function to which the session belongs.

functionName1

juiceFsConfig JuiceFsConfig

The JuiceFS mount configuration.

lastModifiedTime

string

The time when the session was last updated.

2025-04-01T18:15:27Z

nasConfig NASConfig

The NAS configuration. After this is configured, the instance associated with the session can access the specified NAS resources.

network CreateSessionNetworkConfig

ossMountConfig OSSMountConfig

polarFsConfig PolarFsConfig

qualifier

string

The qualifier passed when the session is created. If not specified, the default value LATEST is used.

AliasName1

sessionAffinityType

string

The session affinity type.

HEADER_FIELD

sessionId

string

The unique identifier of the function session.

81f70ae156904eb9b7d43e12f511fe58

sessionIdleTimeoutInSeconds

integer

The idle timeout of the session.

1800

sessionStatus

string

The session status. Active indicates that the session is valid, and Expired indicates that the session has expired.

Active

sessionTTLInSeconds

integer

The maximum time-to-live (TTL) of the session.

21600

trafficAccessToken

string