你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LifecycleConfiguration interface

动态会话池中会话的生命周期配置属性

属性

cooldownPeriodInSeconds

生命周期类型为“Timed”时会话的冷却期(以秒为单位)。

lifecycleType

会话池的生命周期类型。

maxAlivePeriodInSeconds

生命周期类型为“OnContainerExit”时会话的最大活动期(以秒为单位)。

属性详细信息

cooldownPeriodInSeconds

生命周期类型为“Timed”时会话的冷却期(以秒为单位)。

cooldownPeriodInSeconds?: number

属性值

number

lifecycleType

会话池的生命周期类型。

lifecycleType?: string

属性值

string

maxAlivePeriodInSeconds

生命周期类型为“OnContainerExit”时会话的最大活动期(以秒为单位)。

maxAlivePeriodInSeconds?: number

属性值

number