All Products
Search
Document Center

Function Compute:Session

Last Updated:Jan 14, 2026

Parameter

Type

Description

Example

object

The session information.

sessionId

string

The unique ID of the function session.

81f70ae156904eb9b7d43e12f511fe58

functionName

string

The name of the function to which the session belongs.

functionName1

sessionAffinityType

string

The session affinity type.

HEADER_FIELD

sessionTTLInSeconds

integer

The maximum lifecycle of the session.

21600

sessionIdleTimeoutInSeconds

integer

The idle timeout period for the session.

1800

createdTime

string

The time when the session was created.

2025-04-01T08:15:27Z

lastModifiedTime

string

The time when the session was last updated.

2025-04-01T18:15:27Z

sessionStatus

string

The status of the session. `Active` indicates that the session is valid. `Expired` indicates that the session has expired.

Active

containerId

string

The ID of the function instance associated with the session.

c-68999e02-16a1955c-d2a03d1ccs

qualifier

string

The qualifier specified when the session was created. If a qualifier is not specified, the default value is `LATEST`.

AliasName1

nasConfig NASConfig

The NAS configuration. This configuration allows the instance associated with the session to access specified NAS resources.

disableSessionIdReuse

boolean

The default value is `False`. This means that after a session expires, requests can be sent with the same session ID. The system treats this as a new session and attaches it to a new instance. If this parameter is set to `True`, the session ID cannot be reused after the session expires.

false

ossMountConfig OSSMountConfig

polarFsConfig PolarFsConfig