Service.Healthcheck Property

Definition

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

Applies to