# K3sAgentResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.K3s](/reference/api/csharp/communitytoolkit.aspire.hosting.k3s.md)
- Type: [K3sAgentResource](/reference/api/csharp/communitytoolkit.aspire.hosting.k3s/k3sagentresource.md)
- Kind: `Properties`
- Members: `1`

Represents a k3s agent (worker) node belonging to a [K3sClusterResource](/reference/api/csharp/communitytoolkit.aspire.hosting.k3s/k3sclusterresource.md).

<a id="parent"></a>

## Parent

- Name: `Parent`
- Modifiers: `get`
- Returns: [K3sClusterResource](/reference/api/csharp/communitytoolkit.aspire.hosting.k3s/k3sclusterresource.md)
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.K3s/K3sAgentResource.cs#L20)

Gets the parent resource of type [K3sClusterResource](/reference/api/csharp/communitytoolkit.aspire.hosting.k3s/k3sclusterresource.md).

```csharp
public K3sClusterResource Parent { get; }
```
