你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HealthCheckStepAttributes 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
运行状况检查步骤的属性。
public class HealthCheckStepAttributes
type HealthCheckStepAttributes = class
Public Class HealthCheckStepAttributes
- 继承
-
HealthCheckStepAttributes
- 派生
构造函数
HealthCheckStepAttributes() |
初始化 HealthCheckStepAttributes 类的新实例。 |
HealthCheckStepAttributes(String, String, String) |
初始化 HealthCheckStepAttributes 类的新实例。 |
属性
HealthyStateDuration |
获取或设置预期资源持续正常运行的 ISO 8601 格式的持续时间。 如果指定了 maxElasticDuration,则会在检测到第一个正常信号后强制实施正常状态持续时间。 |
MaxElasticDuration |
获取或设置 ISO 8601 格式的持续时间,其中运行状况检查等待资源正常运行。 运行状况检查失败(否则)。 资源正常后,运行状况检查开始强制实施 healthyStateDuration。 |
WaitDuration |
获取或设置 ISO 8601 格式的持续时间,其中运行状况检查在没有任何检查的情况下静静等待。 |
方法
Validate() |
验证 对象。 |