# EndpointProbeAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [EndpointProbeAnnotation](/reference/api/csharp/aspire.hosting/endpointprobeannotation.md)
- Kind: `Properties`
- Members: `2`

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

## EndpointReference

- Name: `EndpointReference`
- Modifiers: `get; init`
- Returns: [EndpointReference](/reference/api/csharp/aspire.hosting/endpointreference.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ProbeAnnotation.cs)

The endpoint reference used for the probe

```csharp
public EndpointReference EndpointReference { get; init; }
```

## Path

- Name: `Path`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ProbeAnnotation.cs)

The path to the health probe endpoint.

```csharp
public string Path { get; init; }
```
