Class CheckHealthCheckGroupController
Namespace: Umbraco.Cms.Api.Management.Controllers.HealthCheck.Group
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class CheckHealthCheckGroupController : HealthCheckGroupControllerBase
Constructors
View SourceCheckHealthCheckGroupController(IHealthCheckGroupPresentationFactory)
Declaration
public CheckHealthCheckGroupController(IHealthCheckGroupPresentationFactory healthCheckGroupPresentationFactory)
Parameters
Type | Name | Description |
---|---|---|
IHealth |
healthCheckGroupPresentationFactory |
Methods
View SourceByNameWithResult(CancellationToken, String)
Check all health checks in the group with a given group name.
Declaration
public async Task<IActionResult> ByNameWithResult(CancellationToken cancellationToken, string name)
Parameters
Type | Name | Description |
---|---|---|
Cancellation |
cancellationToken | |
System. |
name | The name of the group. |
Returns
Type | Description |
---|---|
Task<IAction |
The health check group or not found result. |
Remarks
The health check result(s) will be included as part of the health checks.