resource_provider_common
Creates, updates, deletes, gets or lists a resource_provider_common resource.
Overview
| Name | resource_provider_common |
| Type | Resource |
| Id | azure.iot_hub.resource_provider_common |
Fields
The following fields are returned by SELECT queries:
- get_subscription_quota
| Name | Datatype | Description |
|---|---|---|
id | string | IotHub type id. |
name | object | IotHub type. |
currentValue | integer | Current number of IotHub type. |
limit | integer | 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_subscription_quota | select | subscription_id | Get the number of iot hubs in the subscription. 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 |
|---|---|---|
subscription_id | string |
SELECT examples
- get_subscription_quota
Get the number of iot hubs in the subscription. 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
WHERE subscription_id = '{{ subscription_id }}' -- required
;