RestartPolicy.Delay Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).