Skip to content
Docs Try Aspire

ProbeAnnotation Properties

Class Properties 6 members
Represents an annotation that specifies the probes (health, readiness, liveness, etc.) of a resource.
Number of failures in a row before considers that the overall check has failed.
public int FailureThreshold { get; init; }
InitialDelaySeconds Section titled InitialDelaySeconds int
The initial delay before the probe should be called.
public int InitialDelaySeconds { get; init; }
The period between each probe call.
public int PeriodSeconds { get; init; }
Minimum consecutive successes for the probe to be considered successful after having failed.
public int SuccessThreshold { get; init; }
Number of seconds after which the probe times out.
public int TimeoutSeconds { get; set; }
The type of this health probe (startup, readiness or liveness).
public ProbeType Type { get; init; }