resource_provider_common_subscription_quotas
Creates, updates, deletes, gets or lists a resource_provider_common_subscription_quotas resource.
Overview
| Name | resource_provider_common_subscription_quotas |
| Type | Resource |
| Id | azure.iot_hub.resource_provider_common_subscription_quotas |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | IotHub type id |
name | object | IotHub type |
currentValue | integer (int32) | Current number of IotHub type |
limit | integer (int32) | Numerical limit on IotHub type |
type | string | Response type |
unit | string | Unit of IotHub type |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId | api-version | Get 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.
| Name | Datatype | Description |
|---|---|---|
subscriptionId | string | The subscription identifier. |
api-version | string | The version of the API. |
SELECT examples
- get
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 }}'
;