SkillX
Back to marketplace

azure-cost-optimization

by microsoft/github-copilot-for-azure

View Source
$npx skills add microsoft/github-copilot-for-azure --skill azure-cost-optimization
116,885installs
|Rank #9|Trending #6

SKILL.md

Azure Cost Management Skill

Query historical costs, forecast future spending, optimize to reduce waste.

Routing

User IntentWorkflow
Understand current costsCost Query
Reduce costs / find wasteCost Optimization
Project future costsCost Forecast

Quick Reference

PropertyValue
Query APIPOST {scope}/providers/Microsoft.CostManagement/query?api-version=2023-11-01
Forecast APIPOST {scope}/providers/Microsoft.CostManagement/forecast?api-version=2023-11-01
Required RoleCost Management Reader + Monitoring Reader + Reader (on target scope)

Scope Patterns

  • Subscription: /subscriptions/<id>
  • Resource Group: /subscriptions/<id>/resourceGroups/<name>
  • Management Group: /providers/Microsoft.Management/managementGroups/<id>
  • Billing Account: /providers/Microsoft.Billing/billingAccounts/<id>

Service-Specific Optimization

References

Cloud & DevOpscopilotperformance
azure-cost-optimization - SkillX