Class ByNameHealthCheckGroupController
Namespace: Umbraco.Cms.Api.Management.Controllers.HealthCheck.Group
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class ByNameHealthCheckGroupController : HealthCheckGroupControllerBase
Constructors
View SourceByNameHealthCheckGroupController(IHealthCheckGroupPresentationFactory, IUmbracoMapper)
Declaration
public ByNameHealthCheckGroupController(IHealthCheckGroupPresentationFactory healthCheckGroupPresentationFactory, IUmbracoMapper umbracoMapper)
Parameters
Type | Name | Description |
---|---|---|
IHealth |
healthCheckGroupPresentationFactory | |
IUmbraco |
umbracoMapper |
Methods
View SourceByName(CancellationToken, String)
Gets a health check group with all its health checks by a group name.
Declaration
public async Task<IActionResult> ByName(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. |