resource_quota_metrics
Creates, updates, deletes, gets or lists a resource_quota_metrics
resource.
Overview
Name | resource_quota_metrics |
Type | Resource |
Id | azure.iot_hub.resource_quota_metrics |
Fields
Name | Datatype | Description |
---|---|---|
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. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, resourceName, subscriptionId | Get 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 }}';