Skip to main content

operation_status

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

Overview

Nameoperation_status
TypeResource
Idazure.log_analytics.operation_status

Fields

NameDatatypeDescription
idstringThe operation Id.
namestringThe operation name.
endTimestringThe end time of the operation.
errorobjectCommon error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)
startTimestringThe start time of the operation.
statusstringThe status of the operation.

Methods

NameAccessible byRequired ParamsDescription
getSELECTasyncOperationId, location, subscriptionIdGet the status of a long running azure asynchronous operation.

SELECT examples

Get the status of a long running azure asynchronous operation.

SELECT
id,
name,
endTime,
error,
startTime,
status
FROM azure.log_analytics.operation_status
WHERE asyncOperationId = '{{ asyncOperationId }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';