# AksNodePoolResource Properties

- Package: [Aspire.Hosting.Azure.Kubernetes](/reference/api/csharp/aspire.hosting.azure.kubernetes.md)
- Type: [AksNodePoolResource](/reference/api/csharp/aspire.hosting.azure.kubernetes/aksnodepoolresource.md)
- Kind: `Properties`
- Members: `2`

Represents an AKS node pool with Azure-specific configuration such as VM size and autoscaling. Extends the base `Kubernetes.KubernetesNodePoolResource` with provisioning configuration that is used to generate Azure Bicep for the AKS agent pool profile.

## AksParent

- Name: `AksParent`
- Modifiers: `get`
- Returns: [AzureKubernetesEnvironmentResource](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Azure.Kubernetes/AksNodePoolResource.cs#L24)

Gets the parent AKS environment resource.

```csharp
public AzureKubernetesEnvironmentResource AksParent { get; }
```

## Config

- Name: `Config`
- Modifiers: `get`
- Returns: [AksNodePoolConfig](/reference/api/csharp/aspire.hosting.azure.kubernetes/aksnodepoolconfig.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Azure.Kubernetes/AksNodePoolResource.cs#L29)

Gets the Azure-specific node pool configuration.

```csharp
public AksNodePoolConfig Config { get; }
```
