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 從公開儲存庫中收錄這些內容。

檢舉或申請下架