{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure AccessControlClient AccessConnector UsageAggregates API",
    "version": "2020-08-01-preview"
  },
  "items": [
    {
      "info": {
        "name": "UsageAggregates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Commerce Usageaggregates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/providers/Microsoft.Commerce/UsageAggregates",
            "params": [
              {
                "name": "reportedStartTime",
                "value": "",
                "type": "query",
                "description": "The start of the time range to retrieve data for."
              },
              {
                "name": "reportedEndTime",
                "value": "",
                "type": "query",
                "description": "The end of the time range to retrieve data for."
              },
              {
                "name": "showDetails",
                "value": "",
                "type": "query",
                "description": "`True` returns usage data in instance-level detail, `false` causes server-side aggregation with fewer details. For example, if you have 3 website instances, by default you will get 3 line items for website consumption. If you specify showDetails = false, the data will be aggregated as a single line item for website consumption within the time period (for the given subscriptionId, meterId, usageStartTime and usageEndTime)."
              },
              {
                "name": "aggregationGranularity",
                "value": "",
                "type": "query",
                "description": "`Daily` (default) returns the data in daily granularity, `Hourly` returns the data in hourly granularity."
              },
              {
                "name": "continuationToken",
                "value": "",
                "type": "query",
                "description": "Used when a continuation token string is provided in the response body of the previous call, enabling paging through a large result set. If not present, the data is retrieved from the beginning of the day/hour (based on the granularity) passed in. "
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client Api Version."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "It uniquely identifies Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
              }
            ]
          },
          "docs": "Query aggregated Azure subscription consumption data for a date range."
        }
      ]
    }
  ],
  "bundled": true
}