Share via


EndpointProbeAnnotation Class

Definition

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

public sealed class EndpointProbeAnnotation : Aspire.Hosting.ApplicationModel.ProbeAnnotation
type EndpointProbeAnnotation = class
    inherit ProbeAnnotation
Public NotInheritable Class EndpointProbeAnnotation
Inherits ProbeAnnotation
Inheritance
EndpointProbeAnnotation

Constructors

EndpointProbeAnnotation()

Properties

EndpointReference

The endpoint reference used for the probe

FailureThreshold

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

(Inherited from ProbeAnnotation)
InitialDelaySeconds

The initial delay before the probe should be called.

(Inherited from ProbeAnnotation)
Path

The path to the health probe endpoint.

PeriodSeconds

The period between each probe call.

(Inherited from ProbeAnnotation)
SuccessThreshold

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

(Inherited from ProbeAnnotation)
TimeoutSeconds

Number of seconds after which the probe times out.

(Inherited from ProbeAnnotation)
Type

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

(Inherited from ProbeAnnotation)

Applies to