withSubnet

Method
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0
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
subnetAzureSubnetResourceThe subnet to use for this node pool.
AksNodePoolResource

Applies to

This method applies to the following types: