withLoadBalancer

Method
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0
interface KubernetesIngressResource {
// ... omitted for brevity
withLoadBalancer(loadBalancer: AzureKubernetesLoadBalancerResource): KubernetesIngressResource;
}

Signature

methodwithLoadBalancerbuilder
Routes a Kubernetes Ingress through an AGC ApplicationLoadBalancer
withLoadBalancer(loadBalancer: AzureKubernetesLoadBalancerResource): KubernetesIngressResource
loadBalancerAzureKubernetesLoadBalancerResourceThe AGC load balancer to route through.
KubernetesIngressResource

Applies to

This method applies to the following types: