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

RestHealthCheckStepAttributes interface

定义 REST 运行状况检查步骤属性。

属性

healthChecks

构成运行状况检查步骤的检查列表。

healthyStateDuration

资源应持续正常运行的 ISO 8601 格式的持续时间。 如果指定了 maxElasticDuration,则会在检测到第一个正常信号后强制实施正常状态持续时间。

maxElasticDuration

运行状况检查等待资源正常运行的 ISO 8601 格式的持续时间。 运行状况检查失败(否则)。 资源正常后,运行状况检查开始强制实施 healthyStateDuration。

type

多态鉴别器

waitDuration

ISO 8601 格式的持续时间,其中运行状况检查无任何检查地等待。

属性详细信息

healthChecks

构成运行状况检查步骤的检查列表。

healthChecks: RestHealthCheck[]

属性值

healthyStateDuration

资源应持续正常运行的 ISO 8601 格式的持续时间。 如果指定了 maxElasticDuration,则会在检测到第一个正常信号后强制实施正常状态持续时间。

healthyStateDuration: string

属性值

string

maxElasticDuration

运行状况检查等待资源正常运行的 ISO 8601 格式的持续时间。 运行状况检查失败(否则)。 资源正常后,运行状况检查开始强制实施 healthyStateDuration。

maxElasticDuration?: string

属性值

string

type

多态鉴别器

type: "REST"

属性值

"REST"

waitDuration

ISO 8601 格式的持续时间,其中运行状况检查无任何检查地等待。

waitDuration?: string

属性值

string