Search Results for

    Show / Hide Table of Contents
    View Source

    Class ExecuteActionHealthCheckController

    Inheritance
    System.Object
    ManagementApiControllerBase
    HealthCheckControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.HealthCheck
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class ExecuteActionHealthCheckController : HealthCheckControllerBase

    Constructors

    View Source

    ExecuteActionHealthCheckController(HealthCheckCollection, IOptions<HealthChecksSettings>, IUmbracoMapper)

    Declaration
    public ExecuteActionHealthCheckController(HealthCheckCollection healthChecks, IOptions<HealthChecksSettings> healthChecksSettings, IUmbracoMapper umbracoMapper)
    Parameters
    Type Name Description
    HealthCheckCollection healthChecks
    IOptions<HealthChecksSettings> healthChecksSettings
    IUmbracoMapper umbracoMapper

    Methods

    View Source

    ExecuteAction(CancellationToken, HealthCheckActionRequestModel)

    Executes a given action from a HealthCheck.

    Declaration
    public async Task<ActionResult<HealthCheckResultResponseModel>> ExecuteAction(CancellationToken cancellationToken, HealthCheckActionRequestModel action)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    HealthCheckActionRequestModel action

    The action to be executed.

    Returns
    Type Description
    Task<ActionResult<HealthCheckResultResponseModel>>

    The result of a health check after the health check action is performed.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ExecuteActionHealthCheckController(HealthCheckCollection, IOptions<HealthChecksSettings>, IUmbracoMapper)
    • Methods
      • ExecuteAction(CancellationToken, HealthCheckActionRequestModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX