{
namespace Microsoft.AspNetCore.Builder {
+ public static class HealthCheckEndpointRouteBuilderExtensions {
+ public static IEndpointConventionBuilder MapHealthChecks(this IEndpointRouteBuilder endpoints, string pattern);
+ public static IEndpointConventionBuilder MapHealthChecks(this IEndpointRouteBuilder endpoints, string pattern, HealthCheckOptions options);
+ }
}
namespace Microsoft.AspNetCore.Diagnostics.HealthChecks {
public class HealthCheckOptions {
- public IDictionary<HealthStatus, int> ResultStatusCodes { get; }
+ public IDictionary<HealthStatus, int> ResultStatusCodes { get; set; }
}
}
}