ProbeAnnotation Class

Definition

Represents an annotation that specifies the probes (health, readiness, liveness, etc.) of a resource.

public abstract class ProbeAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ProbeAnnotation = class
    interface IResourceAnnotation
Public MustInherit Class ProbeAnnotation
Implements IResourceAnnotation
Inheritance
ProbeAnnotation
Derived
Implements

Constructors

ProbeAnnotation()

Properties

FailureThreshold

Number of failures in a row before considers that the overall check has failed.

InitialDelaySeconds

The initial delay before the probe should be called.

PeriodSeconds

The period between each probe call.

SuccessThreshold

Minimum consecutive successes for the probe to be considered successful after having failed.

TimeoutSeconds

Number of seconds after which the probe times out.

Type

The type of this health probe (startup, readiness or liveness).

Applies to