Service.Healthcheck 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.
Represents the health check configuration for a service. This property specifies the parameters for evaluating the health status of a Docker service container, including commands, intervals, retries, and status conditions. It allows you to define custom health check logic to ensure the service is functioning as expected.
[YamlDotNet.Serialization.YamlMember(Alias="healthcheck")]
public Aspire.Hosting.Docker.Resources.ServiceNodes.Healthcheck? Healthcheck { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="healthcheck")>]
member this.Healthcheck : Aspire.Hosting.Docker.Resources.ServiceNodes.Healthcheck with get, set
Public Property Healthcheck As Healthcheck
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute