# K6Resource Properties

- Package: [CommunityToolkit.Aspire.Hosting.k6](/reference/api/csharp/communitytoolkit.aspire.hosting.k6.md)
- Type: [K6Resource](/reference/api/csharp/communitytoolkit.aspire.hosting.k6/k6resource.md)
- Kind: `Properties`
- Members: `1`

A resource that represents a Grafana k6 instance

## PrimaryEndpoint

- Name: `PrimaryEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.k6/K6Resource.cs#L22)

Gets the primary endpoint for the Grafana k6 instance. This endpoint is used for all API calls over HTTP.

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