{
  "parameters": {
    "api-version": "2026-06-01",
    "parameters": {
      "type": "Usage",
      "dataset": {
        "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"
      },
      "timeframe": "MonthToDate"
    },
    "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": "UsageDate",
              "type": "Number"
            },
            {
              "name": "Currency",
              "type": "String"
            }
          ],
          "nextLink": null,
          "rows": [
            [
              2.10333307059661,
              "ScreenSharingTest-peer",
              20180331,
              "USD"
            ],
            [
              218.68795741935486,
              "Ict_StratAndPlan_GoldSprova_Prod",
              20180331,
              "USD"
            ],
            [
              0.14384913581657052,
              "ssbciotelement01",
              20180401,
              "USD"
            ],
            [
              0.009865586851323632,
              "ict_stratandplan_goldsprova_prod",
              20180429,
              "USD"
            ]
          ]
        }
      }
    },
    "204": {}
  },
  "operationId": "Query_Usage",
  "title": "SubscriptionQuery-Legacy"
}
