Azure Iothub
Azure IoT Hub is a Microsoft Azure service for securely connecting, monitoring, and managing IoT devices at scale.
- Base URL:
https://management.azure.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
operations_list— GET /providers/Microsoft.Devices/operations — Lists all of the available IoT Hub REST API operations.iothubresource_listbysubscription— GET /subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs — Get all the IoT hubs in a subscriptionresourceprovidercommon_getsubscriptionquota— GET /subscriptions/{subscriptionId}/providers/Microsoft.Devices/usages — Get the number of iot hubs in the subscriptioniothubresource_listbyresourcegroup— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs — Get all the IoT hubs in a resource groupiothubresource_getendpointhealth— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routingEndpointsHealth — Get the health for routing endpointsiothubresource_get— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName} — Get the non-security related metadata of an IoT hub
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: operations_list
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: operations_list, iothubresource_listbysubscription, resourceprovidercommon_getsubscriptionquota, iothubresource_listbyresourcegroup, iothubresource_getendpointhealth, iothubresource_get |
iotHubName |
string | no | — | Path parameter iotHubName (required by some operations). |
resourceGroupName |
string | no | — | Path parameter resourceGroupName (required by some operations). |
resourceName |
string | no | — | Path parameter resourceName (required by some operations). |
subscriptionId |
string | no | — | Path parameter subscriptionId (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |