34 references to ProbeType
Aspire.Hosting (5)
ApplicationModel\ProbeAnnotation.cs (1)
35public required ProbeType Type { get; init; }
ResourceBuilderExtensions.cs (4)
5548public static IResourceBuilder<T> WithHttpProbe<T>(this IResourceBuilder<T> builder, ProbeType type, string? path = null, int? initialDelaySeconds = null, int? periodSeconds = null, int? timeoutSeconds = null, int? failureThreshold = null, int? successThreshold = null, string? endpointName = null) 5561/// ATS export stub for <see cref="WithHttpProbe{T}(IResourceBuilder{T}, ProbeType, string?, int?, int?, int?, int?, int?, string?)"/> 5566internal static IResourceBuilder<T> WithHttpProbeExport<T>(this IResourceBuilder<T> builder, ProbeType probeType, string? path = null, int? initialDelaySeconds = null, int? periodSeconds = null, int? timeoutSeconds = null, int? failureThreshold = null, int? successThreshold = null, string? endpointName = null) 5606public static IResourceBuilder<T> WithHttpProbe<T>(this IResourceBuilder<T> builder, ProbeType type, Func<EndpointReference>? endpointSelector, string? path = null, int? initialDelaySeconds = null, int? periodSeconds = null, int? timeoutSeconds = null, int? failureThreshold = null, int? successThreshold = null)
Aspire.Hosting.Azure.AppContainers (2)
BaseContainerAppContext.cs (2)
605ProbeType.Startup => ContainerAppProbeType.Startup, 606ProbeType.Readiness => ContainerAppProbeType.Readiness,
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
698.OrderBy(probeAnnotation => probeAnnotation.Type == ProbeType.Liveness ? 0 : 1)
Aspire.Hosting.Azure.FrontDoor (1)
AzureFrontDoorExtensions.cs (1)
255.OrderBy(p => p.Type == ProbeType.Liveness ? 0 : 1)
Aspire.Hosting.Azure.Tests (11)
AzureAppServiceTests.cs (2)
849.WithHttpProbe(ProbeType.Readiness, "/ready", initialDelaySeconds: 60) // This will be ignored 850.WithHttpProbe(ProbeType.Liveness, "/health");
AzureContainerAppsTests.cs (8)
2676.WithHttpProbe(ProbeType.Readiness, "/ready") 2677.WithHttpProbe(ProbeType.Liveness, "/health"); 2684.WithHttpProbe(ProbeType.Readiness, "/ready", initialDelaySeconds: 60) 2685.WithHttpProbe(ProbeType.Liveness, "/health"); 2718.WithHttpProbe(ProbeType.Liveness, "/health"); 2725.WithHttpProbe(ProbeType.Liveness, "/health"); 2758.WithHttpProbe(ProbeType.Liveness, "/health"); 2765.WithHttpProbe(ProbeType.Liveness, "/health");
AzureFrontDoorTests.cs (1)
187.WithHttpProbe(ProbeType.Liveness, "/health");
Aspire.Hosting.Kubernetes (4)
Extensions\ResourceExtensions.cs (3)
454case ProbeType.Startup: 458case ProbeType.Readiness: 462case ProbeType.Liveness:
KubernetesResource.cs (1)
58internal List<(ProbeType Type, ProbeV1 Probe)> Probes { get; } = [];
Aspire.Hosting.Kubernetes.Tests (5)
KubernetesPublisherTests.cs (5)
809.WithHttpProbe(ProbeType.Readiness, "/ready") 810.WithHttpProbe(ProbeType.Liveness, "/health"); 815.WithHttpProbe(ProbeType.Readiness, "/ready", initialDelaySeconds: 60) 816.WithHttpProbe(ProbeType.Liveness, "/health"); 1644.WithHttpProbe(ProbeType.Readiness, "/ready");
Aspire.Hosting.Tests (5)
ResourceWithProbeTests.cs (5)
15resource.WithHttpProbe(ProbeType.Startup, "/health"); 28resource.WithHttpProbe(ProbeType.Readiness, "/health"); 29resource.WithHttpProbe(ProbeType.Readiness, "/ready"); 48resource.WithHttpProbe(ProbeType.Liveness, "/health", endpointName: endpointName); 49resource.WithHttpProbe(ProbeType.Readiness, "/ready", endpointName: endpointName);