34 references to ProbeType
Aspire.Hosting (5)
ApplicationModel\ProbeAnnotation.cs (1)
35
public required
ProbeType
Type { get; init; }
ResourceBuilderExtensions.cs (4)
5500
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)
5513
/// ATS export stub for <see cref="WithHttpProbe{T}(IResourceBuilder{T},
ProbeType
, string?, int?, int?, int?, int?, int?, string?)"/>
5518
internal 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)
5558
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)
598
ProbeType
.Startup => ContainerAppProbeType.Startup,
599
ProbeType
.Readiness => ContainerAppProbeType.Readiness,
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
687
.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)
848
.WithHttpProbe(
ProbeType
.Readiness, "/ready", initialDelaySeconds: 60) // This will be ignored
849
.WithHttpProbe(
ProbeType
.Liveness, "/health");
AzureContainerAppsTests.cs (8)
2644
.WithHttpProbe(
ProbeType
.Readiness, "/ready")
2645
.WithHttpProbe(
ProbeType
.Liveness, "/health");
2650
.WithHttpProbe(
ProbeType
.Readiness, "/ready", initialDelaySeconds: 60)
2651
.WithHttpProbe(
ProbeType
.Liveness, "/health");
2684
.WithHttpProbe(
ProbeType
.Liveness, "/health");
2689
.WithHttpProbe(
ProbeType
.Liveness, "/health");
2722
.WithHttpProbe(
ProbeType
.Liveness, "/health");
2727
.WithHttpProbe(
ProbeType
.Liveness, "/health");
AzureFrontDoorTests.cs (1)
186
.WithHttpProbe(
ProbeType
.Liveness, "/health");
Aspire.Hosting.Kubernetes (4)
Extensions\ResourceExtensions.cs (3)
445
case
ProbeType
.Startup:
449
case
ProbeType
.Readiness:
453
case
ProbeType
.Liveness:
KubernetesResource.cs (1)
58
internal List<(
ProbeType
Type, ProbeV1 Probe)> Probes { get; } = [];
Aspire.Hosting.Kubernetes.Tests (5)
KubernetesPublisherTests.cs (5)
372
.WithHttpProbe(
ProbeType
.Readiness, "/ready")
373
.WithHttpProbe(
ProbeType
.Liveness, "/health");
378
.WithHttpProbe(
ProbeType
.Readiness, "/ready", initialDelaySeconds: 60)
379
.WithHttpProbe(
ProbeType
.Liveness, "/health");
1207
.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);