共用方式為


AutomaticRepairsPolicy.GracePeriod Property

Definition

Gets or sets the amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).

[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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to