Cost Governance

作者 microsoft354361d83247MIT收录于 2026年10月8日更新于 2026年10月8日

Govern Azure costs with budgets, alerts, tags, and policy restrictions. WHEN: "Azure budget health", "configured budget overrun", "list Azure budgets", "create Azure budget", "budget alerts", "budget coverage", "missing CostCenter tags", "allowed VM SKUs", "allowed Azure regions", "would this SKU be denied", "cost guardrails". DO NOT USE FOR: planning-target forecasts, bill investigations, pricing, rightsizing, or commitments.

AI 生成的概览

使用预算、警报、标签和策略护栏治理 Azure 成本。

功能
该技能提供检查 Azure 预算健康状况、配置预算以及审查成本护栏的说明。它涵盖预算状态检查、在确认范围、金额、阈值和接收人后创建预算,以及允许的 VM SKU 和区域等基于策略的限制。它还定义了针对访问失败、缺少预算或预测数据、多币种、写入冲突和服务器错误的错误处理方式。
适用场景
适用于 Azure 预算健康状况、已配置预算超支、列出或创建 Azure 预算、预算警报与覆盖范围、缺少 CostCenter 标签、允许的 VM SKU 或区域以及成本护栏问题。不适用于规划目标预测、账单调查、定价、合理规模调整或承诺用量。
运行要求
需要访问 Azure 成本管理 MCP 工具(如 list_budgets、forecast_costs、query_costs、list_alerts 和 create_budget),以及用于护栏的 Azure Resource Graph。写入操作需要确认范围、金额、阈值和接收人。该技能不附带脚本,仅为说明文档,并包含预算健康状况、预算设置、护栏和工具回退的参考文档。

Cost Governance

Quick Reference

IntentWorkflowPrimary tools
Check budget statusBudget health [blocked]list_budgets, forecast_costs, query_costs, list_alerts
Configure a budgetBudget setup [blocked]Cost tools, create_budget
Review guardrailsGuardrails [blocked]Resource Graph, list_budgets

When to Use This Skill

Use for budgets, alerts, tags, and policy.

MCP Tools

Use cost tools for budgets; Resource Graph for guardrails. Writes need confirmed scope, amount, thresholds, and recipients. Fallback: API mappings [blocked].

Workflow

  1. Confirm scope and load the matching workflow.
  2. Never transform MCP results in a shell or interpreter; request tool-side filtering or bounded follow-up queries.
  3. Distinguish access failures from empty results.
  4. Report gaps without implying budgets cap spend.

Error Handling

ErrorAction
Access deniedName missing permission.
No budget or forecastReport unavailable data, not zero.
Multiple currenciesNever sum or compare across currencies.
Write conflictPreserve the budget.
Server errorRetry once; then stop with the trace ID.

来源与署名

来源:microsoft/skills位于.github/plugins/azure-cost/skills/cost-governance提交354361d

许可证: MIT

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架