Skip to content
Docs Try Aspire
Docs Try

KubernetesNodePoolResource Constructors

Class Constructors 1 member
Represents a Kubernetes node pool as a child resource of a KubernetesEnvironmentResource. Node pools can be referenced by compute resources to schedule workloads on specific node pools using KubernetesEnvironmentExtensions.WithNodePool.
Constructor(string, KubernetesEnvironmentResource) Section titled Constructor(string, KubernetesEnvironmentResource)
Represents a Kubernetes node pool as a child resource of a KubernetesEnvironmentResource. Node pools can be referenced by compute resources to schedule workloads on specific node pools using KubernetesEnvironmentExtensions.WithNodePool.
public class KubernetesNodePoolResource
{
public KubernetesNodePoolResource(
string name,
KubernetesEnvironmentResource environment)
{
// ...
}
}
name string The name of the node pool resource.
environment KubernetesEnvironmentResource The parent Kubernetes environment resource.