public static class InventoryNotifier { [OpenApiOperation(operationId: nameof(SendLowStockNotification), Visibility = OpenApiVisibilityType.Important) ] [OpenApiRequestBody(contentType: "application/json", bodyType: typeof(Product[]), Required = true) ] [FunctionName(nameof(SendLowStockNotification))] public static async Task<IActionResult> SendLowStockNotification( [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] HttpRequest req, ILogger log) { // function code... } }
使用Azure API Management, Functions, Power Apps和Logic App构建应用 (2)
内容版权声明:除非注明,否则皆为本站原创文章。