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

RestHealthCheckStepAttributes 类

定义

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

public class RestHealthCheckStepAttributes : Azure.ResourceManager.DeploymentManager.Models.HealthCheckStepAttributes
type RestHealthCheckStepAttributes = class
    inherit HealthCheckStepAttributes
Public Class RestHealthCheckStepAttributes
Inherits HealthCheckStepAttributes
继承
RestHealthCheckStepAttributes

构造函数

RestHealthCheckStepAttributes(TimeSpan)

初始化 RestHealthCheckStepAttributes 的新实例。

属性

HealthChecks

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

HealthyStateDuration

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

(继承自 HealthCheckStepAttributes)
MaxElasticDuration

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

(继承自 HealthCheckStepAttributes)
WaitDuration

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

(继承自 HealthCheckStepAttributes)

适用于