---
title: "Get resource quotas and usage information"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages"
tags: ["Standard operation", "GET"]
---

# Get resource quotas and usage information

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

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

This method returns region-specific quotas and resource usage information for the Azure Database Migration Service (classic).

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/LocationParameter` (unresolved $ref)

## Response `200`

The request has succeeded.

- QuotaList: OData page of quota objects
  - `value` Quota[], required: The Quota items on this page
    - `currentValue` number, double: The current value of the quota. If null or missing, the current value cannot be determined in the context of the request.
    - `id` string: The resource ID of the quota object
    - `limit` number, double: The maximum value of the quota. If null or missing, the quota has no maximum, in which case it merely tracks usage.
    - `name` QuotaName: The name of the quota
      - `localizedValue` string: The localized name of the quota
      - `value` string: The unlocalized name (or ID) of the quota
    - `unit` string: The unit for the quota, such as Count, Bytes, BytesPerSecond, etc.
  - `nextLink` string, uri: The link to the next page of items

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/azure-database-migration-service-classic-resource-provider.md) - [All operations](https://skmtc.dev/azure/apis/azure-database-migration-service-classic-resource-provider/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/azure-database-migration-service-classic-resource-provider/revisions/a034b56d69ce?raw)
