Watch Aspire live streamsDocsTry Aspire

AksNodePoolConfig Constructors

RecordConstructors1 member
Configuration for an AKS node pool.
Constructor(string, string, int, int, AksNodePoolMode, string?)Section titled Constructor(string, string, int, int, AksNodePoolMode, string?)
Configuration for an AKS node pool.
public record AksNodePoolConfig
{
public AksNodePoolConfig(
string Name,
string VmSize,
int MinCount,
int MaxCount,
AksNodePoolMode Mode,
string? OsSku = null)
{
// ...
}
}
NamestringThe name of the node pool.
VmSizestringThe VM size for nodes in the pool.
MinCountintThe minimum number of nodes.
MaxCountintThe maximum number of nodes.
ModeAksNodePoolModeThe mode of the node pool.
OsSkustring?optionalThe Linux OS SKU, or null to let AKS choose its default.
Configuration remains mutable so extensions can compose changes before infrastructure generation. The final values are validated when generating the AKS agent pool profile. The node pool name and mode are fixed at construction to preserve pool identity.