Skip to main content

resource_provider_common_subscription_quotas

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

Overview

Nameresource_provider_common_subscription_quotas
TypeResource
Idazure.iot_hub.resource_provider_common_subscription_quotas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringIotHub type id
nameobjectIotHub type
currentValueinteger (int32)Current number of IotHub type
limitinteger (int32)Numerical limit on IotHub type
typestringResponse type
unitstringUnit of IotHub type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionIdapi-versionGet the number of free and paid iot hubs in the subscription

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subscriptionIdstringThe subscription identifier.
api-versionstringThe version of the API.

SELECT examples

Get the number of free and paid iot hubs in the subscription

SELECT
id,
name,
currentValue,
limit,
type,
unit
FROM azure.iot_hub.resource_provider_common_subscription_quotas
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
;