{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure AccessControlClient AccessConnector UsageDetails API",
    "version": "2020-08-01-preview"
  },
  "items": [
    {
      "info": {
        "name": "UsageDetails",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Get Scope Providers Microsoft Consumption Usagedetails",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/:scope/providers/Microsoft.Consumption/usageDetails",
            "params": [
              {
                "name": "scope",
                "value": "",
                "type": "path",
                "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "May be used to expand the properties/additionalInfo or properties/meterDetails within a list of usage details. By default, these fields are not included when listing usage details."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:)."
              },
              {
                "name": "$skiptoken",
                "value": "",
                "type": "query",
                "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls."
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "May be used to limit the number of results to the most recent N usageDetails."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Version of the API to be used with the client request. The current version is 2019-04-01-preview."
              },
              {
                "name": "metric",
                "value": "",
                "type": "query",
                "description": "Allows to select different type of cost/usage records."
              }
            ]
          },
          "docs": "Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later."
        },
        {
          "info": {
            "name": "Microsoft Azure Post Scope Providers Microsoft Consumption Usagedetails Download",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/:scope/providers/Microsoft.Consumption/usageDetails/download",
            "params": [
              {
                "name": "scope",
                "value": "",
                "type": "path",
                "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'"
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Version of the API to be used with the client request. The current version is 2019-04-01-preview."
              },
              {
                "name": "metric",
                "value": "",
                "type": "query",
                "description": "Allows to select different type of cost/usage records."
              }
            ]
          },
          "docs": "Download usage details data."
        }
      ]
    }
  ],
  "bundled": true
}