# 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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/ApplicationModel/ProbeAnnotation.cs)

The path to the health probe endpoint.

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