public async Task <HttpResponseMessage> SyncTriggers() { var tracer = _traceFactory.GetTracer(); using (tracer.Step("FunctionController.SyncTriggers")) { await _manager.SyncTriggersAsync(); return(Request.CreateResponse(HttpStatusCode.OK)); } }
public async Task <HttpResponseMessage> SyncTriggers() { var tracer = _traceFactory.GetTracer(); using (tracer.Step("FunctionController.SyncTriggers")) { await _manager.SyncTriggersAsync(); // Return a dummy body to make it valid in ARM template action evaluation return(Request.CreateResponse(HttpStatusCode.OK, new { status = "success" })); } }