1. 在 Marketplace 搜尋 Function App , 點選Create
< Basics >
< Hosting >
< Monitoring >
< Tags >
2. 建立 Azure Function
3. Test function
< Input >
< Output >
4. 透過 Browser 驗證 API
5. 設定 Azure Function 的 input binding
Home > test-life-api1-dev > testHttpTrigger > 點選 Integration > 點選 Add input
< Create Input >
Binding Type: Azure Cosmos DB
Cosmos DB account connection: New (Cosmos DB 帳戶連線: test-life-db1-dev)
Document parameter name: inputDocument ( default )
Database name: TestLifeDb
Collection Name: testLifeData