addLoadBalancer
Method
interface AzureKubernetesEnvironmentResource { // ... omitted for brevity addLoadBalancer( name: string, subnet: AzureSubnetResource): AzureKubernetesLoadBalancerResource;}Signature
method
addLoadBalancer builder Adds an Azure Application Gateway for Containers (AGC) `ApplicationLoadBalancer` to this AKS environment, bound to the supplied delegated subnet. Returns a resource builder that can be passed to `gateway.WithLoadBalancer(lb)` / `ingress.WithLoadBalancer(lb)` to route traffic through this load balancer.
addLoadBalancer( name: string, subnet: AzureSubnetResource): AzureKubernetesLoadBalancerResourceParameters
name string subnet AzureSubnetResource Returns
AzureKubernetesLoadBalancerResource Applies to
This method applies to the following types: