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 |
|---|---|---|
| IHealthCheckGroupPresentationFactory | healthCheckGroupPresentationFactory | |
| IUmbracoMapper | 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 |
|---|---|---|
| CancellationToken | cancellationToken | |
| System.String | name | The name of the group. |
Returns
| Type | Description |
|---|---|
| Task<IActionResult> | The health check group or not found result. |