More Related Content
Similar to Azure Functions Tips (20)
More from Yuta Matsumura (20)
Azure Functions Tips
- 6. function.json
Functionsのトリガー、バインド、入出力の
リソースを指定する。
Functionsポータルの「統合」で管理できる。
{
"bindings": [
{
"type": "httpTrigger",
"direction": "in",
"name": "req",
"methods": [ "get" ],
"authLevel": "function"
},
{
"type": "http",
"direction": "out",
"name": "res"
},
{
"type": "table",
"name": "inTable",
"tableName": "person",
"connection": "xxx",
"direction": "in"
}
],
"disabled": false
}
6
- 8. 8
16:32:26 myfunc: Creating zip package...
16:32:27 myfunc: Starting deployment...
16:32:29 myfunc: Fetching changes.
16:32:29 myfunc: Cleaning up temp folders from previous zip deployments and …
16:32:32 myfunc: Updating submodules.
16:32:33 myfunc: Preparing deployment for commit id '95dd7dd2a3'.
16:32:33 myfunc: Generating deployment script.
16:32:34 myfunc: Using cached version of deployment script (command: …
16:32:34 myfunc: Running deployment command...
16:32:34 myfunc: Command: "D:¥home¥site¥deployments¥tools¥deploy.cmd"
16:32:35 myfunc: Handling Basic Web Site deployment.
16:32:36 myfunc: KuduSync.NET from: 'D:¥local¥Temp¥zipdeploy¥extracted' to: …
16:32:36 myfunc: Finished successfully.
16:32:36 myfunc: Running post deployment command(s)...
16:32:38 myfunc: Syncing 1 function triggers with payload size 176 bytes successful.
16:32:39 myfunc: Deployment successful.
>>>>>> Deployment to "myfunc" completed. <<<<<<
- 9. 9
16:32:26 myfunc: Creating zip package...
16:32:27 myfunc: Starting deployment...
16:32:29 myfunc: Fetching changes.
16:32:29 myfunc: Cleaning up temp folders from previous zip deployments and …
16:32:32 myfunc: Updating submodules.
16:32:33 myfunc: Preparing deployment for commit id '95dd7dd2a3'.
16:32:33 myfunc: Generating deployment script.
16:32:34 myfunc: Using cached version of deployment script (command: …
16:32:34 myfunc: Running deployment command...
16:32:34 myfunc: Command: "D:¥home¥site¥deployments¥tools¥deploy.cmd"
16:32:35 myfunc: Handling Basic Web Site deployment.
16:32:36 myfunc: KuduSync.NET from: 'D:¥local¥Temp¥zipdeploy¥extracted' to: …
16:32:36 myfunc: Finished successfully.
16:32:36 myfunc: Running post deployment command(s)...
16:32:38 myfunc: Syncing 1 function triggers with payload size 176 bytes successful.
16:32:39 myfunc: Deployment successful.
>>>>>> Deployment to "myfunc" completed. <<<<<<
実はコードをzip化してアップロードしている