Files
Umbraco-CMS/src/Umbraco.Core/Configuration/Models/HealthChecksSettings.cs

26 lines
888 B
C#
Raw Normal View History

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