Skip to content
DocsTry Aspire
DocsTry

AksNodePoolResource.withSubnet

Method
📦 Aspire.Hosting.Azure.Kubernetes v13.5.1-preview.1.26420.4
interface AksNodePoolResource {
// ... omitted for brevity
withSubnet(subnet: AzureSubnetResource): AksNodePoolResource;
}

Signature

methodwithSubnetbuilder
Configures an AKS node pool to use a specific VNet subnet
withSubnet(subnet: AzureSubnetResource): AksNodePoolResource
subnetAzureSubnetResource
AksNodePoolResource

Defined on

This method is defined on the following type: