29 references to ProbeType
Aspire.Hosting (3)
ApplicationModel\ProbeAnnotation.cs (1)
39
public required
ProbeType
Type { get; init; }
ResourceBuilderExtensions.cs (2)
2366
public 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)
2411
public 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)
498
ProbeType
.Startup => ContainerAppProbeType.Startup,
499
ProbeType
.Readiness => ContainerAppProbeType.Readiness,
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
316
.OrderBy(probeAnnotation => probeAnnotation.Type ==
ProbeType
.Liveness ? 0 : 1)
Aspire.Hosting.Azure.Tests (10)
AzureAppServiceTests.cs (2)
378
.WithHttpProbe(
ProbeType
.Readiness, "/ready", initialDelaySeconds: 60) // This will be ignored
379
.WithHttpProbe(
ProbeType
.Liveness, "/health");
AzureContainerAppsTests.cs (8)
1830
.WithHttpProbe(
ProbeType
.Readiness, "/ready")
1831
.WithHttpProbe(
ProbeType
.Liveness, "/health");
1836
.WithHttpProbe(
ProbeType
.Readiness, "/ready", initialDelaySeconds: 60)
1837
.WithHttpProbe(
ProbeType
.Liveness, "/health");
1872
.WithHttpProbe(
ProbeType
.Liveness, "/health");
1877
.WithHttpProbe(
ProbeType
.Liveness, "/health");
1912
.WithHttpProbe(
ProbeType
.Liveness, "/health");
1917
.WithHttpProbe(
ProbeType
.Liveness, "/health");
Aspire.Hosting.Kubernetes (4)
Extensions\ResourceExtensions.cs (3)
359
case
ProbeType
.Startup:
363
case
ProbeType
.Readiness:
367
case
ProbeType
.Liveness:
KubernetesResource.cs (1)
30
internal List<(
ProbeType
Type, ProbeV1 Probe)> Probes { get; } = [];
Aspire.Hosting.Kubernetes.Tests (4)
KubernetesPublisherTests.cs (4)
240
.WithHttpProbe(
ProbeType
.Readiness, "/ready")
241
.WithHttpProbe(
ProbeType
.Liveness, "/health");
246
.WithHttpProbe(
ProbeType
.Readiness,"/ready", initialDelaySeconds: 60)
247
.WithHttpProbe(
ProbeType
.Liveness, "/health");
Aspire.Hosting.Tests (5)
ResourceWithProbeTests.cs (5)
16
resource.WithHttpProbe(
ProbeType
.Startup, "/health");
29
resource.WithHttpProbe(
ProbeType
.Readiness, "/health");
30
resource.WithHttpProbe(
ProbeType
.Readiness, "/ready");
49
resource.WithHttpProbe(
ProbeType
.Liveness, "/health", endpointName: endpointName);
50
resource.WithHttpProbe(
ProbeType
.Readiness, "/ready", endpointName: endpointName);