29 references to ProbeType
Aspire.Hosting (3)
ApplicationModel\ProbeAnnotation.cs (1)
39public required ProbeType Type { get; init; }
ResourceBuilderExtensions.cs (2)
3050public 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) 3095public 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)
517ProbeType.Startup => ContainerAppProbeType.Startup, 518ProbeType.Readiness => ContainerAppProbeType.Readiness,
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
563.OrderBy(probeAnnotation => probeAnnotation.Type == ProbeType.Liveness ? 0 : 1)
Aspire.Hosting.Azure.Tests (10)
AzureAppServiceTests.cs (2)
458.WithHttpProbe(ProbeType.Readiness, "/ready", initialDelaySeconds: 60) // This will be ignored 459.WithHttpProbe(ProbeType.Liveness, "/health");
AzureContainerAppsTests.cs (8)
1907.WithHttpProbe(ProbeType.Readiness, "/ready") 1908.WithHttpProbe(ProbeType.Liveness, "/health"); 1913.WithHttpProbe(ProbeType.Readiness, "/ready", initialDelaySeconds: 60) 1914.WithHttpProbe(ProbeType.Liveness, "/health"); 1949.WithHttpProbe(ProbeType.Liveness, "/health"); 1954.WithHttpProbe(ProbeType.Liveness, "/health"); 1989.WithHttpProbe(ProbeType.Liveness, "/health"); 1994.WithHttpProbe(ProbeType.Liveness, "/health");
Aspire.Hosting.Kubernetes (4)
Extensions\ResourceExtensions.cs (3)
363case ProbeType.Startup: 367case ProbeType.Readiness: 371case ProbeType.Liveness:
KubernetesResource.cs (1)
31internal List<(ProbeType Type, ProbeV1 Probe)> Probes { get; } = [];
Aspire.Hosting.Kubernetes.Tests (4)
KubernetesPublisherTests.cs (4)
242.WithHttpProbe(ProbeType.Readiness, "/ready") 243.WithHttpProbe(ProbeType.Liveness, "/health"); 248.WithHttpProbe(ProbeType.Readiness,"/ready", initialDelaySeconds: 60) 249.WithHttpProbe(ProbeType.Liveness, "/health");
Aspire.Hosting.Tests (5)
ResourceWithProbeTests.cs (5)
16resource.WithHttpProbe(ProbeType.Startup, "/health"); 29resource.WithHttpProbe(ProbeType.Readiness, "/health"); 30resource.WithHttpProbe(ProbeType.Readiness, "/ready"); 49resource.WithHttpProbe(ProbeType.Liveness, "/health", endpointName: endpointName); 50resource.WithHttpProbe(ProbeType.Readiness, "/ready", endpointName: endpointName);