azure-functions

📁 bagelhole/devops-security-agent-skills 📅 9 days ago
1
总安装量
1
周安装量
#50054
全站排名
安装命令
npx skills add https://github.com/bagelhole/devops-security-agent-skills --skill azure-functions

Agent 安装分布

opencode 1
codex 1
claude-code 1

Skill 文档

Azure Functions

Build serverless applications with Azure Functions.

Create Function App

az functionapp create \
  --resource-group mygroup \
  --consumption-plan-location eastus \
  --runtime python \
  --runtime-version 3.11 \
  --functions-version 4 \
  --name myfunctionapp \
  --storage-account mystorageaccount

Function Code

import azure.functions as func

def main(req: func.HttpRequest) -> func.HttpResponse:
    return func.HttpResponse("Hello, World!")

Deployment

# Deploy using Core Tools
func azure functionapp publish myfunctionapp

# Deploy using ZIP
az functionapp deployment source config-zip \
  --resource-group mygroup \
  --name myfunctionapp \
  --src function.zip

Best Practices

  • Use consumption plan for variable workloads
  • Implement Durable Functions for orchestration
  • Use managed identity for authentication
  • Monitor with Application Insights