Compare Cost Periods
compare_periodsCompare Azure costs between two periods to analyze spending changes with absolute and percentage differences by service or resource group.
Instructions
Compare costs between two date ranges, showing per-service absolute and percentage changes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Cloud provider to query | |
| period_a_start | Yes | Period A start date (YYYY-MM-DD) | |
| period_a_end | Yes | Period A end date (YYYY-MM-DD) | |
| period_b_start | Yes | Period B start date (YYYY-MM-DD) | |
| period_b_end | Yes | Period B end date (YYYY-MM-DD) | |
| group_by | No | How to group costs: service or resource_group | service |