iot_dps_resource_operation_results
Creates, updates, deletes, gets or lists an iot_dps_resource_operation_results
resource.
Overview
Name | iot_dps_resource_operation_results |
Type | Resource |
Id | azure.iot_hub_device_provisioning.iot_dps_resource_operation_results |
Fields
The following fields are returned by SELECT
queries:
- get
The status of the long running operation.
Name | Datatype | Description |
---|---|---|
error | object | Error message containing code, description and details |
status | string | current status of a long running operation. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | operationId , subscriptionId , resourceGroupName , provisioningServiceName , asyncinfo | api-version | Gets the status of a long running operation, such as create, update or delete a provisioning service. |
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 |
---|---|---|
asyncinfo | string | Async header used to poll on the status of the operation, obtained while creating the long running operation. |
operationId | string | Operation id corresponding to long running operation. Use this to poll for the status. |
provisioningServiceName | string | Name of provisioning service that the operation is running on. |
resourceGroupName | string | Resource group identifier. |
subscriptionId | string | The subscription identifier. |
api-version | string | The version of the API. |
SELECT
examples
- get
Gets the status of a long running operation, such as create, update or delete a provisioning service.
SELECT
error,
status
FROM azure.iot_hub_device_provisioning.iot_dps_resource_operation_results
WHERE operationId = '{{ operationId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND provisioningServiceName = '{{ provisioningServiceName }}' -- required
AND asyncinfo = '{{ asyncinfo }}' -- required
AND api-version = '{{ api-version }}'
;