View Source
Class HealthCheckController
The API controller used to display the health check info and execute any actions
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class HealthCheckController : UmbracoAuthorizedJsonController, IDiscoverable
Constructors
View Source
HealthCheckController(HealthCheckCollection, ILogger)
Declaration
public HealthCheckController(HealthCheckCollection checks, ILogger logger)
Parameters
Methods
View Source
ExecuteAction(HealthCheckAction)
Declaration
public HealthCheckStatus ExecuteAction(HealthCheckAction action)
Parameters
Returns
View Source
GetAllHealthChecks()
Gets a grouped list of health checks, but doesn't actively check the status of each health check.
Declaration
public object GetAllHealthChecks()
Returns
Type |
Description |
System.Object |
Returns a collection of anonymous objects representing each group.
|
View Source
GetStatus(Guid)
Declaration
public object GetStatus(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
System.Object |
|