Azure Provisioningservices Iotdps
Azure IoT Device Provisioning Service is a Microsoft Azure service for automatically registering and provisioning IoT devices to IoT hubs.
- 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 Microsoft.Devices REST API operations.iotdpsresource_listbysubscription— GET /subscriptions/{subscriptionId}/providers/Microsoft.Devices/provisioningServices — Get all the provisioning services in a subscription.iotdpsresource_listbyresourcegroup— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices — Get a list of all provisioning services in the given resource group.iotdpsresource_get— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName} — Get the non-security related metadata of the provisioning service.dpscertificates_list— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates — Get all the certificates tied to the provisioning service.dpscertificate_get— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName} — Get the certificate from the provisioning service.
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, iotdpsresource_listbysubscription, iotdpsresource_listbyresourcegroup, iotdpsresource_get, dpscertificates_list, dpscertificate_get |
certificateName |
string | no | — | Path parameter certificateName (required by some operations). |
provisioningServiceName |
string | no | — | Path parameter provisioningServiceName (required by some operations). |
resourceGroupName |
string | no | — | Path parameter resourceGroupName (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. |