Skip to content
DocsTry Aspire
DocsTry

AksNodePoolResource Constructors

ClassConstructors1 member
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.
Constructor(string, AksNodePoolConfig, AzureKubernetesEnvironmentResource)Section titled Constructor(string, AksNodePoolConfig, AzureKubernetesEnvironmentResource)
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.
public class AksNodePoolResource
{
public AksNodePoolResource(
string name,
AksNodePoolConfig config,
AzureKubernetesEnvironmentResource parent)
{
// ...
}
}
namestringThe name of the node pool resource.
configAksNodePoolConfigThe Azure-specific node pool configuration.
parentAzureKubernetesEnvironmentResourceThe parent AKS environment resource.