Share via


RestartPolicy.Delay Property

Definition

Specifies the delay duration between restart attempts of the service container.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The delay defines the time interval to wait before attempting to restart a service container after a failure. It is expressed as a time duration string (e.g., "5s" for 5 seconds).

Applies to