Skip to main content

resource_quota_metrics

Creates, updates, deletes, gets or lists a resource_quota_metrics resource.

Overview

Nameresource_quota_metrics
TypeResource
Idazure.iot_hub.resource_quota_metrics

Fields

NameDatatypeDescription
namestringThe name of the quota metric.
currentValueintegerThe current value for the quota metric.
maxValueintegerThe maximum value of the quota metric.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceName, subscriptionIdGet the quota metrics for an IoT hub.

SELECT examples

Get the quota metrics for an IoT hub.

SELECT
name,
currentValue,
maxValue
FROM azure.iot_hub.resource_quota_metrics
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';