Skip to main content

resource_provider_common

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

Overview

Nameresource_provider_common
TypeResource
Idazure.iot_hub.resource_provider_common

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringIotHub type id.
nameobjectIotHub type.
currentValueintegerCurrent number of IotHub type.
limitintegerNumerical limit on IotHub type.
typestringResponse type.
unitstringUnit of IotHub type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_subscription_quotaselectsubscription_idGet 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.

NameDatatypeDescription
subscription_idstring

SELECT examples

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
;