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

AutomaticRepairsPolicy.GracePeriod 属性

定义

获取或设置由于 VM 上的状态更改而暂停自动修复的时间。 宽限时间在状态更改完成后开始。 这有助于避免过早或意外的修复。 持续时间应以 ISO 8601 格式指定。 允许的最小宽限期为 PT10M) (10 分钟,这也是默认值。 允许的最大宽限期为 PT90M) (90 分钟。

[Newtonsoft.Json.JsonProperty(PropertyName="gracePeriod")]
public string GracePeriod { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="gracePeriod")>]
member this.GracePeriod : string with get, set
Public Property GracePeriod As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于