Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithInternalLoadBalancer

Method
📦 Aspire.Hosting.Azure.Network v17.0.0
func (AzureInternalIngressResource) WithInternalLoadBalancer(virtualNetwork AzureVirtualNetworkResource) AzureInternalIngressResource

Signature

methodWithInternalLoadBalancerbuilder
Configures the resource with an internal load balancer and private DNS.
WithInternalLoadBalancer(virtualNetwork AzureVirtualNetworkResource) AzureInternalIngressResource
virtualNetworkAzureVirtualNetworkResourceThe virtual network containing the resource's delegated subnet.
AzureInternalIngressResource

The resource builder.

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

Applies to

This method applies to the following types: