1 instantiation of InternalLoadBalancerAnnotation
Aspire.Hosting.Azure.Network (1)
AzureInternalLoadBalancerExtensions.cs (1)
71builder.WithAnnotation(new InternalLoadBalancerAnnotation(virtualNetwork.Resource));
12 references to InternalLoadBalancerAnnotation
Aspire.Hosting.Azure (2)
IAzureInternalIngressResource.cs (2)
13/// Implementations apply <see cref="InternalLoadBalancerAnnotation"/> when provisioning and expose the 30/// Valid only when the resource is configured with <see cref="InternalLoadBalancerAnnotation"/>
Aspire.Hosting.Azure.ApiManagement (3)
AzureApiManagementExtensions.cs (3)
2359if (computeEnvironment.TryGetLastAnnotation<InternalLoadBalancerAnnotation>(out var internalLoadBalancer)) 2440if (computeEnvironment.HasAnnotationOfType<InternalLoadBalancerAnnotation>())
Aspire.Hosting.Azure.AppContainers (4)
AzureContainerAppExtensions.cs (4)
295if (appEnvResource.IsExpress && appEnvResource.HasAnnotationOfType<InternalLoadBalancerAnnotation>()) 437if (appEnvResource.HasAnnotationOfType<InternalLoadBalancerAnnotation>()) 442else if (appEnvResource.HasAnnotationOfType<InternalLoadBalancerAnnotation>()) 964appEnvironment.HasAnnotationOfType<InternalLoadBalancerAnnotation>())
Aspire.Hosting.Azure.Network (2)
AzureInternalLoadBalancerExtensions.cs (2)
60if (builder.Resource.TryGetLastAnnotation<InternalLoadBalancerAnnotation>(out var existing))
Aspire.Hosting.Azure.Tests (1)
AzureApiManagementTests.cs (1)
2958Assert.Same(vnet.Resource, environment.Resource.Annotations.OfType<InternalLoadBalancerAnnotation>().Single().VirtualNetwork);