2020-12-06 10:46:04 +01:00
|
|
|
// Copyright (c) Umbraco.
|
|
|
|
|
// See LICENSE for more details.
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2020-03-16 14:02:08 +01:00
|
|
|
using System.Linq;
|
|
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
namespace Umbraco.Cms.Core.Configuration.Models
|
2020-03-16 14:02:08 +01:00
|
|
|
{
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Typed configuration options for healthchecks settings.
|
|
|
|
|
/// </summary>
|
2021-06-24 08:47:37 +02:00
|
|
|
[UmbracoOptions(Constants.Configuration.ConfigHealthChecks)]
|
2020-08-24 09:29:40 +02:00
|
|
|
public class HealthChecksSettings
|
2020-03-16 14:02:08 +01:00
|
|
|
{
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value for the collection of healthchecks that are disabled.
|
|
|
|
|
/// </summary>
|
2020-10-30 13:56:13 +01:00
|
|
|
public IEnumerable<DisabledHealthCheckSettings> DisabledChecks { get; set; } = Enumerable.Empty<DisabledHealthCheckSettings>();
|
2020-03-18 11:29:29 +01:00
|
|
|
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value for the healthcheck notification settings.
|
|
|
|
|
/// </summary>
|
2020-10-30 13:56:13 +01:00
|
|
|
public HealthChecksNotificationSettings Notification { get; set; } = new HealthChecksNotificationSettings();
|
2020-03-16 14:02:08 +01:00
|
|
|
}
|
|
|
|
|
}
|