Skip to main content

operation_status

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

Overview

Nameoperation_status
TypeResource
Idazure.dev_center.operation_status

Fields

The following fields are returned by SELECT queries:

The requested operation status

NameDatatypeDescription
idstringFully qualified ID for the async operation.
namestringName of the async operation.
endTimestring (date-time)The end time of the operation.
errorobjectIf present, details of the operation error.
operationsarrayThe operations list.
percentCompletenumberPercent of the operation that is complete.
propertiesobjectCustom operation properties, populated only for a successful operation.
startTimestring (date-time)The start time of the operation.
statusstringOperation status.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, location, operationIdGets the current status of an async operation.

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.

NameDatatypeDescription
locationstringThe Azure region
operationIdstringThe ID of an ongoing async operation
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets the current status of an async operation.

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