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) { // ... }}Parameters
NamestringThe name of the node pool.VmSize stringThe VM size for nodes in the pool.MinCount intThe minimum number of nodes.MaxCount intThe maximum number of nodes.ModeAksOsSku string?optionalThe Linux OS SKU, or null to let AKS choose its default.Remarks
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.