public class HealthCheckHttpTrigger { ... // Dependency injections here [FunctionName(nameof(HealthCheckHttpTrigger.PingAsync))] public async Task PingAsync( [HttpTrigger(AuthorizationLevel.Function, "get", Route = "ping")] HttpRequest req, ILogger log) { return result = await this._function .InvokeAsync(req) .ConfigureAwait(false); } }