WithSubnet

Method
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0
func (AzureKubernetesEnvironmentResource) 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

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: