Share via


Service.StopGracePeriod Property

Definition

Gets or sets the stop grace period for the container. This specifies the amount of time to wait before forcing a container to stop after the stop or shutdown signal is sent. The value can be defined in a time duration format, such as "10s" for 10 seconds or "1m" for 1 minute.

[YamlDotNet.Serialization.YamlMember(Alias="stop_grace_period")]
public string? StopGracePeriod { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="stop_grace_period")>]
member this.StopGracePeriod : string with get, set
Public Property StopGracePeriod As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to