Azure Cost Forecast
azure_cost_forecastForecast Azure costs from usage trends to detect overspend risk. Compare forecasts against budgets for proactive cost optimization and early warning alerts.
Instructions
Retrieves cost forecasts based on current usage trends. WAF Cost Optimization: compare forecast vs budget to detect overspend risk proactively. Set budgets with 100% forecasted threshold to receive early warning alerts (see azure_budget_create).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Forecast end date in ISO 8601 format (e.g., 2024-03-31). | |
| from | Yes | Forecast start date in ISO 8601 format (e.g., 2024-02-01). | |
| scope | Yes | Azure scope. Formats: full path (/subscriptions/{id} | /subscriptions/{id}/resourceGroups/{name}), UUID subscription ID, sub:{id}, sub:{id}/rg:{name}, rg:{name}, mg:{managementGroupId}, ba:{billingAccountId}. CAF tip: use mg: scope for enterprise-wide analysis across landing zones. | |
| granularity | No | Daily for short-term detail, Monthly for planning horizons. | Monthly |
| includeActualCost | No | Include actual charges alongside forecast values for comparison. |