23 instantiations of HealthCheckOptions
HealthChecksSample (3)
CustomWriterStartup.cs (1)
29app.UseHealthChecks("/health", new HealthCheckOptions()
LivenessProbeStartup.cs (2)
45app.UseHealthChecks("/health/ready", new HealthCheckOptions() 51app.UseHealthChecks("/health/live", new HealthCheckOptions()
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (15)
HealthCheckEndpointRouteBuilderExtensionsTest.cs (1)
99endpoints.MapHealthChecks("/healthz", new HealthCheckOptions
HealthCheckMiddlewareTests.cs (14)
303app.UseHealthChecks("/health", new HealthCheckOptions() 345app.UseHealthChecks("/health", new HealthCheckOptions() 380app.UseHealthChecks("/health", new HealthCheckOptions() 447app.UseHealthChecks("/health", new HealthCheckOptions() 482app.UseHealthChecks("/health", new HealthCheckOptions() 637app.UseHealthChecks("/health", new HealthCheckOptions() 676app.UseHealthChecks("/health", new HealthCheckOptions() 830app.UseHealthChecks("/health", port: 5001, new HealthCheckOptions() 874app.UseHealthChecks("/health", port: 5002, new HealthCheckOptions() 902var options = new HealthCheckOptions(); 912var options = new HealthCheckOptions { ResultStatusCodes = null }; 922_ = new HealthCheckOptions 937new HealthCheckOptions { ResultStatusCodes = new Dictionary<HealthStatus, int>() } 948new HealthCheckOptions
OrleansServiceDefaults (1)
Extensions.cs (1)
106app.MapHealthChecks("/alive", new HealthCheckOptions
Playground.ServiceDefaults (1)
Extensions.cs (1)
103app.MapHealthChecks("/alive", new HealthCheckOptions
Seq.ServiceDefaults (1)
Extensions.cs (1)
105app.MapHealthChecks("/alive", new HealthCheckOptions
TestingAppHost1.ServiceDefaults (1)
Extensions.cs (1)
112app.MapHealthChecks("/alive", new HealthCheckOptions
TestShop.ServiceDefaults (1)
Extensions.cs (1)
102app.MapHealthChecks("/alive", new HealthCheckOptions
15 references to HealthCheckOptions
Microsoft.AspNetCore.Diagnostics.HealthChecks (13)
Builder\HealthCheckApplicationBuilderExtensions.cs (6)
47/// <param name="options">A <see cref="HealthCheckOptions"/> used to configure the middleware.</param> 57public static IApplicationBuilder UseHealthChecks(this IApplicationBuilder app, PathString path, HealthCheckOptions options) 132/// <param name="options">A <see cref="HealthCheckOptions"/> used to configure the middleware.</param> 143public static IApplicationBuilder UseHealthChecks(this IApplicationBuilder app, PathString path, int port, HealthCheckOptions options) 158/// <param name="options">A <see cref="HealthCheckOptions"/> used to configure the middleware.</param> 169public static IApplicationBuilder UseHealthChecks(this IApplicationBuilder app, PathString path, string port, HealthCheckOptions options)
Builder\HealthCheckEndpointRouteBuilderExtensions.cs (3)
40/// <param name="options">A <see cref="HealthCheckOptions"/> used to configure the health checks.</param> 45HealthCheckOptions options) 55private static IEndpointConventionBuilder MapHealthChecksCore(IEndpointRouteBuilder endpoints, string pattern, HealthCheckOptions? options)
HealthCheckMiddleware.cs (4)
16private readonly HealthCheckOptions _healthCheckOptions; 24IOptions<HealthCheckOptions> healthCheckOptions, 53$"{nameof(HealthCheckOptions)}.{nameof(HealthCheckOptions.ResultStatusCodes)} must contain" +
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (2)
HealthCheckMiddlewareTests.cs (2)
902var options = new HealthCheckOptions(); 912var options = new HealthCheckOptions { ResultStatusCodes = null };