AzureKubernetesEnvironmentResource.withSubnet

Method
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0
interface AzureKubernetesEnvironmentResource {
// ... omitted for brevity
withSubnet(subnet: AzureSubnetResource): AzureKubernetesEnvironmentResource;
}

Signature

methodwithSubnetbuilder
Configures the AKS cluster to use a VNet subnet
withSubnet(subnet: AzureSubnetResource): AzureKubernetesEnvironmentResource
subnetAzureSubnetResourceThe subnet to use for AKS node pools.
AzureKubernetesEnvironmentResource

Defined on

This method is defined on the following type: