全部产品
Search
文档中心

函数计算:CustomHealthCheckConfig

更新时间:Aug 28, 2026

名称

类型

描述

示例值

object

函数自定义健康检查配置,仅适用于 Custom Runtime 和 Custom Container。

failureThreshold

integer

健康检查失败次数阈值,达到该值后系统认为检查失败。取值范围 1~120。默认值为 3。

1

httpGetUrl

string

容器自定义健康检查 URL 地址。长度不超过 2048 个字符。

/ready

initialDelaySeconds

integer

容器启动到发起健康检查的延迟。取值范围 0~120。默认值为 0。

1

periodSeconds

integer

健康检查周期。取值范围 1~120。默认值为 3。

1

successThreshold

integer

健康检查成功次数阈值,达到该值后系统认为检查成功。取值范围 1~120。默认值为 1。

2

timeoutSeconds

integer

健康检查超时时间。取值范围 1~3。默认值为 1。

2