Skip to main content

operation_statuses

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

Overview

Nameoperation_statuses
TypeResource
Idazure.devcenter.operation_statuses

Fields

The following fields are returned by SELECT queries:

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.
resourceIdstringFully qualified ID of the resource against which the original async operation was started.
startTimestring (date-time)The start time of the operation.
statusstringOperation status. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, operation_id, subscription_idGet Operation Status. Gets 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. Required.
operation_idstringThe ID of an ongoing async operation. Required.
subscription_idstring

SELECT examples

Get Operation Status. Gets the current status of an async operation.

SELECT
id,
name,
endTime,
error,
operations,
percentComplete,
properties,
resourceId,
startTime,
status
FROM azure.devcenter.operation_statuses
WHERE location = '{{ location }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;