---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/usages"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/usages"
tags: ["LocationUsage"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/usages

`GET /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/usages`

Gets the current usage count and the limit for the resources of the location under the subscription.

## Path parameters

- `subscriptionId` string, required
- `location` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK -- current usage count and limit retrieved and returned successfully.

- UsageListResult — The response from the List Usages operation.
  - `value` Usage[] — Gets or sets the list of Storage Resource Usages.
    - `unit` 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountsPerSecond' | 'BytesPerSecond' — Gets the unit of measurement.
    - `id` string — Resource identifier.
    - `currentValue` integer — Gets the current count of the allocated resources in the subscription.
    - `limit` integer — Gets the maximum count of the resources that can be allocated in the subscription.
    - `name` UsageName — The usage names that can be used.
      - `value` string — Gets a string describing the resource name.
      - `localizedValue` string — Gets a localized string describing the resource name.

---

[API](https://skmtc.net/azure/apis/datalakestoreaccountmanagementclient.md) · [All operations](https://skmtc.net/azure/apis/datalakestoreaccountmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/datalakestoreaccountmanagementclient/revisions/c6e0abee0423/schema)
