Azure Iotspaces
Azure IoT Spaces is a Microsoft Azure service for modeling physical spaces, devices, sensors, and their relationships for IoT applications.
- 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.IoTSpaces/operations — Lists all of the available IoTSpaces service REST API operations.iotspaces_list— GET /subscriptions/{subscriptionId}/providers/Microsoft.IoTSpaces/Graph — Get all the IoTSpaces instances in a subscription.iotspaces_listbyresourcegroup— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTSpaces/Graph — Get all the IoTSpaces instances in a resource group.iotspaces_get— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTSpaces/Graph/{resourceName} — Get the metadata of a IoTSpaces instance.iotspaces_checknameavailability— POST /subscriptions/{subscriptionId}/providers/Microsoft.IoTSpaces/checkNameAvailability — Check if an IoTSpaces instance name is available.iotspaces_createorupdate— PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTSpaces/Graph/{resourceName} — Create or update the metadata of an IoTSpaces instance. The usual pattern to mod
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, iotspaces_list, iotspaces_listbyresourcegroup, iotspaces_get, iotspaces_checknameavailability, iotspaces_createorupdate |
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). |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |