Skip to main content

operation_status

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

Overview

Nameoperation_status
TypeResource
Idazure.device_registry.operation_status

Fields

NameDatatypeDescription
idstringFully qualified ID for the async operation.
namestringName of the async operation.
endTimestringThe end time of the operation.
errorobjectThe error detail.
operationsarrayThe operations list.
percentCompletenumberPercent of the operation that is complete.
resourceIdstringFully qualified ID of the resource against which the original async operation was started.
startTimestringThe start time of the operation.
statusstringOperation status.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocation, operationId, subscriptionIdReturns the current status of an async operation.

SELECT examples

Returns the current status of an async operation.

SELECT
id,
name,
endTime,
error,
operations,
percentComplete,
resourceId,
startTime,
status
FROM azure.device_registry.operation_status
WHERE location = '{{ location }}'
AND operationId = '{{ operationId }}'
AND subscriptionId = '{{ subscriptionId }}';