---
title: "Get the quota metrics for an IoT hub"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/quotaMetrics"
tags: ["GET"]
---

# Get the quota metrics for an IoT hub

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/quotaMetrics`

Get the quota metrics for an IoT hub.

## Path parameters

- `resourceName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## Response `200`

Azure operation completed successfully.

- IotHubQuotaMetricInfoListResult — The JSON-serialized array of IotHubQuotaMetricInfo objects with a next link.
  - `value` IotHubQuotaMetricInfo[], required — The IotHubQuotaMetricInfo items on this page
    - `name` string — The name of the quota metric.
    - `currentValue` integer — The current value for the quota metric.
    - `maxValue` integer — The maximum value of the quota metric.
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

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