{ "parameters": { "api-version": "2026-06-01", "externalCloudProviderId": "100", "externalCloudProviderType": "externalSubscriptions", "parameters": { "type": "Usage", "dataset": { "aggregation": { "totalCost": { "name": "Cost", "function": "Sum" } }, "filter": { "and": [ { "or": [ { "dimensions": { "name": "ResourceLocation", "operator": "In", "values": [ "East US", "West Europe" ] } }, { "tags": { "name": "Environment", "operator": "In", "values": [ "UAT", "Prod" ] } } ] }, { "dimensions": { "name": "ResourceGroup", "operator": "In", "values": [ "API" ] } } ] }, "granularity": "Daily" }, "timePeriod": { "from": "2022-08-01T00:00:00+00:00", "to": "2022-08-31T23:59:59+00:00" }, "timeframe": "Custom" } }, "responses": { "200": { "body": { "name": "d99477af-7510-40ee-aca2-e59bdca0d10d", "type": "Microsoft.CostManagement/query", "id": "/providers/Microsoft.CostManagement/externalSubscriptions/100/query/d99477af-7510-40ee-aca2-e59bdca0d10d", "properties": { "columns": [ { "name": "PreTaxCost", "type": "Number" }, { "name": "UsageDate", "type": "Number" }, { "name": "CostStatus", "type": "String" }, { "name": "Currency", "type": "String" } ], "nextLink": null, "rows": [] } } } }, "operationId": "Forecast_ExternalCloudProviderUsage", "title": "ExternalSubscriptionForecast" }