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

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

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

Gets subscription-level properties and limits for Data Lake Store specified by resource location.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `200`

Successfully retrieved the subscription-level properties and limits for Data Lake Store specified by resource location.

- CapabilityInformation — Subscription-level properties and limits for Data Lake Store.
  - `subscriptionId` string, uuid — The subscription credentials that uniquely identifies the subscription.
  - `state` 'Registered' | 'Suspended' | 'Deleted' | 'Unregistered' | 'Warned' — The subscription state.
  - `maxAccountCount` integer — The maximum supported number of accounts under this subscription.
  - `accountCount` integer — The current number of accounts under this subscription.
  - `migrationState` boolean — The Boolean value of true or false to indicate the maintenance state.

## Other responses

- `404` — Subscription not found.

---

[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/versions/c6e0abee0423/schema)
