ProbeV1.FailureThreshold 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 failure threshold for the probe.
[YamlDotNet.Serialization.YamlMember(Alias="failureThreshold")]
public int? FailureThreshold { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="failureThreshold")>]
member this.FailureThreshold : Nullable<int> with get, set
Public Property FailureThreshold As Nullable(Of Integer)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The failure threshold specifies the number of consecutive probe failures that are allowed before the container is considered unhealthy. This value is used to determine when to take action based on the probe's outcome, such as restarting the container or marking it as failed.