EphemeralContainerV1.RestartPolicy 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.
Gets or sets the restart policy for the ephemeral container. Specifies the behavior for restarting the container in case of failure or termination. Common values include "Always", "OnFailure", or "Never".
[YamlDotNet.Serialization.YamlMember(Alias="restartPolicy")]
public string? RestartPolicy { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="restartPolicy")>]
member this.RestartPolicy : string with get, set
Public Property RestartPolicy As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute