Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

AksNodePoolResource.withSubnet

Method
📦 Aspire.Hosting.Azure.Kubernetes v13.6.0-preview.1.26478.8
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: