# AksNodePoolConfig Properties

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

Configuration for an AKS node pool.

## MaxCount

- Name: `MaxCount`
- Modifiers: `get; init`
- Returns: `int`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Azure.Kubernetes/AksNodePoolConfig.cs)

The maximum number of nodes.

```csharp
public int MaxCount { get; init; }
```

## MinCount

- Name: `MinCount`
- Modifiers: `get; init`
- Returns: `int`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Azure.Kubernetes/AksNodePoolConfig.cs)

The minimum number of nodes.

```csharp
public int MinCount { get; init; }
```

## Mode

- Name: `Mode`
- Modifiers: `get; init`
- Returns: [AksNodePoolMode](/reference/api/csharp/aspire.hosting.azure.kubernetes/aksnodepoolmode.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Azure.Kubernetes/AksNodePoolConfig.cs)

The mode of the node pool.

```csharp
public AksNodePoolMode Mode { get; init; }
```

## Name

- Name: `Name`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Azure.Kubernetes/AksNodePoolConfig.cs)

The name of the node pool.

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

## VmSize

- Name: `VmSize`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Azure.Kubernetes/AksNodePoolConfig.cs)

The VM size for nodes in the pool.

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