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