{ "parameters": { "api-version": "2026-06-01", "parameters": { "type": "Usage", "dataset": { "aggregation": { "totalCost": { "name": "PreTaxCost", "function": "Sum" } }, "granularity": "None", "grouping": [ { "name": "ResourceGroup", "type": "Dimension" } ] }, "timeframe": "TheLastMonth" }, "scope": "subscriptions/00000000-0000-0000-0000-000000000000", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "55312978-ba1b-415c-9304-cfd9c43c0481", "type": "microsoft.costmanagement/Query", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000", "properties": { "columns": [ { "name": "PreTaxCost", "type": "Number" }, { "name": "ResourceGroup", "type": "String" }, { "name": "Currency", "type": "String" } ], "nextLink": null, "rows": [ [ 0.009865586851323632, "Ict_StratAndPlan_GoldSprova_Prod_0", "USD" ], [ 218.68795741935486, "Ict_StratAndPlan_GoldSprova_Prod_1", "USD" ], [ 2.10333307059661, "ScreenSharingTest-peer1", "USD" ], [ 0.14384913581657052, "Ssbciotelement01", "USD" ] ] } } }, "204": {} }, "operationId": "Query_Usage", "title": "SubscriptionQueryGrouping-Legacy" }