Logo
Section 1 / 7

Azure 函数结构

学习 Azure 函数的基本结构。

导入

Azure 函数结构

学习 Azure 函数的基本结构。

...
Azure函数概述
1 2{ 3 "bindings": [ 4 { 5 "authLevel": "function", 6 "name": "req", 7 "type": "httpTrigger", 8 "direction": "in", 9 "methods": [ 10 "get", 11 "post" 12 ] 13 }, 14 { 15 "name": "$return", 16 "type": "http", 17 "direction": "out" 18 } 19 ] 20}

No configuration found for ID: 966e5eff347855a0cfb5ccf08b373a242227f562fe22fe5f631c0ad77f25a6c2

1 2{ 3 "version": "2.0", 4 "logging": { 5 "applicationInsights": { 6 "samplingSettings": { 7 "isEnabled": true, 8 "excludedTypes": "Request" 9 } 10 } 11 } 12}
1 2{ 3 "IsEncrypted": false, 4 "Values": { 5 "AzureWebJobsStorage": "", 6 "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated" 7 }, 8 "Host": { 9 "LocalHttpPort": 7000, 10 "CORS": "*", 11 "CORSCredentials": false 12 } 13}

简介

构建 CSX 函数脚本