ContainerV1.TerminationMessagePolicy 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 policy for capturing the termination message for the container. Defines how termination messages should be created and made available to the container. Possible values may include 'File' or 'FallbackToLogsOnError'. A 'File' policy captures the termination message from a specific file inside the container, while 'FallbackToLogsOnError' captures logs if the message file is inaccessible or unavailable.
[YamlDotNet.Serialization.YamlMember(Alias="terminationMessagePolicy")]
public string? TerminationMessagePolicy { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="terminationMessagePolicy")>]
member this.TerminationMessagePolicy : string with get, set
Public Property TerminationMessagePolicy As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute