1 type derived from ProbeAnnotation
Aspire.Hosting (1)
ApplicationModel\ProbeAnnotation.cs (1)
71
public sealed class EndpointProbeAnnotation :
ProbeAnnotation
11 references to ProbeAnnotation
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
2442
private static IResourceBuilder<T> WithProbe<T>(this IResourceBuilder<T> builder,
ProbeAnnotation
probeAnnotation) where T : IResourceWithProbes
2445
if (builder.Resource.Annotations.OfType<
ProbeAnnotation
>().SingleOrDefault(a => a.Type == probeAnnotation.Type) is { } existingAnnotation)
Aspire.Hosting.Azure.AppContainers (2)
BaseContainerAppContext.cs (2)
463
if (!Resource.TryGetAnnotationsOfType<
ProbeAnnotation
>(out var probeAnnotations))
468
foreach (
var
probeAnnotation in probeAnnotations)
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
311
if (resource.TryGetAnnotationsOfType<
ProbeAnnotation
>(out var probeAnnotations))
Aspire.Hosting.Kubernetes (2)
KubernetesResource.cs (2)
232
if (!resource.TryGetAnnotationsOfType<
ProbeAnnotation
>(out var probeAnnotations))
237
foreach (
var
probeAnnotation in probeAnnotations)
Aspire.Hosting.Tests (4)
ResourceWithProbeTests.cs (4)
18
var annotations = resource.Resource.Annotations.OfType<
ProbeAnnotation
>().ToArray();
32
var annotations = resource.Resource.Annotations.OfType<
ProbeAnnotation
>().ToArray();
36
var
annotation = annotations[0];
52
var annotations = resource.Resource.Annotations.OfType<
ProbeAnnotation
>().ToArray();