Quantcast
Channel: Node.jsタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 8833

Static Web Appsでは現状TimerTriggerは使えないっぽい

$
0
0

Azure Functions のタイマー トリガーを使ってStatic Web Appsに紐づいたAPIプログラムもタイマー実行できないかと思いましたがどうやらできないっぽいのでメモ。

ビルドでこんなコケかたします。

Error in processing api build artifacts: the file 'myTimer/function.json' has specified an invalid trigger of type 'timerTrigger' and direction 'in'. Currently, only httpTriggers are supported. Visit https://github.com/Azure/azure-functions-host/wiki/function.json for more information.

ドキュメントを見てみるとトリガーとバインドは、HTTP に限定されています。としっかりと書いてましたね......

https://docs.microsoft.com/ja-jp/azure/static-web-apps/apis

ちゃんとドキュメントみましょうという教訓をメモにしておきます。


Viewing all articles
Browse latest Browse all 8833

Trending Articles