LifecycleConfiguration Class

The lifecycle configuration properties of a session in the dynamic session pool.

Constructor

LifecycleConfiguration(*args: Any, **kwargs: Any)

Variables

Name Description
lifecycle_type

The lifecycle type of the session pool. Known values are: "Timed" and "OnContainerExit".

cooldown_period_in_seconds
int

The cooldown period of a session in seconds when the lifecycle type is 'Timed'.

max_alive_period_in_seconds
int

The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.

Attributes

cooldown_period_in_seconds

The cooldown period of a session in seconds when the lifecycle type is 'Timed'.

cooldown_period_in_seconds: int | None

lifecycle_type

"Timed" and "OnContainerExit".

lifecycle_type: str | _models.LifecycleType | None

max_alive_period_in_seconds

The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.

max_alive_period_in_seconds: int | None