Iot Hub Resource - Get Quota Metrics
Get the quota metrics for an IoT hub.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/quotaMetrics?api-version={api-version}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscriptionId
|
path | True |
|
The subscription identifier. |
|
resourceGroupName
|
path | True |
|
The name of the resource group that contains the IoT hub. |
|
resourceName
|
path | True |
|
The name of the IoT hub. |
|
api-version
|
query | True |
|
The version of the API. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
This is a synchronous operation. The response contains a JSON-serialized array of the quota metrics for the IoT hub. |
|
| Other Status Codes |
DefaultErrorResponse |
Definitions
| ErrorDetails | |
| IotHubQuotaMetricInfo |
Quota metrics properties. |
| IotHubQuotaMetricInfoListResult |
| Name | Type | Description |
|---|---|---|
| Code |
|
The error code. |
| Details |
|
The error details. |
| HttpStatusCode |
|
The HTTP status code. |
| Message |
|
The error message. |
Quota metrics properties.
| Name | Type | Description |
|---|---|---|
| CurrentValue |
|
The current value for the quota metric. |
| MaxValue |
|
The maximum value of the quota metric. |
| Name |
|
The name of the quota metric. |
| Name | Type | Description |
|---|---|---|
| nextLink |
|
The next link. |
| value |
The array of quota metrics objects. |