23 references to WithHttpProbe
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
5022
/// ATS export stub for <see cref="
WithHttpProbe
{T}(IResourceBuilder{T}, ProbeType, string?, int?, int?, int?, int?, int?, string?)"/>
5031
return builder.
WithHttpProbe
(probeType, path, initialDelaySeconds, periodSeconds, timeoutSeconds, failureThreshold, successThreshold, endpointName);
Aspire.Hosting.Azure.Tests (11)
AzureAppServiceTests.cs (2)
779
.
WithHttpProbe
(ProbeType.Readiness, "/ready", initialDelaySeconds: 60) // This will be ignored
780
.
WithHttpProbe
(ProbeType.Liveness, "/health");
AzureContainerAppsTests.cs (8)
2561
.
WithHttpProbe
(ProbeType.Readiness, "/ready")
2562
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2567
.
WithHttpProbe
(ProbeType.Readiness, "/ready", initialDelaySeconds: 60)
2568
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2603
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2608
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2643
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2648
.
WithHttpProbe
(ProbeType.Liveness, "/health");
AzureFrontDoorTests.cs (1)
172
.
WithHttpProbe
(ProbeType.Liveness, "/health");
Aspire.Hosting.Kubernetes.Tests (5)
KubernetesPublisherTests.cs (5)
320
.
WithHttpProbe
(ProbeType.Readiness, "/ready")
321
.
WithHttpProbe
(ProbeType.Liveness, "/health");
326
.
WithHttpProbe
(ProbeType.Readiness,"/ready", initialDelaySeconds: 60)
327
.
WithHttpProbe
(ProbeType.Liveness, "/health");
875
.
WithHttpProbe
(ProbeType.Readiness, "/ready");
Aspire.Hosting.Tests (5)
ResourceWithProbeTests.cs (5)
17
resource.
WithHttpProbe
(ProbeType.Startup, "/health");
30
resource.
WithHttpProbe
(ProbeType.Readiness, "/health");
31
resource.
WithHttpProbe
(ProbeType.Readiness, "/ready");
50
resource.
WithHttpProbe
(ProbeType.Liveness, "/health", endpointName: endpointName);
51
resource.
WithHttpProbe
(ProbeType.Readiness, "/ready", endpointName: endpointName);