1 type derived from ProbeAnnotation
Aspire.Hosting (1)
ApplicationModel\ProbeAnnotation.cs (1)
66
public sealed class EndpointProbeAnnotation :
ProbeAnnotation
11 references to ProbeAnnotation
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
5588
private static IResourceBuilder<T> WithProbe<T>(this IResourceBuilder<T> builder,
ProbeAnnotation
probeAnnotation) where T : IResourceWithProbes
5591
if (builder.Resource.Annotations.OfType<
ProbeAnnotation
>().SingleOrDefault(a => a.Type == probeAnnotation.Type) is { } existingAnnotation)
Aspire.Hosting.Azure.AppContainers (2)
BaseContainerAppContext.cs (2)
563
if (!Resource.TryGetAnnotationsOfType<
ProbeAnnotation
>(out var probeAnnotations))
568
foreach (
var
probeAnnotation in probeAnnotations)
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
682
if (resource.TryGetAnnotationsOfType<
ProbeAnnotation
>(out var probeAnnotations))
Aspire.Hosting.Kubernetes (2)
KubernetesResource.cs (2)
324
if (!resource.TryGetAnnotationsOfType<
ProbeAnnotation
>(out var probeAnnotations))
329
foreach (
var
probeAnnotation in probeAnnotations)
Aspire.Hosting.Tests (4)
ResourceWithProbeTests.cs (4)
17
var annotations = resource.Resource.Annotations.OfType<
ProbeAnnotation
>().ToArray();
31
var annotations = resource.Resource.Annotations.OfType<
ProbeAnnotation
>().ToArray();
35
var
annotation = annotations[0];
51
var annotations = resource.Resource.Annotations.OfType<
ProbeAnnotation
>().ToArray();