23 references to WithHttpProbe
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
5513
/// ATS export stub for <see cref="
WithHttpProbe
{T}(IResourceBuilder{T}, ProbeType, string?, int?, int?, int?, int?, int?, string?)"/>
5521
return builder.
WithHttpProbe
(probeType, path, initialDelaySeconds, periodSeconds, timeoutSeconds, failureThreshold, successThreshold, endpointName);
Aspire.Hosting.Azure.Tests (11)
AzureAppServiceTests.cs (2)
825
.
WithHttpProbe
(ProbeType.Readiness, "/ready", initialDelaySeconds: 60) // This will be ignored
826
.
WithHttpProbe
(ProbeType.Liveness, "/health");
AzureContainerAppsTests.cs (8)
2623
.
WithHttpProbe
(ProbeType.Readiness, "/ready")
2624
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2629
.
WithHttpProbe
(ProbeType.Readiness, "/ready", initialDelaySeconds: 60)
2630
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2663
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2668
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2701
.
WithHttpProbe
(ProbeType.Liveness, "/health");
2706
.
WithHttpProbe
(ProbeType.Liveness, "/health");
AzureFrontDoorTests.cs (1)
171
.
WithHttpProbe
(ProbeType.Liveness, "/health");
Aspire.Hosting.Kubernetes.Tests (5)
KubernetesPublisherTests.cs (5)
323
.
WithHttpProbe
(ProbeType.Readiness, "/ready")
324
.
WithHttpProbe
(ProbeType.Liveness, "/health");
329
.
WithHttpProbe
(ProbeType.Readiness, "/ready", initialDelaySeconds: 60)
330
.
WithHttpProbe
(ProbeType.Liveness, "/health");
979
.
WithHttpProbe
(ProbeType.Readiness, "/ready");
Aspire.Hosting.Tests (5)
ResourceWithProbeTests.cs (5)
15
resource.
WithHttpProbe
(ProbeType.Startup, "/health");
28
resource.
WithHttpProbe
(ProbeType.Readiness, "/health");
29
resource.
WithHttpProbe
(ProbeType.Readiness, "/ready");
48
resource.
WithHttpProbe
(ProbeType.Liveness, "/health", endpointName: endpointName);
49
resource.
WithHttpProbe
(ProbeType.Readiness, "/ready", endpointName: endpointName);