All Products
Search
Document Center

Function Compute:Session

Last Updated:Jul 20, 2026

Parameter

Type

Description

Example

object

The session information.

sessionId

string

The unique identifier 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 session lifetime.

21600

sessionIdleTimeoutInSeconds

integer

The session idle timeout.

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 session status. Valid values:

  • Active: The session is valid.

  • Expired: The session has expired.

Active

containerId

string

The instance ID of the function associated with the session.

c-68999e02-16a1955c-d2a03d1ccs

qualifier

string

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

AliasName1

nasConfig NASConfig

The NAS configuration. After configuration, the instance associated with the session can access the specified NAS resource.

disableSessionIdReuse

boolean

Specifies whether to disable session ID reuse after the session expires. Valid values:

  • False: After the session expires, you can use the same session ID to initiate requests. The system treats it as a new session and binds it to a new instance.

  • True: After the session expires, the session ID cannot be reused.

Default value: False.

false

ossMountConfig OSSMountConfig

polarFsConfig PolarFsConfig

juiceFsConfig JuiceFsConfig

enableAutoPause

boolean

enableAutoResume

boolean

allowInternetAccess

boolean

network CreateSessionNetworkConfig

trafficAccessToken

string