azure-upgrade
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure Upgrade
Azure 升级
This skill handles assessment and automated upgrades of existing Azure workloads from one Azure service, hosting plan, or SKU to another — all within Azure. This includes plan/tier upgrades (e.g. Consumption → Flex Consumption), cross-service migrations (e.g. App Service → Container Apps), and SKU changes. This is NOT for cross-cloud migration — usefor that.azure-cloud-migrate
本Skill可处理Azure现有工作负载的评估与自动化升级,支持在Azure内部从一种Azure服务、托管计划或SKU迁移至另一种。包括计划/层级升级(例如 Consumption → Flex Consumption)、跨服务迁移(例如 App Service → Container Apps)以及SKU变更。注意:本Skill不支持跨云迁移——跨云迁移请使用。azure-cloud-migrate
Triggers
触发条件
| User Intent | Example Prompts |
|---|---|
| Upgrade Azure Functions plan | "Upgrade my function app from Consumption to Flex Consumption" |
| Change hosting tier | "Move my function app to a better plan" |
| Assess upgrade readiness | "Is my function app ready for Flex Consumption?" |
| Automate plan migration | "Automate the steps to upgrade my Functions plan" |
| 用户意图 | 示例提示 |
|---|---|
| 升级Azure Functions计划 | "将我的函数应用从Consumption升级到Flex Consumption" |
| 更改托管层级 | "将我的函数应用迁移到更优计划" |
| 评估升级就绪性 | "我的函数应用是否已准备好升级到Flex Consumption?" |
| 自动化计划迁移 | "自动化升级我的Functions计划的步骤" |
Rules
规则
- Follow phases sequentially — do not skip
- Generate an assessment before any upgrade operations
- Load the scenario reference and follow its rules
- Use and
mcp_azure_mcp_get_bestpracticesMCP toolsmcp_azure_mcp_documentation - Destructive actions require — global-rules
ask_user - Always confirm the target plan/SKU with the user before proceeding
- Never delete or stop the original app without explicit user confirmation
- All automation scripts must be idempotent and resumable
- 按阶段顺序执行——不得跳过
- 在执行任何升级操作前生成评估报告
- 加载场景参考文档并遵循其规则
- 使用和
mcp_azure_mcp_get_bestpracticesMCP工具mcp_azure_mcp_documentation - 破坏性操作需调用——参考全局规则
ask_user - 执行前必须与用户确认目标计划/SKU
- 未经用户明确确认,不得删除或停止原始应用
- 所有自动化脚本必须具备幂等性和可恢复性
Upgrade Scenarios
升级场景
| Source | Target | Reference |
|---|---|---|
| Azure Functions Consumption Plan | Azure Functions Flex Consumption Plan | consumption-to-flex.md |
No matching scenario? Useandmcp_azure_mcp_documentationtools to research the upgrade path.mcp_azure_mcp_get_bestpractices
| 源服务 | 目标服务 | 参考文档 |
|---|---|---|
| Azure Functions Consumption计划 | Azure Functions Flex Consumption计划 | consumption-to-flex.md |
无匹配场景?使用和mcp_azure_mcp_documentation工具研究升级路径。mcp_azure_mcp_get_bestpractices
MCP Tools
MCP工具
| Tool | Purpose |
|---|---|
| Get Azure best practices for the target service |
| Look up Azure documentation for upgrade scenarios |
| Query App Service and Functions plan details |
| Verify monitoring configuration |
| 工具 | 用途 |
|---|---|
| 获取目标服务的Azure最佳实践 |
| 查询Azure升级场景相关文档 |
| 查询App Service和Functions计划详情 |
| 验证监控配置 |
Steps
步骤
- Identify — Determine the source and target Azure plans/SKUs. Ask user to confirm.
- Assess — Analyze existing app for upgrade readiness → load scenario reference (e.g., consumption-to-flex.md)
- Pre-migrate — Collect settings, identities, configs from the existing app
- Upgrade — Execute the automated upgrade steps (create new resources, migrate settings, deploy code)
- Validate — Hit the function app default URL to confirm the app is reachable, then verify endpoints and monitoring
- Ask User — "Upgrade complete. Would you like to verify performance, clean up the old app, or update your IaC?"
- Hand off to for deep validation or
azure-validatefor CI/CD setupazure-deploy
Track progress in inside the workspace root.
upgrade-status.md- 识别——确定源和目标Azure计划/SKU。请用户确认。
- 评估——分析现有应用的升级就绪性 → 加载场景参考文档(例如 consumption-to-flex.md)
- 预迁移——收集现有应用的设置、身份信息、配置
- 升级——执行自动化升级步骤(创建新资源、迁移设置、部署代码)
- 验证——访问函数应用默认URL确认应用可访问,然后验证端点和监控
- 询问用户——"升级完成。是否需要验证性能、清理旧应用或更新基础设施即代码(IaC)?"
- 移交给进行深度验证,或移交
azure-validate进行CI/CD设置azure-deploy
在工作区根目录的中跟踪进度。
upgrade-status.mdReferences
参考文档
- Global Rules
- Workflow Details
- Functions
- Consumption to Flex Consumption
- Assessment
- Automation Scripts
- 全局规则
- 工作流详情
- Functions
- Consumption到Flex Consumption
- 评估
- 自动化脚本
Next
后续操作
After upgrade is validated, hand off to:
- — for thorough post-upgrade validation
azure-validate - — if the user wants to set up CI/CD for the new app
azure-deploy
升级验证完成后,可移交至:
- ——进行全面的升级后验证
azure-validate - ——若用户需要为新应用设置CI/CD
azure-deploy