コード例 #1
0
        public async Task <IActionResult> Run(
            [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req)
        {
            await Task.Run(() => { });

            _telemetry.LogEvent("some event");

            return(new OkObjectResult(DateTime.UtcNow.ToString()));
        }